Menu

#1770 mkdsklsnode can't update the spot on SN

2.6
closed
Jing Sun
5
2012-09-19
2011-02-24
fang zheng
No

I follow the process as below
hv32s38p18 is SN
hv16sc8p02 is CN
bash-3.2# chdef hv16sc8p02 servicenode=hv32s38p18 xcatmaster=hv32s38p18
Object definitions have been created or modified.

  1. made two spot 1106A71BDumpcosi3 and 1106A71BDumpcosi using 1106A71BDumpcosi3_lpp_source
    mknimimage -V -r -D -t diskless -s /1106A_71B/ 1106A71BDumpcosi3
    mknimimage -V -r -D -t diskless -s 1106A71BDumpcosi3_lpp_source 1106A71BDumpcosi max_dumps=2

  2. define and initialize AIX/NIM diskless machines using 1106A71BDumpcosi3 --->this will create spot 1106A71BDumpcosi3 on SN
    mkdsklsnode -V -f -i 1106A71BDumpcosi3 hv16sc8p02 configdump=full

  3. add openssl and openssh to 1106A71BDumpcosi3_lpp_source

  4. update spot on MN:
    mknimimage -u -V 1106A71BDumpcosi3
    mknimimage -u -V 1106A71BDumpcosi

  5. want to update spot on SN:
    mkdsklsnode -V -f -i 1106A71BDumpcosi3 hv16sc8p02 configdump=full

But I found the spot on SN was not updated and still didn't including ssh and ssl.

  1. If I sync the spot 1106A71BDumpcosi to SN the first time, the spot 1106A71BDumpcosi on SN is the updated one which including ssh and ssl.
    mkdsklsnode -V -f -i 1106A71BDumpcosi hv16sc8p02 configdump=full

On MN:
bash-3.2# pwd
/install/nim/spot
bash-3.2# du -sm *
844.82 1106A71BDumpcosi
844.80 1106A71BDumpcosi3

On SN:
bash-3.2# pwd
/install/nim/spot
bash-3.2# du -sm *
843.64 1106A71BDumpcosi
819.18 1106A71BDumpcosi3 --->the size is smaller than the one on MN.

It seems 1106A71BDumpcosi3 has not been updated and I can not find openssl and openssh in this spot but I can find them in 1106A71BDumpcosi.

Discussion

  • fang zheng

    fang zheng - 2011-02-24

    bash-3.2# nodels -v
    Version 2.6 (svn r8901, built Tue Feb 22 00:56:51 EST 2011)

    rpm -qa | grep -i xcat

    openslp-xcat-1.2.1-1
    xCAT-rmc-2.6-snap201102220058
    xCAT-2.6-snap201102160117
    perl-xCAT-2.6-snap201102220056
    xCAT-client-2.6-snap201102220057
    xCAT-server-2.6-snap201102220057

     
  • Jing Sun

    Jing Sun - 2011-02-25

    Hi ZhengZheng,

    When calling mknimimage -u command, xcat will remove the spot on all the SNs so that the new spot could be synced in mkdsklsnode. I checked the log of your mknimimage -u command, it seems there was no any operation on your SN, this is not correct.

    I see you have specified the xcatmaster and service node for your cn hv16sc8p02, this is correct, but not enough. Since in the phase of mknimimage -u, xcat is not able to know the information of cn which will use the osimage, so xcat checks all the SNs from servicenode table, not the node definition. Your servicenode table is empty, so xcat has no SN to proceed, please update the servicenode table correctly and try the testing again.
    bash-3.2# tabdump servicenode

    node,nameserver,dhcpserver,tftpserver,nfsserver,conserver,monserver,ldapserver,ntpserver,ftpserver,nimserver,ipforward,comments,disable

    Let me know if you have any other problems, thank you.

     
  • fang zheng

    fang zheng - 2011-02-25

    yes, I check the table servicenode and find there is no node.
    I add the servicenode in this table and mknimimage -u can remove the spot on SN now.
    Thanks

     
MongoDB Logo MongoDB