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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NIM Question

Status
Not open for further replies.

l0na

Technical User
Sep 20, 2005
16
AU
My nim server is on LPAR_4 and I am using command bellow from NIM server to do mksysb of my 4 LPAR ( Note LPAR_1 and 2 and LPAR_4 are AIX 5.2 and LPAR_3 is AIX 5.1)
nim -o define -F -t mksysb -a server=master -a location=/export/mksysb/lpar_1_m
ksysb -a source=lpar_1 -a mk_image=yes -a exclude_files=excludelist lpar_1_mksysb

Question;
1-Where is the exclude files for LPAR_1? Is it the same as /etc/exclude.rootvg on NIM server (LPAR_4)
2-How can I create exclude files for LPAR_1, LPAR_2, LPAR_3 .. note the filesystem for rootvg are not the same
3-In my command above do I need to include this command (-a mksysb_flags=’-e’) other wise when do I need to use mksysb_flag=-e
4-What command I need to run to list the content of mksysb let say in above command “lpar_1_mksysb” (Note I have tried to use restore -vtf to read the file but insted start restoring some spot and lpp files in my current directory)
5-What excludelist contain
6-when I run above command am I changing any thing in SPOT
7-If I want to put above LPAR_1_mksysb on to CD/DVD what command I need to run would this CD/DVD will be bootable
8-Why each time that I Re-run above command I have to remove the NIM resource (other wise the NIM mksysb is failing)
9-Why at the end of NIM mksysb I get 0042-001 nim: processing error encountered on "master":
Usage: rm [-firRe] [--] File...
 
Any one can help please !!!
 
Hi IOna,

1: the exclude_file is a resource on the NIM-server. It is a list of files and/or directories that should be excluded from the mksysb. It is NOT the same as the /etc/exclude.rootvg file on the NIM-server.

2: You can define different exclude_files resources for different clients if you want to, but then the appropriate resource must be pointed to by the "-a exclude_files=...." statement.

3: you can do 1 of 3 things:
a - specify nothing -> backup all files
b - specify "-a mksysb_flags=e" -> backup all files except the files and/or directories specified in the /etc/exclude.rootvg file on the CLIENT
c - specify "exclude_files=....." -> backup all files except the files and/or directories specified in the exclude_files RESOURCE on the NIM-server

4: listvgbackup -f /export/mksysb/lpar_1_mksysb

5: excludelist is the name of the resource. This resource points to a file containing filenames and directorynames (to be excluded from the backup)

6: No, the SPOT is not changed.

7: sorry, can't help you on that one ...

8: the command you use is to define a resource. Because every resource has a unique name, you cannot define the resource twice (your resource name is lpar_1_mksysb). So in order to run your command you must remove the resource. Tip: define a resource with a timestamp, like lpar_1_mksysb_MMDDYY and also the mksysb (/export/mksysb/lpar_1_mksysb_MMDDYY)

9: you will probably get the error-message because not only do you have to remove the RESOURCE of the mksysb, you also have to remove the mksysb itself! (The resource points to the file /export/mksysb/lpar_1_mksysb!

Hope this helps ....

Regards,

Gosse
 
to create a bootable DVD

/usr/sbin/mkcd -d /dev/cd0 -L -m /path/to/mksysb -V rootvg
 
perfect thank you so much
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top