Originally posted by: Kosala
Yep... I've done this successfully. But like to add couple of things....
lsnim -t standalone will list all the defined standalone machines.
Defining exclude_files resource will come handy.
Rather than directly replacing the mksysb resource, I used a temporary resource first. E.g.
<script>
-f /export/nim/mksysb/tmp1 && rm /export/nim/mksysb/tmp1
nim -F -o remove tmp
nim -o define -t mksysb -a server=master -a location=/export/nim/mksysb/tmp1 -a source=$mach -a mk_image=yes tmp
$? == 0 && {
mv /export/nim/mksysb/tmp1 /export/nim/mksysb/${mach}_mksysb
nim -o define -a location=/export/nim/mksysb/${mach}_mksysb ${mach}_mksysb
}
</script>
This will make sure that you have at least one good backup of each machine if something goes wrong with the new mksysb operation. Conceptually this is the same as jklotz mentioned, except for the reassurance of the backup.
Kosala
#AIX-Forum