Install & Configure Legato NetWorker on Tru64-ClusterServer

[UNIX] HowTo: Install & Configure NetWorker cluster server v6.x on TruCluster v5.x COMPONENT : Legato NetWorker OPERATING SYSTEM OR PRODUCT NAME : Compaq Tru64 UNIX VERSION : NetWorker v6.x Tru64 UNIX v5.x TruCluster v5.x 1. Hardware Configuration ------------------------This is an example to show you how. It is being used for illustration throughout this article.

Ethernet --------|---------------------------------------|-------| | ----------------| | Memory Channel | | | |-------------------------------| | | | Shared Bus | | | |-------------------------------| | |Tru64 UNIX Shared Bus |Tru64 UNIX | v5.0a | | v5.0a | | |-----|------------------|------| | | | | | | | --------| | --------| | 'stan' | | 'kyle' | StorageWorks | --------| | | | |===[disk-/nsr] |===[TZ885–jukebox] | | | | --------System Configuration: - A cluster consists of 2 systems named stan and kyle. Cluster alias name is called clua0. Both systems are running Tru64 UNIX v5.0a, TruCLuster software v5.0a. - A tz855 jukebox connected to the share bus of the cluster. - A disk (/dev/disk/dsk9c) in a HSZ StorageWorks is used for the NetWorker server home directory (/nsr). TZ885 and the shared disk information: # hwmgr -view devices HWID: Device Name Mfg 70: /dev/disk/dsk9c DEC 71: /dev/changer/mc0 72: /dev/ntape/tape0 DEC Model Location HSZ70 bus-3-targ-3-lun-2 TZ Media Changer bus-2-targ-5-lun-1 TZ885 (C) DEC bus-2-targ-5-lun-0

The NetWorker software, in conjunction with the TZ885 and the

Creating a filesystem for the NetWorker server home directory ---------------------------------------------------------------Example: stan# stan# stan# stan# stan# cd / mkdir /clua0 mkfdmn /dev/disk/dsk9c nsr_domain mkfset nsr_domain nsr mount nsr_domain#nsr /clua0 Then add an entry to the /etc/fstab file. you must use the cluster alias name for the mount point of this filesystem. B) Issue '/usr/sbin/setld -l /<cdrom-mount-point>. only use the short name (without the domain name). Sample output of this script is in Appendix B. Make sure your answers/inputs to the installation are: Enter the location for this Client's NetWorker home directory (it must sit on a local disk!) [ /var/nsr ]: /nsr /nsr/res/servers file does not exist. Do you wish to create the file? (y/n):n By now. Issue '/usr/sbin/setld -l /<cdrom-mount-point>. NetWorker software is installed to the /usr/opt/networker directory of the /usr Cluster FileSystem (CFS). Configuring the NetWorker server environment ----------------------------------------------Run the following script one at a time on every node in the cluster: # /usr/opt/networker/bin/networker./NetWorker/kit' if using the Compaq Associated Product Library media. 5. e. if you have a fully-qualified cluster alias name.g. The cluster alias is the NetWorker virtual server name. depending on the processor type and system resources. Sample installation script is in Appendix A.cluster Please note that this script could take 2-5 minutes to run to completion. mount the NetWorker software media. Also. 4. and registering the NetWorker resource --------------------------------------------------------------- . 2.shared disk. 3. Creating CAA profile. you should have 2 'nsrexecd' up and running on each node in the cluster. nsr_domain#nsr /clua0 advfs rw 0 4 Please note that. form the NetWorker virtual server. Please note that you only need to install NetWorker software on one node in the cluster. Installing NetWorker software -------------------------------A) Login as root onto one node of the cluster./TRU64' to install the software if using the Legato media..

Example: stan# caa_start -c stan networker Attempting to start `networker` on member `stan` Start of `networker` on member `stan` succeeded. one for the tape drive (/dev/ntape/tape0_d1).12 /usr/opt/networker/bin/nsrexecd 0:00.cap NAME=mczero TYPE=changer DEVICE_NAME=/dev/changer/mc0 # more tapezero.g. E. that resource must be un-registered and re-registered for the change to take effect.cap" file after that resource has been registered. run: # /usr/sbin/caa_register mczero # /usr/sbin/caa_register tapezero # /usr/sbin/caa_register networker Note: If you make any change to one of your resource ".' is optional.g. 6. as well as the networker.Create a TruCluster CAA (Cluster Application Availability) profile for each backup device (tape drives and media changers) on the cluster shared bus to be used by the NetWorker cluster server. stan# caa_stat networker NAME=networker TYPE=application TARGET=ONLINE STATE=ONLINE on stan stan# ps -e |grep nsr 558692 ?? S 558712 ?? S 558751 ?? I< 558755 ?? S 558760 ?? IN | grep -v grep 0:00. 2 profiles are created.14 /usr/opt/networker/bin/nsrexecd 0:01. E. networker The '-c <node-name>. and add the profiles that you just created to the REQUIRED_RESOURCES entry. on one node in the cluster. REQUIRED_RESOURCES=mczero tapezero Then register all the profiles you have created.34 /usr/opt/networker/bin/nsrmmdbd .cap profile using the caa_register command.cap NAME=tapezero TYPE=tape DEVICE_NAME=/dev/ntape/tape0_d1 Edit the networker.10 /usr/opt/networker/bin/nsrmmd -n 1 0:00.cap profile (in /var/cluster/caa/profile/).30 /usr/opt/networker/bin/nsrd -k clua0 0:00. # cd /var/cluster/caa/profile # more mczero. In this example. and one for the changer (/dev/changer/mc0). Startup the NetWorker server ------------------------------Run the following command on any node in the cluster: # /usr/sbin/caa_start -c <node-name>.

' to the "Administrator" field for each physical cluster node in the cluster. Make sure that the first entry in this file is the cluster alias (NetWorker server name). /usr/opt/networker/bin/nwadmin -s <cluster-alias>. and set the following attributes: . Configuring the NetWorker server resource -------------------------------------------/usr/opt/networker/bin/nwadmin ->. In the Server window. Create group(s). C) On each node. one per line. Setup. using the same procedure as described in step (B). E.09 /usr/opt/networker/bin/nsrexecd 7. or modify the existing group 'Default'. re-start NetWorker client daemons by: # /sbin/init. Configuring client resource for the NetWorker virtual server .Select 'Enabled' for the "Autorestart" field .d/NSRstartstop stop # /sbin/init. only save sets that are part of a savegroup with the Autorestart attribute enabled and have Manual restart option disabled.g. Then re-start NetWorker server by issuing: # caa_stop networker # caa_start -c <node-name>. A) On the node which is running the NetWorker cluster server.558761 ?? I 0:00. Defining NetWorker group for autorestart ------------------------------------------On the node that is running the NetWorker server. startup the nwadmin window. shut it down by using: # caa_stop networker B) On each node in the cluster. and you need to click View pull-down menu and select Detail in the Groups window. networker On the node which is running the NetWorker server. Creating the NetWorker "servers" file ---------------------------------------Define the list of trusted NetWorker servers. add 'root@<cluster-node>.07 /usr/opt/networker/bin/nsrexecd 1204859 ?? S 0:00. Note.d/NSRstartstop start D) On one node. edit or create the /nsr/res/servers file. 10. networker 8. 9. start NetWorker server by issuing: # caa_start -c <node-name>. edit or create the /nsr/res/servers file and add the set of NetWorker servers.'Manual restart' option is unchecked in the "Options" field Both Autorestart and Options fields are hidden attributes.. Server ->. will be restarted after a virtual client or a NetWorker server failover.12 /usr/opt/networker/bin/nsrindexd kyle# ps -e |grep nsr | grep -v grep 1204850 ?? I 0:00. that you want grant access to this client.

11. Shutdown. Please note that. Create. Configuring jukebox ----------------------On the node that is running the NetWorker server. Configuring client resource for each cluster node ----------------------------------------------------You still need to setup a client resource for each physical cluster node in the cluster.:/<filesystem>. Failure to create client resource for each cluster node will result in getting following error when you are backing up the cluster alias: <cluster alias>. Customize ->. Client Setup ->. Make sure you input the device filename for the control port. A) Create an inactive group /usr/opt/networker/bin/nwadmin ->. /usr/opt/networker/bin/nwadmin ->. a group which "Autostart" field is set to 'Disabled'. In the Clients window. Clients ->. target and LUN of the changer. two client resources will be created. each cluster node will not get backup. save: RAP error: Unable to extract resource info for client <cluster node name>. For example. a client resource named 'clua0' is created. Groups ->. one for stan. 13. Setup. that is. In this case. select the NetWorker virtual server (cluster alias name): . Create. Sample output of creating a NetWorker jukbebox resource for the TZ885 is in Appendix C.---------------------------------------------------------------A client resource of the cluster alias is automatically created.l is the bus. B) Create client resource for each cluster node /usr/opt/networker/bin/nwadmin ->.l] Where b. and relocate NetWorker --------------------------------------------A) Shutdown & startup NetWorker server # caa_stop networker . In this example. and make sure that the "Autostart" field is set to 'Disabled'. 'jbconfig' will ask you to input the pathname of the control port: Pathname of the control port for the jukebox device? [scsidev@b. It is being used to backup all the cluster filesystems. use 'jbconfig' to configure jukebox resource for all the stackers or tape libraries on the cluster shared bus.t. /dev/changer/mc0. and the other for kyle. In this example.Add 'root@<cluster-node-name>. 12.t. Clients ->. name the group as 'Inactive'.' of each physical node within the cluster to the "Remote access" field. .Make sure "Save set" field is set to 'All'. the client resource of the cluster alias takes the identity of the cluster. startup. e.g. It is recommended that these client resources belong to an inactive backup group. Then select 'Inactive' for the "group" field.

If this is the case. /cluster/members/{memb}/nsr /cluster/members/{memb}/nsr ->. networker C) Shutdown & startup NetWorker client # /sbin/init. 1 2 4-6): .MORE TO FOLLOW --Enter your choices or press RETURN to display the next screen. All of the choices you make will be collected for your confirmation before any subsets are installed. 1) 2) 3) 4) Legato Legato Legato Legato Networker Networker Networker Networker Basic Client Driver & Storage Node Manpages Server --. you can choose subsets screen by screen or all at once on the last screen. NetWorker virtual server directory structure -----------------------------------------------A) After installing NetWorker software /nsr is a directory.cluster" /nsr ->.# caa_start -c <cluster-node-name>.d/NSRstartstop start 14. a composite host ID is used to tie to the NetWorker authorization codes. Estimated free diskspace(MB) in root:109. /<cluster-alias-name>. B) After running "networker. 15. networker B) Relocate NetWorker server # caa_relocate -c <cluster-node-name>./nsr Appendix A .2 var:882. /cluster/members/{memb}/nsr /cluster/members/{memb}/nsr ->.2 usr:405.Installing NetWorker ================================= stan# setld -l /cdrom/TRU64 The subsets listed below are optional: There may be more optional subsets than can be presented on a single screen. Refer to the NetWorker technical article "HowTo: Register NetWorker Licenses for NetWorker Cluster Server" for more detail information on creating the composite hostid and registering licensing to Legato. /var/cluster/members/{memb}/nsr D) On the cluster member that is running the NetWorker server /nsr ->. /cluster/members/{memb}/nsr /cluster/members/{memb}/nsr ->.5 Choices (for example. /var/cluster/members/{memb}/nsr C) On each cluster member that is not running the NetWorker server /nsr ->.d/NSRstartstop stop # /sbin/init. Creating Composite Hostid ----------------------------In a NetWorker virtual server environment.

.. Legato Networker Driver & Storage Node Copying from . Legato Networker Basic Client Copying from ..2 usr:311. 1 2 4-6): 5 You are installing the following optional subsets: Legato Legato Legato Legato Networker Networker Networker Networker Basic Client Driver & Storage Node Manpages Server Estimated free diskspace(MB) in root:109.Tue Oct 24 13:22:46 EDT 2000 Verifying Loading subset 3 of 4 . This subset may take some time to complete. This subset may take some time to complete.. . (disk) Working.2 var:882.. 4 subsets will be installed. (disk) Working...Tue Oct 24 13:20:56 EDT 2000 Verifying Loading subset 2 of 4 ... (disk) Working.....Or you may choose one of the following options: 5) ALL of the above 6) CANCEL selections and redisplay menus 7) EXIT without installing any subsets Estimated free diskspace(MB) in root:109.2 usr:405..2 var:882.Tue Oct 24 13:23:34 EDT 2000 Verifying Loading subset 4 of 4 . Loading subset 1 of 4 . Choices (for example... Legato Networker Manpages Copying from .5 Enter your choices or press RETURN to redisplay menus.5 Is this correct? (y/n): y Checking file system space required to install selected subsets: File system space checked OK. This subset will take some time to complete. This subset may take some time to complete..

(disk) Working.Tue Oct 24 13:23:50 EDT 2000 Verifying 4 of 4 subsets installed successfully...conf /etc/syslog. ************ File Configuration on NetWorker Client *********** /nsr not found! Enter the location for this Client's NetWorker home directory (it must sit on a local disk!) [ /var/nsr ]: /nsr The installation procedure adds entries to the /etc/rpc and /etc/syslog.d/NSRstartstop Starting nsrexecd. Do you wish to continue? (y/n) [ y ]: Modifying /etc/rpc Modifying /etc/syslog. The installation also creates the /sbin/init.conf * * * Restarting syslog daemon * * * Do you wish to remove the saved files? (y/n) [ n ]: The modified files were saved and renamed as follows: File Location of saved file ------------------------/etc/rpc /etc/rpc_nsrsave /etc/syslog.Legato Networker Server Copying from . Inc... Do you wish to create the file? (y/n):n ********************************************* Please create the /nsr/res/servers file and manually edit it with the list of remote backup servers ********************************************* LGTOCLNT600 software installed successfully . The nsr/res/servers file will need to be updated with the list of servers that will back up this system as as a client.d/NSRstartstop file. Configuring "Legato Networker Basic Client" (LGTOCLNT600) on member1 Legato Networker Basic Client Copyright (c) 1990-2000.conf files on the NetWorker server.conf_nsrsave Creating /sbin/init.. This is also needed if this machine is to be used as an HSM client. Legato Systems.. /nsr/res/servers file does not exist. the original files are renamed and saved.

. Please update the PATH environment variable to include /usr/opt/networker/bin. Please update the PATH environment variable to include /usr/opt/networker/bin. Legato Systems. Inc. ******************************************************************************* Configuring "Legato Networker Driver & Storage Node" (LGTONODE600) on member1 Legato Networker Driver & Storage Node Copyright (c) 1990-2000. LGTOMAN600 software installed successfully The Manpages are installed in the following locations: /usr/opt/networker/man/man3 /usr/opt/networker/man/man5 /usr/opt/networker/man/man8 Please update the MANPATH environment variable to include the path /usr/opt/networker/man. ******************************************************************************* Configuring "Legato Networker Server" (LGTOSERV600) on member1 Legato Networker Server Copyright (c) 1990-2000. ******************************************************************************* Configuring "Legato Networker Basic Client" (LGTOCLNT600) on member1 . ******************************************************************************* Configuring "Legato Networker Manpages" (LGTOMAN600) on member1 Legato Networker Manpages Copyright (c) 1990-2000. Please update the PATH environment variable to include /usr/opt/networker/bin.The Legato NetWorker Client version 600 binaries have been installed in /usr/opt/networker/bin... Inc. Legato Systems. LGTONODE600 software installed successfully The Legato NetWorker Storage Node version 600 binaries have been installed in /usr/opt/networker/bin. ************ File Configuration on NetWorker Server *********** starting nsrd.. NetWorker icon has been successfully installed into CDE. Starting nsrexecd. Inc. Legato Systems. LGTOSERV600 software installed successfully The Legato NetWorker Server version 600 binaries have been installed in /usr/opt/networker/bin.

. Do you wish to create the file? (y/n):********************************************* Please create the /nsr/res/servers file and manually edit it with the list of remote backup servers ********************************************* LGTOCLNT600 software installed successfully The Legato NetWorker Client version 600 binaries have been installed in /usr/opt/networker/bin. Legato Systems. ******************************************************************************* Configuring "Legato Networker Driver & Storage Node" (LGTONODE600) on member1 . /nsr/res/servers file does not exist.conf /etc/syslog. The installation also creates the /sbin/init.Legato Networker Basic Client Copyright (c) 1990-2000.conf already modified for NetWorker Do you wish to remove the saved files? (y/n) [ n ]: The modified files were saved and renamed as follows: File Location of saved file ------------------------/etc/rpc /etc/rpc_nsrsave /etc/syslog.d/NSRstartstop file.conf /cluster/members/{memb}/etc/syslog. This is also needed if this machine is to be used as an HSM client. /usr/opt/networker/bin/C: File exists ************ File Configuration on NetWorker Client *********** The installation procedure adds entries to the /etc/rpc and /etc/syslog.conf_nsrsave Creating /sbin/init... the original files are renamed and saved. Please update the PATH environment variable to include /usr/opt/networker/bin. Do you wish to continue? (y/n) [ y ]: Modifying /etc/rpc /etc/rpc already modified for NetWorker Modifying /etc/syslog. The nsr/res/servers file will need to be updated with the list of servers that will back up this system as as a client. mkdir: cannot create /usr/opt/networker/bin/C.d/NSRstartstop Starting nsrexecd. Inc.conf files on the NetWorker server.

.Legato Networker Driver & Storage Node Copyright (c) 1990-2000. ******************************************************************************* Configuring "Legato Networker Manpages" (LGTOMAN600) on member1 Legato Networker Manpages Copyright (c) 1990-2000. Please update the PATH environment variable to include /usr/opt/networker/bin. Please update the PATH environment variable to include /usr/opt/networker/bin. LGTOMAN600 software installed successfully The Manpages are installed in the following locations: /usr/opt/networker/man/man3 /usr/opt/networker/man/man5 /usr/opt/networker/man/man8 Please update the MANPATH environment variable to include the path /usr/opt/networker/man. Starting nsrexecd. Inc. Inc. Legato Systems. Inc. Legato Systems. LGTONODE600 software installed successfully The Legato NetWorker Storage Node version 600 binaries have been installed in /usr/opt/networker/bin... ************ File Configuration on NetWorker Client *********** /usr/opt/networker/bin/C: File exists . Legato Systems. mkdir: cannot create /usr/opt/networker/bin/C.. ******************************************************************************* Configuring "Legato Networker Basic Client" (LGTOCLNT600) on member2 Legato Networker Basic Client Copyright (c) 1990-2000. ************ File Configuration on NetWorker Server *********** starting nsrd. Inc. ******************************************************************************* Configuring "Legato Networker Server" (LGTOSERV600) on member1 Legato Networker Server Copyright (c) 1990-2000. Legato Systems. LGTOSERV600 software installed successfully The Legato NetWorker Server version 600 binaries have been installed in /usr/opt/networker/bin.

Inc.conf files on the NetWorker server.. the original files are renamed and saved.conf * * * Restarting syslog daemon * * * Do you wish to remove the saved files? (y/n) [ n ]: The modified files were saved and renamed as follows: File Location of saved file ------------------------/etc/rpc /etc/rpc_nsrsave /etc/syslog. Legato Systems.conf /etc/syslog. Please update the PATH environment variable to include /usr/opt/networker/bin. ******************************************************************************* Configuring "Legato Networker Driver & Storage Node" (LGTONODE600) on member2 Legato Networker Driver & Storage Node Copyright (c) 1990-2000. Do you wish to continue? (y/n) [ y ]: Modifying /etc/rpc /etc/rpc already modified for NetWorker Modifying /etc/syslog. /nsr/res/servers file does not exist. Do you wish to create the file? (y/n):********************************************* Please create the /nsr/res/servers file and manually edit it with the list of remote backup servers ********************************************* LGTOCLNT600 software installed successfully The Legato NetWorker Client version 600 binaries have been installed in /usr/opt/networker/bin.d/NSRstartstop Starting nsrexecd. ..d/NSRstartstop file.The installation procedure adds entries to the /etc/rpc and /etc/syslog. This is also needed if this machine is to be used as an HSM client. Please update the PATH environment variable to include /usr/opt/networker/bin...conf_nsrsave Creating /sbin/init.. Starting nsrexecd. The nsr/res/servers file will need to be updated with the list of servers that will back up this system as as a client. LGTONODE600 software installed successfully The Legato NetWorker Storage Node version 600 binaries have been installed in /usr/opt/networker/bin. The installation also creates the /sbin/init.

Restarting syslog daemon. ************ File Configuration on NetWorker Server *********** starting nsrd.cluster TruCluster is a high availability product for Tru64 Unix.cluster" output ======================================= stan# /usr/opt/networker/bin/networker.... Inc. It defines failover applications which may move from one node to another. LGTOMAN600 software installed successfully The Manpages are installed in the following locations: /usr/opt/networker/man/man3 /usr/opt/networker/man/man5 /usr/opt/networker/man/man8 Please update the MANPATH environment variable to include the path /usr/opt/networker/man.. NetWorker has been successfully cluster configured. Please update the PATH environment variable to include /usr/opt/networker/bin.. Do you wish to continue? [Yes]? Shutting down NetWorker services. Legato Systems. depending on the availability and health of the machine it is running upon.******************************************************************************* Configuring "Legato Networker Manpages" (LGTOMAN600) on member2 Legato Networker Manpages Copyright (c) 1990-2000. Legato Systems. The Networker Client and Networker Server have the default cluster identity. Appendix C .conf already modified for NetWorker Restarting syslog daemon.."networker... ******************************************************************************* Configuring "Legato Networker Server" (LGTOSERV600) on member2 Legato Networker Server Copyright (c) 1990-2000. LGTOSERV600 software installed successfully The Legato NetWorker Server version 600 binaries have been installed in /usr/opt/networker/bin. Inc."jbconfig" output . ******************************************************************************* Appendix B . /cluster/members/{memb}/etc/syslog.

x or /dev/ntape/tape0_d1 for V5. 3) Install an Autodetected NDMP SCSI Jukebox. 2) Install an Autodetected SCSI Jukebox.1: Quantum DLT/Digital DLT Which one do you want to install? 1 Installing an 'Quantum DLT/Digital DLT' jukebox.5.5. 4) Install an SJI Jukebox.1] /dev/changer/mc0 Do you want automated device cleaning support enabled? (yes/no) no Enter hostname that owns media drive 1: ? [clua0] An example of a valid device name for this OS is '/dev/nrmt0h for Tru64 Unix V4. 5) Install an STL Silo.x' Enter pathname of media drive 1: ? /dev/ntape/tape0_d1 using '/dev/ntape/tape0_d1' as device name Should the drive be configured as a NDMP device? (yes/no) no Jukebox has been added successfully Would you like to configure another jukebox? (yes/no) no .5. Name you would like to assign to the jukebox device? tz885 A brief description of the jukebox device? [scsidev@2. What kind of Jukebox are you installing? [1] 2 These are the SCSI Jukeboxes currently attached to your system: 1) scsidev@2.1: Quantum DLT/Digital DLT] Pathname of the control port for the jukebox device? [scsidev@2.============================== stan# /usr/opt/networker/bin/jbconfig 1) Install a SmartMedia Jukebox.

Sign up to vote on this title
UsefulNot useful