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
e-mail: [email protected]




From:   Mark Pace <[email protected]>
To:     xCAT Users Mailing list <[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",,,
"slesxc03","172.16.1.44","slesxc03.s390.mainline.com",,,
"slesxc04","172.16.1.45","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]> 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
  e-mail: [email protected]


  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]>
  To: xCAT Users Mailing list <[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]>
  wrote:
        What does your /etc/hosts and /etc/HOSTNAME file look like?

        Regards,
        -------------------------------------
        Thang Pham
        IBM Poughkeepsie
        Phone: (845) 433-7567
        e-mail: [email protected]


        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]>
        To: xCat <[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
            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&reg; 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
        _______________________________________________
        xCAT-user mailing list
        [email protected]
        https://lists.sourceforge.net/lists/listinfo/xcat-user


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

        Own the Future-Intel&reg; 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
        _______________________________________________
        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


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

  Own the Future-Intel&reg; 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
  _______________________________________________
  xCAT-user mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/xcat-user


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

  Own the Future-Intel&reg; 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
  _______________________________________________
  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


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

Own the Future-Intel&reg; 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
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Own the Future-Intel&reg; 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
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to