Archive for September, 2007

Bulk testing syslog

Or use the script below to that a whole bunch of machines to make sure remote sysloging is working.

#!/bin/sh
# Written By: BAB
#Purpose: to make sure syslog is working properly

echo “starting to test syslog”

for server in `cat /opt/scripts/machine list` # file with only one machine per a line resoveable via DNS

do
ssh root@$server logger -p local3.alert “Hello World”
echo “done testing syslog”
done

So if you don’t see the machine’s name in your syslog file then there is something wrong.

Comments

set permissions for raw volumes in Veritas Volume Manager

vxedit -g sydata set user= group= mode= NameRawPart

Comments

how to replace a failed hard disk under Veritas Volume Manager

I will be explaining how to replace a failed disk that is under Varitas Volume Manager’s control.

Take the disk out of Veritas Volume Manager

vxdiskadm

slect option
4 Remove a disk for replacement
select the disk to be removed
take the disk out of the machine
put new disk into the machine
then

# vxdctl enable

to casuse veritas Volume Manager to re read all the disks

5 Replace a failed or removed disk

no Encapsulate
yes initialize

Comments

« Previous Page« Previous entries « Previous Page · Next Page » Next entries »Next Page »