Networker in Nut Shell

March 16, 2019 | Author: devesh1518 | Category: Microsoft Exchange Server, Backup, Server (Computing), Information Retrieval, Computer File
Share Embed Donate


Short Description

all commands in one go...

Description

http://xingsolar.com/San/Backup/L http://xingsolar .com/San/Backup/Legato.htm egato.htm

Melonm Documentation Project

Legato in OnePage Command | | Backup/Restore Command Backup/Restore | | Storage Storage | | Windows Windows | | NMDA NMDA | | Daily Jobs

Command • ◦









◦ ◦



MMINFO Based on date/time All volumes written on in the past week (not including today): mminfo -m -t 'last week' List backup done one day ago: mminfo -q "savetime > 1 day ago" Get savesets of SQL group 3 months ago: mminfo -av -ot -q "savetime< "savetime09/27/08,savetime10/28/08" More complicated examples to query between times mminfo -s uslgto2 -c uscoredb3 -r "client(1),volume(1),barcode(1),ssid(1),name(1),savetime(1)" -q "savetime>\"09/30/2008 16:59:00\", savetime changer ID from above command

Backup/Restore • • • • • • • • • • • • • •

• •

How to Backup files in Legato from client side save -g 'XING_USSWIFTNET1_archive' -b "XING Archive" -l 0 -v -E -y '08/15/2013' -w '08/15/2013' / /u1 /u2 /u3 * -g: Save to group XING_USSWIFTNET1_archive * -b: Use pool XING Archive * -l: Level 0 * -v: Verbose * -E: Estimate total size * -y: Retention until 08/15/2013 * -w: Browse until 08/15/2013 * Backup set: / /u1 /u2 /u3 How to probe/test backup for clients in server side? Probe group: savegrp -vvv -p SaveGroup Probe client: savegrp -vvv -p -c clientname SaveGroup Probe with mode debugging level: savegrp -D9 -c clientname SaveGroup Actul backup client: savegrp -vvv -p -c clientname SaveGroup Backup Index only: savegrp -vvv -O -l full -c clientname SaveGroup How to fix error "/dev/rmt/4cbn opening: DRIVE_STATUS_NEED_INIT"? nsrjb -HEv --> E option will initialize the drive element status nsrjb -Iev How to restore files to local directory?  /usr/bin/recover recover > ls (to see files) recover > add < filename > (add file to restore list) recover > changetime mm/dd/yy (change restore time of file) recover > versions < filename > (show file versions) recover > voline < filename > (show volume file is on) recover > relocate < location > (relocate restore tiles to location) recover > rocover (do the restore) An interactive session to restore /etc/mail in usuman1 into  /recover directory of local server:

• • • • • • •

• • • • • • • • • • •

• ◦ ◦ ◦

• ◦

usuman1# recover -c usuman1 -s uslgto2 Current working directory is /  recover> relocate /recover recover> changetime 'March 09 2009' recover> cd /etc recover> add mail recover> recover An example recover session to restore directory in certain date using "versions" keyword. Download here. How to restore ad hoc files using Legato? recover -s uslgto2 -d /u6 -S 988276637  /usr/sap/PRD/INT/AP/IN/CHECK_STATEMENT_0121.out -- /u6 is target directory -- 988276637 is SSID How to exclude certain directories in Windows? Create nsr.dir file under above directories where you want to exclude. Content: skip: ZyLab_6 How to create pre/post exec script for Legato backup client? Create related .res file under /nsr/res (eg, Unix_Archive.res) type: savepnpc; precmd: "su - oracle -c '/oracle/dba/bin/start_hot_backup'"; pstcmd: "su - oracle -c '/oracle/dba/bin/end_hot_backup'"; timeout: "12:00:00"; Configure Legato client. Make sure in client property "Apps & Modules" tab, choose "savepnpc" as "Backup Command". How to restore files in Windows? Restore savesets recover -s uslgto2 -d R:\ -S 595232097/1232766305 * R: mapped destination drive with space * 595232097/1232766305: ssid/cloneid Recover adhoc Windows file: recover -s uslgto2 -d c:\temp -S 2530483243 W:\PATH1\PATH2\filename.xls How to restore file systems backed up incrementally?

• • • • • • • • • • • • • • • • • • •

• • ◦

◦ ◦

Get the volume used for the file system: mminfo -c -N Eg, uslgto2# mminfo -c uscoredb3 -N /u6 volume client date size level name XING.UnixD.0001 uscoredb3 09/25/08 4 B incr /u6 XING.UnixD.0001 uscoredb3 09/26/08 4 B incr /u6 XING.UnixD.0001 uscoredb3 09/27/08 9960 MB full /u6 XING.UnixD.0001 uscoredb3 09/29/08 699 MB incr /u6 XING.UnixD.0001 uscoredb3 09/30/08 4 B incr /u6 Get the SSID related to the file system: mminfo -av | grep Eg, uslgto2# mminfo -av XING.UnixD.0001 | grep u6 XING.UnixD.0001 uscoredb3 09/25/08 19:04:45 4 B 2832996617 cb incr /u6 XING.UnixD.0001 uscoredb3 09/26/08 19:01:03 4 B 4208814506 cb incr /u6 XING.UnixD.0001 uscoredb3 09/27/08 22:00:08 9960 MB 1692329252 cb full /u6 XING.UnixD.0001 uscoredb3 09/29/08 18:17:01 699 MB 3420541910 cb incr /u6 XING.UnixD.0001 uscoredb3 09/30/08 18:09:52 4 B 3504513968 cb incr /u6 In the restore server, create a script which will restore the full backup & related incr backups: Eg, recover -s uslgto2 -d /u6 -S 1692329252 /u6/elvis recover -s uslgto2 -d /u6 -S 3420541910 /u6/elvis recover -s uslgto2 -d /u6 -S 3504513968 /u6/elvis A shell script to check Legato backup time daily. Download from here. Local directives to exclude certain directoreis in Unix > action: file.filter eg, to exclude /olbackup3 & /olbackup4 from backup, create a file .nsr under / with the following: > +skip: .

◦ ◦



• ◦ ◦ ◦



• • ◦









> +skip: . Note: the plus (+) sign means that it applies to the named directory and all of its subdirectories (i.e. recursive). How to configure ports for Legato? (ports configuration in firewall) In client side: nsrports, show ports used by NSR client; rpcinfo -s uslgto2.melonm.com, show ports used for connection (optional) # nsrports -S 7937-7940 --> restirct ports used in the client side (these 4 ports are sufficient). Open the inbound ports in the firewall for the following 4 ports, so both clients can talk to Legato server/Storage node inside the firewall. Usws1 --> ports (7937-7940) --> uslgto2/uslgto3.melonm.com In the server side, restrict the ports based on the following fomula: 12(default)+number ofJukeBox+ 2*number of devices (tape+aftd) + 5 eg, 12+3 (Jukeboxes)+ 2*12 (number of tape/disk devices) +5=72 So the total port will be: 7937-8080 (adding 71 more ports to be on the safe side on top of 72 ports, 7937+72+71) How does multiplexing work in NW??(would like to increase the amount of drives used on one save group) The number of drives used for backup is dependent on different parameters, mainly on drive sessions. In the properties of the drive check the number of target sessions. By default it is 4 so you can increase it to 8. Also verify that the client,storage node and networker server parallelism is more than 8. In addition to the above settings check the number of clients in the group. If the backup is targetted to drive with 8 target sessions first it will start backup of 8 savesets to single drive, if the number of savesets is more than 8 it will then start the backup to next drive.

• ◦







How to backup NDMP data through storage node? nsrndmp_save -M -T dump -P -M: backup to storage node. However, traffic from NAS will come to nwserver first and send to storage node. -P: using storagenode as proxy host and traffic from NAS will come to storage node and save on storage node. -T: type of backup How to restore NML (Lotus Notes) client through command line? nsrnml_remrecov -d "/dparb/restore" -s ryeaxbkm.rye.avon.com -c namail2b -a -X /dparb/data/mail/utrainee.nsf  How to restore NetApps filer with NDMP? -- NetApps view /vol/vol0: java netapp.cmds.jsh -- Recover NDMP file from NetApps * Only in storage node: uslgto3 * recover -vvv -c usnas1 -s uslgto2.melonm.com recover> cd /vol/vol3_nas1/ToolsRoot/Tools/temp recover> add "file name.pdf" recover> recover ## 83 minutes for single file from usnas1 Using command line : -------------------# nsrndmp_recover -c filer_name -s (server) -S ssid -v off -m (filername)::target_dir_path source_dir_path # Above command can only be used to restore SSID or directory, not single file. It will restore savesets over browsing policy period. For Example: # nsrndmp_recover -c filer2 -s nicodemus -S 964505857 -v off -m burn::/vol/vol2/destination /vol/vol0/user/rkapoor/test The "-v off" is a new switch added in NW 6.1.3 which according to man page does not verify the directory path with client file index. This switch can be used to recover data when the Index information is lost or is corrupted. # nsrndmp_recover -c usnas2 -s uslgto2.melonm.com -S

• •

• • ◦

• ◦ ◦

• ◦



3433001941 -v off -m usnas2::/vol/vol3_nas2  /vol/vol3_nas2/Users/NSu/Logs ## 110 minutes for single file from usnas2: ## -m is mountpoint. This command will try to restore file into same directory. Another example of recovery: uslgto2# recover -vvv -c usnas2 -s uslgto2.melonm.com No index was found for /nsr/scripts/restore/. The current working directory is /. recover> cd "/vol/vol3_nas2/Common/SYSTEMS/Unix Systems/Documentation" recover> relocate "/vol/vol3_nas2/Common/SYSTEMS/Unix Systems/Legato Operations/Restore" recover> add WiltonHosts-Master-040309.xls  /vol/vol3_nas2/Common/SYSTEMS/Unix Systems/Documentation 1 file(s) marked for recovery recover> recover Procedures to restore file index for expired saveset? Locate SSID: mminfo -avot -c client_name Note: Check on the "level" of the target saveset that the user needs to recover, as if it is an incremental request to perform the instructions below for the most recent, along with all incremental before the desired date. Obtain cloneid: mminfo -av -q ssid=XXXX -r cloneid Set the expiration date: nsrmm -e "mm/dd/yy" -S XXXX/YYYY The mm/dd/yy is the date the user would like the saveset to be browsable from. Make saveset notrecyclable: nsrmm -o notrecyclable -S XXXX/YYYY Input "y" when it asks to mark the saveset as not recyclable. nsrmm -oy notrecyclable -S XXXX/YYYY Verify saveset status: mminfo -avot -c client_name From the output, the user will be able to see the saveset worked on is now becomes "cr"). Locate file index for saveset: mminfo -avot -N



• ◦ ◦

• ◦



index:client_name Locate the index that is being backed up with the target saveset and mark down its time. Start to recover index: nsrck -L7 -t "mm/dd/yy" client_name Input the time obtained from last step within " " eg, nsrck -L7 -t '03/28/09 19:46:53' usnas2 Validate index recovered: mminfo -avot -c client_name From the output, the user will be able to see the saveset worked??on? now becomes "cb". Repeat the above steps for any further saveset requires. If no more saveset operations are required, double check within NMC to make sure volumes required are available for recovery.

Storage • ◦ ◦ ◦



Key Processes The following 3 processes started from /etc/rc2.d/S95networker nsrexecd: client service. lgtolmd: license daemon nsrd: daemon to start the following 3 server processes (nsrmmd, nsrindexd, nsrmmdbd) nsrmmd: storage node daemon and write data to/from tape. nsrindexd: maintain & caching index of save sets. nsrmmdbd: database daemon responsible for volume database under /nsr/mm/mmvolume6 nsrexecd: main service running in client. Also running in servers to backup servers themselves. ssflags meaning: ssflags can contain following values: CvrSEiIF C=continued v=valid r=recoverable S=scanned-in E=eligible for recycle i=incomplete I=in progress



• • • • • •

• • • • ◦



• ◦



F=finished. Additionally, N means "NDMP" To validate clone set status, using "clflags". "a" or "E" means that it is corrupted cloneset. mminfo -avot -q "ssid=3973556614" -r "volume,ssid,ssflags,clflags" Validating Legato hardware status Shutdown networker server uslgto2# sjirdtag /dev/scsi/changer/c2t100000E00222AF71d0 inquire -cl # see all tapes & changer sjirjc sjirjc 1.0.0 (where 1.0.0 is changer address. Locate it using inquire -cl). sjirdtag 1.0.0 (list details library information) How to manually configure MSL6000 Jukebox using  jbconfig? Download screen logs from here. inquire to get device path & serial number of drives; sjisn to get element address with serial number; jbconfig to match the element with right device path using serial number. If there are storage node needs to be configured (2 nodes to see same drives), follow this instruction for configuration. The key to all same drive has 2 paths (one to Networker server and another to Storage node). Each time hardware changed (eg, replace a drive), the library needs to be reconfigured in Legato using jbconfig. NDMP Backup Regarding to incremental backup using NDMP The NetWorker software does not support incremental backup settings for NDMP backups. If you select the incremental setting, the NetWorker server performs a full backup. However, you can schedule level backups to function like incremental backups. For example, complete a full backup on day 1 and level 1 backups on days 2 through 7. Incremental will not work with NetApp if you forget to specify







• ◦

• ◦

• •





"UPDATE=Y". This parameter actually instructs Ontap NDMP to update the dumpdates file which is used to determine what should be backed up. To view all NDMP dump history & levels on NetApps, see file: /vol/vol0/etc/dumpdates Backup Command: nsrndmp_save -c hostname_of_nas_interface/client_name -s backupserver -I indexserver -M -T dump; NDMP Restore through Legato nsrndmp_recover -c usnas2 -s uslgto2 -m usorarestore:/u6 -S 3439474549 "/vol/vol2_nas2/WPSysMan/file.pdf" NDMP Save through storage node public nic nsrndmp_save -c usnas2 -M -T dump -b "XING NDMP" -P uslgto3v -y "11/07/08" /vol/vol0/home # uslgto3v is pub nic of storage node. Command is run in storage node. How to exclude files/dirs from NDMP backup of NetApps filer? To exclude files or directories from an NDMP backup of a NetApp filer, use the EXCLUDE= option in the NDMP Client resource's Application information field. EXCLUDE= takes a comma separated list of file and/or directory names to exclude from the backup. This is equivalent to the X option of the dump command. The following are rules for specifying names in the EXCLUDE= list: If a specific file or directory is to be excluded from the backup, the exact name of the file or directory must be used. An asterisk (*) can be used as the wildcard character. The asterisk must be either the first or the last character of the string. Each string can have up to two asterisks (one in the front and one at the end). If a file or directory name contains a comma, the comma must be preceded by a backslash to denote special character. This is because comma is used in the EXCLUDE= string to separate values. The EXCLUDE= list can contain up to 32 names.

• • • •



• •

Here are some examples: To exclude the 'tmp' directory from a save set, use EXCLUDE=tmp To exclude all .PST files from the save set, use EXCLUDE=*.PST To exclude all files or directories that contain the characters 'old' in their names, use: EXCLUDE=*old* To exclude all of the above at the same time, use: EXCLUDE=tmp,*.PST,*old* Recover Netapp filer's NDMP data nwrecover: Before starting nwrecover GUI, please change the directory to  /filermountpoint, then start nwrecover with command "nwrecover -s (nwserver) -c (filername)" or after starting nwrecover gui with command "nwrecover -s (nwserver) -c (filername)" , you need to expand the filer's file in the Select:. For example, /vol/vol*. Using command line: recover saveset nsrndmp_recover -c filer_name -s (NWserver) -S ssid -m (filername)::target_dir Recover single file: Recover To recover NDMP savesession in FP, using uslgto3 as recover server due to NIC (pub&priv) issues. Redirect "Bootstrap Completion" printout In Configuration--> Notification, specify "cat >  /nsr/bootstrap/nsr_bootstrap_`/usr/bin/date '+20%y%m%d'`" as action of "Bootstrap Completion" Create directory /nsr/bootstrap and we will get updated bootstrap information each day. If possible, setup rdist so whole /nsr directory will be duplicated to remote server as backup. Each day, the bootstrap information after each executed job will be saved into above directory instead of printing to physical printer by default.

• ◦

◦ ◦ ◦

• ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦ ◦

• • • ◦

• •

• •

Some command line examples from this link . Local copy here. How to exclude a directory from scheduled backup using local directives? For Windows Create a file called nsr.dir under the parent directory (eg, C:\) with content: skip: Make nsr.dir file hidden/readonly if necessary. Create a separate client with only this directory as saveset if it needs to be backed up separately. For Unix Create .nsr file under parent directories: > +skip: . > +skip: . > +skip: . > +skip: . How to recover an expired saveset? Find the ssid(s) of the saveset: mminfo -av -q "client=myclient,savetime 1 month ago" -r "volume" Or: mminfo -av -q "savetime < 09/25/08" "XING.UnixD.0001" nsrmm -yo recyclable volume_name (loop through the list) How to use nsrmm to change browse and retention policies? Change the retention time to midnight, January 1, 2009. Change the browse time to midnight, January 1, 2008. nsrmm -S 3315861249 -e "01/01/09 23:59:59" -w "01/01/08 23:59:59" Change the browse time to six months from the current date and time. nsrmm -S 5315861249 -w "6 months" Change the retention time to two years from the current date and time. nsrmm -S 3315861249 -e "2 years" How to remove expired saveset from disk volume and

• • • • •

• • • • • • •



• • • ◦

reclaim space? Details instruction download from here. mminfo -m 1>volume 2>&1 mminfo -r 'name, ssid, ssbrowse, ssretent, ssflags, state' -q volume=XING.UnixD.0001 1>query 2>&1 Locate ssid nsrmm -d -S to remove them from Index nsrim -X --> run twice to reclaim the space Script to remove "duplicate volumes" from media database by searching daemon.log. Download from here. Tips Kick off starting group from command line: savegrp -l full -G Unix_Test Scan the content of tape: scanner -n /dev/rmt/6cbn (loaded tape into drive first) Save from client side: /usr/sbin/save -b "XING Unix" -l full /u4 Disable VSS for Windows client: VSS:*=off (in "Save Operations" of client definition) To enable legato automatic label blank tapes, choose "Auto Media Management" in the Jukebox's property. List VSS Writers in Windows 2003: vssadmin list writers nsrmm (-C) --> display configured devices (tape/disk) and mounted volumns Retention Policy: There are 2 places to setup Retention policy: in the client level and in the pool level. The actual Retention policy will respect the longer one between client & media pool. The longer one will be the retention policy of savesets. Change Retention policy of saveset: nsrmm –S ssid –e “xx/xx/xx” To verify: mminfo -vp -q ssid=3528014006 How to control NSR Index size? Contribulting Factors: Number of clients; Number of files; Browsing Policy  Retention policy has nothing to do with Index size, only browsing policy does.

• ◦ ◦



• • • • • • • ◦





• ◦

• •

Workaround: Clean up old decommissioned hosts index; Move the index to other location How to completely remove client from Legato (eg, for reclaiming licenses)? Perform a full bootstrap backup for group which has clients to be removed (eg, savegrp -l full -O -G Unix_Prd). Record ssid in case media index needs to be restored. Delete the client in NMC Stop nsr services Backup the client's index folder (/nsr/index/) Clear the cache by renaming \nsr\tmp\ folder to  \nsr\tmp_old_todaysdate Start nsr services Temporarily set the Autostart function on all Groups to 'Disabled' (it is best to perform the following when NW is idle) Run the following commands to verify, fix and purge the index and mdb records: nsrck -L6 --> this will take a very LONG time. Please make sure enough time is scheduled between backups. nsrim -X Set the Autostart function on groups that was changed in step 8 back to "Enabled". How to remove old hostnames from registering in NSR server? Search old hostname in nsr indexes: /nsr/res/nsrdb &  /nsr/res/nsrladb eg, grep */* /nsr/res/nsrdb & grep */* /nsr/res/nsrladb Edit the index file and remove the old hostname Retry the backup How to relocate client index to different location in Unix? Steps download from here. How to configure library to unload tapes when idle? Device->Library->Property->Timers(may need to enable diag mode in View)->Idle device timeout (set to 1, which is 1



minute). When tape drive is idle more than 1 minute, it will unload tapes back to slot. How to increase number of cleans using cleaning tape? Device->Library->Property->Default Cleanings (Change from 5 to 50) # Cleaning tape can now be used 50 times instead of default 5 times. # Using command line: nsrjb -U50 -S58 (#cleaning tape is in slot 58).

Windows • • • • • • • • • • • • •

• • •

How to backup System State of Windows client? Specify the following save sets: ASR:\ SYSTEM DB:\ SYSTEM FILES:\ SYSTEM STATE:\   In "Apps & Modules", specify "Save operations:" "VSS:*=off" How to backup VSS state of Windows client? C:\   VSS ASR DISK:\   VSS SYSTEM FILESET:\   VSS OTHER:\   VSS USER DATA:\   VSS SYSTEM SERVICES:\   VSS SYSTEM BOOT:\   How to recover Windows client using "System State" backup? Install the basic OS (install SP2 if original host has SP2) Rename the Host to original hostname and hardcode original IP address; Install NSR client after server renamed (that way the NSR client will identified itself with correct name), click all system state savesets and C: drive, then start "Direct Recovery".











• •



When done, removed hardcoded IP address and reboot the server. The server should be back with domain enabled. Legato Windows Agent Issues Not locate NSR server: First time when Legato Windows Agent starts, it will search for Networker server through broadcast. If Legato server is in a different network than agent, the search will fail and the agent gui will close. To fix this problem, append the server string after the executable, eg: "C:\...winworkr.exe" -s DMZ servers Name Resolution: Legato agent requires reverselookup working for both Networker server & storage node. For DMZ servers which have different DNS server, add IP/Hostname of Legato servers into C:\Windows\System32\drivers\etc\hosts If hosts file doesn't work, CREATE A NEW ONE. It is possibly corrupted but not evident to you. Holy smokes, it works for me. Turning off vss for specific drive VSS:h:\=off   How to backup Exchange server? Backing up the information stores (msexch:IS) and recover them to the recovery storage group. Use the exchange task wizard to recover individual mailboxes from that. For the saveset specification, put MSEXCH: IS and MSEXCH: DS with a backup command of nsrxchsv.exe

NMDA • ◦ ◦ ◦

How to configure Lotus Notes backup using NMDA? To keep configuration in MMC client property, configure: Saveset: NOTES Backup Command: nsrdasv -T Lotus Backup Config: copy and modify this file. Pay particular attention to the followng to configurations. NSR_CROSS_MOUNT_POINTS:"TRUE"; --> Important if mailboxes located in different file system NSR_FOLLOW_LINKS:"TRUE"; --> Important if mailboxes



• ◦ ◦ ◦

• ◦







◦ ◦ ◦ ◦ ◦







located in different file system Alias: Both long & short name of virtual & physical node To keep configuration in Lotus Notes client: Saveset: NOTES Backup Command: nsrdasv -z /nsr/apps/config/ nmda_lotus.cfg Alias: Both long & short name of virtual & physical node How to restore Lotus Notes using NMDA through command line? Create nmda_lotus_recovery_cmd.cfg file, which will be used for restore. NSR_BACKUP_PATHS will specify objects needs to be restored NSR_RELOCATION_DEST will specify path where data will be restored to NSR_RECOVERY_TIME will specify which date data needs to be restored To get all information about backup objects, using following command and search output nsrinfo -s -n notes -X All An issue was discovered through debugging that nsrnotesrc was trying to locate itself under " /usr/sbi/nsrnotesrc" instead of "/usr/sbin/nsrnotesrc". It could be specific to environment or could be a program bug. nsrnotesrc: using `/usr/sbi/nsrnotesrc' for execpath, nsrnotesrc: /usr/sbi/nsrnotesrc started, pid 20705 nsrnotesrc: waitchild reaped, pid 20705 nsrnotesrc: waitchild error on reap, pid 20705 (10) To workaround this issue, I created the directory "/usr/sbi" and copied "nsrnotesrc" to it from "/usr/sbin". Restores were successful after this fix. This could be another environmental issue since "/opt/ibm/lotus/notes/latest/linux/" was not in library path. The library "libxmlproc.so" is required by "libnotes.so" for restore. ln -sf /opt/ibm/lotus/notes/latest/linux/libxmlproc.so  /usr/lib/libxmlproc.so Another option is to specify LD_LIBRARY_PATH for user



• ◦

• • • •



which will be doing restore: export LD_LIBRARY_PATH=/opt/ibm/lotus/notes/latest/linux Run ldd to validate: ldd  /opt/ibm/lotus/notes/latest/linux/libnotes.so As user doing the backup (eg, notes), run below command to recover mailbox into NSR_RELOCATION_DEST  /usr/sbin/nsrnotesrc -z  /nsr/apps/config/nmda_lotus_recovery_cmd.cfg How to restore Lotus Notes using NMDA through NMDA client GUI? Install NMDA for Windows GUI on Windows system which runs recovery Run "Directed Recovery"-->Choose Mail box-->"Recovery Options"-->Recovery Specify configuration file for recovery in the "Options". The NMDA Gui will, by default, looking for a user called "notes". If Lotus was running under different user name in the email server, create a dummy user, within the same group as other Notes users, in the email server. Make sure user "notes" has write permission to directory where mailboxes are restored to (specify in "Recovery Options"). How to configure Exchange cluster backup using NME? -- NSR agent & NME into both nodes; -- Create entry for each physical node in Networker server; -- Create entry for virtual node of Ex-cluster. ** For virtual node configuration: -- Remote access list, specify SYSTEM@node1, SYSTEM@node2, Administrator@node1, Administrator@node2 -- Backup Command in Apps/Modules: nsrxchsv -c usevs2 -- Specify Savesets. eg: MSEXCH:IS/SG1 or MSEXCH:IS/SG1/Public Folder Store How to configure standalone Exchange backup using NMM? Using Exchange 2007 stand-alone environment as an example

• ◦ ◦

• ◦ ◦

• ◦ ◦ ◦

• •

• •

Client: Backup command: nsrsnap_vss_save Save set: APPLICATIONS:\Microsoft Exchange 2007 Application Information Variables: NSR_SNAP_TYPE=vss NSR_ALT_PATH=C:\mount_replica Group: Snapshot backup=yes (Just check the box) Snapshot Policy= Serverless Backup Snapshot Pool= Any configured pool for this backup How to configure NMDA backup for DB2 (refer to DB2 section for more details)? Create configuration file for backup nmda_db2_backup.cfg Run from command line: db2 backup db db2ins online load "/usr/lib/libnsrdb2.so" options @/nsr/apps/config/nmda_db2.cfg How to restore data through NMDA backup (refer to DB2 section for more details)? Create configuration file for restore nmda_db2_restore.cfg Run from command line: db2 restore db db2ins load  /usr/lib/libnsrdb2.so options @nsr/apps/config/nmda_db2_restore.cfg

Daily Jobs

• •

• ◦

Tape Daily Recording & Archive Made one process in place to archive daily tape list offsite and upload to Windows shared drive. 2 Points about this process: We have daily clone in place at daytime, so any tapes within past 24 hours will stay in libraries until clones complete. Legato server is in Unix and shared drive/storage for archive is in Windows, so we have to resorted to Samba/Expect script in another middleware system for uploading. Here is the actual process flow: Schedule this job (dailyTapes.sh) to generate 2 reporting files (tapeReport.txt & tapeOffsite.txt). tapeReport.txt will be sending to various recipents by email while tapeOffsite.txt will be





• • • • • • • •

• • •





uploaded to share drive to be (eventually) imported into SQL server media database. Above script will also copy 2 list files to Samba middleware server. Using this job (nsrOfftapes.sh) at later time to upload both lists into share drive. The upload script will use Expect script (nsrOfftapes.exp) with Samba client to upload. Once above process is in place, we have an automated process to generate offsite tapes and the list will be archived in central server for future reference. Daily Legato Routines (chkNSR.sh) checking interrupted overnight backup jobs Backup daily saveset Index (samething sending through email) to a local directory Replicate Index directory to a mirror site Regular schedule change on jobs Clone some archive logs of Oracle databases Daily Legato Media Database HealthCheck (nsrDBchk.sh) Check media database status and archive result. "-d" option for debugging This script will need to run when NW server is idle (eg, no device mount/unmount). Otherwise, all device mount/unmount will be automatically cancelled and on pending. How to calculate Data Domain usage per host through Networker (sizeCal.sh) Using "mminfo -avot" to get all savesets in DataDomain. Then produce a list of clients. Above script will calculate each host's space in DataDomain. Note: Since size produced from mminfo didn't have floating point, above arithmetic using BASH is OK. For adding arithmetic numbers, you must use programming tool such as "bc". Here is a script using "bc" for arithmetic operations with floating points (sizeFal.sh). How to save daily bootstrap information? Bootstrap is critical when the time comes to recover SSID and





you need to know which tapes contain it. You may be able to get some information from mminfo, but what happens if that client has been removed from Index (for reclaiming license, for example). In Legato GUI-->Configuration-->Notification-->Bootstrap->Action " cat > /nsr/bootstrap/nsr_bootstrap_`/usr/bin/date '+20%y%m%d'`" Now you should have a bootstrap text file saved to Legato directory each day every day. How to customize Savegroup completion email? By default, each day you will receive emails when savegroup completes. If you want to customize it (eg, add Savegroup name on the email subject), in the Notification-->Savegroup completion, add name of script to Action field:  /nsr/scripts/ savegroupEmail.sh

Copyright @ 2011 Melonm Documentation Project, All rights reserved. erms o! "se # Privacy $tatement # e%mail &e'master 

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF