Red Hat GLOBAL FILE SYSTEM 5.0 Uživatelský manuál Strana 15

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 28
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 14
15
Deploying a Failover Cluster
2 Set fence devices for the cluster. The example below uses the apc network power switch as
the fencing device:
# ccs_tool addfence apc fence_apc ipaddr=apc.server.com login="user1"
passwd="XXXXXXXX"
For detailed information on fence device parameters, see the Cluster Administration guide at
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux.
Note: Manual fencing is supported for testing purposes only and is not recommended for use in
production.
3 Add all Parallels servers to the cluster. For example, to add the psbmNode server to the cluster,
you can execute this command:
# ccs_tool addnode psbmNode1 -n 1 -v 1 -f apc port=1
where
-n specifies the ID that will uniquely identify the node among other nodes in the cluster.
Each node in the cluster must have its own unique port ID.
-v denotes the number of votes for the psbmNode server. You can use 1 as the default
vote number and change it later on, if necessary.
apc port=1 is the name of the fencing device (APC) and the unique port ID of the APC
switch power for the psbmNode server. Each node in the cluster must have its own unique
port ID.
Run the ccs_tool addnode command for each node you want to add to the cluster.
4 Create cluster resources. For a failover cluster, you need to create the following resources:
filesystem, script, and IP address.
a Filesystem. One filesystem resource per each shared SCSI partition is required. When
creating the resource, make sure that you refer to the partition by the volume label rather
than by the device name and specify the noatime option. For example:
# ccs_tool addfs -t ext3 -p noatime PSBM_partition_1 "LABEL=psbm-1" /vz
where
PSBM_partition_1 is the name to assign to the filesystem resource.
ext3 denotes the type of the filesystem.
LABEL=psbm-1 specifies the device associated with the filesystem resource.
/vz is the path where to mount the filesystem.
a Script. One script per cluster is required. The following command creates the script
resource vzservice:
# ccs_tool addscript vzservice /etc/init.d/vz-cluster
When creating scripts, just replace vzservice with your own name.
If you plan to use the Parallels Virtual Automation (PVA) application for managing your
cluster nodes, you also need to create two additional script resources: pvascr and ppscr.
Use the following commands to create the PVA scripts:
# ccs_tool pvascr /etc/init.d/pvaagentd
Zobrazit stránku 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 27 28

Komentáře k této Příručce

Žádné komentáře