For the benefit of others:

>From personal experience (and much communiation with Geoffroy over the 
months) the following steps appear to be crucial to success in 
bootstrapping Oscar 6.0.3 on CentOS 5.3:

Before installing anything-oscar:

* Ensure that "gpgcheck=0" in /etc/yum.conf
* Ensure that "PermitRootLogin=yes" is UNcommented in /etc/ssh/sshd_config
* Ensure your /etc/hosts file lists the localhost.localdomain line, your
   public hostname/IP, and private (cluster/oscar) hostname/IP, are on
   three separate lines
* Ensure your system is updated (yum update) and that you reboot
   after this to avail of a new kernel and services, if relevant
* Ensure that selinux and the firewall is OFF.  Behind a campus firewall
   here, this is moderately safe.  It was a requirement for Oscar 5.x
   and I haven't tested NOT doing this under 6.
* Set up the CentOS-x86_64-OSCAR-unstable.repo repo file in
   /etc/yum.repos.d  Cut & paste the contents of

http://svn.oscar.openclustergroup.org/trac/oscar/attachment/wiki/repoTesting/CentOS-x86_64-OSCAR-unstable.repo

verbatim (deleting line numbers if you need to ;)

Next, install the base oscar packages.  This also installs yume:

        yum install oscar

* Edit /etc/oscar/oscar.conf and ENSURE the NIC is the one in /etc/hosts
   you'll be using for the cluster.  In my case, I always have to change
   this to "eth1", at the top of the file, since eth0 is the head node's
   public NIC.  In my case I've assigned eth1 to "192.168.0.100" when
   setting up my system.

Next, setup for the correct distro:

        oscar-config --setup-distro centos-5-x86_64

This creates /tftpboot/distro and oscar, and does a few others things.
I do not find it necessary to copy the contents of a distro DVD/CD into 
/tftpboot.   It IS crucial, however, to ensure you don't become prey
to network timeouts during the pool format detection process in the
bootstrap.

To be sure your NIC assignments are self-consistent,

        system-sanity

The try a bootstrap.  If you're very lucky and have a good network 
connection, it should work.  If there are complaints about "Impossible to 
determine pool format" or some such, things are timing out. Do this:

        vi `locate PackageSmart.pm`

and search for "timeout="; there is only one.  Increase its 
value; in 6.0.3r8521-1 this is "timeout=9", which is better than it used 
to be (timeout=3"), but I have rarely gotten network bootstrapping to
work with values less than 10;  Use 15.

---

((((I have also, with some attempts, had to do repeated cycles of 
"oscar-config --startover"'s followed with manual removal of many packages 
(with yum), then manual recursive deletion of many directories (results of 
"find / -name "*oscar*" and also for *OSCAR*) - making sure packman, c3, 
dhcp*, mysql*, *AppConfig, oda, orm, anything that comes back from "yum 
list installed | grep oscar", etc, are all removed seems to have been part 
of this)... followed by reinstalling oscar with yum, etc,before 
bootstrapping would work.  Seems dangerous, and also, oddly, hard to 
reproduce.))))

No, the most success in bootstrapping I've had (assuming everything else 
above was seen to thoroughly) was had after making sure the timeout 
parameter in PackageSmart.pm is set to long enough.  I've bootstrapped 
"straight out of the box" by making sure of this, first.

Good luck,
Chris


======================================================================
Christopher C Stevenson,  C4063                 office: (709) 737-2624
Dept. of Physics & Physical Oceanography        fax:    (709) 737-8739
Memorial University of Newfoundland
St. John's, NL, CANADA  A1B 3X7
URL: http://www.physics.mun.ca/~csteven
======================================================================
"We are all in the gutter,
but some of us are looking at the stars." - Oscar Wilde


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to