8/17/2019 Restore Solaris Using NetBackup BMR
1/25
Restore Solaris UsingNetBackup BMR
Here we are going to restore a Solaris client using NetBackup Bare MetalRestore. Before we are able to do that we have to enable this option inthe NetBackup policy for the client:
When the backup was done successfully youre ready for a NetBackupBare Metal Restore.
Considerations
Bare Metal Restore Infrastructure
When perfor!ing a Bare Metal Restore youll have to keep a few thingsin !ind. "riginally a bare !etal restore is intended to restore to theoriginal !achine for! which the backup was taken. However# in our
environ!ent we use the Bare Metal Restore to restore the productionenviron!ent to our acceptance environ!ent for $ontinuity %lanningreasons. &hat !eans that the original server is still online when therestore takes place.
Network Conguration
8/17/2019 Restore Solaris Using NetBackup BMR
2/25
&he Solaris environ!ent were restoring is 'nstall Solaris () *pdate +#and as e,plained in that article that edition of Solaris does not havenative support for the -MN/&0 network adapter. &hat card is howeversupported after installing the -Mware &ools. &hat !eans that the backupwe !ade is for a -MN/&0 card# which we cannot use because the boot
!edia uses the native solaris installation !edia. Re!e!ber to createthe -M to restore to with an e())) network adapter and con1gure thenetwork after reboot accordingly.
DNS
NetBackup is heavily dependent on a working 2NS environ!ent. 3ouM*S& change the host1le on all NetBackup servers that have a role inthis Bare Metal Restore action. 'n our environ!ent that is:
• bck!aster)(b
• bck!aster)(a
• bck!edia)( 4!edia server appliance5
• bck!edia)6 4!edia server appliance5
7dd this line to the host1le 4open the 1le in notepad while openingnotepad as ad!inistrator54$:8W'N2"WS8syste!068drivers8etc8hosts5:
().().().9) solari,bo,
Running the Restore
Because the -M were going to restore to is not the original -M thehardware were going to restore is never the sa!e# plus that we have toconsider the changed network card. &hat !eans well 1rst have to getthe new hardware con1guration into NetBackup. /asiest way is to start adiscovery on the server and than use that discovered hardware to createa new pro1le to restore with.
So# as a overview# these are the steps:
(. $reate a discovery task of the client
6. Start the client so hardware discovery can take place
http://www.getshifting.com/wiki/installsolaris10u8http://www.getshifting.com/wiki/installsolaris10u8
8/17/2019 Restore Solaris Using NetBackup BMR
3/25
0. $reate a New $lient $on1guration using the current con1gurationas source
9. /dit the newly created client con1guration for the new networkcard and the changed disks
. %repare to restore the client
;. Restore the client
Create a Discovery ask
'n the Bare Metal Restore $lients section in the NetBackup7d!inistration console e,pand the client youre about to discover and
8/17/2019 Restore Solaris Using NetBackup BMR
4/25
select uired infor!ation:
Start the Client !ardware Discovery
8/17/2019 Restore Solaris Using NetBackup BMR
5/25
Start the client using the created !edia boot cd and select Solaris:
Select option 6:
/nter the na!e of the client you are restoring 4do not use the ?@2Nna!e5:
http://www.getshifting.com/wiki/netbackupsolarisbmr#creating_boot_mediahttp://www.getshifting.com/wiki/netbackupsolarisbmr#creating_boot_media
8/17/2019 Restore Solaris Using NetBackup BMR
6/25
/nter the te!porary '% address which you also entered in the hosts 1leson the NetBackup servers:
8/17/2019 Restore Solaris Using NetBackup BMR
7/25
Select yes to be able to enter a subnet !ask:
8/17/2019 Restore Solaris Using NetBackup BMR
8/25
/nter the subnet !ask:
8/17/2019 Restore Solaris Using NetBackup BMR
9/25
2o not use '%v;:
8/17/2019 Restore Solaris Using NetBackup BMR
10/25
Select to specify a default route:
8/17/2019 Restore Solaris Using NetBackup BMR
11/25
/nter the default route:
8/17/2019 Restore Solaris Using NetBackup BMR
12/25
Review your settings:
N"&/ &H'S S$R//NSH"& uses the ?@2N na!e of the NetBackup serverwhich will result in network errors. Be sure to enter Aust the shorthostna!e:
8/17/2019 Restore Solaris Using NetBackup BMR
13/25
7fter the discovery has been done reboot the client:N"&/ &H'S S$R//NSH"& is fro! a auto!atic discovery instead of a!anual one# so your screen !ight be a little dierent:
Create and "dit a New Client Conguration
8/17/2019 Restore Solaris Using NetBackup BMR
14/25
'n the Bare Metal Restore $lients section in the NetBackup7d!inistration console e,pand the client youre about to restore andselect the
8/17/2019 Restore Solaris Using NetBackup BMR
15/25
Select the current con1guration as the source to copy fro!:
Right click the newly created pro1le and select
8/17/2019 Restore Solaris Using NetBackup BMR
16/25
$on1gure the hosts# network con1guration and routes to your needs:
8/17/2019 Restore Solaris Using NetBackup BMR
17/25
8/17/2019 Restore Solaris Using NetBackup BMR
18/25
N"&/ &H/S/ S$R//NSH"&S are fro! after initialiCation and !apping:Here you have to initialiCe the volu!es with the discovery you created insteps one and two. 7fter initialiCation there is one disk under the nativepart. &his disk has a restriction which has to be re!oved after which youcan !ap the diskDvolu!esD1lesyste!s:
8/17/2019 Restore Solaris Using NetBackup BMR
19/25
8/17/2019 Restore Solaris Using NetBackup BMR
20/25
8/17/2019 Restore Solaris Using NetBackup BMR
21/25
#repare to Restore
8/17/2019 Restore Solaris Using NetBackup BMR
22/25
Now youre ready to prepare the systen for restore. Right click the clientand select
8/17/2019 Restore Solaris Using NetBackup BMR
23/25
3oull get an warning about the running kernels. 7s long the the kernel inthe SR& is newer than the kernel of the syste! youre restoring youll be1ne:
8/17/2019 Restore Solaris Using NetBackup BMR
24/25
Restore the Client
Now boot the client the sa!e way as you did in step two. 'f you dideverything successful the restore will start running:
Which you can check on the NetBackup !aster server:
8/17/2019 Restore Solaris Using NetBackup BMR
25/25
#ost Restore
2ont forget to clean up the restore in the tasks panel. &o do so rightclick the task and select