The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sun Solaris Server Configuration System Files nerd SUN Solaris 2 11-14-2007 03:49 AM
System Configuration Extraction nerd Shell Programming and Scripting 4 11-08-2007 10:48 PM
HP-UX configuration gathering tool ahaidukov HP-UX 0 08-30-2007 04:51 AM
System boot configuration robotronic UNIX for Dummies Questions & Answers 2 04-19-2002 11:23 AM
How to the configuration of the system ds_sastry UNIX for Dummies Questions & Answers 3 09-29-2001 07:29 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 10-18-2004
Registered User
 

Join Date: Mar 2002
Posts: 194
Gathering system configuration

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
Reply With Quote
Forum Sponsor
  #2  
Old 10-18-2004
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
If you have local accounts: /etc/passwd and /etc/shadow

/etc/group
If you use DNS - /etc/resolv.conf (if it's a DNS server, there are more files but it matters how the server was set up on their location)

/etc/inittab
/etc/services
Output from eeprom
/etc/hosts
/etc/hosts.allow, /etc/hosts.deny, /etc/hosts.equiv
If using DiskSuite (SUN's disk product SUNWmd)
/etc/opt/SUNWmd/ md.cf, md.tab, mddb.cf
If using Vertias volume manager
output from vxprint, vxprint -th, vxdisk list
If running Oracle or Sybase
/var/opt/oracle/oratab /opt/sybase/interfaces

Could be more but that's all I can think of/find at this time.
Reply With Quote
  #3  
Old 10-18-2004
s93366's Avatar
Registered User
 

Join Date: Apr 2002
Location: Sweden
Posts: 159
Maybe you could use this one! I find it great for making documentation regarding OS cofigurations.

http://freshmeat.net/projects/cfg2html/

/peter
Reply With Quote
  #4  
Old 10-18-2004
Registered User
 

Join Date: Jan 2004
Location: Australia
Posts: 170
I also liek to make a file with the output from format for the disk layout.
Reply With Quote
  #5  
Old 10-19-2004
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
they is no need to write script, simple download and install Sun Explorer data Collector from http://sunsolve.sun.com/pub-cgi/show...lorer/explorer

the Explorer wiil take all image of your system include disk layout, memory and third party software install.
which you could you to build your system in case it pop.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 02:57 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0