September 16, 2007 at 12:26 pm
· Filed under Scripts
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.
Permalink
September 6, 2007 at 1:40 pm
· Filed under Veritas Volume Manager, tips
vxedit -g sydata set user= group= mode= NameRawPart
Permalink
September 6, 2007 at 1:32 pm
· Filed under Veritas Volume Manager, tips
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
Permalink