Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1074
  • Last Modified:

cloning multiples VG (including rootvg) using NIM

OK, here's NIM again :-)

I have an AIX6.1 with:
rootvg
vg1
vg2
vg3

I know using mksysb, I create the mksysb resource on the NIM and install it on the new particion. BUT, what about the other resources? Once I have the new partition cloned with the rootvg, how can I setup the other VGs resources on the NIM and how to install it on the new particion?

Thanks.

0
sminfo
Asked:
sminfo
  • 3
  • 2
2 Solutions
 
woolmilkporcCommented:
Hi again,

take a backup of the volumegroups using "smitty nim_mkres" -> savevg
fill in the gaps and go.
Alternatively use:

nim -o define -t savevg -a server=master -a location=/path/to/location \
-a source=nim_client -a mk_image=yes -a volume_group=vg1 savevg1

To restore it on the client use "smitty nim_mac_op" -> (select machine) -> restvg
fill in the gaps and go.
Alternatively use:

nim -o restvg -a savevg=savevg1 -a disk=hdiskx -a shrink=no -a map=no nim_client


Good luck!

wmp

0
 
sminfoAuthor Commented:
Nice wmp.. one question?

Do you prefer to use sysback (tsm) or savevg to move VGs  when moving VGs between AIX's partitions?
0
 
sminfoAuthor Commented:
ah.. I forgot to ask..

savevg can save a VG to a single file like mksysb does?
If yes, restvg can restore a VG from the above savevg's file?

:-)
0
 
woolmilkporcCommented:
Second questions: a) Yes. b) Yes.

First question:

For moving I prefer detaching the disks from the old (inactive) machine to then attach them to the new machine, because all my datavgs are SAN-based and accessible from anywhere, if so configured and if the target machine has SAN adapters.

If this wasn't the case  (or for cloning) I'd always prefer TSM, because we would need lots and lots of intermediate disk space (or DVDs, of course) to do savevg/restvg, be it via NIM or whatever.
We don't have standalone tape drives outside TSM here, so using non-TSM tapes is not an option anymore.


wmp
0
 
sminfoAuthor Commented:
Good..

Thanks!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now