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.
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:
Identifies the extension property that you are setting
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.
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.
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.
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