Operating System - HP-UX
1833588 Members
4161 Online
110061 Solutions
New Discussion

Server configuration_ check script

 
joseph51
Regular Advisor

Server configuration_ check script

Hi,

I am trying to writ once script to check the main configuration on the server and pull out the report ..

for eg: check the save crash is disabled or enabled ..I used the command

grep -i savecrash /etc/rc.config.d/savecrash

Please some one tell me which are the main configuration need to check ..like as I told for save crash ..
4 REPLIES 4
Jim Walls
Trusted Contributor

Re: Server configuration_ check script

You could save yourself a lot of work by using CFG2HTML; Obtainable here: http://www.cfg2html.com/

This will record most of the important and useful information about your server(s). We run it once per week and keep the reports in a central repository for reference.

Once that is set up you need only write some scripts for the bits it doesn't record.

joseph51
Regular Advisor

Re: Server configuration_ check script

Thanks for the information
rariasn
Honored Contributor

Re: Server configuration_ check script

Hi Binu:

- Check vmunix messages
grep -i vmunix /var/adm/syslog/syslog.log

- Check powerfailed messages
grep -i powerfail /var/adm/syslog/syslog.log

- Check lpmc messages
grep -i lpmc /var/adm/syslog/syslog.log

- Check EMS messages
grep EMS /var/adm/syslog/syslog.log

- Check cimserver messages:
grep cimserver /var/adm/syslog/syslog.log

- Check NO HARDWARD paths
ioscan -fnC disk|grep NO_HW

- Check password file modifications
- Check group file modifications

- Check internal consistency of Auth database
authck -vp

- Verify default tcb file
/tcb/files/auth/system/default

- Verify /etc/inetd.conf modifications

- Verify /etc/shutdown.allow file

- Verify mirror disk configuaration

- Verify /etc/rc.configd./netconf modifications

- Verify /etc/fstab file modifications

- Verify /etc/inittab file modificatios


adn more

rgs,

joseph51
Regular Advisor

Re: Server configuration_ check script

HI rariasn, This will really help me ..

If you knaow any configurationcheck .. like eg : should enable save crash in savecrash file . and like this ..any major configuration need to check in any configuration file