The xCATsn metapackages will not run xcatconfig -d and reinitialize the
database during the genimage, if
1) It finds /proc/cmdline  in the image  -usually there
2) It finds /etc/xcat/cfgloc file in the image - not normally there.

Since you have a customized genimage maybe during your
build.  /proc/cmdline is not there.
One way to get around the issue is to just put /etc/xcat/cfgloc in the
image.  It is needed on the servicenode and will be update by the
postscripts after service node install anyway, if it changes.

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





From:   "Brown, David M JR" <[email protected]>
To:     Lissa Valletta/Poughkeepsie/IBM@IBMUS, Bruce M
            Potter/Poughkeepsie/IBM@IBMUS
Cc:     "[email protected]"
            <[email protected]>
Date:   05/10/2012 11:58 AM
Subject:        RE: [xcat-user] xcat 2.7 service node image build



Lissa, Bruce,

We’ve heavily modified the genimage script to do some more things that are
better for us at EMSL. So I need to run through the xCAT 2.7 genimage
script since the one we have is based off of 2.6. However, we are running a
postgresql database backend, the SNs are diskless ramdisk nodes.

The modifications to the genimage script include pulling from remote
repositories instead of local CD iso files, pulling the root file system
tarball from nfs instead of http (more secure that way). However, we need
to clean that part up a bit before we try and get anything ready to give
anyone else, and the layers need to agree.

Let me get back to you after I take a look at the latest version of
genimage.

Thanks,
- David Brown

From: Lissa Valletta [mailto:[email protected]]
Sent: Thursday, May 10, 2012 7:24 AM
To: Brown, David M JR; Bruce M Potter
Subject: Fw: [xcat-user] xcat 2.7 service node image build



David,  could you give us some additional information.    The install of
the service node metapackage xCATsn* does run xcatconfig -d which
initialize  the database and could cause the problems you are seeing.
This is not suppose to run during the build of an image, or if
the /etc/xcat/cfgloc file exists on the SN,  which indicates you have setup
a database besides  sqllite.
Are you  seeing this while building the SN image on the MN, or while
installing on the SN.    Is this a diskfull or diskless Service Node image?
Are you running a database besides sqlite on the MN when you build the
image.   You can check with lsxcatd -a , or check for /etc/xcat/cfgloc.
I guess we need you to outline your image build process, to find out why
this is happening.

Thanks.


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


----- Forwarded by Lissa Valletta/Poughkeepsie/IBM on 05/10/2012 10:15 AM
-----

From: Bruce M Potter/Poughkeepsie/IBM
To: Lissa Valletta/Poughkeepsie/IBM@IBMUS, Guang Cheng Li/China/IBM@IBMCN
Date: 05/04/2012 10:32 PM
Subject: Fw: [xcat-user] xcat 2.7 service node image build



I also just recently saw this NORESOLUTION value in site.master and a
couple other site attributes when i installed xcat on a new mn and didn't
have name resolution of the mn set right.  In this case, can't we just put
the ip address in the site attributes?  Wouldn't that be more useful?

Bruce Potter        STSM, Linux & AIX Cluster Development, IBM,
Poughkeepsie, NY
Email: [email protected]    Phone:  external: 845-433-7073, internal: TL
293-7073

----- Forwarded by Bruce M Potter/Poughkeepsie/IBM on 05/04/2012 06:51 PM
-----

From: Guang Cheng Li <[email protected]>
To: xCAT Users Mailing list <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: 05/03/2012 10:42 PM
Subject: Re: [xcat-user] xcat 2.7 service node image build




HI,

For the NORESOLUTION, it may indicate that there are hostname resolution
problems in the cluster, could the MN resolve the hostname of itself?

Thanks,
-------------------------------------------------------------------------
Li,Guang Cheng (李光成)
IBM China System Technology Laboratory
Email: [email protected]
Address: Building 28, ZhongGuanCun Software Park,
        No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, PRC

北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193

Inactive hide details for "Brown, David M JR" ---2012-05-04 05:15:32---I’ve
been having an issue with building service node i"Brown, David M JR"
---2012-05-04 05:15:32---I’ve been having an issue with building service
node images. It seems the install of the xCATsn package during the building
o


                                                                           
       "Brown, David M JR" <                                               
       [email protected]>                                               
                                                                           
                                                                           
       2012-05-04 04:14                                                 To 
                                                                           
                                              "                            
                                              [email protected]. 
                                              net" <                       
                                              [email protected]. 
       Please respond to                      net>                         
   xCAT Users Mailing list <                                               
 [email protected]                                         cc 
               t>                                                          
                                                                           
                                                                   Subject 
                                                                           
                                              [xcat-user] xcat 2.7 service 
                                              node image build             
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           



I’ve been having an issue with building service node images. It seems the
install of the xCATsn package during the building of a service node image
seems to wipe out bits of the site table and the postscripts table.

Specifically site.master=”NORESOLUTION” and site.nameservers=”NORESOLUTION”
and site.domain gets zero’ed out.

Any suggestions?

Thanks,
- David Brown

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

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
(See attached file: pic16295.gif)
------------------------------------------------------------------------------

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

<<inline: 32597157.gif>>

<<inline: 32225330.gif>>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to