Cloning a system via mksysb backup from one system and restore to new system

Hello All,

I am trying to clone an entire AIX virtual machine to a new virtual machine including all partitions and OS.Can anyone help me on the procedure to follow? I am not really sure on how it can be done.Thanks in advance.

Hi Gull05,

Yes it is possible to create a full backup as follows;

tctl -f/dev/TAPE rewind
/usr/bin/mksysb -p -v   /dev/TAPE.1
/usr/bin/savevg -p -v -f/dev/TAPE.1 vgdata
/usr/bin/savevg -p -v -f/dev/TAPE.1 vgapps
/usr/bin/savevg -p -v -f/dev/TAPE.1 vgother
tctl -f/dev/TAPE rewind

The example is to tape, but it can go to the NIM server if you have one or to an NFS mounted disk.

Regards

Gull04

Hi Gull05,

I mentioned a NIM server, which would normally be among the first LPAR's created not a NIS server.

You can check if ypbind is running or if rpcbind is running.

Regards

Gull04

hmm - are you guys related? gull04 and gull05 :slight_smile:

I have an old article on setting up a NIM server - http://www.rootvg.net/content/view/431/309/ - that should give you an idea of what is involved. Read more here on unix.com - there is also lots of material here. Or google further.

FYI: cloneing via mksysb is one of AIX's strengths - since the early 90's. But it does require more than novice understanding of AIX administration - especially when changing the base hardware.