Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LPAR "makesysb" Image Restored to Standalone System

Status
Not open for further replies.

gregchunn

Technical User
Jan 7, 2009
1
US
Can you create a "makesysb" image from a LPAR node and then take that image and restore to a standalone system that has the exact hardware configuration as the LPAR?

Is there any gotcha's in doing this, or is this straight forward; or do you need to have an LPAR setup (single system / single LPAR) on the target to restore the image onto?

Thanks,
Dr. Gregory Chunn
 
Yes, the mksysb doesn't care since the lpar is in theory the exact same hardware. One caveat will be that in most cases, lpar rootvg's aren't mirrored so you'll have to accomplish that yourself later. Good luck!

"If I had nine of my fingers missing,
I wouldn't type any slower!"
-- Mitch Hedberg
 
[ot]
EvlMcgyver, why would an lpar's rootvg not be mirrored? I don't see the connection...
[/ot]


HTH,

p5wizard
 
Hey p5wizard :)!
I had a momentary brain 'anomoly' and was thinking in terms of the old sysback instead of mksysb. You are right, there is no connection on whether the rootvg is mirrored. Good catch!

"If I had nine of my fingers missing,
I wouldn't type any slower!"
-- Mitch Hedberg
 
[ot]
@EvlMcgyver: Don't we all once in a while? Good thing it's momentary ;-)...
[/ot]

HTH,

p5wizard
 

Code:
Restoring a mksysb of a mirrored rootvg to a non-mirrored rootvg 

If you've created a mksysb of a mirrored rootvg and you wish to restore it to a system with only 1 disk in the rootvg, you can go about it as follows: 

Create a new /image.data file, run mkszfile -m
Change the image.data file: vi /image.data
In each lv_data stanza of this file, change the values of the COPIES= line by one-half (i.e. copies = 2, change to copies = 1). Also change the PPs to match the LPs as well. 
Create a new mksysb, utilizing the /image.data file: mksysb /dev/rmt0 (Do not use smit and do not run with the -i flag, both will generate a new image.data file). 
Use this mksysb to restore your system on another box without mirroring.

Regards,
Khalid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top