>Does this happen for other nodes, e.g. slesxc03 and slesxc04? I haven't tried to create these nodes yet because of the problems with 01 & 02.
This is from slesxc01.custom.tmpl <domain>s390.mainline.com</domain> <hostname>slesxc01</hostname> 3(NXDOMAIN:~ # cat int.conf DEVICE=eth0 BOOTPROTO=static IPADDR=172.16.1.42 NETMASK=255.255.255.0 BROADCAST=172.16.1.255 NETWORK=172.16.1.0 STARTMODE=onboot TYPE=Ethernet On Tue, Apr 2, 2013 at 1:37 PM, Thang Pham <[email protected]> wrote: > Does this happen for other nodes, e.g. slesxc03 and slesxc04? > > In the autoyast template for slesxc01, is the hostname correct? > > <domain>endicott.ibm.com</domain> > <hostname>ihost24</hostname> > > > I remembered a few weeks ago, that we put in a postscript to print out the > network config into /root/int.conf. Could you paste the contents of that > postscript? > > The actual postscript is: > > #!/bin/bash > # network_setup.sh > > ### Disable IPV6 - comment this line out if you don't want to disable > IPV6 > echo 'install ipv6 /bin/true' >> /etc/modprobe.conf.local > > ### Variables to Calculate Network Configuration Settings for a static > configuration > ACTIVE_INTERFACE=`/sbin/ifconfig | grep eth | awk '{print $1}'` > IP_ADDRESS=`/sbin/ifconfig $ACTIVE_INTERFACE | grep 'inet addr' | awk > '{print $2}' | sed 's/addr://'` > NETMASK=`/sbin/ifconfig $ACTIVE_INTERFACE | grep 'inet addr' | awk > '{print $4}' | sed 's/Mask://'` > BROADCAST=`/sbin/ifconfig $ACTIVE_INTERFACE | grep Bcast: | awk '{ > print $3 }' | sed 's/Bcast://'` > NETWORK=`/sbin/ip route list | grep $IP_ADDRESS | awk '{ print $1 }' | > sed 's/\/[1-9][1-9]//'` > GATEWAY=`/sbin/route | grep default | awk '{print $2}'` > HOSTNAME=`/usr/bin/host $IP_ADDRESS | awk '{print $5}' | sed '$s/.$//'` > > ### Setup HOSTNAME > echo "$HOSTNAME" > /etc/HOSTNAME > > ### Setup Gateway Address > echo "default $GATEWAY - -" > /etc/sysconfig/network/routes > > ### Setup /etc/hosts with correct host information > HOST=`/usr/bin/host $IP_ADDRESS | awk '{print $5}' | sed '$s/.$//' | > cut -d "." -f 1` > echo "$IP_ADDRESS $HOSTNAME $HOST" >> /etc/hosts > > ### Network configuration file rewrite for static configuration > > INT_CONF_FILE=/root/int.conf > > echo 'DEVICE=eth0' > $INT_CONF_FILE > echo 'BOOTPROTO=static' >> $INT_CONF_FILE > echo "IPADDR=$IP_ADDRESS" >> $INT_CONF_FILE > echo "NETMASK=$NETMASK" >> $INT_CONF_FILE > echo "BROADCAST=$BROADCAST" >> $INT_CONF_FILE > echo "NETWORK=$NETWORK" >> $INT_CONF_FILE > echo 'STARTMODE=onboot' >> $INT_CONF_FILE > echo 'TYPE=Ethernet' >> $INT_CONF_FILE > > ### Restart Network > /etc/init.d/network restart > > > Regards, > ------------------------------------- > *Thang Pham* > IBM Poughkeepsie > Phone: (845) 433-7567* * > e-mail: [email protected] > > > [image: Inactive hide details for Mark Pace ---04/02/2013 08:51:52 > AM---Yes - all the hosts are in /etc/hosts - as I recall that was pa]Mark > Pace ---04/02/2013 08:51:52 AM---Yes - all the hosts are in /etc/hosts - as > I recall that was part of the initial install. > > > From: Mark Pace <[email protected]> > To: xCAT Users Mailing list <[email protected]>, > Date: 04/02/2013 08:51 AM > > Subject: Re: [xcat-user] Problem with hostname after reboot. > ------------------------------ > > > > Yes - all the hosts are in /etc/hosts - as I recall that was part of the > initial install. > * > marpace@slesxcat:~> cat /etc/hosts > # > # hosts This file describes a number of hostname-to-address > # mappings for the TCP/IP subsystem. It is mostly > # used at boot time, when no name servers are running. > # On small systems, this file can be used instead of a > # "named" name server. > # Syntax: > # > # IP-Address Full-Qualified-Hostname Short-Hostname > # > > 127.0.0.1 localhost > > # special IPv6 addresses > ::1 localhost ipv6-localhost ipv6-loopback > > fe00::0 ipv6-localnet > > ff00::0 ipv6-mcastprefix > ff02::1 ipv6-allnodes > ff02::2 ipv6-allrouters > ff02::3 ipv6-allhosts > 172.16.1.40 > **slesxcat.s390.mainline.com*<http://slesxcat.s390.mainline.com/> > * slesxcat > 172.16.1.41 **sleszhcp.s390.mainline.com*<http://sleszhcp.s390.mainline.com/> > * sleszhcp > 172.16.1.44 **slesxc03.s390.mainline.com*<http://slesxc03.s390.mainline.com/> > * slesxc03 > 172.16.1.45 **slesxc04.s390.mainline.com*<http://slesxc04.s390.mainline.com/> > * slesxc04 > 172.16.1.43 **slesxc02.s390.mainline.com*<http://slesxc02.s390.mainline.com/> > * slesxc02 > 172.16.1.42 **slesxc01.s390.mainline.com*<http://slesxc01.s390.mainline.com/> > * slesxc01* > > > > On Mon, Apr 1, 2013 at 4:01 PM, Thang Pham > <*[email protected]*<[email protected]>> > wrote: > > I wonder how the initial guest got up and running without an entry in > the hosts table for it. On the xCAT MN, what do you have in /etc/hosts? > > > > Regards, > -------------------------------------* > Thang Pham* > IBM Poughkeepsie > Phone: *(845) 433-7567* <%28845%29%20433-7567>* * > e-mail: *[email protected]* <[email protected]> > > > [image: Inactive hide details for Mark Pace ---04/01/2013 02:07:07 > PM--->Does the hosts table (tabdump hosts) contain an entry in there]Mark > Pace ---04/01/2013 02:07:07 PM--->Does the hosts table (tabdump hosts) > contain an entry in there for 3(NXDOMAIN? > > > From: Mark Pace <*[email protected]* <[email protected]>> > To: xCAT Users Mailing list > <*[email protected]*<[email protected]>>, > > Date: 04/01/2013 02:07 PM > Subject: Re: [xcat-user] Problem with hostname after reboot. > ------------------------------ > > > > >Does the hosts table (tabdump hosts) contain an entry in there for > 3(NXDOMAIN? > No > slesxcat:~ # tabdump hosts > #node,ip,hostnames,otherinterfaces,comments,disable > > "sleszhcp","172.16.1.41","*sleszhcp.s390.mainline.com*<http://sleszhcp.s390.mainline.com/> > ",,, > > "slesxc03","172.16.1.44","*slesxc03.s390.mainline.com*<http://slesxc03.s390.mainline.com/> > ",,, > > "slesxc04","172.16.1.45","*slesxc04.s390.mainline.com*<http://slesxc04.s390.mainline.com/> > ",,, > > Interesting - no entry for slesxc01 - the node I am working on. > > >How did you install apache and php5, e.g. updatenode? > I logged onto the node and used YAST to install apache2 and php5. > > >Does the odd hostname only show up after updatenode? > Well I didn't run updatenode. > > I don't have any sort of postscript. > > > > > > On Mon, Apr 1, 2013 at 1:13 PM, Thang Pham > <*[email protected]*<[email protected]>> > wrote: > Does the hosts table (tabdump hosts) contain an entry in there for > 3(NXDOMAIN? How did you install apache and php5, e.g. updatenode? Does > the odd hostname only show up after updatenode? Wondering if it could > be a > postscript that somehow changed it. > > > > Regards, > -------------------------------------* > Thang Pham* > IBM Poughkeepsie > Phone: *(845) 433-7567* <%28845%29%20433-7567>* * > e-mail: *[email protected]* <[email protected]> > > > [image: Inactive hide details for Mark Pace ---04/01/2013 12:07:22 > PM---3(NXDOMAIN:~ # cat /etc/hosts #]Mark Pace ---04/01/2013 > 12:07:22 PM---3(NXDOMAIN:~ # cat /etc/hosts # > > From: Mark Pace <*[email protected]* <[email protected]>> > To: xCAT Users Mailing list > <*[email protected]*<[email protected]>>, > > Date: 04/01/2013 12:07 PM > Subject: Re: [xcat-user] Problem with hostname after reboot. > > ------------------------------ > > > > 3(NXDOMAIN:~ # cat /etc/hosts > # > # hosts This file describes a number of hostname-to-address > # mappings for the TCP/IP subsystem. It is mostly > # used at boot time, when no name servers are running. > # On small systems, this file can be used instead of a > # "named" name server. > # Syntax: > # > # IP-Address Full-Qualified-Hostname Short-Hostname > # > > 127.0.0.1 localhost > > # special IPv6 addresses > ::1 localhost ipv6-localhost ipv6-loopback > > fe00::0 ipv6-localnet > > ff00::0 ipv6-mcastprefix > ff02::1 ipv6-allnodes > ff02::2 ipv6-allrouters > ff02::3 ipv6-allhosts > 172.16.1.42 slesxc01 slesxc01 > 172.16.1.42 3(NXDOMAIN 3(NXDOMAIN > > 3(NXDOMAIN:~ # cat /etc/HOSTNAME > 3(NXDOMAIN > 3(NXDOMAIN:~ # > > > > On Mon, Apr 1, 2013 at 11:56 AM, Thang Pham > <*[email protected]*<[email protected]>> > wrote: > What does your /etc/hosts and /etc/HOSTNAME file look like? > > Regards, > -------------------------------------* > Thang Pham* > IBM Poughkeepsie > Phone: *(845) 433-7567* <%28845%29%20433-7567>* * > e-mail: *[email protected]* <[email protected]> > > > [image: Inactive hide details for Mark Pace ---04/01/2013 > 11:23:52 AM---*I'm finally getting back to this problem after a few > weeks > of]Mark Pace ---04/01/2013 11:23:52 AM---*I'm finally getting > back to this problem after a few weeks of working on DASD issues. > > From: Mark Pace <*[email protected]*<[email protected]> > > > To: xCat > <*[email protected]*<[email protected]>>, > > Date: 04/01/2013 11:23 AM > Subject: [xcat-user] Problem with hostname after reboot. > ------------------------------ > > * > > > I'm finally getting back to this problem after a few weeks of > working on DASD issues. > > I created a new z/VM guest. SLES 11SP2. > > Here are the steps I followed.* > slesxcat:~ # mkvm slesxc01 /tmp/dirxc01.txt > slesxc01: Defining SLESXC01 in the directory... Done > > slesxc01: Granting VSwitch (VSWTVPN) access for SLESXC01... Done > > slesxcat:~ # chvm slesxc01 --add3390 TPMDASD 0202 10016 MR > slesxc01: Adding a disk to SLESXC01's directory entry... Done > > slesxcat:~ # chtab node=slesxc01 noderes.netboot=zvm > nodetype.os=sles11sp2 nodetype.arch=s390x nodetype.profile=custom > slesxcat:~ # lsdef slesxc01 > Object name: slesxc01 > arch=s390x > groups=all > > hcp=*sleszhcp.s390.mainline.com*<http://sleszhcp.s390.mainline.com/> > mac=02:00:00:FF:FF:E9 > mgt=zvm > netboot=zvm > os=sles11sp2 > postbootscripts=otherpkgs > postscripts=syslog,remoteshell,syncfiles > profile=custom > userid=SLESXC01 > slesxcat:~ # nodeset slesxc01 install > slesxc01: Setting up networking on VSWTVPN (layer:3 | DHCP:0) > slesxc01: Purging reader... Done > slesxc01: Punching kernel to reader... Done > > slesxc01: Punching parm to reader... Done > > slesxc01: Punching initrd to reader... Done > > slesxc01: Kernel, parm, and initrd punched to reader. Ready for > boot. > slesxcat:~ # rnetboot slesxc01 ipl=00C > slesxc01: Booting from 00C... Done* > > I connected via VNC and watched it install. After the reboot I > logged on and checked out everything. Looked good. I then added > apache > and php5. And then shut it down.* > > slesxcat:~ # rpower slesxc01 on > slesxc01: Activating SLESXC01... Done* > > The log in again.* > 3(NXDOMAIN:~ #* > > Now the hostname is screwed up. I can't imagine how this could > happen.* > > > > -- > The postings on this site are my own and don’t necessarily > represent Mainline’s positions or opinions > > Mark D Pace > Senior Systems Engineer > Mainline Information Systems > > > > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. *http://p.sf.net/sfu/intel_levelupd2d > * <http://p.sf.net/sfu/intel_levelupd2d> > _______________________________________________ > xCAT-user mailing list* > **[email protected]*<[email protected]> > * > > **https://lists.sourceforge.net/lists/listinfo/xcat-user*<https://lists.sourceforge.net/lists/listinfo/xcat-user> > > > > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. *http://p.sf.net/sfu/intel_levelupd2d > * <http://p.sf.net/sfu/intel_levelupd2d> > _______________________________________________ > xCAT-user mailing list* > **[email protected]*<[email protected]> > * > > **https://lists.sourceforge.net/lists/listinfo/xcat-user*<https://lists.sourceforge.net/lists/listinfo/xcat-user> > > > > -- > The postings on this site are my own and don’t necessarily > represent Mainline’s positions or opinions > > Mark D Pace > Senior Systems Engineer > Mainline Information Systems > > > > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. > *http://p.sf.net/sfu/intel_levelupd2d*<http://p.sf.net/sfu/intel_levelupd2d> > _______________________________________________ > xCAT-user mailing list* > **[email protected]* <[email protected]> > * > > **https://lists.sourceforge.net/lists/listinfo/xcat-user*<https://lists.sourceforge.net/lists/listinfo/xcat-user> > > > > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. > *http://p.sf.net/sfu/intel_levelupd2d*<http://p.sf.net/sfu/intel_levelupd2d> > _______________________________________________ > xCAT-user mailing list* > **[email protected]* <[email protected]> > * > > **https://lists.sourceforge.net/lists/listinfo/xcat-user*<https://lists.sourceforge.net/lists/listinfo/xcat-user> > > > > > > -- > The postings on this site are my own and don’t necessarily represent > Mainline’s positions or opinions > > Mark D Pace > Senior Systems Engineer > Mainline Information Systems > > > > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. > *http://p.sf.net/sfu/intel_levelupd2d*<http://p.sf.net/sfu/intel_levelupd2d> > _______________________________________________ > xCAT-user mailing list* > **[email protected]* <[email protected]>* > > **https://lists.sourceforge.net/lists/listinfo/xcat-user*<https://lists.sourceforge.net/lists/listinfo/xcat-user> > > > > > ------------------------------------------------------------------------------ > Own the Future-Intel® Level Up Game Demo Contest 2013 > Rise to greatness in Intel's independent game demo contest. > Compete for recognition, cash, and the chance to get your game > on Steam. $5K grand prize plus 10 genre and skill prizes. > Submit your demo by 6/6/13. > *http://p.sf.net/sfu/intel_levelupd2d*<http://p.sf.net/sfu/intel_levelupd2d> > _______________________________________________ > xCAT-user mailing list* > **[email protected]* <[email protected]>* > > **https://lists.sourceforge.net/lists/listinfo/xcat-user*<https://lists.sourceforge.net/lists/listinfo/xcat-user> > > > > > > -- > The postings on this site are my own and don’t necessarily represent > Mainline’s positions or opinions > > Mark D Pace > Senior Systems Engineer > Mainline Information Systems > > > > ------------------------------------------------------------------------------ > Own the Future-Intel(R) Level Up Game Demo Contest 2013 > > Rise to greatness in Intel's independent game demo contest. Compete > for recognition, cash, and the chance to get your game on Steam. > $5K grand prize plus 10 genre and skill prizes. Submit your demo > by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 > _______________________________________________ > xCAT-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xcat-user > > > > ------------------------------------------------------------------------------ > Minimize network downtime and maximize team effectiveness. > Reduce network management and security costs.Learn how to hire > the most talented Cisco Certified professionals. Visit the > Employer Resources Portal > http://www.cisco.com/web/learning/employer_resources/index.html > _______________________________________________ > xCAT-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xcat-user > > -- The postings on this site are my own and don’t necessarily represent Mainline’s positions or opinions Mark D Pace Senior Systems Engineer Mainline Information Systems
<<graycol.gif>>
------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
