
2.1 Define the Caché Cluster Services
Use the cluadmin utility to define the Caché cluster services. See the “Using the cluadmin
Utility” section of The Red Hat Cluster Manager Installation and Administration Guide for
more information.
Starting and Stopping the Cluster Software
1. Specify the virtual IP addresses and the storage, but not the startup script, for Caché.
While each instance is given a preferred node, specify no for the relocate subcommand.
If you specify yes, a service automatically relocates to the preferred node when it starts.
Though it is acceptable to specify yes for Caché, it is preferable to specify no so that
you can control the relocation process manually.
Use the service relocate command to move services between nodes. See the “Relocating
a Service” section of The Red Hat Cluster Manager Installation and Administration
Guide for more information.
The following output from the service show config command shows the configuration
for a service named cacheha1 with a virtual IP address of 192.9.202.197 and one disk
partition assigned:
cluadmin>service show config cacheha1
name: cacheha1 -->Name picked for this service
preferred node: lx4
relocate: no
user script: None -->Did not specify this yet
monitor interval: 0 -->Specify 0 here
IP address 0: 192.9.202.197 -->Virtual IP address assigned
netmask 0: 255.255.0.0
broadcast 0: 192.9.255.255
device 0: /dev/sdc4 -->Partition name
mount point, device 0: /storage2 -->Mount point for the partition
mount fstype, device 0: ext3
mount options, device 0: rw
force unmount, device 0: yes
samba share, device 0: None
2. Define all necessary services and assign their storage.
3. Use the service show state command to list the services and their current states. If any
services are disabled, enable them with the service enable command. If any are running
on the other node, move them to the current node with the service relocate command.
See the “Service Configuration and Administration” chapter of The Red Hat Cluster Manager
Installation and Administration Guide for more information.
Caché ECP Clusters on Red Hat Enterprise Linux 3
Configuring the Cluster Services for Caché
Commenti su questo manuale