LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Suggestions please- Centralized linux management (https://www.linuxquestions.org/questions/linux-software-2/suggestions-please-centralized-linux-management-4175538445/)

jeffrosquad 04-01-2015 12:08 PM

Suggestions please- Centralized linux management
 
I would like to spend my "spare" time setting up an opensource solution to centrally manage my patching and be able to see server stats. Anyone familiar with any that may be quick and easy to get up and running?

I have tinkered with Spacewalk, could never get it installed. Looked at Puppet.

Any suggestions will be greatly appreciated.

rtmistler 04-01-2015 12:25 PM

Have you tried to build Spacewalk from source?

jstephens84 04-01-2015 12:26 PM

for red hat look into satellite http://www.redhat.com/en/technologie...orms/satellite

T3RM1NVT0R 04-01-2015 12:57 PM

Are you looking for paid or free software? What problems did you face with spacewalk setup? Are you looking only for patching or for configuration management as well as for VMs deployment?

jeffrosquad 04-01-2015 02:50 PM

I am using Oracle Linux and looking for something free. Company too cheap to pay for software but I would still like to make my life easier. When attempting to install spacewalk, I set up the repos and tried to install from there and could never get out of dependency hell.

T3RM1NVT0R 04-01-2015 02:55 PM

Alright. So spacewalk is free, maybe you want to give it a try again. Here are the documents you will find useful:

1. http://www.nextstep4it.com/spacewalk...n-centos-rhel/

2. http://spacewalk.redhat.com/documentation.html

The first link will give you step by step instructions on setting up spacewalk (including repos that you should subscribe for) this should fix dependency issue that you had earlier.

jeffrosquad 04-02-2015 08:30 AM

Dependencies
 
Still getting dependency errors on step 3. Going to blow this machine away and create a new vm, who knows what may be residual from previous attempts.

rpm -Uvh http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
warning: /var/tmp/rpm-xfer.0sEIeY: Header V3 RSA/SHA256 signature: NOKEY, key ID 0608b895
error: Failed dependencies:
rpmlib(FileDigests) <= 4.6.0-1 is needed by epel-release-6-8.noarch
rpmlib(PayloadIsXz) <= 5.2-1 is needed by epel-release-6-8.noarch

jstephens84 04-02-2015 08:39 AM

Can you try the following
Code:

yum install http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm

jeffrosquad 04-02-2015 08:41 AM

yum install http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
Loaded plugins: security
Setting up Install Process
No package http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm available.
Nothing to do

jstephens84 04-02-2015 08:55 AM

Can you download that rpm first then try and run the yum command again but this time just use the local file name with out the http:

IE if you download it to Downloads
Code:

cd Downloads
yum install epel-release-6-8.noarch.rpm


jeffrosquad 04-02-2015 09:28 AM

I started with a fresh load of rhel6 and didnt get the dependency errors.........proceeding onward with install. Fingers crossed

jeffrosquad 04-02-2015 09:41 AM

Ok, now to the next........

yum install spacewalk-setup-embedded-postgresql
epel/metalink | 14 kB 00:00
epel | 4.4 kB 00:00
epel/primary_db | 6.5 MB 00:09
Setting up Install Process
No package spacewalk-setup-embedded-postgresql available.
Error: Nothing to do


Here are my yum repos
yum repolist
repo id repo name status
epel Extra Packages for Enterprise Linux 6 - x86_64 11,362
jpackage-generic JPackage generic 3,307
local_ol6_addons Oracle Linux 6Server - x86_64 - addons 210
local_ol6_latest Oracle Linux 6Server - x86_64 - latest 23,723

When I was installing previously, there were spacewalk repos installed with
rpm -Uvh http://yum.spacewalkproject.org/2.2/...el6.noarch.rpm

Those are not in the instructions you sent, should I add that repo?

Yum search produces:
yum search spacewalk
epel/metalink | 14 kB 00:00
epel | 4.4 kB 00:00
epel/primary_db | 6.5 MB 00:07
ftp://jpackage.hmdc.harvard.edu/JPac...ta/repomd.xml: [Errno 14] PYCURL ERROR 9 - "Server denied you to change to the given directory"
Trying other mirror.
jpackage-generic | 1.9 kB 00:00
jpackage-generic/primary_db | 1.0 MB 00:00
local_ol6_addons | 2.5 kB 00:00
local_ol6_addons/primary_db | 176 kB 00:00
local_ol6_latest | 3.0 kB 00:00
local_ol6_latest/primary_db | 64 MB 00:00
==================================== N/S Matched: spacewalk ====================================
spacewalk-pylint.noarch : Pylint configuration for spacewalk python packages
spacecmd.noarch : Command-line interface to Spacewalk and Satellite servers
spacewalk-proxy-docs.noarch : Spacewalk Proxy Server Documentation
rhn-client-tools.noarch : Support programs and libraries for Unbreakable Linux Network
rhnsd.x86_64 : Unbreakable Linux Network query daemon

rtmistler 04-02-2015 09:49 AM

Repeat:
Quote:

Originally Posted by rtmistler (Post 5340980)
Have you tried to build Spacewalk from source?



http://spacewalk.redhat.com/download.html

Quote:

Latest Source

The latest source code is available through the git source control system:

git clone git://git.fedorahosted.org/spacewalk.git/

Source can also be browsed with gitweb:

Spacewalk

For more information please visit the Spacewalk developer wiki.

T3RM1NVT0R 04-02-2015 01:12 PM

Did you setup the repo as mentioned in the instruction
Code:

rpm -Uvh http://yum.spacewalkproject.org/1.9/RHEL/6/x86_64/spacewalk-repo-1.9-1.el6.noarch.rpm
If that does not work then you might be interested in browsing the location by entering the following in address bar of your browser:

Code:

http://yum.spacewalkproject.org/
To see if there is any updated version after 1.9 available or not.

This happened to me when I was trying to setup Openstack on CentOS 7 and finally had to browse the URL to find if there is any updated repo available.

You could also try the way explained by rtmistler.

TenTenths 04-03-2015 01:55 AM

We're getting along ok with SaltStack here for config management.


All times are GMT -5. The time now is 07:46 PM.