Hi Stephen,

I see that you are trying to install oscar-6.1.0 for RHEL5 on an RHEL6 distro 
which is will not work. (more over, oscar-6.1.0 for rhel-5 is not maintained).
Many bugs have been fixed since that release.
IMHO (developper and sysadmin speaking) you should try oscar unstable on 
centos-6 (My prod cluster is using it)

Here is a quick start guide for oscar unstable on centos-6:
OSCAR_unstable Quick Start Guide (before using it, remove any .repo related to 
oscar that you've manually configured. If possible, restart from a new centos-6 
blank VM where no oscar-6.1.0 for rhel 5 has been installed).

*) install CentOS-6.4 base server (+ X11 if you are working localy)
*) make sure that your mta (mail transfert agent) is postfix if you want 
mtaconfig to  be of any use.
   if postfix is not you default mta, then do a: yum install postfix; yum 
remove sendmail exim
*) yum install 
http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
*) yum install 
http://olivier.lahaye1.free.fr/OSCAR/repos/unstable/rhel-6-x86_64/oscar-release-6.1.2r9981-1.noarch.rpm
*) set SELINUX=disabled in /etc/selinux/config
*) disable ipv6 in /etc/sysctl.conf (and reboot)
   net.ipv6.conf.all.disable_ipv6 = 1
   net.ipv6.conf.default.disable_ipv6 = 1
*) yum install oscar
*) check /etc/oscar/oscar.conf
*) check /etc/oscar/supported_distros.txt
*) oscar-config --setup-distro centos-6-x86_64
*) oscar-config --bootstrap
*) oscar_wizard -d install
*) STEP1: Select experimental, then select:
   - apitest, base, C3, oda, sc3, sis, switcher, sync-files, yume, blcr, 
disable-services, ganglia, jobmonarch, maui, mtaconfig, munge, netbootmgr, 
ntpconfig, torque
*) STEP2: Configure selected oscar packages
*) STEP3: Install Oscar server packages
*) STEP4: Build Client image
*) STEP5: Define oscar clients
*) STEP6: Setup Networking
*) - Assign macs to nodes (if used start collecting MACS, then stop it before 
going further)
*) - Enable Install mode
*) - Configure DHCP server
*) - Setup Network Boot
*) edit /etc/dhcp/dhcpd.conf and correct gateway, then restart dhcpd
*) Monitor cluster deployment
*) PXE boot all nodes
*) Fix BUGS:
   - re-enable nodes (remove dead keywork) in /etc/c3.conf (do not touch the 
"dead remove_for...." line)
   - BUG: enable and start munge and gmond on nodes (should be started in step 
7, but step7 fails if they don't start)
*) STEP7: Complete cluster setup
   BUG: enable and start munge and gmond on nodes
   BUG: enable gmetad (and optionaly gmond if head runs jobs) on the headnode.
*) STEP8: Test cluster setup


Note that jobmonarch will fail post install for the moment (I discourage using 
it for the moment)
if you don't use torque+maui, you don't need munge (otherwise it is mandatory 
(torque is build with munge support))
blcr is not yet using dkms dinamic kernel module rebuild for each new kernel, 
so for the moment, you should not use it except if you know what you're doing.

Best regards.

--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR
________________________________
De : Stephen Foulds [stephen.fou...@gmail.com]
Date d'envoi : vendredi 14 juin 2013 19:01
À : oscar-users@lists.sourceforge.net
Objet : [Oscar-users] (no subject)

Hello,

Hoping that I can get a hand with this please :-) I think I may have posted 
this in another mailing list by accident, so apologies. I am new with mailing 
lists!

I am trying to install OSCAR on a CentOS 6 VM before I set it up on my cluster 
that I am planning to build. However, I am having issues getting it to install. 
I will outline the steps that I have done so far and hopefully someone will 
know what I've done wrong.

First, I created a /etc/yum.repos.d/CentOS-x86_64-OSCAR.repo file and set the 
contents to

[oscar]
name=CentOS-$releasever - OSCAR
baseurl=http://svn.oscar.openclustergroup.org/repos/6.1.0/rhel-5-x86_64/
gpgcheck=0

Then I ran

yum update

which completed successfully. Then I ran

yum install oscar-base

which seemed to run OK.

The problem now occurs. As per the install guide for CentOS 
(http://svn.oscar.openclustergroup.org/trac/oscar/wiki/InstallGuidePreparing#Repositories),
 it instructs me to check the content of the /etc/oscar/oscar.conf file. 
However, there is no such file. The only files in that folder are:

Opkgs
supported_distros.txt
templates
VERSION

So I tried running the next command oscar-config --setup-distro centos-6-x86_64 
but this also errored with the following error

Can't locate /OSCAR/Utils.pm in @INC (@INC contains: /usr/local/lib64/perl5 
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl 
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at 
/usr/bin/oscar-config line 22.
BEGIN failed--compilation aborted at /usr/bin/oscar-config line 22.

This is the second install this has happened on.

So, can someone lend a hand here please? Is there anything that I'm doing wrong 
or is there a nice easy way to do this whole thing? If there is, that'd be 
fantastic!

Thanks!
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users

Reply via email to