Hi Chris,
OSCAR detects automatically the current version so you need to have a 6.0 block
in the supported_distros.txt file otherwise it won't work. But if you use the
"unstable" repo, the one i am using to prepare OSCAR-6.0.1, the blocks are
different and actually you do not need to download the file (see the "Testing
the development version" section of the
http://svn.oscar.openclustergroup.org/trac/oscar/wiki/repoTesting wiki page).
I actually encourage you to use the "unstable" repository since it is currently
use only to include bug fixes, i do not include any new features. We are really
in the stabilization phase in order to release oscar-6.0.1 and it actually
fixes many issues (thanks to all the good bug reports i received, thanks
everyone).
But please, do not do any manual modifications if you want to use the unstable
repo, just follow the instructions i pointed to you.
Thanks for your help and let me know if you have any questions or remarks.
PS: the steps you need to follow are:
Testing the development version
On RPM Based Systems (CentOS-5.x only)
1. As root, add the following file into your /etc/yum.conf.d directory:
* On x86_64 systems: CentOS-i386-OSCAR-unstable.repo
* On x86 systems: CentOS-x86_64-OSCAR-unstable.repo
2. Make sure you do not have a CentOS-i386-OSCAR.repo or
CentOS-x86_64-OSCAR.repo in the /etc/yum.conf.d directory
3. Make sure to delete the files /tftpboot/distro/centos-5-<arch>.url and
/tftpboot/oscar/rhel-5-i386
4. Make sure that your system is up-to-date, executing as root yum update
5. Execute as root yum install oscar
6. Check the content of the /etc/oscar/oscar.conf file; make sure it matches
your configuration (for instance check the OSCAR interface, i.e., the network
interface used to manage your cluster, is correctly set).
7. Execute as root oscar-config --setup-distro <distro>-<version>-<arch>
(for instance oscar-config --setup-distro centos-5-x86_64)
8. Execute as root oscar-config --bootstrap
9. Execute as root system-sanity and make sure you address all the reported
issues
10. Execute as root oscar-wizard install
----- Mail Original -----
De: "Chris Stevenson" <cste...@mun.ca>
À: oscar-users@lists.sourceforge.net
Envoyé: Jeudi 15 Janvier 2009 15:06:54 GMT -05:00 USA/Canada - États de l'Est
Objet: Re: [Oscar-users] OSCAR-6.0 is out
Hi Geoffroy/Henrique,
Checking the list, and getting back to my attempts with OSCAR-6.0. I just
thought I'd mention that in the contents of
http://www.csm.ornl.gov/srt/downloads/oscar/6.0/supported_distros.txt
(which is downloaded at step 5. in the RepoTesting instructions at
http://svn.oscar.openclustergroup.org/trac/oscar/wiki/repoTesting - what
you point to below), the [unstable] block is an exact copy of the [6.0]
block; that is, nowhere in this whole file is an unstable repo actually
specified. Was this intended? Also, in the repo files linked-to at the
top of the page (note that "* On x86 systems:" should be corrected to "*
On x86_64 systems:", and vice versa), word "unstable" also doesn't occur.
SO perhaps Henrique's not using the unstable repo is not unexpected?
I'm assuming we are to make manual changes in these files while
experimenting with the trunk, to explicitly point to
the unstable repos in all instances.
Ie., for my OS (CentOS 5.2/x86_64), wherever it says
http://bear.csm.ornl.gov/repos/rhel-5-x86_64
it should say
http://bear.csm.ornl.gov/repos/unstable/rhel-5-x86_64
Correct? (Am I misunderstanding something?)
Thanks,
Chris
On Thu, 15 Jan
2009
geoffroy.val...@free.fr wrote:
> Hi,
I released a new version of ODA and PackMan, it is supposed to fix the problem.
The packages are available via our "unstable" repositories (repositories used
for the preparation of oscar-6.0.1, which should be fairly stable today).
Henrique, i think your system configuration does not use the unstable
repositories: you are using http://bear.csm.ornl.gov/repos/rhel-5-i386,
instead of http://bear.csm.ornl.gov/repos/unstable/rhel-5-i386. If you
want to use the unstable repository, refer to
http://svn.oscar.openclustergroup.org/trac/oscar/wiki/repoTesting.
Regards,
----- Mail Original -----
De: "Henrique Baggio" <hnrqbag...@gmail.com>
À: "geoffroy vallee" <geoffroy.val...@free.fr>
Cc: oscar-users@lists.sourceforge.net
Envoyé: Mercredi 14 Janvier 2009 15:04:44 GMT -05:00 USA/Canada - États de l'Est
Objet: Re: [Oscar-users] OSCAR-6.0 is out
On Wed, Jan 14, 2009 at 12:51 PM, < geoffroy.val...@free.fr > wrote:
Henrique,
I never saw that error, so could you, please, set PACKMAN_VERBOSE (e.g.,
"export PACKMAN_VERBOSE=1") and re-run "oscar-config --bootstrap"? With that i
hope having more information so i will be able to fix the problem.
Thanks,
Hi, Geoffroy,
I set the PACKMAN_VERBOSE=1, but did not hear significant output change. Even
so, I'm sending the output.
-----------------------
[r...@head ~]# oscar-config --bootstrap
OSCAR bootstrap
install_prereq found: /usr/bin/install_prereq
Dealing with Prereq AppConfig ( /usr/share/oscar/prereqs/AppConfig,
check_and_fix)
Prereq status for centos, 5, i386
Prereqs status (/usr/share/oscar/prereqs/AppConfig):
perl-AppConfig: already installed
AppConfig is already installed, nothing to do.
INFO: the /tftpboot/oscar/rhel-5-i386.url already exists, we do nothing at
/usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackagePath.pm line 840.
INFO: the /tftpboot/distro/centos-5-i386.url file already exists, we do nothing
at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/PackagePath.pm line 882.
Dealing with Prereq packman (/usr/share/oscar/prereqs/packman, check_and_fix)
Prereq status for centos, 5, i386
Prereqs status (/usr/share/oscar/prereqs/packman):
packman: already installed
packman is already installed, nothing to do.
Loading "fastestmirror" plugin
Cleaning up Everything
Cleaning up list of fastest mirrors
Dealing with Prereq yume (/usr/share/oscar/prereqs/yume, check_and_fix)
Prereq status for centos, 5, i386
Prereqs status (/usr/share/oscar/prereqs/yume):
perl-IO-Tty: already installed
python-urlgrabber: already installed
python-elementtree: already installed
yum: already installed
createrepo: already installed
yume: already installed
yume is already installed, nothing to do.
Pools to prepare for distro centos-5-i386:
[ http://bear.csm.ornl.gov/repos/rhel-5-i386
http://isoredirect.centos.org/centos/5/os/i386/ ]
Array: 2 element(s)
Preparing pools: http://bear.csm.ornl.gov/repos/rhel-5-i386
http://isoredirect.centos.org/centos/5/os/i386/
Pool: http://bear.csm.ornl.gov/repos/rhel-5-i386
Pool: http://isoredirect.centos.org/centos/5/os/i386/
Prereq status for centos, 5, i386
Prereqs status (/usr/share/oscar/prereqs/ORM):
orm: already installed
Prereq status for centos, 5, i386
Prereqs status (/usr/share/oscar/prereqs/OSCAR-Database):
oda: already installed
Prereq status for centos, 5, i386
Prereqs status (/usr/share/oscar/prereqs/Selector):
oscar-selector: already installed
Prereq status for centos, 5, i386
Prereqs status (/usr/share/oscar/prereqs/base):
dhcp: already installed
gd: already installed
nfs-utils: already installed
openssh: already installed
openssh-clients: already installed
openssh-server: already installed
openssl: already installed
tcpdump: already installed
xinetd: already installed
httpd: already installed
php: already installed
expat: already installed
python: already installed
zlib: already installed
zlib-devel: already installed
shadow-utils: already installed
libcap: already installed
ntp: already installed
tftp-server.i?86: already removed
lam: already removed
Prereq status for centos, 5, i386
Prereqs status (/usr/share/oscar/prereqs/perl-XML-Parser):
perl-XML-Parser: already installed
Prereq status for centos, 5, i386
Prereqs status (/usr/share/oscar/prereqs/perl-XML-Simple):
perl-XML-Simple: already installed
Prereq status for centos, 5, i386
Prereqs status (/usr/share/oscar/prereqs/perl-HTML-Tree):
perl-HTML-Tree: already installed
Prereq status for centos, 5, i386
Prereqs status (/usr/share/oscar/prereqs/perl-Tk):
perl-Tk: already installed
Prereq status for centos, 5, i386
Prereqs status (/usr/share/oscar/prereqs/perl-Qt):
perl-Qt: already installed
Executing: /usr/bin/oda --init mysql
Initializing ODA: mysql
Prereq status for centos, 5, i386
Prereqs status (/usr/share/oscar/prereqs/oda):
mysql: already installed
perl-DBD-MySQL: already installed
perl-DBI: already installed
mysql-server: already installed
Database Initialization
================================================================
Your MySQL has already setup the root password.
To proceed, please enter your root password of MySQL:
================================================================
Database_status: 0
Checking for ODA database password file ... not found.
Generating a random password for the OSCAR database.
saved.
--> Password ok, now creating the database
================================================================
Your MySQL has already setup the root password.
To proceed, please enter your root password of MySQL:
================================================================
Starting the mysqld database server ...
/etc/init.d/mysqld start
Starting MySQL: [ OK ]
Making sure that the mysqld database server starts on subsequent boots ...
chkconfig mysqld on
================================================================
Your MySQL has already setup the root password.
To proceed, please enter your root password of MySQL:
================================================================
Checking for database existence of node oscar_server ...
Updating the hostname field in the oscar_server node to <head.centoscluster>
...
DB_DEBUG>/usr/bin/create_and_populate_basic_node_info:
====> in Database::update_table SQL: UPDATE Nodes SET
hostname='head.centoscluster' WHERE name='oscar_server'
Updating the dns_domain field in the oscar_server node to <centoscluster>
DB_DEBUG>/usr/bin/create_and_populate_basic_node_info:
====> in Database::update_table SQL: UPDATE Nodes SET
dns_domain='centoscluster' WHERE name='oscar_server'
=============================================================================
== Creating node group all ...
=============================================================================
=============================================================================
== Creating node group Default_node ...
=============================================================================
Detecting local distro...
Connecting to ODA...
Creating the list of packages to delete...
Getting info on all opkgs available in the passed OS repositories...
ERROR: Cannot recognized the OS at
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/OSCAR/RepositoryManager.pm
line 135
[INFO] Querying for available OSCAR packages. That may take a while, please be
patient...
Command to execute: /usr/bin/ptty_try yume --repo
http://bear.csm.ornl.gov/repos/rhel-5-i386 --repo
http://isoredirect.centos.org/centos/5/os/i386/ search ^opkg-.*-server
[ ]
Array: 0 element(s)
[INFO] Querying details for all OPKGs we found...
DEBUG>/usr/bin/populate_oda_packages_table:
====>print_hash
-- OPKGs data: ->
Checking for existence of package set <Default>
Initializing package set <Default>
Successfully initialized ODA
Database Initialization
================================================================
Your MySQL has already setup the root password.
To proceed, please enter your root password of MySQL:
================================================================
Database_status: 1
New interface: eth0
=============================================================================
== >/usr/bin/set_node_nics: Connecting to the database...
=============================================================================
=============================================================================
== >/usr/bin/set_node_nics: Connecting to the database...
=============================================================================
=============================================================================
== Installing server core packages
=============================================================================
Identified core packages: yume sync-files switcher sis selinux sc3 rapt oda c3
base apitest[ yume sync-files switcher sis selinux sc3 rapt oda c3 base apitest
]
Array: 11 element(s)
Preparing pools: http://isoredirect.centos.org/centos/5/os/i386/
http://bear.csm.ornl.gov/repos/rhel-5-i386
Pool: http://isoredirect.centos.org/centos/5/os/i386/
Pool: http://bear.csm.ornl.gov/repos/rhel-5-i386
Need to install the following packages: opkg-yume-server.noarch,
opkg-sync-files-server.noarch, opkg-switcher-server.noarch,
opkg-sis-server.noarch, opkg-selinux-server.noarch, opkg-sc3-server.noarch,
opkg-rapt-server.noarch, opkg-oda-server.noarch, opkg-c3-server.noarch,
opkg-base-server.noarch, opkg-apitest-server.noarch
Command to execute: /usr/bin/ptty_try yume --repo
http://bear.csm.ornl.gov/repos/rhel-5-i386 --repo
http://isoredirect.centos.org/centos/5/os/i386/ -y install
opkg-yume-server.noarch opkg-sync-files-server.noarch
opkg-switcher-server.noarch opkg-sis-server.noarch opkg-selinux-server.noarch
opkg-sc3-server.noarch opkg-rapt-server.noarch opkg-oda-server.noarch
opkg-c3-server.noarch opkg-base-server.noarch opkg-apitest-server.noarch
Marking core packages as always selected...
[r...@head ~]# oscar_wizard install
Can't locate SystemInstaller/Tk/Common.pm in @INC (@INC contains:
/usr/lib/systemconfig /usr/lib/systeminstaller /usr/lib/systemimager/perl
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/5.8.8 .) at /usr/lib/perl5/vendor_perl/5.8.8/OSCAR/AddNode.pm
line 34.
BEGIN failed--compilation aborted at
/usr/lib/perl5/vendor_perl/5.8.8/OSCAR/AddNode.pm line 34.
Compilation failed in require at /usr/bin/oscar_wizard line 51.
BEGIN failed--compilation aborted at /usr/bin/oscar_wizard line 51.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users
======================================================================
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
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Oscar-users mailing list
Oscar-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-users