Questo contenuto non è disponibile nella lingua selezionata.
Chapter 6. Configuring an NFS Cluster Service
This chapter provides the procedure for configuring an NFS service in a Red Hat Cluster Suite.
In order to configure an NFS service for a GFS file system in a cluster, you need to perform the following steps:
- Add a service to the cluster and provide a name for the service, as described in Section 6.1, “Add a Service to the Cluster”.
- Add an IP address resource to service, as described in Section 6.2, “Adding an IP Address Resource to an NFS Service”.
- Add a GFS resource to the service, as described in Section 6.3, “Adding a GFS Resource to an NFS Service”.
- Add an NFS export resource to the service, as described in Section 6.4, “Adding an NFS Export Resource to an NFS Service”.
- Add the NFS client resources to the services, as described in Section 6.5, “Adding NFS Client Resources to an NFS Service”.
Some Red Hat Cluster resources must be configured as parent or child resources in a service. A resource that is configured as a parent resource is started before the children of that resource are started. All resources that are configured as a child resources of a parent must stop cleanly before a parent resource may be stopped. For a resource that is configured as a parent resource to be considered in good health, all the resources configured as its child resources must be in good health.
When you configure the NFS export resource for an NFS service, you must configure it as a child of the GFS resource. You must configure each NFS client resource for an NFS service as a child of the NFS export resource.
6.1. Add a Service to the Cluster
To add a service to your cluster using Conga, perform the following procedure:
- As an administrator of luci Select the cluster tab.
- From the Choose a cluster to administer screen, select the cluster to which you will add resources. In this example, that is the cluster with the name
nfsclust
. - At the menu for cluster
nfsclust
(below the menu), click . This causes the display of menu items for service configuration: and . - Click Add a Service page to be displayed.. Clicking causes the
- For, enter
nfssvc
. - Leave the checkbox labeled not checked, the service must be started manually any time the cluster comes up from the stopped state.checked, which is the default setting. When the checkbox is checked, the service is started automatically when a cluster is started and running. If the checkbox is
- Leave the no other services running on them. Since an NFS service consumes few resources, two services could run together on the same node without contention for resources and you do not need to check this.checkbox unchecked. The checkbox sets a policy wherein the service only runs on nodes that have
- For, leave the drop-down box default value of . In this configuration, all of the nodes in the cluster may be used for failover.
- For, the drop-down box displays . Click the drop-down box and select . This policy indicates that the system should relocate the service before restarting; it should not restart the node where the service is currently located.
- Add the NFS service resources to this resource, as described in the following sections.
- After you have added the NFS resources to the service, click Services page for the cluster. That page displays the services that have been configured for the cluster.. The system prompts you to verify that you want to create this service. Clicking causes a progress page to be displayed followed by the display of