General server overview

Latest response

We recently acquired another company that has a few RHEL 4/5 servers.  The support people have moved on to other opportunities, so while we have logins, we have little documentation on what these servers do or where they are related to security patches, etc.

 

In addition to last login, general hardware and disk configuration, chkconfig list and rpm list, what other information would you target to get a general idea of the configuration?

 

Without being able to connect to RHN, it there a way to find out what patches may have been applied (a default log)?

 

Thank you,

Dave

 

 

Responses

Dave,

 

 

A nice start to create a server overview is: cfg2html-linux, http://www.cfg2html.com

 

We use that for our documentation.

 

 

Kind regards,

 

 

Jan Gerrit Kootstra

Dear Dave,

 

As I am understning from your condition, you can use sysreport as well its updated version sosreport to gather all the system related information.

 

https://access.redhat.com/kb/docs/DOC-1208

 

https://access.redhat.com/kb/docs/DOC-3593

 

***Please correct me if I am wrong.***

 

 

rhds,

 

Shyfur

Thank you, Jan and Shyfur,

 

Yes, I've looked at sysreport and will try sosreport as well. 

 

Hi Dave,

 

Some good things to check out will be the following files:

 

/etc/redhat-release - Exact point release you're running

 

/var/log/yum.log - A history of package updates

 

If you want a listing of every package and its version:

 

# rpm -qa

 

All this info will be in any sys/sosreports created so that's handy!

 

Edit:

 

Also it might be worth checking the contents of dmesg, often found in /var/log/dmesg in sosreports. dmidecode is also useful for getting exact hardware information.

 

Here in Red Hat Support we utilise the sosreports a lot and find them to be an invaluable resource. Hopefully they will be to you as well. :)

 

Cheers,

 

Rohan