Hello Siddharth,

When using xCAT, you need to follow a particular order of commands - if you
want to see the changes you made reflect across respective places. That is
something I have observed.

You can edit the templates, to workaround but it limits the automation.

Let me ask you few questions, to make things clear.

For DNS issue.

1. Are you using external DNS or xCATs DNS ?

Depending on which DNS you are using, you need to make sure your zone files
on that respective server have the dns ip address mapping you expect to
have.

For post install scripts, issue:

Check the messages logs and http logs to track down the issue.

It could be related to the xCAT key. But I cannot be sure as it looks like
the changes that you have made to http port hasn't reflected across all the
files.

When you change the http port,  check 'netstat -tulpn' to see if you have
that port open as expected.

If not try restarting httpd service. It that doesn't work, restart xcatd
daemon.

Check the httpd error logs if you see any errors while doing so.

Also, once your httpd port is open as a expected. Make sure your DNS works,
and atleast make sure your dhcp got the right IP address in its lease file.

If everything seems alright till now, then make sure you do nodeset osimage
everytime you change a node property that might be related to
booting/installing. You can do also do nodeset boot, but it all depends on
many conditions.

I observed that Nodeset triggers the changes to reflect in autoinst file.
It does many other things in background.

These are few of the things, that i do to debug issues. It helps me to
understand almost all issues. May be the xCAT developer team has better
tools/methods.

Thanks,
Lohit
 On Jul 12, 2014 5:51 AM, "Siddharth Tiwari" <[email protected]>
wrote:

> correction: changing template doesn't work, system hangs on post install
> scripts.
>
>
> **------------------------**
> *Cheers !!!*
> *Siddharth Tiwari*
> Have a refreshing day !!!
> *"Every duty is holy, and devotion to duty is the highest form of worship
> of God.” *
> *"Maybe other people will try to limit me but I don't limit myself"*
>
>
> ------------------------------
> From: [email protected]
> To: [email protected]
> Date: Sat, 12 Jul 2014 09:37:22 +0000
> Subject: Re: [xcat-user] Using non standard HTTP port for xCAT
>
>
> So I found out, there is a small bug. When we update the httpport, the
> changes percolate in the repo address and stuff, but if we go and look into
> the /install/autoinst/nodename the port doesn't appear and so, the system
> tries to go to default port which is 80. I will try patching it up,
> temporary workaround is to hardcode the template so that it has the url in
> it available, but thats not ideal as while building large hadoop clusters,
> we might use several different profiles for several different nodes and
> manual editing is not good.
>
> **------------------------**
> *Cheers !!!*
> *Siddharth Tiwari*
> Have a refreshing day !!!
> *"Every duty is holy, and devotion to duty is the highest form of worship
> of God.” *
> *"Maybe other people will try to limit me but I don't limit myself"*
>
>
> ------------------------------
> From: [email protected]
> To: [email protected]
> Date: Sat, 12 Jul 2014 08:18:36 +0000
> Subject: [xcat-user] Using non standard HTTP port for xCAT
>
> Hey Team
>
> I am trying to use port other than 80 for httpd. I am aware of httpport
> key in site, after setting it the I see following:-
>
> Object name: node1
>
>     arch=x86_64
>
>     currchain=boot
>
>     currstate=install centos6.4-x86_64-compute
>
>     groups=all,compute,bigdata
>
>     initrd=xcat/osimage/mycomputeimage/initrd.img
>
>     installnic=eth0
>
>     interface=eth0
>
>     ip=192.168.0.101
>
>     kcmdline=quiet repo=http://mn-physical:81/install/centos6.4/x86_64 ks=
> http://mn-physical:81/install/autoinst/node1 ksdevice=eth0
>
>     kernel=xcat/osimage/mycomputeimage/vmlinuz
>
>     mac=00:50:56:2D:A6:00
>
>     netboot=pxe
>
>     os=centos6.4
>
>     postbootscripts=otherpkgs
>
>     postscripts=syslog,remoteshell,syncfiles,setupntp,syslog
>
>     primarynic=eth0
>
>     profile=compute
>
>     provmethod=mycomputeimage
>
>     status=installing
>
>     statustime=07-12-2014 01:10:51
>
>     xcatmaster=mn-physical
>
> But even then the node gives error "Unable to retrieve"  for install image
>
> Please help
>
>
> **------------------------**
> *Cheers !!!*
> *Siddharth Tiwari*
> Have a refreshing day !!!
> *"Every duty is holy, and devotion to duty is the highest form of worship
> of God.” *
> *"Maybe other people will try to limit me but I don't limit myself"*
>
>
> ------------------------------------------------------------------------------
> _______________________________________________ xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
>
> ------------------------------------------------------------------------------
> _______________________________________________ xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
>
------------------------------------------------------------------------------
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to