Monthly Archives: September 2012

Updated dsfw_processchk script 2.1.5

I updated the dsfw_processchk script to not only check all essential DSfW processes, but to handle multiple pids for the xadsd process.  The script is great to use if you are worried that a DSfW process will stop and you don’t want to receive several phone calls alerting you to the problem or the DSfW server has been unstable you you need to time track down the invalid requests hitting the DSfW server.

The script will report which processes are running or have stopped. It works by validating that a PID exists for each process. If a process is not running the script has the option to restart the services, send an e-mail that a process has stopped, and update the syslog.

Key configuration

# Set RESTART_DSFW to 1 to reload DSfW services if one or service is not running,
# Set RESTART_DSFW to 0 to leave the services… Continue reading

VMWare and best practices for Timekeeping

Lately I’ve been getting a lot of requests for timekeeping best practices for VMWare

VMWare has a great support article on this.  Below are the SLES recommendations.  The article can be found here

 

SLES 11 (All updates) No additional kernel parameters required.
SLES 10 SP4 on ESX 5.0 and later clock=pmtmr
hpet=disable
SLES 10 SP4 on ESX 4.x Use a VMI enabled kernel.
SLES 10 SP3 on ESXi 5.0 clock=pmtmr
hpet=disable
SLES 10 SP3 on ESX 3.5 and 4.x Use a VMI enabled kernel.
SLES 10 SP3 on ESX 3.0.x and earlier clock=pmtmr
hpet=disable
SLES 10 SP2 on ESXi 5.0 clock=pmtmr
hpet=disable
SLES 10 SP2 on ESX 3.5 and 4.x Use a VMI enabled kernel.
SLES 10 SP2 on ESX 3.0.x and earlier clock=pmtmr
hpet=disable
SLES 10 SP1 clock=pmtmr
hpet=disable
SLES 10 clock=pmtmr
hpet=disable
SLES 9 (All updates) clock=pmtmr
hpet=disable
SLES 8 No additional kernel parameters required.… Continue reading

Script to check if ports are listening

If you are concerned about a DSfW service going down and or the port is not accessible, this script will help keep the services up or notify you of a service going down.  The script will check if each DSfW service is listening, then telnet to each port.  If it can not telnet, the script will log which port is not accessable in the /var/opt/novell/xad/log/dsfw_portchk.log.

The dsfw_portchk.sh script can be ran on PDC or ADC, running Novell DNS or not running Novell DNS.

The script can also e-mail and restart the services if desired.

It will detect if the server has IPv6 enabled so to properly detect the correct port Samba and NetBios is listening on.

The script detects if Novell DNS is configured to start.  Some times on ADC servers DNS is not configured or is not set to run.  The original script… Continue reading

Categories