[Rocks-5.3]
name=Rocks 5.3
baseurl=http://10.1.1.1/install/rocks-dist/i386/
Any help would be greatly appreciated.
Regards,
Toni
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
No repositories are setup by Rocks, and it seems to be so to avoid that
people do a 'yum update', that could break Rocks configuration (but some
people seem to have succeeded to update their cluster successfully,
configuring updates to avoid certain packages, search this list).
So, if you want, as it is my case, to install some addional packages via
yum, you have to configure the repositories yourself. I do so by copying
the files used by CentOS (and other related RedHat distros) from another
working workstation using CentOS 5.
This file is :
/etc/yum.repos.d/CentOS-Base.repo
Here is the content of mine :
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client. You should use this for CentOS
updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
---------------------------------------------------------------------------------
Note that I added the 'Extra' CentOS repository, as it was on the
workstation, but it is perhaps not necessary.
You have also to import the authentication keys for CentOS repositories :
# rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
Use it if you want to add a package on your frontend, but avoid to
update it. It was how I break my first Rocks installation !
If you want to add packages to all your compute nodes, it is best to do
it the 'Rocks way'.
That is download the rpm packages, put them in :
/export/rocks/install/contrib/5.3/x86_64/RPMs
and add them to extend-compute.xml, and rebuild the distribution. It is
explained in the documentation :
http://www.rocksclusters.org/roll-documentation/base/5.3/customization-adding-packages.html
Good luck !
Alain
Le 26/10/2010 12:40, Antonia Mey a �crit :
--
==========================================================
Alain P�an - LPP/CNRS
Administrateur Syst�me/R�seau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Foss�s
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==========================================================
Alain P�an wrote:
> Hi Toni,
>
> No repositories are setup by Rocks, and it seems to be so to avoid
> that people do a 'yum update', that could break Rocks configuration
> (but some people seem to have succeeded to update their cluster
> successfully, configuring updates to avoid certain packages, search
> this list).
>
> So, if you want, as it is my case, to install some addional packages
> via yum, you have to configure the repositories yourself. I do so by
> copying the files used by CentOS (and other related RedHat distros)
> from another working workstation using CentOS 5.
>
>
> Note that I added the 'Extra' CentOS repository, as it was on the
> workstation, but it is perhaps not necessary.
>
> You have also to import the authentication keys for CentOS repositories :
> # rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5
>
> Use it if you want to add a package on your frontend, but avoid to
> update it. It was how I break my first Rocks installation !
>
> If you want to add packages to all your compute nodes, it is best to
> do it the 'Rocks way'.
> That is download the rpm packages, put them in :
> /export/rocks/install/contrib/5.3/x86_64/RPMs
>
> and add them to extend-compute.xml, and rebuild the distribution. It
> is explained in the documentation :
> http://www.rocksclusters.org/roll-documentation/base/5.3/customization-adding-packages.html
>
>
> Good luck !
> Alain
>
--
Antonia Mey, PhD candidate
School of Physics & Astronomy
University Park
Nottingham
NG7 2RD
ppxa...@nottingham.ac.uk
+441159515130
Toni,
Where have you put the proxy details ?. If you have put it in the environment variable http_proxy ,then yum will try to access the Rocks repository through the proxy.
It is always better to input it in the yum.conf file. This is the yum.conf that I use:
==================================================================================
[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
proxy=http://xx.xx.xx.xx:port
proxy_username=user_name
proxy_password=password
distroverpkg=redhat-release
tolerant=1
exactarch=1
assumeyes=1
[Rocks-5.3]
name=Rocks 5.3
proxy=_none_
baseurl=http://10.10.1.1/install/rocks-dist/x86_64
==================================================================================
This way, whatever packages are available in the local Rocks repo are installed and whatever are not in the local repo are fetched from the remote site.
You can try this and let us know how it goes through. Remember to unset the variable http_proxy before running yum again.
regards,
Richard.
--
Antonia Mey, PhD candidate
School of Physics & Astronomy
University Park
Nottingham
NG7 2RD
ppxa...@nottingham.ac.uk
+441159515130
Bart
This message contains information that may be confidential, privileged or otherwise protected by law from disclosure. It is intended for the exclusive use of the Addressee(s). Unless you are the addressee or authorized agent of the addressee, you may not review, copy, distribute or disclose to anyone the message or any information contained within. If you have received this message in error, please contact the sender by electronic reply to em...@environcorp.com and immediately delete all copies of the message.
If you're using SGE you can limit maximum number of running jobs for all users by setting "maxujobs" parameter in "scheduler configuration"
$ qconf -msconf
If you want more fine grained limits based on different users, queues, hosts, etc you should use Resource Quotas System.
$ qconf -mrqs
Then add the following configuration
{
name ppxasjsm
description "specific limitations for user ppxasjsm"
enabled TRUE
limit users ppxasjsm to slots=20
}
For more info refer to SGE documentation at
http://wikis.sun.com/display/GridEngine/Managing+Resource+Quotas
Andi