# # AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: Clusters from Scratch 1.1\n" "POT-Creation-Date: 2011-12-31T15:15:50\n" "PO-Revision-Date: 2011-11-26 11:16+0200\n" "Last-Translator: Dan Frîncu \n" "Language-Team: None\n" "MIME-Version: 1.0\n" "Content-Type: application/x-publican; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Tag: title #, no-c-format msgid "Configure STONITH" msgstr "Configurarea STONITH" #. Tag: title #, no-c-format msgid "Why You Need STONITH" msgstr "De Ce Aveți Nevoie de STONITH" #. Tag: para #, no-c-format msgid "STONITH is an acronym for Shoot-The-Other-Node-In-The-Head and it protects your data from being corrupted by rogue nodes or concurrent access." msgstr "STONITH este un acronim pentru Shoot-The-Other-Node-In-The-Head (împușcă-celălalt-nod-în-cap) şi protejează datele voastre de la a fi corupte de către noduri pribege sau de la acces simultan." #. Tag: para #, no-c-format msgid "Just because a node is unresponsive, this doesn't mean it isn't accessing your data. The only way to be 100% sure that your data is safe, is to use STONITH so we can be certain that the node is truly offline, before allowing the data to be accessed from another node." msgstr "Doar pentru că un nod nu mai răspunde, acest lucru nu înseamnă că acesta nu mai accesează datele voastre. Singura metodă de a fi 100% siguri că datele voastre sunt în siguranţă, este să folosiţi STONITH pentru a putea fi siguri că nodul este cu adevărat offline, înainte de a permite datelor să fie accesate de pe alt nod." #. Tag: para #, no-c-format msgid "STONITH also has a role to play in the event that a clustered service cannot be stopped. In this case, the cluster uses STONITH to force the whole node offline, thereby making it safe to start the service elsewhere." msgstr "STONITH mai are un rol pe care îl joacă în cazul în care un serviciu clusterizat nu poate fi oprit. În acest caz, clusterul foloseşte STONITH pentru a forţa întregul nod offline, astfel făcând să fie sigurâ pornirea serviciului în altă parte." #. Tag: title #, no-c-format msgid "What STONITH Device Should You Use" msgstr "Ce Dispozitiv STONITH Ar Trebui Să Folosiţi" #. Tag: para #, no-c-format msgid "It is crucial that the STONITH device can allow the cluster to differentiate between a node failure and a network one." msgstr "Este imperativ ca dispozitivul STONITH să permită clusterului să facă diferenţa între o defecţiune a nodului şi una a reţelei." #. Tag: para #, no-c-format msgid "The biggest mistake people make in choosing a STONITH device is to use remote power switch (such as many on-board IMPI controllers) that shares power with the node it controls. In such cases, the cluster cannot be sure if the node is really offline, or active and suffering from a network fault." msgstr "Cea mai mare greşeală pe care o fac oamenii în alegerea unui dispozitiv STONITH este să folosească un switch de curent cu acces la distanţă (cum ar fi multe controlere IPMI integrate) care partajează curentul cu nodul pe care îl controlează. În astfel de cazuri, clusterul nu poate fi sigur dacă nodul este cu adevărat offline sau inactiv şi suferă din cauza unei probleme de reţea." #. Tag: para #, no-c-format msgid "Likewise, any device that relies on the machine being active (such as SSH-based \"devices\" used during testing) are inappropriate." msgstr "În mod similar, orice dispozitiv care se bazează pe maşină să fie activă (cum ar fi \"dispozitivele\" bazate pe SSH folosite în timpul testării) sunt nepotrivite." #. Tag: title #, no-c-format msgid "Configuring STONITH" msgstr "Configurarea STONITH" #. Tag: para #, no-c-format msgid "Find the correct driver: stonith_admin --list-installed" msgstr "Găsiţi driverul corect: stonith_admin --list-installed" #. Tag: para #, no-c-format msgid "Since every device is different, the parameters needed to configure it will vary. To find out the parameters associated with the device, run:" msgstr "Din moment ce fiecare dispozitiv este diferit, parametrii necesari să îl configurați vor varia. Pentru a afla parametrii asociaţi dispozitivului, rulaţi:" #. Tag: para #, no-c-format msgid "stonith_admin --metadata --agent type" msgstr "stonith_admin --metadata --agent type" #. Tag: para #, no-c-format msgid "The output should be XML formatted text containing additional parameter descriptions. We will endevor to make the output more friendly in a later version." msgstr "Rezultatul de ieşire ar trebui să fie un text formatat XML conţinând descrierile parametrilor adiţionali. Ne vom aventura să facem rezultatul de ieşire mai prietenos într-o versiune ulterioară." #. Tag: para #, no-c-format msgid "Enter the shell crm" msgstr "Intrați în shell-ul crm" #. Tag: para #, no-c-format msgid "Create an editable copy of the existing configuration cib new stonith" msgstr "CreațI o copie editabilă a configurației existente cib new stonith" #. Tag: para #, no-c-format msgid "Create a fencing resource containing a primitive resource with a class of stonith, a type of type and a parameter for each of the values returned in step 2: configure primitive ..." msgstr "Creați o resursă de evacuare forțată conținând o resursă primitivă cu o clasă stonith, de tipul type și un parametru pentru fiecare din valorile returnate la pasul 2: configure primitive ..." #. Tag: para #, no-c-format msgid "If the device does not know how to fence nodes based on their uname, you may also need to set the special pcmk_host_map parameter. See man stonithd for details." msgstr "Dacă dispozitivul nu știe cum să evacueze forțat nodurile pe baza uname-ului acestora, ar putea fi nevoie să setați parametrul special pcmk_host_map. Vedeți man stonithd pentru detalii." #. Tag: para #, no-c-format msgid "If the device does not support the list command, you may also need to set the special pcmk_host_list and/or pcmk_host_check parameters. See man stonithd for details." msgstr "Dacă dispozitivul nu suportă comanda list ar putea fi nevoie să setați parametrii speciali pcmk_host_list și/sau pcmk_host_check. Vedeți man stonithd pentru detalii." #. Tag: para #, no-c-format msgid "If the device does not expect the victim to be specified with the port parameter, you may also need to set the special pcmk_host_argument parameter. See man stonithd for details." msgstr "Dacă dispozitivul nu se așteaptă ca victima să fie specificată cu parametrul port, ar putea fi necesar să setați parametrul special pcmk_host_argument. Vedeți man stonithd pentru detalii." #. Tag: para #, no-c-format msgid "Upload it into the CIB from the shell: cib commit stonith" msgstr "Încărcați în CIB din shell: cib commit stonith" #. Tag: para #, no-c-format msgid "Once the stonith resource is running, you can test it by executing: stonith_admin --reboot nodename. Although you might want to stop the cluster on that machine first." msgstr "Odată ce resursa stonith rulează, o puteți testa executând: stonith_admin --reboot nodename. Deși ați putea dori să opriți clusterul pe acea mașină mai întâi." #. Tag: title #, no-c-format msgid "Example" msgstr "Exemplu" #. Tag: para #, no-c-format msgid "Assuming we have an chassis containing four nodes and an IPMI device active on 10.0.0.1, then we would chose the fence_ipmilan driver in step 2 and obtain the following list of parameters" msgstr "Presupunând că avem un şasiu conţinând patru noduri şi un dispozitiv IPMI activ pe 10.0.0.1, atunci am alege driverul fence_ipmilan la pasul 2 şi am obţine următoarea listă de parametri" #. Tag: title #, no-c-format msgid "Obtaining a list of STONITH Parameters" msgstr "Obţinerea unei liste de Parametri STONITH" #. Tag: programlisting #, no-c-format msgid "\n" "# stonith_admin --metadata -a fence_ipmilan\n" "\n" "<?xml version=\"1.0\" ?>\n" "<resource-agent name=\"fence_ipmilan\" shortdesc=\"Fence agent for IPMI over LAN\">\n" "<longdesc>\n" "fence_ipmilan is an I/O Fencing agent which can be used with machines controlled by IPMI. This agent calls support software using ipmitool (http://ipmitool.sf.net/).\n" "\n" "To use fence_ipmilan with HP iLO 3 you have to enable lanplus option (lanplus / -P) and increase wait after operation to 4 seconds (power_wait=4 / -T 4)</longdesc>\n" "<parameters>\n" " <parameter name=\"auth\" unique=\"1\">\n" " <getopt mixed=\"-A\" />\n" " <content type=\"string\" />\n" " <shortdesc lang=\"en\">IPMI Lan Auth type (md5, password, or none)</shortdesc>\n" " </parameter>\n" " <parameter name=\"ipaddr\" unique=\"1\">\n" " <getopt mixed=\"-a\" />\n" " <content type=\"string\" />\n" " <shortdesc lang=\"en\">IPMI Lan IP to talk to</shortdesc>\n" " </parameter>\n" " <parameter name=\"passwd\" unique=\"1\">\n" " <getopt mixed=\"-p\" />\n" " <content type=\"string\" />\n" " <shortdesc lang=\"en\">Password (if required) to control power on IPMI device</shortdesc>\n" " </parameter>\n" " <parameter name=\"passwd_script\" unique=\"1\">\n" " <getopt mixed=\"-S\" />\n" " <content type=\"string\" />\n" " <shortdesc lang=\"en\">Script to retrieve password (if required)</shortdesc>\n" " </parameter>\n" " <parameter name=\"lanplus\" unique=\"1\">\n" " <getopt mixed=\"-P\" />\n" " <content type=\"boolean\" />\n" " <shortdesc lang=\"en\">Use Lanplus</shortdesc>\n" " </parameter>\n" " <parameter name=\"login\" unique=\"1\">\n" " <getopt mixed=\"-l\" />\n" " <content type=\"string\" />\n" " <shortdesc lang=\"en\">Username/Login (if required) to control power on IPMI device</shortdesc>\n" " </parameter>\n" " <parameter name=\"action\" unique=\"1\">\n" " <getopt mixed=\"-o\" />\n" " <content type=\"string\" default=\"reboot\"/>\n" " <shortdesc lang=\"en\">Operation to perform. Valid operations: on, off, reboot, status, list, diag, monitor or metadata</shortdesc>\n" " </parameter>\n" " <parameter name=\"timeout\" unique=\"1\">\n" " <getopt mixed=\"-t\" />\n" " <content type=\"string\" />\n" " <shortdesc lang=\"en\">Timeout (sec) for IPMI operation</shortdesc>\n" " </parameter>\n" " <parameter name=\"cipher\" unique=\"1\">\n" " <getopt mixed=\"-C\" />\n" " <content type=\"string\" />\n" " <shortdesc lang=\"en\">Ciphersuite to use (same as ipmitool -C parameter)</shortdesc>\n" " </parameter>\n" " <parameter name=\"method\" unique=\"1\">\n" " <getopt mixed=\"-M\" />\n" " <content type=\"string\" default=\"onoff\"/>\n" " <shortdesc lang=\"en\">Method to fence (onoff or cycle)</shortdesc>\n" " </parameter>\n" " <parameter name=\"power_wait\" unique=\"1\">\n" " <getopt mixed=\"-T\" />\n" " <content type=\"string\" default=\"2\"/>\n" " <shortdesc lang=\"en\">Wait X seconds after on/off operation</shortdesc>\n" " </parameter>\n" " <parameter name=\"delay\" unique=\"1\">\n" " <getopt mixed=\"-f\" />\n" " <content type=\"string\" />\n" " <shortdesc lang=\"en\">Wait X seconds before fencing is started</shortdesc>\n" " </parameter>\n" " <parameter name=\"verbose\" unique=\"1\">\n" " <getopt mixed=\"-v\" />\n" " <content type=\"boolean\" />\n" " <shortdesc lang=\"en\">Verbose mode</shortdesc>\n" " </parameter>\n" "</parameters>\n" "<actions>\n" " <action name=\"on\" />\n" " <action name=\"off\" />\n" " <action name=\"reboot\" />\n" " <action name=\"status\" />\n" " <action name=\"diag\" />\n" " <action name=\"list\" />\n" " <action name=\"monitor\" />\n" " <action name=\"metadata\" />\n" "</actions>\n" "</resource-agent>\n" " " msgstr "\n" "# stonith_admin --metadata -a fence_ipmilan\n" "\n" "<?xml version=\"1.0\" ?>\n" "<resource-agent name=\"fence_ipmilan\" shortdesc=\"Fence agent for IPMI over LAN\">\n" "<longdesc>\n" "fence_ipmilan is an I/O Fencing agent which can be used with machines controlled by IPMI. This agent calls support software using ipmitool (http://ipmitool.sf.net/).\n" "\n" "To use fence_ipmilan with HP iLO 3 you have to enable lanplus option (lanplus / -P) and increase wait after operation to 4 seconds (power_wait=4 / -T 4)</longdesc>\n" "<parameters>\n" " <parameter name=\"auth\" unique=\"1\">\n" " <getopt mixed=\"-A\" />\n" " <content type=\"string\" />\n" " <shortdesc lang=\"en\">IPMI Lan Auth type (md5, password, or none)</shortdesc>\n" " </parameter>\n" " <parameter name=\"ipaddr\" unique=\"1\">\n" " <getopt mixed=\"-a\" />\n" " <content type=\"string\" />\n" " <shortdesc lang=\"en\">IPMI Lan IP to talk to</shortdesc>\n" " </parameter>\n" " <parameter name=\"passwd\" unique=\"1\">\n" " <getopt mixed=\"-p\" />\n" " <content type=\"string\" />\n" " <shortdesc lang=\"en\">Password (if required) to control power on IPMI device</shortdesc>\n" " </parameter>\n" " <parameter name=\"passwd_script\" unique=\"1\">\n" " <getopt mixed=\"-S\" />\n" " <content type=\"string\" />\n" " <shortdesc lang=\"en\">Script to retrieve password (if required)</shortdesc>\n" " </parameter>\n" " <parameter name=\"lanplus\" unique=\"1\">\n" " <getopt mixed=\"-P\" />\n" " <content type=\"boolean\" />\n" " <shortdesc lang=\"en\">Use Lanplus</shortdesc>\n" " </parameter>\n" " <parameter name=\"login\" unique=\"1\">\n" " <getopt mixed=\"-l\" />\n" " <content type=\"string\" />\n" " <shortdesc lang=\"en\">Username/Login (if required) to control power on IPMI device</shortdesc>\n" " </parameter>\n" " <parameter name=\"action\" unique=\"1\">\n" " <getopt mixed=\"-o\" />\n" " <content type=\"string\" default=\"reboot\"/>\n" " <shortdesc lang=\"en\">Operation to perform. Valid operations: on, off, reboot, status, list, diag, monitor or metadata</shortdesc>\n" " </parameter>\n" " <parameter name=\"timeout\" unique=\"1\">\n" " <getopt mixed=\"-t\" />\n" " <content type=\"string\" />\n" " <shortdesc lang=\"en\">Timeout (sec) for IPMI operation</shortdesc>\n" " </parameter>\n" " <parameter name=\"cipher\" unique=\"1\">\n" " <getopt mixed=\"-C\" />\n" " <content type=\"string\" />\n" " <shortdesc lang=\"en\">Ciphersuite to use (same as ipmitool -C parameter)</shortdesc>\n" " </parameter>\n" " <parameter name=\"method\" unique=\"1\">\n" " <getopt mixed=\"-M\" />\n" " <content type=\"string\" default=\"onoff\"/>\n" " <shortdesc lang=\"en\">Method to fence (onoff or cycle)</shortdesc>\n" " </parameter>\n" " <parameter name=\"power_wait\" unique=\"1\">\n" " <getopt mixed=\"-T\" />\n" " <content type=\"string\" default=\"2\"/>\n" " <shortdesc lang=\"en\">Wait X seconds after on/off operation</shortdesc>\n" " </parameter>\n" " <parameter name=\"delay\" unique=\"1\">\n" " <getopt mixed=\"-f\" />\n" " <content type=\"string\" />\n" " <shortdesc lang=\"en\">Wait X seconds before fencing is started</shortdesc>\n" " </parameter>\n" " <parameter name=\"verbose\" unique=\"1\">\n" " <getopt mixed=\"-v\" />\n" " <content type=\"boolean\" />\n" " <shortdesc lang=\"en\">Verbose mode</shortdesc>\n" " </parameter>\n" "</parameters>\n" "<actions>\n" " <action name=\"on\" />\n" " <action name=\"off\" />\n" " <action name=\"reboot\" />\n" " <action name=\"status\" />\n" " <action name=\"diag\" />\n" " <action name=\"list\" />\n" " <action name=\"monitor\" />\n" " <action name=\"metadata\" />\n" "</actions>\n" "</resource-agent>\n" " " #. Tag: para #, no-c-format msgid "from which we would create a STONITH resource fragment that might look like this" msgstr "din care am crea un fragment de resursă STONITH care ar putea arăta aşa" #. Tag: title #, no-c-format msgid "Sample STONITH Resource" msgstr "Exemplu de Resursă STONITH" #. Tag: programlisting #, no-c-format msgid "\n" "[root@pcmk-1 ~]# crm \n" "crm(live)# cib new stonith\n" "INFO: stonith shadow CIB created\n" "crm(stonith)# configure primitive impi-fencing stonith::fence_ipmilan \\\n" " params pcmk_host_list=\"pcmk-1 pcmk-2\" ipaddr=10.0.0.1 login=testuser passwd=abc123 \\\n" " op monitor interval=\"60s\"\n" " " msgstr "\n" "[root@pcmk-1 ~]# crm \n" "crm(live)# cib new stonith\n" "INFO: stonith shadow CIB created\n" "crm(stonith)# configure primitive impi-fencing stonith::fence_ipmilan \\\n" " params pcmk_host_list=\"pcmk-1 pcmk-2\" ipaddr=10.0.0.1 login=testuser passwd=abc123 \\\n" " op monitor interval=\"60s\"\n" " " #. Tag: para #, no-c-format msgid "And finally, since we disabled it earlier, we need to re-enable STONITH. At this point we should have the following configuration." msgstr "Și în sfârșit, din moment ce l-am dezactivat mai devreme, trebuie să reactivăm STONITH. În acest punct ar trebui să avem următoarea configurație." #. Tag: screen #, no-c-format msgid "\n" "crm(stonith)# configure property stonith-enabled=\"true\"\n" "crm(stonith)# configure show\n" "node pcmk-1\n" "node pcmk-2\n" "primitive WebData ocf:linbit:drbd \\\n" "        params drbd_resource=\"wwwdata\" \\\n" "        op monitor interval=\"60s\"\n" "primitive WebFS ocf:heartbeat:Filesystem \\\n" "        params device=\"/dev/drbd/by-res/wwwdata\" directory=\"/var/www/html\" fstype=\"gfs2\"\n" "primitive WebSite ocf:heartbeat:apache \\\n" "        params configfile=\"/etc/httpd/conf/httpd.conf\" \\\n" "        op monitor interval=\"1min\"\n" "primitive ClusterIP ocf:heartbeat:IPaddr2 \\\n" "        params ip=\"192.168.122.101\" cidr_netmask=\"32\" clusterip_hash=\"sourceip\" \\\n" "        op monitor interval=\"30s\"\n" "primitive ipmi-fencing stonith::fence_ipmilan \\\n" " params pcmk_host_list=\"pcmk-1 pcmk-2\" ipaddr=10.0.0.1 login=testuser passwd=abc123 \\\n" " op monitor interval=\"60s\"\n" "ms WebDataClone WebData \\\n" "        meta master-max=\"2\" master-node-max=\"1\" clone-max=\"2\" clone-node-max=\"1\" notify=\"true\"\n" "clone WebFSClone WebFS\n" "clone WebIP ClusterIP  \\\n" "        meta globally-unique=\"true\" clone-max=\"2\" clone-node-max=\"2\"\n" "clone WebSiteClone WebSite\n" "colocation WebSite-with-WebFS inf: WebSiteClone WebFSClone\n" "colocation fs_on_drbd inf: WebFSClone WebDataClone:Master\n" "colocation website-with-ip inf: WebSiteClone WebIP\n" "order WebFS-after-WebData inf: WebDataClone:promote WebFSClone:start\n" "order WebSite-after-WebFS inf: WebFSClone WebSiteClone\n" "order apache-after-ip inf: WebIP WebSiteClone\n" "property $id=\"cib-bootstrap-options\" \\\n" "        dc-version=\"1.1.5-bdd89e69ba545404d02445be1f3d72e6a203ba2f\" \\\n" "        cluster-infrastructure=\"openais\" \\\n" "        expected-quorum-votes=\"2\" \\\n" "        stonith-enabled=\"true\" \\\n" "        no-quorum-policy=\"ignore\"\n" "rsc_defaults $id=\"rsc-options\" \\\n" "        resource-stickiness=\"100\"\n" "crm(stonith)# cib commit stonith\n" "INFO: commited 'stonith' shadow CIB to the cluster\n" "crm(stonith)# quit\n" "bye\n" " " msgstr "\n" "crm(stonith)# configure property stonith-enabled=\"true\"\n" "crm(stonith)# configure show\n" "node pcmk-1\n" "node pcmk-2\n" "primitive WebData ocf:linbit:drbd \\\n" "        params drbd_resource=\"wwwdata\" \\\n" "        op monitor interval=\"60s\"\n" "primitive WebFS ocf:heartbeat:Filesystem \\\n" "        params device=\"/dev/drbd/by-res/wwwdata\" directory=\"/var/www/html\" fstype=\"gfs2\"\n" "primitive WebSite ocf:heartbeat:apache \\\n" "        params configfile=\"/etc/httpd/conf/httpd.conf\" \\\n" "        op monitor interval=\"1min\"\n" "primitive ClusterIP ocf:heartbeat:IPaddr2 \\\n" "        params ip=\"192.168.122.101\" cidr_netmask=\"32\" clusterip_hash=\"sourceip\" \\\n" "        op monitor interval=\"30s\"\n" "primitive ipmi-fencing stonith::fence_ipmilan \\\n" " params pcmk_host_list=\"pcmk-1 pcmk-2\" ipaddr=10.0.0.1 login=testuser passwd=abc123 \\\n" " op monitor interval=\"60s\"\n" "ms WebDataClone WebData \\\n" "        meta master-max=\"2\" master-node-max=\"1\" clone-max=\"2\" clone-node-max=\"1\" notify=\"true\"\n" "clone WebFSClone WebFS\n" "clone WebIP ClusterIP  \\\n" "        meta globally-unique=\"true\" clone-max=\"2\" clone-node-max=\"2\"\n" "clone WebSiteClone WebSite\n" "colocation WebSite-with-WebFS inf: WebSiteClone WebFSClone\n" "colocation fs_on_drbd inf: WebFSClone WebDataClone:Master\n" "colocation website-with-ip inf: WebSiteClone WebIP\n" "order WebFS-after-WebData inf: WebDataClone:promote WebFSClone:start\n" "order WebSite-after-WebFS inf: WebFSClone WebSiteClone\n" "order apache-after-ip inf: WebIP WebSiteClone\n" "property $id=\"cib-bootstrap-options\" \\\n" "        dc-version=\"1.1.5-bdd89e69ba545404d02445be1f3d72e6a203ba2f\" \\\n" "        cluster-infrastructure=\"openais\" \\\n" "        expected-quorum-votes=\"2\" \\\n" "        stonith-enabled=\"true\" \\\n" "        no-quorum-policy=\"ignore\"\n" "rsc_defaults $id=\"rsc-options\" \\\n" "        resource-stickiness=\"100\"\n" "crm(stonith)# cib commit stonith\n" "INFO: commited 'stonith' shadow CIB to the cluster\n" "crm(stonith)# quit\n" "bye\n" " "