LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to identify Red Hat Server 'type' in rel 5? (http://www.linuxquestions.org/questions/linux-general-1/how-to-identify-red-hat-server-type-in-rel-5-a-666143/)

gdkenoyer 08-28-2008 04:38 PM

How to identify Red Hat Server 'type' in rel 5?
 
In earlier version of RHEL one could simply dump out /etc/redhat-release to determine if an install was WS, ES or AS. For example:
cat /etc/redhat-release
Red Hat Enterprise Linux ES release 3 (Taroon Update 4)

cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
From what I can find the distinction between AP and base Server has been lost for release 5 with both showing:
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5 (Tikanga)
Using the Installation number may possibly reveal this info but my environment does not require such as we are not connected to a redhat network or proxy.

Does anyone have a method to differentiate between RHEL5 Server and Advanced Platform…?

tgreaser 08-28-2008 05:36 PM

what dose cat /etc/grub.conf say ?
good question...

gdkenoyer 09-02-2008 12:43 PM

Ah, good try, thanks!

Unfortuantely I am told where:
RHEL 4 grub.conf will have something like this:
title Red Hat Enterprise Linux AS (2.6.9-78.0.1.EL)
You now find:
RHEL 5 will have something like this:
title Red Hat Enterprise Linux Server (2.6.18-92.1.10.el5) (non-xen kernel)
or
title Red Hat Enterprise Linux Server (2.6.18-92.1.10.el5xen) (xen enabled kernel)
and a Desktop will say something like Red Hat Enterprise Linux Client etc.
Nothing to differentiate mere RHEL from RHEL AS, or, for that matter, to differentiate MultiOS or Workstation...

Greg Kenoyer
Colorado Springs

tgreaser 09-03-2008 07:16 PM

Red Hat Enterprise Linux
(Up to 2 sockets)
Red Hat Enterprise Linux Advanced Platform
(Unlimited sockets)

from rhels site http://kbase.redhat.com/faq/FAQ_43_4422.shtm
rpm -q --queryformat "%{VERSION}" redhat-release | more

So if your running Enterpise which I know for a fact that all the rhel 5 boxes
we have are Enterprise.. output is 5server

sorry i cant test with a box i know is an Advanced Platform

here is the output from a 4 AS server
4AS4AS
(thats not a typeo that what it spit out)


Anyone have a Rhel 5 advanced platform box .. I will post this to the redhat mail list.. as i
know people from redhat read it.. and i know they have to have one of those running ...

Also .. told you .. that you had a good question.. in looking into this i found a cool script .
sosreport from package sos-1.7-9.2.el5_2.2

give it a spin... looks like thats what redhat uses for system reports like cisco does with its
show tac command.. gives you a spit out of the current system ... lots of info...

tgreaser 09-03-2008 07:38 PM

LOL.. trouble shooting a diff issue for a guy at work..
check out file:///usr/share/doc/HTML/en-US/index.html
in your browser!!! lol.. I swear its a small world..

gdkenoyer 09-04-2008 11:28 AM

Quote:

Originally Posted by tgreaser (Post 3268887)
.. I will post this to the redhat mail list.. as i know people from redhat read it.. and i know they have to have one of those running ...

actually, I posted here because it's got our RH folks stymied...I'm sending the --queryformat suggestion to them now.

Thanks again!

btw: running sosreport as I type!

Greg Kenoyer
Colorado Springs

gdkenoyer 09-04-2008 12:23 PM

Quote:

Originally Posted by tgreaser (Post 3268887)
from rhels site http://kbase.redhat.com/faq/FAQ_43_4422.shtm
rpm -q --queryformat "%{VERSION}" redhat-release | more

Well, dang.

RHEL AP also outputs a mere 5Server, just as does the basic Server.

Our RH folks tell me that their only answer (to date) is to use the Red Hat Network tools, which in turn rely on the Entitlement numbers. This is not a "good thing" for disconnected networks utilizing YUM servers (non-RedHat YUM servers).

Greg Kenoyer
Colorado Springs


All times are GMT -5. The time now is 10:55 PM.