Question : Shell command to find information on a solairs or redhat box.

I had this forwarded to me:

I need 1 script to find this information on redhat
            1 script to find this information on Solaris 8-10


Number of Physical Internal Hard drives
•      Collect the number of physical hard drives.

RAID Level
•      Collect the RAID configuration.  Ultimately, I would like to be able to read the script so I can determine and record the following info in the work order:  2 x 146GB RAID 1=0
•      If there is no RAID configuration, then is VERITAS being used to mirror any of the drives?  I recently discovered that is the case on a lot of ML servers.

Server Mount Listing Request
•      The current script is not always finding all of the existing server mounts (i.e. NFS mounts).  It would be very helpful if we could add a command to the script that will list all the mounts on a server.  For example, the command “mount –l” on a Linux server should provide this listing.

NIC Info
•      Is there a way to tell for sure if the NICs are teamed or if the NICS are bonded?
•      Are the NICS set to Active/Active or Active/Standby?

Console connectivity
•      Can we tell if the server has RILO/ILO, Cyclades/Lightwave or Terminal Server?

Databases
•      Is there a way to collect all of the DB name instances and DB sizes (GB)?
•      Database Transaction Profile (i.e. OLTP, OLAP, Batch)

Answer : Shell command to find information on a solairs or redhat box.

Hi,

Visit http://scc.qnh-infrastructure.nl/

By using this software (basically it is a script which collects and store the info in HTML formats)
You can collect much more information what you require, even the configuration of software settings as well as hardware is saved as snapshot which can be used later to compare with previously generated snapshot in case of malfunctioning. and the best part is it supports almost all the widely used OS.

Random Solutions  
 
programming4us programming4us