Sun Cluster Data Service for NetBackup Guide for Solaris OS

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.

  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

    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