Академический Документы
Профессиональный Документы
Культура Документы
Search for:
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
Search
Cyberfella Ltd
An I.T. Contractor who writes the useful stu
down.
August 28
Networker Cheatsheet
1 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
Client cong.
Can you ping the client / resolve the hostname or telnet to 7937?
Are the static routes congured (if necessary).
Can the client resolve the hostnames for the backup interfaces? have
connectivity to them?
Does the backup server appear in the nsr/res/servers le?
Can you run a save -d3 -s /etc on the client?
From the backup server (CLI)
nsradmin -p 390113 -s client
Note: If the name eld is incorrect according to nsradmin (happens when
machines are re-commissioned without being rebuilt) then you need to stop
nsrexecd, rename /nsr/nsrladb folder to /nsr/nsrladb.old, restart nsrexecd,
and most importantly, delete and recreate the client on the networker backup
server, before retrying a savegrp -vc client_name group_name
Also check that all interface names are in the servers le for all interfaces on
all backup servers and storage nodes likely to back the client up.
Can you probe the client?
2 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
mminfo -q client=${clientname},level=full -r
client,savetime,ssid,level,volume | sort -k 2.7,2.10n -k 2.1,2.5n -k
2.4,2.5n
nles
894084
You should probably make use of the ssags option in the mminfo report too,
which adds an extra column regarding the status of the saveset displaying
one or more of the following characters CvrENiRPKIFk with the common
elds shown in bold below along with their meanings.
C Continued, v valid, r purged, E eligible for recycling, N NDMP generated,
i incomplete, R raw, P snapshot, K cover, I in progress, F nished, k
checkpoint restart enabled.
Check Client Index
nsrck -L7 clientname
Backing up Virtual Machines using Networker,VCentre and VADP
4 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
To back up virtual machine disk les on vmfs volumes at the vmware level (as
opposed to the individual le level backups of the individual vms), networker
can interface with the vcenter servers to discover what vms reside on the
esxi clusters managed by them, and their locations on the vmfs shared lun.
For this to work, the shared luns also need to be presented/visible to the
VADP Proxy (Windows server with Networker client and/or Server running as
a storage node) in the fc switch fabric zone cong.
5 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
Note that the Command Host is the name of the VADP Proxy, NOT the name
of the Virtual Center Server.
Finally, Run Auto Discovery. A map of the infrastructure should build in the
Networker GUI
Ensure vc, proxy and networker servers all have network comms and can
resolve each others names.
You should now be ready to congure a VADP client.
Conguring a VADP client (Checklist)
GENERAL TAB
6 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
IDENTITY
COMMENT
application_name VADP
VIRTUALIZATION
VIRTUAL CLIENT
(TICK)
PHYSICAL HOST
client_name
BACKUP
DIRECTIVE
VCB DIRECTIVE
SAVE SET
*FULL*
SCHEDULE
Daily Full
APPS AND MODULES TAB
7 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
BACKUP
BACKUP COMMAND
nsrvadp_save -D9
APPLICATION INFORMATION
VADP_HYPERVISOR=fqdn_of_vcenter (hostname in caps)
VADP_VM_NAME=hostname_of_vm (in caps)
VADP_TRANSPORT_MODE=san
DEDUPLICATION
Data Domain Backup
PROXY BACKUP
VMWare
hostname_of_vadp_proxy:hostname_of_vcenter.fqdn(VADP)
GLOBALS 1 OF 2 TAB
ALIASES
hostname
hostname.fqdn
hostname_backup
hostname_backup.fqdn
ip_front
ip_back
GLOBALS 2 OF 2 TAB
REMOTE ACCESS
user=svc_vvadpb,host=hostname_vadp_proxy
user=SYSTEM,host=hostname_vadp_proxy
*@*
OWNER NOTIFICATION
/bin/mail -s client completion : hostname_client nwmonmail
Recovery using recover on the backup client
sudo recover -s backup_server_backup_interface_name
Once in recover, you can cd into any directory irrespective of permissions on
the le system.
Redirected Client Recovery using the command line of the backup
server.
Initiate the recover program on the backup server
sudo recover -s busvr_interface -c client_name -iR -R client_name
or use -iN (No Overwrite / Discard)
-iY (Overwrite)
-iR (Rename ~ )
8 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
ls
pwd cd\
Change Browsetime
Recover> changetime yesterday
1 Nov 2012 11:30:00 PM GMT
Show versions of a folder or lename backed up
Recover>
versions
(defaults to current folder)
Recover> versions myle
Add a le to be recovered to the list of les to be recovered
Recover> add
Recover>
add myle
List the marked les in the list to be recovered
Recover> list
Show the names of the volumes where the data resides
Recover> volumes
Relocate recovered data to another folder
Recover> relocate /nsr/tmp/myrecoveredles
Recover> relocate E:\\Recovered_Files
Recovery from Linux Svr)
9 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
buer)
e.g. 1021210946
Log onto the VADP Proxy (which has SAN connectivity over bre necessary
to recover the les back to the datastore using the san VADP recover mode)
recover.exe S 1021210946 o VADP:host=VC_Svr;VADP:transmode=san
Note that if you want to recover a VM back to a dierent
vCenter,Datastore,ESX host and/or dierent resource pool, you can do that
from the recover command too, rather than waiting to do it using the vsphere
client. this can be used if your vm still exists in vmware and you dont want
to overwrite it. You can additionally specify VADP:host= VADP:datacenter=
VADP:resourcepool= VADP:hostsystem= and VADP:datastore= elds in the
recover command, separated by semicolons and no spaces.
Ive found that whilst the minimal command above may work on some
environments, others demand a far more detailed recover.exe command with
all VADP parameters set before itll communicate with the VC. A working
example is shown below (with each VADP parameter separated on a newline
for readability youll need to put it into a single line, and remove any spaces
between each .
recover.exe -S 131958294 -o
VADP:host=vc.fqdn;
VADP:transmode=san;
VADP:datacenter=vmware-datacenter-name;
VADP:hostsystem=esxihost.fqdn;
VADP:displayname=VM_DISPLAYNAME;
VADP:datastore=cong=VM_DataStore#Hard disk
2=VM_DataStore_LUN_Name#Hard disk 1=VM_DataStore_LUN_Name;
VADP:user=mydomain\vadp_user;
VADP:password=vadp_password
Creating new DataDomain Devices in Networker
In Networker Administrator App from NMC Console, Click Devices button at
the top.
Right click Devices in the Left hand pane, New Device Wizard (shown)
10 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
11 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
Untick Congure Media Pools (label device afterwards using Paste from
previous step), Next
12 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
Select Storage Node to correspond with device locality from Use an existing
storage node, Next
Agree to the default SNMP info (unless reconguration for custom
monitoring environment is required), Next
Congure, Finish
Select new device (unlabelled, Volume name blank), right click, Label
13 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
Then SSH to the storage node and check what processes are consuming the
most CPU and Memory (below)
14 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
15 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
nsrjb -d
-Deposit all tapes in the cap/load port into empty slots in the
jukebox/library.
Note: If you are removing and replacing tapes you should take note what
pools the removed tapes belong it and allocate new blank tapes deposited
16 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
into the library to the same pools to eliminate impact on backups running out
of tapes.
Exchange Backups
The application options of the backup client (exchange server in DAG1 would
be as follows
NSR_SNAP_TYPE=vss
NSR_ALT_PATH=C:\temp
NSR_CHECK_JET_ERRORS=none
NSR_EXCH2010_BACKUP=passive
NSR_EXCH_CHECK=no
NSR_EXCH2010_DAG=GB-DAG1
NSR_EXCH_RETAIN_SNAPSHOTS=no
NSR_DEVICE_INTERFACE=DATA_DOMAIN
NSR_DIRECT_ACCESS=no
Adding a NAS lesystem to backup (using NDMP)
Some pre-reqs on the VNX need to be satised before NDMP backups will
work. This is explained here
http://www.cyberfella.co.uk/2013/12/03/congure-vnx-for-ndmp/
General tab
17 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
18 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
19 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
Globals2 tab
20 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
21 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
Availability & CV
Company & Contact Details
Cyberfella Ltd. is born
Areas of Expertise
Areas of Expertise Select Category
Tip Jar
If I've helped you out of a pinch and saved your project time and money and
you wish to thank me, feel free to donate some coins to the tip jar via PayPal.
22 of 23
08/18/2015 04:21 PM
http://www.cyberfella.co.uk/2012/08/28/emc-ne...
82,689 spam
blocked by Akismet
Cyberfella Ltd. Established 14th February 2012. Company Number. 7950008,
VAT Registered.
Theme "Anarcho Notepad" designed and engineered by Arthur (Berserkr)
Gareginyan.
23 of 23
08/18/2015 04:21 PM