Thursday, February 2, 2012

NIM Master Installation

First install the nim's fileset, for master we need nim master, nim client , and nim spot. Let's install aix fileset with this command

#smitty installp

After that we have to configure the nim master ifself with this command.

#smitty nim

choosing the Configure a Basic NIM environment (EZS) and provides any information you need. (all the required fields)

Let's check the nim with this command, which will show you the nim environments you have
#lsnim

If you need to know their object, you can use
#lsnim -l boot
#lsnim -l nim_script

for more info you can check it at /etc/niminfo

Don't forget to check the essential daemon
#lssrc -ls inetd |grep tftpd
#lssrc -ls inetd |grep bootpd
Make sure it has activated already

now check for the lpp_source we have created
#lsnim -l lpp_source1 (this name depends on you when first configure the nim master.)

make sure the simages attribute for the NIM lpp_source is set to yes.

and check the SPOT with
#nim -o lppchk -a show_progress=yes spot1 (this name depends on you when first configure the nim master)

Ok, all things are set for MASTER, we will continue with NIM Client.
I normally use smitty to configure most of the things, so I will start with this command. (we are now going to configure the nim master to know his client)
**But first of all, we need to make sure that both nim master and client are negotiable by their hostname!

If all thing are set, let's get back to smitty.
#smit nim_mkmac

You need a Hostname of nim client to type with the first page.
Then we change the cable type to tp, and that's all

Let's declare client for master
Go to client and type
#smitty nim
choose the first one and provides any information of the client you have
then check whether if the client is know itself by going to
#smitty nim_bosinst
if anything has set up, there will be a client information popup.

Let's define mksysb resource to make an image backup.
#smitty nim_mkres

Resource Type: mksysb
Server of Resource: master
Location of Resource: /export/images/mksysb (don't forget to allocate the directory for mksysb)

CREATE system backup image: yes
NIM CLIENT to backup: maz-aix (your nim client's name)

Now wait for the copying, then check whether if you got mksysb in hand.
#lsnim -l mksysb_aix6 (this is the mksysb's name)

If there was an error, talk about some limitation of file size, please reconfig the ulimit of the root account by this command.
#smitty user

No comments:

Post a Comment