Red Hat CLUSTER SUITE FOR ENTERPRISE LINUX 5.1 Guide d'installation Page 115

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 240
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 114
Example 7.7, “cl uster. co nf: Fencing Nodes with Dual Power Supplies
Note
The examples in this section are not exhaustive; that is, there may be other ways to configure
fencing depending on your requirements.
Examp le 7.3. APC Fen ce D evice Ad d ed t o cl uster.co nf
<cluster name="mycluster" config_version="3">
<clusternodes>
<clusternode name="node-01.example.com" nodeid="1">
<fence>
</fence>
</clusternode>
<clusternode name="node-02.example.com" nodeid="2">
<fence>
</fence>
</clusternode>
<clusternode name="node-03.example.com" nodeid="3">
<fence>
</fence>
</clusternode>
</clusternodes>
<fencedevices>
<fencedevice agent="fence_apc" ipaddr="apc_ip_example"
login="login_example" name="apc" passwd="password_example"/>
</fencedevices>
<rm>
</rm>
</cluster>
In this example, a fence device (fenced evi ce) has been added to the fenced evi ces element,
specifying the fence agent (agent) as fence_apc, the IP address (i pad d r) as
apc_i p_exampl e, the login (l o g i n) as l o g i n_exampl e, the name of the fence device (name)
as apc, and the password (passwd ) as passwo rd _exampl e.
Examp le 7.4 . Fen ce Met h o d s Ad d ed t o cl uster.co nf
<cluster name="mycluster" config_version="3">
<clusternodes>
<clusternode name="node-01.example.com" nodeid="1">
<fence>
<method name="APC">
<device name="apc" port="1"/>
</method>
</fence>
</clusternode>
<clusternode name="node-02.example.com" nodeid="2">
Fencin g Configurat ion Examples
111
Vue de la page 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 239 240

Commentaires sur ces manuels

Pas de commentaire