Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

gathering system configuration

Status
Not open for further replies.

hcclnoodles

IS-IT--Management
Jun 3, 2004
123
GB
Hi there, I have been asked to write a script that gathers enough information on our Sun Solaris machines to be able to rebuild and configure them if they should go pop.

My question is does anybody have any suggestions on the files that I need to take a copy of, to ensure that everything is covered, so far I have the following

df -k
netstat -rn
ifconfig -a
/etc/vfstab
/etc/dfstab
/etc/system


what else would i need?

any help would be greatly appreciated
 
You would need all or /etc really.

prtconfig -v would reveal all the hardware settings.

Any data files I assume are backed up elsewhere?

Matthew

Family motto: Curvus, non infractus.
The Universe: God's novelty screensaver?
 
Also you should use prtvtoc (can't remember the flags) to get the full disk configuration (Also, if anything happens you don't need to manually format the disk). If you're running Veritas VM you'll need a vxprint -ht (Or some more flags to automatize the volume creation).

S.
 
There is a utility called "cfg2html" that will gather everything about your system and create an html page for you. You can either google search for it or I can send it to you via email.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top