|
|
|
|
NOTE: CentOS Enterprise Linux is built from the Red Hat Enterprise Linux source code. Other than logo and name changes CentOS Enterprise Linux is compatible with the equivalent Red Hat version. This document applies equally to both Red Hat and CentOS Enterprise Linux.
To add a cluster service to the cluster, follow these steps:
-
Select the Services property and click
the Create a Service button. The Add a Service dialog is displayed as shown in
Figure 3-10.
Give the cluster service a descriptive name to distinguish its
functionality relative to other services that may run on the
cluster.
-
If you want to restrict the members on which this cluster
service is able to run, choose a failover domain from the Failover Domain drop-down. (Refer to Section 3.6 Configuring a
Failover Domain for instructions on how to configure a
failover domain.)
-
Click the Add a Shared Resource to this
service and choose the a resource listed that you have
configured in Section 3.7
Adding Cluster Resources.
-
If needed, you may also create a private resource that you can create that becomes a
subordinate resource by clicking on the Attach
a new Private Resource to the Selection button. The process is
the same as creating a shared resource described in Section 3.7 Adding Cluster
Resources. The private resource will appear as a child to
the shared resource to which you associated with the shared
resource. Click the triangle icon next to the shared resource to
display any private resources associated.
-
When finished, click OK.
-
Choose => to save the changes to the cluster
configuration.
|
Note |
|
To verify the existence of the IP service resource used in a
cluster service, you must use the /sbin/ip addr
list command on a cluster node. The following output shows the
/sbin/ip addr list command executed on a
node running a cluster service:
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP> mtu 1356 qdisc pfifo_fast qlen 1000
link/ether 00:05:5d:9a:d8:91 brd ff:ff:ff:ff:ff:ff
inet 10.11.4.31/22 brd 10.11.7.255 scope global eth0
inet6 fe80::205:5dff:fe9a:d891/64 scope link
valid_lft forever preferred_lft forever
|
|
|
|
|