[Spacewalk-list] Spec pc to run spacewalk

Bushby, Bruce (London)(c) bbushby at maninvestments.com
Wed Mar 10 10:22:57 UTC 2010


What cpus are you using?

I would recommend dual 2Ghz+ for the cpus and increase your memory to
3Gig, 200G disk space is enough but watch your "IO wait" if you're
sharing the spindle
With other applications.

Spacewalk 0.8 installs perfectly on CentOS 5.4 and reposync will sync
CentOS channels without any issues. I have included some bash functions
below to create
And sync channels

Once it's all setup, keep in mind that you cannot use CentOS (5.3 or
5.4) clients with Spacewalk...."yum update" and other "package updates"
WILL FAIL.
I would suggest you stick to a simple apache/centos repo.

Funny thing is...Fedora 12 appears to work 100%, ie you can run "yum
update" on a Fedora 12 client that is registered to Spacewalk 0.8
running on CentOS 5.4

Regards
Bruce




create_centos_64()
{
        LOGIN="--user administrator --password=xxxx --host=spacewalk"

        # CentOS 5.3
        ARCH=" --channel-arch=\"channel-x86_64\""
        PARENT=" --parent=\"centos-5.3-x86_64-server\""

        ID_STRING="--name=\"CentOS Enterprise Linux (v. 5.3 for 64-bit
x86_64)\"  --summary=\"CentOS Enterprise Linux (v. 5.3 for 64-bit
x86_64)\""
        eval "create_channel.py $LOGIN
--label=\"centos-5.3-x86_64-server\" --parent=\"\" $ID_STRING $ARCH"

        ID_STRING="--name=\"CentOS Enterprise Linux CentOSPlus (v.
5.3)\"  --summary=\"CentOS Enterprise Linux CentOSPlus (v. 5.3)\""
        eval "create_channel.py $LOGIN
--label=\"centos-5.3-x86_64-centosplus\" $PARENT $ID_STRING $ARCH"

        ID_STRING="--name=\"CentOS Enterprise Linux Extras (v. 5.3)\"
--summary=\"CentOS Enterprise Linux Extras (v. 5.3)\""
        eval "create_channel.py $LOGIN
--label=\"centos-5.3-x86_64-extras\" $PARENT $ID_STRING $ARCH"

        ID_STRING="--name=\"CentOS Enterprise Linux Updates (v. 5.3)\"
--summary=\"CentOS Enterprise Linux Updates (v. 5.3)\""
        eval "create_channel.py $LOGIN
--label=\"centos-5.3-x86_64-updates\" $PARENT $ID_STRING $ARCH"


        # CentOS 5.4
        ARCH=" --channel-arch=\"channel-x86_64\""
        PARENT=" --parent=\"centos-5.4-x86_64-server\""

        ID_STRING="--name=\"CentOS Enterprise Linux (v. 5.4 for 64-bit
x86_64)\"  --summary=\"CentOS Enterprise Linux (v. 5.4 for 64-bit
x86_64)\""
        eval "create_channel.py $LOGIN
--label=\"centos-5.4-x86_64-server\" --parent=\"\" $ID_STRING $ARCH"

        ID_STRING="--name=\"CentOS Enterprise Linux CentOSPlus (v.
5.4)\"  --summary=\"CentOS Enterprise Linux CentOSPlus (v. 5.4)\""
        eval "create_channel.py $LOGIN
--label=\"centos-5.4-x86_64-centosplus\" $PARENT $ID_STRING $ARCH"

        ID_STRING="--name=\"CentOS Enterprise Linux Extras (v. 5.4)\"
--summary=\"CentOS Enterprise Linux Extras (v. 5.4)\""
        eval "create_channel.py $LOGIN
--label=\"centos-5.4-x86_64-extras\" $PARENT $ID_STRING $ARCH"

        ID_STRING="--name=\"CentOS Enterprise Linux Updates (v. 5.4)\"
--summary=\"CentOS Enterprise Linux Updates (v. 5.4)\""
        eval "create_channel.py $LOGIN
--label=\"centos-5.4-x86_64-updates\" $PARENT $ID_STRING $ARCH"
}


create_fedora_64()
{
        LOGIN="--user administrator --password=xxxxxx --host=spacewalk"

        ARCH="--channel-arch=\"channel-x86_64\""
        PARENT="--parent=\"fedora-12-x86_64\""

        ID_STRING="--name=\"Fedora Linux (v. 12 for 64-bit x86_64)\"
--summary=\"Fedora Linux (v. 12 for 64-bit x86_64)\""
        eval "create_channel.py $LOGIN --label=\"fedora-12-x86_64\"
--parent=\"\" $ID_STRING $ARCH"

        ID_STRING="--name=\"Fedora Linux Updates (v. 12)\"
--summary=\"Fedora Linux Updates (v. 12)\""
        eval "create_channel.py $LOGIN
--label=\"fedora-12-x86_64-updates\" $PARENT $ID_STRING $ARCH"
}



sync_centos()
{
        # CentOS 5.3
        URL="http://vault.centos.org/5.3"
        /usr/bin/spacewalk-repo-sync --channel centos-5.3-x86_64-server
--url $URL/os/x86_64/ --type yum --label centos5-base
        /usr/bin/spacewalk-repo-sync --channel
centos-5.3-x86_64-centosplus --url $URL/centosplus/x86_64/ --type yum
--label centos5-centosplus
        /usr/bin/spacewalk-repo-sync --channel centos-5.3-x86_64-extras
--url $URL/extras/x86_64/ --type yum --label centos5-extras
        /usr/bin/spacewalk-repo-sync --channel centos-5.3-x86_64-updates
--url $URL/updates/x86_64/ --type yum --label centos5-updates

        # CentOS 5.4
        URL="http://mirror.liteserver.nl/pub/centos/5.4"
        /usr/bin/spacewalk-repo-sync --channel centos-5.4-x86_64-server
--url $URL/os/x86_64/ --type yum --label centos5-base
        /usr/bin/spacewalk-repo-sync --channel
centos-5.4-x86_64-centosplus --url $URL/centosplus/x86_64/ --type yum
--label centos5-centosplus
        /usr/bin/spacewalk-repo-sync --channel centos-5.4-x86_64-extras
--url $URL/extras/x86_64/ --type yum --label centos5-extras
        /usr/bin/spacewalk-repo-sync --channel centos-5.4-x86_64-updates
--url $URL/updates/x86_64/ --type yum --label centos5-updates
}


sync_fedora()
{
        # Fedora 12
        URL="http://mirror.switch.ch/ftp/mirror/fedora/linux"
        /usr/bin/spacewalk-repo-sync --channel fedora-12-x86_64 --url
$URL/releases/12/Everything/x86_64/os/ --type yum --label fedora12
        /usr/bin/spacewalk-repo-sync --channel fedora-12-x86_64-updates
--url $URL/updates/12/x86_64/ --type yum --label fedora12-updates
}


-----Original Message-----
From: spacewalk-list-bounces at redhat.com
[mailto:spacewalk-list-bounces at redhat.com] On Behalf Of rob morrien
Sent: 10 March 2010 07:18
To: spacewalk-list at redhat.com
Subject: [Spacewalk-list] Spec pc to run spacewalk

hello to all


what are the specs od a pc to run  spacewalk on it.?

at this moment i have a pc with centos 5.4 1Gb memory and 200gb disk
space.

regards rob

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

**********************************************************************
 Please consider the environment before printing this email or its attachments.
The contents of this email are for the named addressees only.  It contains information which may be confidential and privileged.  If you are not the intended recipient, please notify the sender immediately, destroy this email and any attachments and do not otherwise disclose or use them. Email transmission is not a secure method of communication and Man Investments cannot accept responsibility for the completeness or accuracy of this email or any attachments. Whilst Man Investments makes every effort to keep its network free from viruses, it does not accept responsibility for any computer virus which might be transferred by way of this email or any attachments. This email does not constitute a request, offer, recommendation or solicitation of any kind to buy, subscribe, sell or redeem any investment instruments or to perform other such transactions of any kind. Man Investments reserves the right to monitor, record and retain all electronic communications through its network to ensure the integrity of its systems, for record keeping and regulatory purposes. 
Visit us at: www.maninvestments.com 
TG0908
**********************************************************************





More information about the Spacewalk-list mailing list