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.
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.
Perform this procedure on one cluster member.
Become superuser on a cluster member.
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
Specifies the predefined resource type name for your data service.
Create a NetBackup resource in the resource group.
# scrgadm -a -j resource -g resource-group -t SUNW.netbackup_master
Ensure that netbackup processes are stopped on all nodes.
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.
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