How to Add a Highly Available Local File System to a Zone Cluster (clsetup)

Perform this procedure to configure a highly available local file system on the global cluster for use by a zone cluster. The file system is added to the zone cluster and is configured with an HAStoragePlus resource to make the local file system highly available.

Note:

Alternatively, you can use either the command line or Oracle Solaris Cluster Manager to perform this task. To use the command line to perform this task, see How to Add a Highly Available Local File System to a Zone Cluster (CLI). To use the Oracle Solaris Cluster Manager browser interface to perform this task, click Zone Clusters, click the zone cluster name to go to its page, click the Solaris Resources tab, then in the File Systems section click Add to start the file systems wizard. For Oracle Solaris Cluster Manager log-in instructions, see How to Access Oracle Solaris Cluster Manager in Administering an Oracle Solaris Cluster 4.4 Configuration.

Perform all steps of the procedure from a node of the global cluster.

  1. Assume the root role on a node of the global cluster that hosts the zone cluster.
  2. On the global cluster, create a file system that you want to use in the zone cluster.

    Ensure that the file system is created on shared disks.

  3. Start the clsetup utility.
    phys-schost# clsetup

    The Main Menu is displayed.

    Tip:

    To return to a previous screen, type the < key and press Return.
  4. Choose the Zone Cluster menu item.

    The Zone Cluster Tasks Menu is displayed.

  5. Choose the Add File System/Storage Device to a Zone Cluster menu item.

    The Select Zone Cluster menu is displayed.

  6. Choose the zone cluster where you want to add the file system.

    The Storage Type Selection menu is displayed.

  7. Choose the File System menu item.

    The File System Selection for the Zone Cluster menu is displayed.

  8. Choose the file system you want to add to the zone cluster.

    The file systems in the list are those that are configured on the shared disks and can be accessed by the nodes where the zone cluster is configured. You can also type e to manually specify all properties for a file system.

    The Mount Type Selection menu is displayed.

  9. Choose the Loopback mount type.

    The File System Properties for the Zone Cluster menu is displayed.

  10. Change the properties that you are allowed to change for the file system you are adding.

    Note:

    For UFS file systems, enable logging.

    When, finished, type d and press Return.

  11. Type c to save the configuration change.

    The results of your configuration change are displayed.

  12. When finished, exit the clsetup utility.
  13. Verify the addition of the file system.
    phys-schost# clzonecluster show -v zone-cluster-name

Next Steps

Configure the file system to be highly available by using an HAStoragePlus resource. The HAStoragePlus resource manages the mounting of the file system on the zone-cluster node that currently host the applications that are configured to use the file system. See Enabling Highly Available Local File Systems in Planning and Administering Data Services for Oracle Solaris Cluster 4.4.