Operational Command Reference Guide - Frequently Used Commands
Operational Command Reference Guide - Frequently Used Commands
Table of Contents
1 Introduction...............................................................................................................................5
1
2 Commands................................................................................................................................6
2.1 Command to find list of VMs that are part of NetWorker VMware backup policies:...........................................6
2.2 Command to find the list of available backups of particular client in Avamar:......................................................6
2.3 Command to restart NetWorker services on windows host (including NMC services)...........................................7
2.4 Avamar model number and serial number:..........................................................................................................8
2.5 Command to find a particular word in all or specific file in a folder:......................................................................8
2.6 Couple of commands to obtain the details of VMware policy in NW 8.2...............................................................9
2.7 To view what process is using a TCP port in Windows Server 2008.....................................................................12
2.8 Curl commands (if telnet is not working on any system).....................................................................................13
2.9 Commands to add/remove clients to/from VMware policy in NW.......................................................................13
2.10 Deleting the Peer information of clients from both NetWorker server and client side.........................................15
2.11 Common usage of scanner command:...............................................................................................................16
2.12 NetWorker command line restore/recovery for filesystem..................................................................................17
2.13 Finding the serial numbers of Avamar servers:...................................................................................................20
2.14 Finding the IPMI (or iDRAC or ILO) of Avamar node or setting:...........................................................................21
2.15 NSR PUSH:........................................................................................................................................................21
2.16 MMINFO:...........................................................................................................................................................24
2.17 Changing retention of savesets..........................................................................................................................27
2.18 Manually deleting savesets from NetWorker......................................................................................................27
2.19 Deleting backups from Avamar..........................................................................................................................28
2.20 Joining / Adding DataDomains to Active Directory.............................................................................................30
2.21 Resetting AD Authentication back to workgroup...............................................................................................30
2.22 Lotus Notes Restore Commands:.......................................................................................................................32
2.23 To Perform Image Level Recovery using Command Line (NW 8.2).....................................................................34
2.24 Mail Notification command in NetWorker:.........................................................................................................35
2.25 NSRPORTS and NSRRPCINFO:..........................................................................................................................35
2.26 NSRCLONE........................................................................................................................................................37
2.27 Command to make savesets browseable from recoverable:...............................................................................37
2.28 Command for throttling replication in DataDomain using override option:........................................................39
2.29 Start / Stop / Restart DPA services.....................................................................................................................40
2.30 Steps to be taken after rebooting the CloudBoost – Everytime..........................................................................40
2.31 Uploading the logs to DELL EMC FTP link (if the logs are very large and can’t be uploaded to SR......................40
3 Logs........................................................................................................................................41
3.1 Avamar / VBA logs directory:..............................................................................................................................41
4 General Troubleshooting:.........................................................................................................42
4.1 Error or Alerts: Waiting for 1 writable volume(s) to backup clone pool................................................................42
5 VBA Troubleshooting:..............................................................................................................43
5.1 Re-registering the ebr plugin through the Vsphere MOB page:..........................................................................43
5.2 Restarting the VMtools on the VBA:...................................................................................................................43
5.3 Error: Stopping an instance of NMM save with process Id=1208 on host: sql03.shbca.shb.bank. There is another
instance of NMM save program is already running.........................................................................................................43
5.4 Finding the version of different components within VBA:...................................................................................43
5.5 Cross synching NetWorker and VBA..................................................................................................................44
2
6 Some Linux commands.............................................................................................................47
3
Revision History
Revision Date Author Description
4
1 Introduction
This document will act as the command reference guide for the day to day backup operations task at xyz’s IT
services.
5
2 Commands
2.1 Command to find list of VMs that are part of NetWorker VMware backup
policies:
Note: The output list would not necessarily be part of active backup policies. Hence another
check of active policies are required to ensure these VMs are actually getting backed up.
Login to VBA as admin
SCREENSHOT DELETED
admin@emc-vba:~/>: mccli client show --recursive
SCREENSHOT DELETED
2.2 Command to find the list of available backups of particular client in Avamar:
Login to Avamar as “admin”
mccli backup show --name=/vcentera.abc. /VirtualMachines/OMS --verbose
6
2.4 Avamar model number and serial number:
admin@avamar01:~/>: avsysreport chassis-info
=== Chassis information
Host Name : xyz
Chassis Model : Gen4T M600
Serial Number : CKMxxxxxx
Part Number : 100-580-207-03-FFF
BIOS Version : 41.91
admin@avamar01:~/>:
2. /c – This switch tells the find tool to count how many lines contain your search terms.
3. /n – This switch shows the numbers that correspond with the lines.
4. /i – This switch tells find to ignore the case of text you are searching for.
You may find yourself frequently going to network tools to determine traffic patterns from one server to
another; Windows Server 2008 (and earlier versions of Windows Server) can allow you to get that information
locally on its connections. You can combine the netstat and tasklist commands to determine what process is
using a port on the Windows Server.
The following command will show what network traffic is in use at the port level:
The -o parameter will display the associated process identifier (PID) using the port. This command will
produce an output similar to what is in Figure A. Figure A
7
With the PIDs listed in the netstat output, you can follow up with the Windows Task Manager (taskmgr.exe)
or run a script with a specific PID that is using a port from the previous step. You can then use
the tasklist command with the specific PID that corresponds to a port in question. From the previous
example, ports 5800 and 5900 are used by PID 1812, so using the tasklist command will show you the process
using the ports. Figure B shows this query. Figure B
8
2.8 Uploading the logs to DELL EMC FTP link (if the logs are very large and can’t be
uploaded to SR.
To upload large files (3+ GB) to send to EMC Support, below method worked fine for VPLEX CD logs.
9
3 Logs
10
11
4 General Troubleshooting:
4.1 Error or Alerts: Waiting for 1 writable volume(s) to backup clone pool
Resolution:
( 1 ) Go to each of the Client’s Properties that are part of the group asking for “1 writable media” during the backup or
clone and then go to “Recover storage nodes:” section of Globals (2 of 2) and update the destination Storage node.
( 2 ) Ensure target sessions on each of the devices of the particular volumes are same i.e
Please make them all Target sessions= 25 and Max sessions= 60 from devices settings (Configuration tab).
12
5 VBA Troubleshooting:
5.1 Re-registering the ebr plugin through the Vsphere MOB page:
Unregister existing EBR Plugin:
(1) Login vCenter MOB by going to https://your-vcenter-hostname.domain.com/mob
(2) From the MOB screen click on content > ExtensionManager
(3) Under "Methods" click on "UnregisterExtension" and enter com.vmware.ebr2 in the second window that pops up.
Then click on "Invoke Method":
(4) Close the second window and refresh the MOB, the plugin should be gone.
(5) Double click on the Lock on the configure tab of ebr-configure page and provide the EBR password when prompted.
(6) Update the Vcenter password in the password field and Save.
(7) Update the Networker password in the Networker Configuration tab.
(8) Restart the emwebapp.sh on the VBA Putty.
The VBA will be re-registered to the Vsphere and the plugin will be added to the MOB extension manager.
13