Sun Cluster Data Service for NetBackup Guide for Solaris OS

Registering and Configuring Sun Cluster HA for NetBackup

Use the procedures in this section to register and configure Sun Cluster HA for NetBackup as a failover data service.

To configure a data service, you must create resource groups and resources for your application. See the Sun Cluster Data Services Planning and Administration Guide for Solaris OS and the Sun Cluster Concepts Guide for Solaris OS document for details on resources and resource groups.

Setting Sun Cluster HA for NetBackup Extension Properties

The section that follows contains instructions for registering and configuring resources. For information about the Sun Cluster HA for NetBackup extension properties, see Appendix A, Sun Cluster HA for NetBackup Extension Properties. The Tunable entry indicates when you can update a property.

To set an extension property of a resource, include the following option in the scrgadm(1M) command that creates or modifies the resource:


-x property=value 
-x property

Identifies the extension property that you are setting

value

Specifies the value to which you are setting the extension property

You can also use the procedures in Chapter 2, Administering Data Service Resources, in Sun Cluster Data Services Planning and Administration Guide for Solaris OS to configure resources after the resources are created.

ProcedureHow to Register and Configure Sun Cluster HA for NetBackup

This section describes how to use the scrgadm(1M) command to register and configure Sun Cluster HA for NetBackup.


Note –

Other options also enable you to register and configure the data service. See Tools for Data Service Resource Administration in Sun Cluster Data Services Planning and Administration Guide for Solaris OS for details about these options.



Note –

Perform this procedure on one cluster member.


Steps
  1. Become superuser on a cluster member.

  2. Run the scrgadm command to register the resource type for the data service.

    Register SUNW.netbackup_master as the resource type.


    # scrgadm -a -t SUNW.netbackup_master
    
    -t SUNW.netbackup_master

    Specifies the predefined resource type name for your data service.

  3. Create a NetBackup resource in the resource group.


    # scrgadm -a -j resource -g resource-group -t SUNW.netbackup_master 
    
  4. Ensure that netbackup processes are stopped on all nodes.

  5. Run the scswitch(1M) command to complete the following tasks.

    • Enable the resource and fault monitoring.

    • Move the resource group into a managed state.

    • Bring the resource group online.


    # scswitch -Z -g resource-group
    
    -Z

    Moves the resource group to the managed state, and brings the resource group online.


Example 1 Registering Sun Cluster HA for NetBackup

The following example shows how to register Sun Cluster HA for NetBackup on a two-node cluster.


Cluster Information
Node names: phys-schost-1, phys-schost-2
Resource Type: SUNW.netbackup_master
Logical hostname resource: nb-master
Resource group: NB-RG (failover resource group)
Netbackup Resources: test-scnb

(Register the NetBackup resource type.)
# scrgadm -a -t SUNW.netbackup_master 

(Add the failover resource group to contain all the resources.)
# scrgadm -a -g NB-RG -h phys-schost-1,phys-schost-2
 
(Add the network resource to the resource group.)
# scrgadm -a -L -g NB-RG -l nb-master 
 
(Add the NetBackup resource to the resource group.)
# scrgadm -a -j test-scnb -g NB-RG -t SUNW.netbackup_master
 
(Bring the resource group online.)
# scswitch -Z -g NB-RG