This section describes the steps to install, configure, register, and start Sun Cluster HA for NetBackup. You must install and set up Sun Cluster and the VERITAS NetBackup product before configuring Sun Cluster HA for NetBackup.
You configure Sun Cluster HA for NetBackup by using the hadsconfig(1M) command. See the hadsconfig(1M) man page for details.
To use NetBackup with this release of Sun Cluster, you must install patches that revise the scinstall(1M) and hadsconfig(1M) commands to recognize Sun Cluster HA for NetBackup. Get the patches from your service provider or from the Sun patch website http://sunsolve.sun.com. Install the patches after you install and configure Sun Cluster but before you install and configure Sun Cluster HA for NetBackup.
On each Sun Cluster server, install the Sun Cluster HA for NetBackup package, SUNWscnb, if it is not installed already.
Install the package in the default location on all cluster nodes. See Chapter 3, Installing and Configuring Sun Cluster Software for more information about running scinstall(1M).
Register the Sun Cluster HA for NetBackup data service by running the hareg(1M) command.
Run this command on only one node:
phys-hahost1# hareg -s -r netbackup |
Run the hadsconfig(1M) command on one node to configure Sun Cluster HA for NetBackup.
See "Configuration Parameters for Sun Cluster HA for NetBackup", for information on input to supply to hadsconfig(1M). Run this command on only one node:
phys-hahost1# hadsconfig |
Use the hareg(1M) command to start Sun Cluster HA for NetBackup.
Run this command on only one node:
phys-hahost1# hareg -y netbackup |
The configuration is complete.
This section describes the information you supply to the hadsconfig(1M) command to create configuration files for Sun Cluster HA for NetBackup. The hadsconfig(1M) command uses templates to create these configuration files. The templates contain some default, some hard-coded, and some unspecified parameters. You must provide values for those parameters that are unspecified.
Configure Sun Cluster HA for NetBackup by supplying the hadsconfig(1M) command with parameters listed in Table 14-1.
Table 14-1 Configuration Parameters for Sun Cluster HA for NetBackup
Parameter |
Description |
---|---|
Name of the instance |
Nametag used as an identifier for the instance. The log messages generated by Sun Cluster HA for NetBackup refer to this nametag. The hadsconfig(1M) command prefixes the package name to the value you supply here. For example, if you specify "netbackup," the hadsconfig(1M) command produces "SUNWscnb_netbackup." |
Logical host |
Name of the logical host that provides service for this instance of Sun Cluster HA for NetBackup, nb-master in the examples in this chapter. |
Base install directory |
Directory containing the S77netbackup and K77netbackup scripts. Normally this directory is /usr/openv/netbackup/bin/goodies. |
Local probe flag |
Flag that specifies whether the local probe is started automatically at cluster reconfiguration or when the NetBackup service is activated. The probe runs on the same node as the NetBackup instance. There is no remote probe for this service.Possible values are y or n. The default value is y (automatic restart). |
Probe interval |
The interval, in seconds, that the probe waits between checks of the service. The default value is 60 seconds. |
Number of retries |
The number of attempts that will be made to restart a failed NetBackup instance on the local node before resorting to other actions, such as failover or switchover. The default value is 3. |
Takeover flag |
Flag that specifies whether a failure of this instance will cause a takeover or failover of the logical host associated with the NetBackup instance. Such a takeover or failover occurs only after efforts to revive the service on the local node have failed. Possible values are y or n. The default value is y. |