Wednesday 12 August 2015

Backing up VM

Prerequisite:
--NBU6.5.4+Language Pack (Language Pack is optional)
--ESX Server  
--VMware Converter Server (eg. VMware-converter-3.0.3-89816.exe )
--VMware Consolidated Backup (VCB) (eg. VMware-vcb-V1.5-102898.exe )
Basic Installation:
--Install ESX Server.
--Install and launch “WMware Infrastructure Client”. logon ESX server.
--Install virtual machine as you need. Install VMware tools.
NBU For VMware Components:
--VMware backup proxy server (support Windows2003 only)
--virtual machine
--ESX server
--VMware converter server
Environment 1:
NBU master server and client: locsparc01, Solaris
Media server/Proxy server:  demoproxy-ldk, Windows 2003 x64 (physical machine)
VMWare virtual machine: vm-demo, Windows 2003 x64 simple Chinese
Process for  file-level backup and restore:
1.      Install NBU6.5.4 (and language pack) on Solaris box, add “demoproxy-ldk” as media server. Install VCB, and Vmware converter at physical machine “demoproxy-ldk”.
2.      Add hostname and IP address to “/etc/hosts” on each host.
3.      --Install 6.5.4 Client at both “demoproxy-ldk” and “vm-demo”.
--At “Specify Netbackup Machine and Policy Type”, “Server to use for backups and restores” is “locsparc01”,
“Source client for restores (or virtual client for backups)” is “vm-demo”
“Destination client for restores” is “vm-demo”
4.      --Launch NBU admin console.
--At “Media and Device Management”>”Credentials”>”Virtual Machine Servers”, add a new virtual server “locdell02”.
--At “Host Properties”>”Master Servers”>”Virtual Machine Proxy”, add “demoproxy-ldk”.
--Restart NBU.
5.      Add a policy. One method is as follows:
--At “Attribute”, “police type” is “MS-Windows-NT”, click “Perform snapshot backups”, “Perform off-host backup”, “Use virtual machine proxy”, select “demoproxy-ldk” as “Virtual Machine Proxy Server”. At “Snapshot Client Options”, “Snapshot mount point” is a folder on the Vmware backup proxy server. (eg, H:\mnt at “demoproxy-ldk”), “Virtual Machine Backup” is “0”, “transfer type ” is “2”. (there is no SAN in CD l10n)
--At “Client”, click “browser for virtual machines”, select “vm-demo”. Sometimes need refresh list.
--At “Backup selections”, input the drive or folders. (X:\ for MS-Windows-NT, \\.\X: for Flashbackup-Windows)

6.      Backup should be successful.

Environment 2:
NBU master/Media/Client: demoproxy-ldk, Windows 2003 x64 (physical machine)
 VMWare virtual machine:  vm-demo, Windows 2003 x64 simple Chinese

Restore
  1. If NBU client is installed on vmware machine, Specify the following at BAR>File>Specify NBU Machines and Policy Type:
--Server to use for backup and restores : NBU master server (demoproxy-ldk)
--Source client for restores: vmware machine (vm-demo)
--Destination client for restores: vmware machine (vm-demo)
--Policy type for restores: MS-Windows-NT / Flashbackup-Windows

  1. If NBU client is NOT installed on vmware machine, Specify the following at BAR>File>Specify NBU Machines and Policy Type:
--Server to use for backup and restores : NBU master server (demoproxy-ldk)
--Source client for restores: VMware backup proxy server (demoproxy-ldk)
--Destination client for restores: vmware machine (vm-demo)
--Policy type for restores: MS-Windows-NT/Flashbackup-Windows
Note:
--Before restore, please make sure “Netbackup Client Service” must be logged on as the administrator account (NOT as the local system account account)
--Mapping the drive on vmware machine (E$ at vm-demo)to VMware backup proxy server (demoproxy-ldk)
--Use “\\guest_OS_hostname\drive_letter$\folder” format for pathnames.



No comments: