That's interesting that why do you want to set the static ip for a
stateless node?

Thanks
Best Regards
----------------------------------------------------------------------
 Wang Xiaopeng (王晓朋)
 IBM China System Technology Laboratory
 Tel: 86-10-82453455
 Email: [email protected]
 Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
Haidian District Beijing P.R.China 100193



From:   Russell Jones <[email protected]>
To:     [email protected],
Date:   2013/09/10 23:41
Subject:        Re: [xcat-user] missing -i flag from genimage --dryrun



Thanks Xiao,

The issue wasn't that the nodes weren't booting, just that dryrun wasn't
giving me the interface flag that is required. Unfortunately genimage still
seems to need this flag to produce
the /etc/sysconfig/network-scripts/ifcfg-eth0 file. Hardeths needs this
file to be able to correctly create a static interface file. Am I missing
something there?

I also found that the "nodebootif" option in osimage was what I was looking
for to give me the missing "-i" flag.

Thoughts? Is there a way to properly get the
needed /etc/sysconfig/network-scripts/ifcfg-eth0 file into the image
without using the "-i" flag? Or a way to get hardeths to cooperate when the
ifcfg-eth0 file isn't there?


On 9/1/2013 10:20 PM, Xiao Peng Wang wrote:


      Generally, xCAT recommends to use the mac address to specify the boot
      network interface. That means during the genimage, no specific
      interface needs be specified, but configure the mac address for node
      and set installnic=mac so that during the boot of stateless image,
      the interface which specified with the specific 'mac' will be used.

      So the problem was that did you configure your node correctly with
      the mac and installnic attributes I guess.

      If you really want to specify the network interface by yourself, just
      use the -i flag anyway.


      Thanks
      Best Regards
      ----------------------------------------------------------------------

      Wang Xiaopeng (王晓朋)
      IBM China System Technology Laboratory
      Tel: 86-10-82453455
      Email: [email protected]
      Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
      Haidian District Beijing P.R.China 100193

      Inactive hide details for Russell Jones ---2013/08/31
      07:11:31---Hi all, I am following this guide for generating a
      CentOS 5 imRussell Jones ---2013/08/31 07:11:31---Hi all, I am
      following this guide for generating a CentOS 5 image on a CentOS 6

      From: Russell Jones <[email protected]>
      To: [email protected],
      Date: 2013/08/31 07:11
      Subject: [xcat-user] missing -i flag from genimage --dryrun





      Hi all,

      I am following this guide for generating a CentOS 5 image on a CentOS
      6
      management node:
      
http://sourceforge.net/apps/mediawiki/xcat/index.php?title=Building_a_Stateless_Image_of_a_Different_Architecture_or_OS



      When I am running the "genimage --dryrun $osimage", it produces
      output
      that does not include the "-i" flag that specifies $prinic, which is
      then used for creating
      the /etc/sysconfig/network-scripts/ifcfg-$prinic
      file by the genimage script. As a result, the image that is generated
      is
      missing ifcfg-eth0 file, and hardeths fails on the node.

      Am I missing configuration somewhere that would give me the missing
      -i
      flag for my genimage line?


      Thanks!

      
------------------------------------------------------------------------------

      Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012,
      more!
      Discover the easy way to master current and previous Microsoft
      technologies
      and advance your career. Get an incredible 1,500+ hours of
      step-by-step
      tutorial videos with LearnDevNow. Subscribe today and save!
      
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk

      _______________________________________________
      xCAT-user mailing list
      [email protected]
      https://lists.sourceforge.net/lists/listinfo/xcat-user




      
------------------------------------------------------------------------------

      Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012,
      more!
      Discover the easy way to master current and previous Microsoft
      technologies
      and advance your career. Get an incredible 1,500+ hours of
      step-by-step
      tutorial videos with LearnDevNow. Subscribe today and save!
      
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk


      _______________________________________________
      xCAT-user mailing list
      [email protected]
      https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------

How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to