So in the script,  you will notice it is a sample.  Read the comments at
the top as to what you may need to change for your system.
Right now it is defaulting $nic_num and $netmask.   It looks like  these
defaults  may not be appropriate for your system.   If you do customize be
sure and copy it into a new script name, so we will not wipe out your
changes next time you install xCAt.

Lissa K. Valletta
2-3/T12
Poughkeepsie, NY 12601
(tie 293) 433-3102





From:   indi <[email protected]>
To:     [email protected]
Date:   01/31/2012 05:41 AM
Subject:        [xcat-user] otherinterfaces problem



Hi All

have tried to run configeth postscript got error:

[root@srvmgmt ~]# updatenode n25 -V -P configeth
Running command on srvmgmt: /bin/hostname 2>&1

Running command on srvmgmt: ifconfig -a| grep "inet" 2>&1

  srvmgmt.main.okbm.local: Internal call command: xdsh n25 -s -v
-e /install/postscripts/xcatdsklspost 1 -m 172.30.102.32 'configeth'
Running command on srvmgmt: /opt/xcat/bin/pping n25 2>&1
n25: Running postscript: configeth
n25: Bad arg length for Socket::inet_ntoa, length is 0, should be 4
at ./configeth line 54.
n25: Running of postscripts has completed.

node n25:
Object name: n25
    arch=x86_64
    bmc=bmc25
    chain=runcmd=bmcsetup,shell
    currchain=boot
    currstate=boot
    groups=ipmi,idataplex,42perswitch,compute,all,diskfull,power
    initrd=xcat/SL5/x86_64/initrd.img
    installnic=eth0
    ip=172.30.102.25
    kcmdline=nofb utf8 ks=http://srvmgmt/install/autoinst/n25 ksdevice=eth0
noipv6
    kernel=xcat/SL5/x86_64/vmlinuz
    mac=5c:f3:fc:a8:e7:96
    mgt=ipmi
    netboot=pxe
    nfsserver=srvmgmt
    nodetype=x86_64
    ondiscover=nodediscover
    os=SL5
    otherinterfaces=n25-eth1:10.0.31.25
    postbootscripts=otherpkgs

postscripts=syslog,remoteshell,syncfiles,setupntp,setlocalrepo,setiponib,installib

    primarynic=eth0
    profile=compute
    provmethod=install
    rack=1
    status=booting
    statustime=01-27-2012 23:07:26
    supportedarchs=x86,x86_64
    switch=switch2
    switchport=27
    unit=C8
    xcatmaster=srvmgmt

Thank you in advance
Igor
------------------------------------------------------------------------------

Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user



------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to