Gathering system configuration


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Gathering system configuration
# 1  
Old 10-18-2004
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
# 2  
Old 10-18-2004
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.
# 3  
Old 10-18-2004
Maybe you could use this one! I find it great for making documentation regarding OS cofigurations.

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

/peter
# 4  
Old 10-18-2004
I also liek to make a file with the output from format for the disk layout.
# 5  
Old 10-19-2004
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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Ubuntu

Create a CD with snapshot of the system after install and configuration

Hello folks, I pretend install Lubuntu 16.04 LTS in pc for any employer use this pc! I think create an user with, only, permission to read and write, 770. This is the best scenario? I think create this user through terminal, because I pretend create a script, and I don't where wizard has... (0 Replies)
Discussion started by: enodev
0 Replies

2. Shell Programming and Scripting

my system configuration

Here with I am submitting a script , which is made for my use. It may be useful for anyone. I did't given in functions and all.... I am posting in this forum , because anyone can reply to this thread , for any change/addition. And yea , suggestions awaiting..:) #!/bin/bash # #... (3 Replies)
Discussion started by: linuxadmin
3 Replies

3. Solaris

system configuration

how to identify if the machine is sun4u ? is this model a sun4u machine ? Model : Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 300MHz), (2 Replies)
Discussion started by: sudhiroracle
2 Replies

4. Shell Programming and Scripting

To check the system configuration on Sun solaris

Hi, Could you pls. let me know what is cammand in unix to check the system configuration on Sun solaris. Thanks in advance. Cheers (2 Replies)
Discussion started by: krackjack
2 Replies

5. UNIX for Advanced & Expert Users

Script to get system configuration

Hi, We have >1000 UNIX boxes in our environment with various UNIX flavors like Solaris, HP-UX and Redhat Linux ES 3/4/5. We need to collect their system configuration like - No. of CPUs and their frequencies - RAM Size - No. of HDDs installed and their usage - Exact OS Version and its... (3 Replies)
Discussion started by: prvnrk
3 Replies

6. Shell Programming and Scripting

System Configuration Extraction

Hi All, Im trying to extract a bunch of systems configuration. I have created a file called data.txt and used the below scripts to run extraction of data. Content of data.txt: /etc/passwd /etc/shadow /etc/cron.allow On the Linux terminal, I entered the following commands to execute my... (4 Replies)
Discussion started by: nerd
4 Replies

7. HP-UX

HP-UX configuration gathering tool

Hello! I would like to introduce a tool for gathering information on the HP- UX operating system. I would like to hear experts opinions about this utility, its prospects and usefulness. Any feedbacks, suggestions, bug reports, feature requests etc are welcome. The tool project web page:... (0 Replies)
Discussion started by: ahaidukov
0 Replies

8. UNIX for Dummies Questions & Answers

System boot configuration

On my PC I have two hard disks, the first with Windows 98 SE and the second with Linux Mandrake 8.0 (Traktopel). When I have installed Linux, it has modified the boot record of the 1st HD and it has added a graphic menu (LILO) for selecting the OS to use. By default, if I don't press a key, Linux... (2 Replies)
Discussion started by: robotronic
2 Replies

9. UNIX for Dummies Questions & Answers

How to the configuration of the system

How to know configuration information of the system. like (1) memory assigned for RAM - ? (2) How much is the Hard disk -? (3) processor I used uname and du -k commands. But i couldn't get information about RAM. which command gives this info (3 Replies)
Discussion started by: ds_sastry
3 Replies
Login or Register to Ask a Question