Download Red Hat Cluster Suite Configuring and Managing

Transcript
Chapter 3. Cluster Configuration
53
Figure 3-19. Optional Monitor Link
6. Choose File => Save to save the change to the /etc/cluster.xml configuration file.
The Monitor Link feature monitors the link status of the Ethernet device to which the relevant IP
address is assigned and returns a status failure if the MII does not report that a link is detected. If you
enable the Monitor Link feature, consider the following characteristics of the feature:
•
Monitor links only corresponds to links on devices where cluster service IP addresses reside. All
other system links are ignored.
•
The Monitor Link feature is a per-service-IP-address attribute, and only monitors the link for the
given service IP address.
•
Monitor Link checks on start and every time a service check (status) run occurs. Service checks
only occur if you have defined a service check interval. If your service check interval is 0, no
link status monitoring occurs except at service start. (For more information about specifying check
interval, refer to Section 4.1.1 Gathering Service Information.)
•
If multiple service IP addresses are assigned to the same network device, the link is checked for
each service IP assigned to that network device which has the Monitor Link option set.
3.10.2. Adding a Service Device
To specify a device for a service, follow these steps:
1. On the Services tab of the Cluster Configuration Tool, select the service you want to configure
and click Add Child.
2. Select Add Device and click OK.
3. Specify a Device Special File (for example, /dev/hda7) and a mount point (for example,
/mnt/share). Each device must have a unique device special file and a unique mount point
within the cluster.
4. Specify a Samba Share Name for the device if it is intended to be a Samba export
directory. If a Samba Share Name has been entered, when the user selects File => Save, a
/etc/samba/smb.conf.sharename file is created (where sharename is the name of the
Samba share), and will be used by Samba when the cluster starts the service. For each Samba
share you create, an /etc/samba/smb.conf.sharename is created. Copy all of these files
to the other cluster members before initializing the cluster service on those members. For more
information about configuring a Samba share, refer to Section 6.6 Setting Up a Samba Service.
5. Specify a directory from which to mount the device in the Mount Point field. This directory
should not be listed in /etc/fstab as it is automatically mounted by the Red Hat Cluster
Manager when the service is started.
6. Choose a file system type from the FS Type list.