09-02-2009
Troubleshooting NIM Server
hello folks,
Can someone help me troubleshoot the NIM Server
Code :
NIM MASTER: >>
# hostname
oldbcoedv
# cat /etc/hostname
192.52.100.29 bcoeqa bcoeqa.bin.com.sa
192.52.100.66 oldbcoedv
# cat /etc/bootptab
.....
# T180 -- (xstation only) -- enable virtual screen
#NO CLIENTS PRESENT
# lsnim
master machines master
boot resources boot
nim_script resources nim_script
NET_EN1 networks ent
bcoeqa machines standalone
5300-05bid_ow resources bosinst_data
5300-05master_sysb resources mksysb
530lpp_res resources lpp_source
530spot_res resources spot
basic_res_grp groups res_group
# lsnim -l master
master:
class = machines
type = master
max_nimesis_threads = 20
if_defined = chrp.mp.ent
comments = machine which controls the NIM environment
platform = chrp
netboot_kernel = mp
if1 = NET_EN1 bcoedv 8EE280002005
cable_type1 = N/A
Cstate = ready for a NIM operation
prev_state = ready for a NIM operation
Mstate = currently running
serves = 5300-05bid_ow
serves = 5300-05master_sysb
serves = 530lpp_res
serves = 530spot_res
serves = boot
serves = nim_script
master_port = 1058
registration_port = 1059
reserved = yes
# lsnim -l NET_EN1
NET_EN1:
class = networks
type = ent
Nstate = ready for use
prev_state = information is missing from this object's definition
net_addr = 192.52.100.0
snm = 255.255.255.0
routing1 = default 192.52.100.10
#
# lsnim -l bcoeqa
bcoeqa:
class = machines
type = standalone
connect = shell
platform = chrp
netboot_kernel = mp
if1 = NET_EN1 bcoeqa 0
cable_type1 = bnc
Cstate = ready for a NIM operation
prev_state = ready for a NIM operation
Mstate = currently running
cpuid = 000620EED700
# lsnim -l 530lpp_res
530lpp_res:
class = resources
type = lpp_source
arch = power
Rstate = ready for use
prev_state = unavailable for use
location = /export/eznim/lpp_source/530lpp_res
simages = yes
alloc_count = 0
server = master
# lsnim -l 530spot_res
530spot_res:
class = resources
type = spot
plat_defined = chrp
arch = power
bos_license = yes
Rstate = ready for use
prev_state = verification is being performed
location = /export/eznim/spot/530spot_res/usr
version = 5
release = 3
mod = 0
oslevel_r = 5300-05
alloc_count = 0
server = master
if_supported = chrp.mp ent
Rstate_result = success
# lsnim -l basic_res_grp
basic_res_grp:
class = groups
type = res_group
member1 = 5300-05master_sysb
member2 = 530lpp_res
member3 = 530spot_res
# cat /etc/niminfo
# nimconfig
export NIM_NAME=master
export NIM_CONFIGURATION=master
export NIM_MASTER_PORT=1058
export NIM_REGISTRATION_PORT=1059
##THE BELOW LINE HAD WRONG HOSTNAME SO I CORRECTED IT BY EDITING IT
export NIM_MASTER_HOSTNAME=old bcoedv
# /usr/lpp/bos.sysmgt/nim/methods/eznim show_eznim_env
NIM Machines
====================
master:
Cstate = ready for a NIM operation
Mstate = currently running
bcoeqa:
Cstate = ready for a NIM operation
Mstate = currently running
Image Repository (lpp_source)
====================
530lpp_res:
Rstate = ready for use
location = /export/eznim/lpp_source/530lpp_res
Boot Support (SPOT)
====================
530spot_res:
Rstate = ready for use
location = /export/eznim/spot/530spot_res/usr
System Backups (mksysb)
====================
5300-05master_sysb:
Rstate = ready for use
location = /export/eznim/mksysb/generic_sysb
BOS Install Data File (bosinst_data)
====================
5300-05bid_ow:
Rstate = ready for use
location = /export/eznim/5300-05bid_ow
Resolution File (resolv_conf)
====================
#
Now the Problem:
When I backup the client
using eznim backup client:
I get the error
Quote:
warning: 0042-175 c_mkbosi: An unexpected result was returned by the
"/usr/sbin/mount" command:
mount: 1831-011 access denied for bcoedv:/export/eznim/mksysb
mount: 1831-008 giving up on:
bcoedv:/export/eznim/mksysb
The file access permissions do not allow the specified action.
rc=175
0042-175 c_mkbosi: An unexpected result was returned by the "/usr/sbin/mount" command:
mount: 1831-011 access denied for bcoedv:/export/eznim/mksysb
mount: 1831-008 giving up on:
bcoedv:/export/eznim/mksysb
The file access permissions do not allow the specified action.
0042-001 nim: processing error encountered on "master":
exportfs: /db2/EDV/bckdata: A file or directory in the path name does not exist.
exportfs: 1831-192 /usr/sap: sub-directory (/usr/sap/trans)
already exported
rc=0
exportfs: /db2/EDV/bckdata: A file or directory in the path name does not exist.
exportfs: 1831-192 /usr/sap: sub-directory (/usr/sap/trans)
exportfs: /db2/EDV/bckdata: A file or directory in the path name does not exist.
exportfs: 1831-192 /usr/sap: sub-directory (/usr/sap/trans)
already exported
rc=1
0042-001 m_mkbosi: processing error encountered on "master":
0042-175 c_getlevel: An unexpected result was returned by the "/usr/lpp/bos.sysmgt/nim/methods/c_stat" c
ommand:
0042-154 c_stat: the file or directory "/export/eznim/mksysb/bcoeqa_sysb" does not exist
or
Quote:
nim -o define -t mksysb -a server=master -a source=bcoeqa -a mk_image=yes -a location=/nimfs/mksysb.bcoeqa mksysb_bcoeqa
CLIENT:
Quote:
# hostname
bcoeqa
# set -o vi
# cat /etc/niminfo
#------------------ Network Install Manager ---------------
# warning - this file contains NIM configuration information
# and should only be updated by NIM
export NIM_NAME=bcoeqa
export NIM_HOSTNAME=bcoeqa
export NIM_CONFIGURATION=standalone
export NIM_MASTER_HOSTNAME=oldbcoedv
export NIM_MASTER_PORT=1058
export NIM_REGISTRATION_PORT=1059
export NIM_SHELL="shell"
export NIM_BOS_IMAGE=/SPOT/usr/sys/inst.images/installp/ppc/bos
export NIM_BOS_FORMAT=rte
export NIM_HOSTS=" 192.52.100.29:bcoeqa "
export NIM_MOUNTS=""
export ROUTES=" default:0:192.52.100.10 "
FROM THE NIM MASTER
# nimquery -a host=bcoeqa -p
rc=50
0042-050 nimquery: operation failed for the following reason: bcoeqa: Connection refused
#
# rsh bcoeqa
*******************************************************************************
* *
* *
* Welcome to AIX Version 5.3! *
* *
So, what could be the problem ?
Thanks.
references:
AIX UNIX system administration: NIM server setup for dummies
NIM Install Handbook | Nikolai's Diary
NIM | Unixskylab
http://nixforums.org/about32149.html
http://www.docstoc.com/docs/4629544/AIX-NIM-Tips
http://www.docstoc.com/docs/2801707/nim_install
http://www.docstoc.com/docs/4602406/AIX-Tip-for-admin
http://www.docstoc.com/docs/1142501/AIX-FAQ
http://www.docstoc.com/docs/4602448/...stering-AIX-V5
http://www.docstoc.com/docs/4757278/...th-to-Strength
Last edited by filosophizer; 09-08-2009 at 05:54 AM ..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
SCO Unixware 7.1.1
Hi friends,
At 11:30pm last night mymain Unix Server hung or rebooted (Unaware which one), and was bot available for 10 minutes. Is there a log file somewhere which will tell me what happened ?
I have looked ad /var/adm/syslog, but cannot make head nor tail of it.
... (1 Reply)
Discussion started by: sureshy
1 Replies
2. AIX
Hi, I'a a new member here.
My company just bought p570 with 8 LPAR (previously we have p650 with 4 LPAR).
Did anyone have procedure how to setup NIM server (NIM LPAR) and how to install other new LPAR to use the NIM server (as client).
Appreciate your help and thank you very much.
Rgds,
David (0 Replies)
Discussion started by: dshg
0 Replies
3. AIX
Is anybody using a NIM server for DR recovery purposes? If so, how are you handling Volume Groups outside of root? (0 Replies)
Discussion started by: kd30185
0 Replies
4. AIX
I try to migrate a NIM server from one server to another.
I try to do a mksysb on NIM server
restore the NIM server's mksysb to a client through NIM installation
shutdown NIM server
start newly installed client as NIM server
Does anyone do this before? who can give me some suggestion? (1 Reply)
Discussion started by: yanzhang
1 Replies
5. AIX
Hi,
I'm getting the above error while trying to take a MKSYSB image via NIM. I've only just started getting this and don't know why it is failing.
Any one got any suggestions?
Thanks
Kees (3 Replies)
Discussion started by: KeesH
3 Replies
6. AIX
I have never used NIM. Please help with the steps for configuring NIM server and client.
thanks
Pchangba (3 Replies)
Discussion started by: pchangba
3 Replies
7. AIX
Guys, I need your help
I got a requirement from a cUstomer asking for a specific design
He wants to use the NIM Master as one single mgmt server and access the nodes maintained by it there by the accounting is in one single server for all the nodes
Note:- Direct login to the nodes will... (3 Replies)
Discussion started by: kkeng808
3 Replies
8. AIX
Hi.
I would like to try installation via NIM server. I have set up :
lsnim
master machines master
boot resources boot
nim_script resources nim_script
NET_EN0 networks ent
mksysb_AIX_6141 resources ... (4 Replies)
Discussion started by: phobus
4 Replies
9. AIX
Guys,
We are planning to upgrade one of our NIM server to AIX 6.1 from 5.3...
Since the server itself is a NIM Server we can't perform it via NIM & I'm choosing to do CD install.. The Install method would be Upgrade installation.
Is there anything special that I need to consider before... (5 Replies)
Discussion started by: kkeng808
5 Replies
10. Ubuntu
I'm having issues getting apache to respond to requests outside of my local LAN. If I goto my server URL (www .poillion. com) it says connecting... but never finishes and returns anything.
I'm using Ubuntu Server 10.10.
a) The DNS is working fine. It's pointed to my cable modem's IP and... (1 Reply)
Discussion started by: lorewap3
1 Replies