AIX (Advanced Interactive eXecutive) is the operating system from IBM for RS/6000, pSeries and the latest p5 & p5+ systems based on UNIX System V with 4.3BSD-compatible command and programming interface xtensions.Currently, it is called "System P". AIX/5L the 5L addition to AIX stands for version 5 and Linux affinity.
Wednesday, January 20, 2010
NIM related Commands in AIX
lsnim To list the nim resources
lsnim -l dcmds To list the detailed info about the object dcmds
lsnim -O dcmds To list the operation dcmds object can support
lsnim -c resources dcmds To list the resources allocated to the machine dcmds
nimclient The client version of nim command (User can obtain same results of nim in server )
nimconfig -a pif_name=en0 -a netname=net1 To initialise the NIM master with network name net1
nimconfig -r To rebuild /etc/niminfo file which contains the variables for NIM
nim -o define -t lpp_source -a source=/dev/cd0 -a server=master -a location=/export/lpp_source/lpp_source1 lpp_source1 To define lpp_source1 image in /export/lpp_source/lpp_source directory from source cd0
nim -o define -t mksysb -a server=master -a location=/resources/mksysb.image mksysb1 To define mksysb resource mksysb1, from source /resources/mksysb.image on master
nim -o remove inst_resource To remove the resource inst_resource
nim -o check lpp_source1 To check the status of lpp_source lpp_source1
nim -o allocate -a spot=spot1 -a lpp_source=lpp_source1 node1 To allocate the resources spot1 and lpp_source1 to the client node1
nim -o bos_inst node1 To initialise NIM for the BOS installation on node1 with the allocated resources
nim -o dkls_init dcmds To initialize the machine dcmds as diskless operation
nim -o dtls_init dcmds To initialize the machine dcmds for dataless operation
nim -o cust dcmds To initialize the machine dcmds for customize operation
nim -o diag dcmds To initialize the machine dcmds for diag operation
nim -o maint dcmds To initialize the machine dcmds for maintenance operation
nim -o define -t standalone -a platform=rspc -a if1="net1 dcmds xxxxx" -a cable_type1=bnc dcmds To define the machine dcmds as standalone with platform as rspc and network as net1 with cable type bnc and mac address xxxxx
nim -o unconfig master To unconfigure nim master
nim -o allocate -a spot=spot1 dcmds To allocate the resource spot1 from machine dcmds
nim -o deallocate -a spot=spot1 dcmds To de allocate the resource spot1 from machine dcmds
nim -o remove dcmds To remove machine dcmds after removing all resources associated to it
nim -o reboot dcmds To reboot ther client dcmds
nim -o define -t lpp_source -a location=/software/lpp1 -a server=master -a source=/dev/cd0 lpp1 To define lppsource lpp1 on master at /software/lpp1 directory from source device /dev/cd0
********************
Subscribe to:
Post Comments (Atom)
hi praveen ,
ReplyDeleteyour blog is very useful to know all the commands in aix and hacmp.
im now undergoing training in aix,and im also interested in hacmp,can you tell me a name of a book,to learn everthing from the basics to the core in hacmp and aix,thank you very much for the blog.
regards,
sunil
Hi, i want to search multiple values by using grep , i am using below command to search values of date May 04
ReplyDeletels -lrt |grep 'May 04' |awk '{print$9}' >xyz.txt
But i want to search values of both May 04 and May 05 ,please help
Thanks,
Sushil Gole
Your post servers as a cheatsheet for me and I can refer back often for AIX commands.
ReplyDeleteI'm writing up a new blog at http://www.vmexplore.com
I hope it adds