View Single Post
  #1  
Old July 5th, 2007
mattanglin's Avatar
mattanglin Offline
Junior Member
 
Join Date: July 2007
Location: Tucson, AZ
Posts: 3
Question Problem with NIM mksysb creation

I have a NIM master with a few NIM clients. Pretty much the only thing I do with this setup is create mksysb images for the clients and store them on the master. To this end, I wrote a little script, and it was working fine a few months ago, but today I am getting errors I can't seem to get past.

I have a nim master

[zapp:root:/var/log] lsnim -l master
master:
class = machines
type = master
max_nimesis_threads = 20
if_defined = chrp.64.ent
if_defined = chrp.mp.ent
comments = machine which controls the NIM environment
platform = chrp
netboot_kernel = mp
if1 = master_net zapp.xxx.xxx.com 000nnnnnnnnA
cable_type1 = N/A
Cstate = ready for a NIM operation
prev_state = not running
Mstate = not running
master_port = 1058
registration_port = 1059
Cstate_result = reset
reserved = yes

And, I have a nim client:

[zapp:root:/var/log] lsnim -l flicka
flicka:
class = machines
type = standalone
connect = nimsh
platform = chrp
netboot_kernel = 64
if1 = master_net flicka 0
net_settings1 = auto auto
cable_type1 = bnc
Cstate = ready for a NIM operation
prev_state = ready for a NIM operation
Mstate = currently running
cpuid = 000nnnnnnnnn


So, I try to do a mksysb operation:

/usr/sbin/nim -o define -t mksysb -a server=master -a source=flicka -a location=/export/eznim/mksysb/flicka_sysb -a mk_image=yes flicka_sysb
0042-001 nim: processing error encountered on "master":
0042-302 m_mkbosi: the state of "master" prevents this operation
from succeeding. Use the "reset" operation to correct
its state then retry the intended operation.

Fine, so I do the reset

[zapp:root:/var/log] nim -F -o reset master

[zapp:root:/var/log]

But I still get the same error. I can't seem to figure out why it is failing. Anybody got any ideas? Should the MState on the master be running? If so, how do I get it into this state? What log file would have more info on this error? I added -a verbose=yes to the mksysb operation, but no additional messages were issued. The two ports mentioned seem to be active:

[zapp:root:/var/log] netstat -an | grep 105
tcp4 0 0 *.1058 *.* LISTEN
tcp4 0 0 *.1059 *.* LISTEN


And the nim group is active from src

[zapp:root:/var/log] lssrc -g nim
Subsystem Group PID Status
nimesis nim 196718 active


Thanks for your help.
Reply With Quote