Sun Cluster 2.2 System Administration Guide

3.8.1 How to Configure a Sun Cluster Data Service

  1. Verify that the following tasks have been completed.

    • The logical hosts that will run the data services are configured. Refer to "3.5 Adding and Removing Logical Hosts", for details on configuring a logical host.

    • The necessary disk groups, logical volumes, and file systems are set up. Refer to the Sun Cluster 2.2 Software Installation Guide for details.

    • The HA administrative file system and vfstab.logicalhost file have been set up. This procedure varies depending on your volume manager. Refer to the appendix describing how to configure your volume manager in the Sun Cluster 2.2 Software Installation Guide.

  2. Register the data service.

    Register the Sun Cluster data service(s) associated with the logical host(s).

    # hareg -s -r dataservice [-h logicalhost]

    This assumes that the data service has already been installed and its methods are available.

    When the -h option is used in the hareg -r command, the data service is configured only on the logical hosts specified by the logicalhost argument. If the -h option is not specified, then the data service is configured on all currently-existing logical hosts. See the hareg(1M) man page for details.


    Note -

    If the data service is to be associated with any logical hosts that are created after the registration of the data service, run scconf -s on all cluster nodes to extend the set of logical hosts associated with the data service.


  3. Start the data service.

    # hareg -y dataservice