Sun Cluster Data Service for NFS Guide for Solaris OS

ProcedureHow to Register and Configure the Sun Cluster HA for NFS by Using clsetup

Perform this procedure during your initial set up of Sun Cluster HA for NFS. Perform this procedure from one node only.


Note –

The following instructions explain how to perform this operation by using the clsetup utility.


Before You Begin

Before you start the Sun Cluster HA for NFS wizard, ensure that the following prerequisites are met:

  1. Become superuser on any cluster node.

  2. Start the clsetup utility.


    # clsetup
    

    The clsetup main menu is displayed.

  3. Type the number that corresponds to the option for data services and press Return.

    The Data Services menu is displayed.

  4. Type the number that corresponds to the option for configuring Sun Cluster HA for NFS and press Return.

    The clsetup utility displays the list of prerequisites for performing this task.

  5. Verify that the prerequisites are met, and press Return.

    The clsetup utility displays a list of all cluster nodes that are online.

  6. Select the nodes where you require Sun Cluster HA for NFS to run.

    • To accept the default selection of all listed nodes in an arbitrary order, type a and press Return.

    • To select a subset of the listed nodes, type a comma-separated or space-separated list of the numbers that correspond to the nodes and press Return.

      Ensure that the nodes are listed in the order in which the nodes are to appear in the resource group's node list. The first node in the list is the primary node of this resource group.

    • To select all nodes in a particular order, type a comma-separated or space-separated ordered list of the numbers that correspond to the nodes and press Return.

      Ensure that the nodes are listed in the order in which the nodes are to appear in the resource group's node list. The first node in the list is the primary node of this resource group.

  7. To confirm your selection of nodes, type d and press Return.

    The clsetup utility displays a list of existing logical hostname resources on the cluster.

  8. You can choose any of the following options.

    • To use the existing logical hostname resource, type the number that corresponds to the required logical hostname and press Return. Go to Step 11.

    • To create a new logical hostname resource, type c and press Return. Go to Step 9

  9. Type the logical hostname and press Return.

    The clsetup utility displays a list of existing logical hostname resources.

  10. Type the number that corresponds to the logical hostname resource to be created and press Return.

    The clsetup creates the logical hostname resource.

  11. To confirm your selection of logical hostname resource, type d and press Return.

    The clsetup utility displays information about file system mount points.

  12. Press Return to continue.

    The clsetup utility displays the existing file system mount points.

  13. Select the file system mount points for Sun Cluster HA for NFS data files.

    • To select a subset of the listed file system mount points, type a comma-separated or space-separated list of the numbers that correspond to the file system node point and press Return.

    • To select all file system mount points in a particular order, type a comma-separated or space-separated ordered list of the numbers that correspond to the file system mount points and press Return.

  14. To confirm your selection of file system mount points, type d and press Return.

    The clsetup utility displays a screen where you can specify the path prefix for Sun Cluster HA for NFS resource group.

  15. Select the path prefix for Sun Cluster HA for NFS resource group and press Return.

    The clsetup utility displays a screen where you can change the share option for the file system mount point that the NFS server is sharing.

  16. Select the share option and press Return.

    The clsetup utility displays the share options for the selected mount points.

  17. If you require a different name for any Sun Cluster objects, change each name as follows.

    1. Type the number that corresponds to the name that you are changing and press Return.

      The clsetup utility displays a screen where you can specify the new name.

    2. At the New Value prompt, type the new name and press Return.

    The clsetup utility returns you to the list of the names of the Sun Cluster objects that the utility will create.

  18. To confirm your selection of Sun Cluster object names, type d and press Return.

    The clsetup utility displays information about the Sun Cluster configuration that the utility will create.

  19. To create the configuration, type c and Press Return.

    The clsetup utility displays a progress message to indicate that the utility is running commands to create the configuration. When configuration is complete, the clsetup utility displays the commands that the utility ran to create the configuration.

  20. Press Return to continue.

    The clsetup utility returns you to the Data Services Menu.

  21. Type q and press Return.

    The clsetup utility returns you to the Main Menu.

  22. (Optional) Type q and press Return to quit the clsetup utility.

    If you prefer, you can leave the clsetup utility running while you perform other required tasks before using the utility again. If you choose to quit clsetup, the utility recognizes your Sun Cluster HA for NFS resource group when you restart the utility.

  23. Determine if the Sun Cluster HA for NFS resource group and its resources are online.

    Use the clresourcegroup(1CL) utility for this purpose. By default, the clsetup utility assigns the name nfs-mountpoint-admin-rg to the Sun Cluster HA for NFS resource group.


    # clresourcegroup status nfs-mountpoint-admin-rg
    
  24. If the Sun Cluster HA for NFS resource group and its resources are not online, bring them online.


    # clresourcegroup online nfs-rg