Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Welcome to the pSeries Tech Forums, our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software.

You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments.

Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community.

Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Our Sponsors
Want to advertise?  


Reply
 
LinkBack Thread Tools
  #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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old July 6th, 2007
bagtache's Avatar
bagtache Offline
NBA IT
 
Join Date: June 2007
Location: Pontoise (Fr)
Posts: 11
Re: Problem with NIM mksysb creation

Hi,

I see two errors on your master:
-Its state indicates that it is not running
-The network interfaces show chrp.64.ent & chrp.mp.ent which completly wrong.

Since the nimesis daemon runs and its two ports (registration & communication) are open and that the reset doesn't fix the problem, i think that you can try to restore the NIM db (if you have a backup). It is probable that a corruption occured: did you change anything it the master configuration ? like the hostname, its interfaces, etc... because i have already seen such problems after an incorrect update of an attribut of the master.

Hope this can help u.
Please let me know if there any progress.
Good luck.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old July 6th, 2007
jmcphee's Avatar
jmcphee Offline
*nix *****
 
Join Date: March 2007
Location: Phoenix, AZ
Posts: 15
Re: Problem with NIM mksysb creation

Machine State can be reset with a "check" if everything is configured right.
$ nim -o check master

Whether that's your problem is a good question
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old July 6th, 2007
mattanglin's Avatar
mattanglin Offline
Junior Member
 
Join Date: July 2007
Location: Tucson, AZ
Posts: 3
Thumbs up Re: Problem with NIM mksysb creation

Thanks for all your suggestions. I suspect the change of the IP address messed everything up. I unconfigured everything and started over, and the mksysb creations are working again.

Thanks for all of your help.

Matt.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac aa00e1f3 aio aix aix aio aix freeware aixif_arp_dup_addr b150f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 dlpar fcp_array_err6 fget_config gnu tar aix gsclvmd gtar aix hi yall hmc root password hmc vmware hscl05db ibm p6 ibm p6 520 libpopt aix libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv mksysb navisphere agent nim server pseries pseriestech rsync aix sc_disk_err4 scan_error_chrp vio server websm xhost file ... powered by Simple Search Cloud


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48