Visit Our UNIX and Linux User Community

AIX 5L nim mksysb command

Thread Tools Search this Thread
Operating Systems AIX AIX 5L nim mksysb command
# 1  
Old 11-09-2009
AIX 5L nim mksysb command

Hi All,

Please excuse the possibly naive question but I'm trying to clone/install a new AIX 5.3 LPAR on a p570 from a mksysb image file using nim. Has anyone done this before and if so, what would the exact command look like?

Does it even remotely resemble something like
nim -o alt_disk_install -a source=mksysb\
-a image_data=image_data_file\
-a disk='hdisk1' <NEWLPARNAME>

# 2  
Old 11-09-2009
I'd recommend using smitty if at all possible, it can alleviate most of the command line headaches, here are the procedures I use to restore an existing client via NIM/mksysb:

1. On NIM, put the client (name and IP) you want to restore in /etc/hosts
I.e. testaix

2. From “smitty nim_mkmac”, define NIM client on the NIM master:
I.e. testaix
In “Kernel to use for Network Boot”, use “mp” for multiple processors server or “up” for single processor server

3. 4.From “smitty nim_mkres” choose > mksysb, then define NIM mksysb resource: I.e. aixrestore
Use “Master” in “Server of Resource”
In “Location of Resource” field, use the mksysb you would like to restore from, I.e. /mksysb/testaix11012007

4. From “smitty nim_bosinst” Select the client you defined in #1 (testaix), choose > mksysb, then the mksysb resource you defined in #2(aixrestore), and choose the appropriate spot level: I.e. spot52/spot53 (use the spot level of the OS you are restoring)
And make sure of the following setting:

FORCE PUSH the installation: NO
Initiate reboot and installation now: NO

From there I reboot the client and go into IPL, setup the parameters and boot/install from ethernet, works flawlessly.

I suppose you could setup theses screens and then view the commands to get the syntax you need as well. Hope this helps!

Previous Thread | Next Thread
Test Your Knowledge in Computers #85
Difficulty: Easy
Windows 7, Windows 8, Windows RT, Windows Phone 8, Windows Server, and the Xbox One's operating system all used the Windows NT kernel.
True or False?

10 More Discussions You Might Find Interesting

1. AIX

VIOS backupios -mksysb - does it need to be served by a NIM server ?

working through VIOS backup options. Generally, we store mksysb's on a server and then NFS mount them from it to copy to a VIO optical library, etc. In the case of a VIO backup, I see the -mksysb option to backupios and understand that it doesn't include the NIM resources in the backup. ... (3 Replies)
Discussion started by: maraixadm
3 Replies

2. AIX

Creating NIM SPOT using an existing mksysb from cliet

Hi, i backed up a test LPAR using mksyb utility on AIX. and transferred it to NIM server via NFS. I want to create a SPOT using this mksysb . Please explain me the procedure. And got something online, but that procedure is different. Please respond. (5 Replies)
Discussion started by: System Admin 77
5 Replies

3. AIX

mksysb using NIM

I am implementing mksysb backups using NIM. I am using nimsh as client communication and mksysb backup are working fine, but this requires remote logon to be enabled for root. Any thoughts on how can I implement mksysb backups using NIM without enabling remote logon for "root" ? (1 Reply)
Discussion started by: mk8570
1 Replies

4. AIX

mksysb restoration using NIM

Hi, I just want to ask whether anyone has experience on restoring mksysb backup in NIM. We have taken the mksysb backup and the SPOT has been configured on NIM also. I just want to know the checkpoints before doing this. Is there any checkpoints we need to do? Do we need to unmirrorvg? This... (12 Replies)
Discussion started by: depam
12 Replies

5. AIX

how to create a package from mksysb via nim ?

Hello, I need to install "bos.adt.libm" on a server (AIX5.3 power 5). How to install it from a nim mksysb of an another partition ? Thank you (3 Replies)
Discussion started by: astjen
3 Replies

6. AIX

nim mksysb buffer overflow error

Hi, I am trying to backup a system ("client") through a slow network using "nim mksysb" on a nim server ("master") The backup starts, but doesn't success. Thanks if you can help me to resolve this problem : Creating information file (/ for rootvg... Creating list of files to... (2 Replies)
Discussion started by: astjen
2 Replies

7. AIX

NIM client mksysb restore

Can a NIM client mksysb restore be performed via NIM (smitty nim) without the NIM client machine having the NIM server's IP and hostname in its /etc/hosts file? (10 Replies)
Discussion started by: kah00na
10 Replies

8. Shell Programming and Scripting

script to automate mksysb via nim in AIX 5.3

#!/bin/ksh # # nim_mksysb # get mksysb from each client machine specified with -m. If no # machines specified, get mksysb from ALL machines. -r flag says # remove oldest existing mksysb for the machines being backed up. # use -n no_make flag with -r to remove a generation of mksysb, #... (0 Replies)
Discussion started by: barkath
0 Replies

9. UNIX for Advanced & Expert Users

NIM - mksysb of remote server

Hi, I'm trying to use my NIM server to get a mksysb of an lpar on another machine on my network. I'm trying to define a resource through smitty and i've entered the resource name, Server of resource & location of resource, they are as follows Resource Name : gmt_fail_mksysb Server of... (1 Reply)
Discussion started by: KeesH
1 Replies

10. AIX

NIM mksysb recovery

I have multiple LPARS on p650 with mix of AIX5.2 and AIX5.1 with different rml level My understanding is creating mksysb nim on NIM server is for new installation of LPARS Then; How do I do mksysb backup on existing lpars for recovery purpose or how do I do all mksysb to a NFS mounted Filesystem... (1 Reply)
Discussion started by: melindaj
1 Replies

Featured Tech Videos