Sunday, May 18, 2008

Fast CPU Util on Netware Virtual Machine

Running VMWare Server 1.0.5
Host: Linux CentOS 5.1

Cloned Netware 6.5 SP5 server using Portlock Storage manager into a virtual machine.

Had issue that vmware-vmx was always at 100%+ on CPU utilization even when server was not doing anything. This is even after installing vmware tools.

Changed settings of virtual machine from 2 processors to 1 and this solved the problem.

Thursday, May 15, 2008

Ethernet settings

ethtool eth0
will give results also
dmesg | grep -i duplex

Thursday, May 8, 2008

Script to send email alerts from Perc 5/i on PowerEdge running CentOS 5.1

Updated: 2008-05-15: see below

Need to get an alert if one of the hard drives fail on my PowerEdge 1900 running CentOS 5.1 and Dell's OMSA.

Nagios and ITA seem a little hard to swallow...would like something simple. Some links below talk about this issue with the Perc 5/i.

Discussion on MegaRAID_SAS driver on PowerEdge

http://www.techno-obscura.com/~delgado/weblog/archives/2007/05/sles10_and_mega_1.html

Discussion on Perc 5/i inaudible alarm and possible script to use with omreport

http://msmvps.com/blogs/onq/archive/2007/03/30/on-dell-s-perc-5-i.aspx

Another possible to use to supplement alerts...but probably not storage
http://www.lampdeveloper.co.uk/linux/email-alerts-from-dell-poweredge-using-omreport.html

Ok. End result. Spent a lot time on the script in comments section of the msmvps.com link above. Couldn't get it to work. Bash didn't like the pipe command in the strings. So I brushed up on my VERY minimal perl skills and created the following to run in cron daily:


#!/usr/bin/perl

# A simple perl program to send alerts if problem found with physical disks
# by using OMSA 5.2 for Dell PowerEdge
# I do not provide any guarantee that this script will work. Use at own risk.

#Written: May 2008
#By: Jerod Hammerstein

$controller="0";
$emailaddress="jerod\@yourdomain.com";
$omreport="/usr/bin/omreport";
$mail="/bin/mail";
$servername="yourservername";

# run omreport command and put into olist

open(LS, "$omreport storage pdisk controller=$controller |");
while() {
chomp;
push @olist, $_;
}
close(LS);

# Go through each line in olist to look for "Critical", "Rebuilding", or
# "Failure Predicted : YES"

$email=0;
$subject="";

foreach $line(@olist){
if ($line =~ /Critical$/i) {
$email=1;
$subject="$servername Hard Drive Critical";
}
if ($line =~ /Failure$/i) {
$email=1;
$subject="$servername Hard Drive Rebuilding";
}
if ($line =~ /^Failure\sPredicted(\s)+:\sYes$/i) {
$email=1;
$subject="$servername Hard Drive Predicted to Fail";
}
}

#If something was found email will = 1 so send email
if ($email==1) {
system("$omreport storage pdisk controller=$controller | $mail -s '$subject' $emailaddress");

}



Ran as root

crontab -e

Then put

0 8 * * * /root/checkRAID.pl

in the crontab file.

I'm sure I could have done a better job in the regular expressions (and probably in most of the code), but it's simple and it works. Most of all I think it is very understandable compared to many perl scripts I've seen.

Feel free to use and alter... You will need sendmail installed..you can keep port 25 blocked on your external interface in your firewall as it uses the lo interface. No guarantees it will work for you though.

The dell poweredge list serv had a message that someone uses to have it alert of disk problems:


omconfig system alertaction event=pdiskwarn execappath="(script
to send email)"


I tried this on my Dell PowerEdge 1900 using a simple perl script in the execappath that works otherwise and I got

Error! Hardware subsystem reports command failed.

Fixing Line Endings

Getting error when running bash file in terminal. Something about bad interpreter /bin/sh^M

I knew it had to due to line endings between Windows and Linux. Found this cool command from Waldo at http://www.macosxhints.com


There are many places where PERL is incredibly handy. This is one of them. You can use
PERL on the command line to change the line ending ( a '\r' (Mac) to a '\n' (UNIX) ):

perl -pi -e 's/\r/\n/g'

I have put an alias in my .bashrc file that looks like this:

alias fle="perl -pi -e 's/\r/\n/g' "

Now I just type fle and everything works file. I use "fle" for "fix line endings," but
yo can use anything you want to.


Worked very well

Wednesday, May 7, 2008

Getting alert after installing OMSA saying I need to install newer megaraid_sas driver

Current config

Firmware Version 5.2.1-0067
Driver Version 00.00.03.10
Minimum Required Driver Version 00.00.03.13

Determined from Dell site (support.dell.com) that my firmware is currently up-to-date but the megaraid_sas driver is not..the latest is 00.00.03.16

My question since I plan to remove Dell's OMSA is whether this driver is the same as LSI's. I want to use LSI's MegaRAID Storage Manager since it has a feature to email if a drive goes bad. Apparently the Perc 5/i (really an LSI product, MegaRAID SAS 8480E) has the audible alarm feature disabled or unavailable and their OMSA does not support alerting via email. Crazy.

LSI's set has RedHat version 5 (I'm running CentOS 5.1) megaraid_sas driver version 00.00.03.13-1. Dell's is version 3.16. Looking at the docs on Dell's site, they added a few fixes from version 3.09..none of them appear to affect me.

1. Driver changes to avoid system hang during OS installation when Patrol Read is running on AMD platforms.
2. Installation script changes to support additional RHEL & SLES versions and updates or service packs.
3. Added precompiled binaries to support additional kernel modes.
4. IO management changes to meet Linux community requirements.
5. Fixed problem handling IO's to XFS file system with LUKS encryption on SLES10.


Hmmmm. I'm thinking I want to be as safe as possible with the integrity of the RAID. I'm going to try Dell's driver.

Downloaded driver from Dell's site:

Instructions for Dell's site:

3.3 Adding/Updating the PERC Driver to an Existing Linux system
---------------------------------------------------------------

1 Install the DKMS rpm package if needed. Use this command
"> rpm -ivh "

NOTE: Use rpm -Uvh when updating an existing package.

2 Install the Driver package. Use this command
"> rpm -ivh "

3 Verify the driver has been loaded with this system command:
"> lsmod megaraid_sas"
and this dkms commands:
"> dkms status"
The version shown in the output should match in both cases and
with the version of the package.


Did the installation instructions here's the output:

[root@vm01 nwi]# rpm -ivh megaraid_sas-v00.00.03.16-1.noarch.rpm
Preparing... ########################################### [100%]
1:megaraid_sas ########################################### [100%]

Loading tarball for module: megaraid_sas / version: v00.00.03.16

Loading /usr/src/megaraid_sas-v00.00.03.16...
Creating /var/lib/dkms/megaraid_sas/v00.00.03.16/source symlink...

DKMS: ldtarball Completed.

Kernel preparation unnecessary for this kernel. Skipping...
applying patch rhel5-ga.patch...patching file megaraid_sas.c
patching file megaraid_sas.h


Building module:
cleaning build area....
make KERNELRELEASE=2.6.18-53.1.14.el5 -C /lib/modules/2.6.18-53.1.14.el5/build SUBDIRS=/var/lib/dkms/megaraid_sas/v00.00.03.16/build modules....
cleaning build area....

DKMS: build Completed.
Running module version sanity check.

megaraid_sas.ko:
- Original module
- Found /lib/modules/2.6.18-53.1.14.el5/kernel/drivers/scsi/megaraid//megaraid_sas.ko
- Storing in /var/lib/dkms/megaraid_sas/original_module/2.6.18-53.1.14.el5/x86_64/
- Archiving for uninstallation purposes
- Installation
- Installing to /lib/modules/2.6.18-53.1.14.el5/kernel/drivers/scsi/megaraid//

depmod....

Saving old initrd as /boot/initrd-2.6.18-53.1.14.el5_old.img
Making new initrd as /boot/initrd-2.6.18-53.1.14.el5.img
(If next boot fails, revert to the _old initrd image)
mkinitrd.....

DKMS: install Completed.
[root@vm01 nwi]#

Tuesday, May 6, 2008

Installing OMSA 5.2 on Dell PowerEdge 1900 running CentOS 5.1

I'm trying this out so that I can get alerts if one of the drives fails on the Perc 5/i controller. It has 4 250-GB drives in RAID 5

First build out a CentOS 5.1 machine 3,000 miles away using Dell's DRAC card. And only needing client to connect DRAC card to network. Using CentOS ISO files on a Windows machine with Remote Desktop turned on..VERY COOL.

Used the following site to minimize running services.
http://www.sonoracomm.com/index.php?option=com_content&task=view&id=114&Itemid=32

Using
http://www.fundraisinghosting.com/wp/2007/07/20/dell-omsa-52-installation-on-centos-45/

This website has all the documentation and lists each piece that could be installed separately.

http://linux.dell.com/wiki/index.php/Repository/hardware#OpenManage_Server_Administrator

First command didn't go so well:
[root@vm01 /]# wget -q -O http://linux.dell.com/repo/hardware/bootstrap.cgi | bash
bash: line 1: wget:: command not found
bash: line 2: Usage:: command not found
bash: line 4: unexpected EOF while looking for matching `''
bash: line 5: syntax error: unexpected end of file
[root@vm01 /]#


Oops...forgot the - after the capital O.


[root@vm01 /]# wget -q -O - http://linux.dell.com/repo/hardware/bootstrap.cgi | bash
Downloading GPG key: http://linux.dell.com//repo/hardware/RPM-GPG-KEY-dell
Importing key into RPM.
Downloading GPG key: http://linux.dell.com//repo/hardware/RPM-GPG-KEY-libsmbios
Importing key into RPM.
Installing platform-independent RPM: dell-hw-indep-repository-1-15.noarch.rpm

Installing platform-specific repository RPM.
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
extras 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
dell-hardware-main 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 6.2 kB 00:00
################################################## 22/22
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for dell-hw-specific-repository to pack into transaction set.
dell-hw-specific-reposito 100% |=========================| 4.8 kB 00:00
---> Package dell-hw-specific-repository.noarch 0:1-13.el5 set to be updated
--> Running transaction check
--> Processing Dependency: firmware-addon-dell >= 1.2.11 for package: dell-hw-specific-repository
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for firmware-addon-dell to pack into transaction set.
firmware-addon-dell-2.0.1 100% |=========================| 8.8 kB 00:00
---> Package firmware-addon-dell.x86_64 0:2.0.11-1.el5 set to be updated
--> Running transaction check
--> Processing Dependency: firmware-tools >= 0:2.0.0 for package: firmware-addon-dell
--> Processing Dependency: libsmbios-bin for package: firmware-addon-dell
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for smbios-utils to pack into transaction set.
smbios-utils-2.0.1-1.el5. 100% |=========================| 6.5 kB 00:00
---> Package smbios-utils.x86_64 0:2.0.1-1.el5 set to be updated
---> Downloading header for firmware-tools to pack into transaction set.
firmware-tools-2.0.10-1.e 100% |=========================| 13 kB 00:00
---> Package firmware-tools.noarch 0:2.0.10-1.el5 set to be updated
--> Running transaction check
--> Processing Dependency: libsmbios = 2.0.1-1.el5 for package: smbios-utils
--> Processing Dependency: libsmbios.so.2()(64bit) for package: smbios-utils
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for libsmbios to pack into transaction set.
libsmbios-2.0.1-1.el5.x86 100% |=========================| 2.8 kB 00:00
---> Package libsmbios.x86_64 0:2.0.1-1.el5 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
dell-hw-specific-repository noarch 1-13.el5 dell-hardware-main 5.8 k
Installing for dependencies:
firmware-addon-dell x86_64 2.0.11-1.el5 dell-hardware-main 81 k
firmware-tools noarch 2.0.10-1.el5 dell-hardware-main 180 k
libsmbios x86_64 2.0.1-1.el5 dell-hardware-main 194 k
smbios-utils x86_64 2.0.1-1.el5 dell-hardware-main 100 k

Transaction Summary
=============================================================================
Install 5 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 561 k
Downloading Packages:
(1/5): smbios-utils-2.0.1 100% |=========================| 100 kB 00:01
(2/5): firmware-tools-2.0 100% |=========================| 180 kB 00:00
(3/5): dell-hw-specific-r 100% |=========================| 5.8 kB 00:00
(4/5): firmware-addon-del 100% |=========================| 81 kB 00:00
(5/5): libsmbios-2.0.1-1. 100% |=========================| 194 kB 00:01
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: libsmbios ######################### [1/5]
Installing: smbios-utils ######################### [2/5]
Installing: firmware-tools ######################### [3/5]
Installing: firmware-addon-dell ######################### [4/5]
Installing: dell-hw-specific-repository ######################### [5/5]

Installed: dell-hw-specific-repository.noarch 0:1-13.el5
Dependency Installed: firmware-addon-dell.x86_64 0:2.0.11-1.el5 firmware-tools.noarch 0:2.0.10-1.el5 libsmbios.x86_64 0:2.0.1-1.el5 smbios-utils.x86_64 0:2.0.1-1.el5
Complete!
Done!
=============================================================================
If you encounter problems, please read the FAQ at:
http://linux.dell.com/wiki/index.php/Repository/FAQ
=============================================================================
[root@vm01 /]#


run yum install srvadmin-base and then said N to install...as instructed by the page above. Tried to install dkms but yum install dkms reports Nothing to DO!

I do remember something about a plugin setting for yum... My plugin is already set to 1 in /etc/yum.conf

Ran yum clean all

Still reports nothing to do.

Ok.


Just going to do yum install srvadmin-all as instructed by the following link: http://linux.dell.com/repo/hardware/



c3
--> Processing Dependency: srvadmin-rac4-components for package: srvadmin-racdrsc4
--> Processing Dependency: srvadmin-omacore = 5.4.0 for package: srvadmin-omhip
--> Processing Dependency: srvadmin-rac5-components = 5.4.0 for package: srvadmin-racdrsc5
--> Processing Dependency: srvadmin-jre for package: srvadmin-old
--> Processing Dependency: srvadmin-omacore for package: srvadmin-racdrsc3
--> Processing Dependency: srvadmin-deng for package: srvadmin-storage
--> Processing Dependency: srvadmin-omacore = 5.4.0 for package: srvadmin-old
--> Processing Dependency: srvadmin-ipmi = 5.4.0 for package: srvadmin-hapi
--> Processing Dependency: srvadmin-omacore for package: srvadmin-racdrsc4
--> Processing Dependency: libxmlsup32.so.2 for package: srvadmin-racdrsc3
--> Processing Dependency: srvadmin-rac3-components for package: srvadmin-racdrsc3
--> Processing Dependency: srvadmin-syscheck = 5.4.0 for package: srvadmin-racadm4
--> Processing Dependency: srvadmin-omacore for package: srvadmin-old
--> Processing Dependency: libomacs32.so.1 for package: srvadmin-racdrsc5
--> Processing Dependency: libdcsdrs32.so for package: srvadmin-racdrsc5
--> Processing Dependency: libdcsgen32.so.5 for package: srvadmin-racdrsc4
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for srvadmin-deng to pack into transaction set.
srvadmin-deng-5.4.0-231.i 100% |=========================| 24 kB 00:00
---> Package srvadmin-deng.i386 0:5.4.0-231 set to be updated
---> Downloading header for srvadmin-syscheck to pack into transaction set.
srvadmin-syscheck-5.4.0-2 100% |=========================| 5.8 kB 00:00
---> Package srvadmin-syscheck.i386 0:5.4.0-231 set to be updated
---> Downloading header for srvadmin-omilcore to pack into transaction set.
srvadmin-omilcore-5.4.0-2 100% |=========================| 51 kB 00:00
---> Package srvadmin-omilcore.i386 0:5.4.0-231 set to be updated
---> Downloading header for srvadmin-ipmi to pack into transaction set.
srvadmin-ipmi-5.4.0-231.r 100% |=========================| 3.0 kB 00:00
---> Package srvadmin-ipmi.i386 0:5.4.0-231.rhel5 set to be updated
---> Downloading header for srvadmin-rac4-components to pack into transaction set.
srvadmin-rac4-components- 100% |=========================| 11 kB 00:00
---> Package srvadmin-rac4-components.i386 0:5.4.0-231 set to be updated
---> Downloading header for srvadmin-omacore to pack into transaction set.
srvadmin-omacore-5.4.0-23 100% |=========================| 148 kB 00:01
---> Package srvadmin-omacore.i386 0:5.4.0-231 set to be updated
---> Downloading header for srvadmin-jre to pack into transaction set.
srvadmin-jre-5.4.0-231.i3 100% |=========================| 9.4 kB 00:00
---> Package srvadmin-jre.i386 0:5.4.0-231 set to be updated
---> Downloading header for srvadmin-isvc to pack into transaction set.
srvadmin-isvc-5.4.0-231.i 100% |=========================| 33 kB 00:00
---> Package srvadmin-isvc.i386 0:5.4.0-231 set to be updated
---> Downloading header for srvadmin-rac5-components to pack into transaction set.
srvadmin-rac5-components- 100% |=========================| 11 kB 00:00
---> Package srvadmin-rac5-components.i386 0:5.4.0-231 set to be updated
---> Downloading header for srvadmin-odf to pack into transaction set.
srvadmin-odf-5.4.0-231.i3 100% |=========================| 7.7 kB 00:00
---> Package srvadmin-odf.i386 0:5.4.0-231 set to be updated
---> Downloading header for srvadmin-rac3-components to pack into transaction set.
srvadmin-rac3-components- 100% |=========================| 11 kB 00:00
---> Package srvadmin-rac3-components.i386 0:5.4.0-231 set to be updated
---> Downloading header for srvadmin-racser to pack into transaction set.
srvadmin-racser-5.4.0-231 100% |=========================| 9.1 kB 00:00
---> Package srvadmin-racser.i386 0:5.4.0-231 set to be updated
---> Downloading header for libxml2 to pack into transaction set.
libxml2-2.6.26-2.1.2.1.i3 100% |=========================| 5.1 kB 00:00
---> Package libxml2.i386 0:2.6.26-2.1.2.1 set to be updated
--> Running transaction check
--> Processing Dependency: srvadmin-omauth for package: srvadmin-omacore
--> Processing Dependency: srvadmin-omauth = 5.4.0 for package: srvadmin-omacore
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for srvadmin-omauth to pack into transaction set.
srvadmin-omauth-5.4.0-231 100% |=========================| 5.8 kB 00:00
---> Package srvadmin-omauth.i386 0:5.4.0-231.rhel5 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
srvadmin-all i386 5.4.0-231 dell-hardware-auto 3.1 k
Installing for dependencies:
libxml2 i386 2.6.26-2.1.2.1 updates 798 k
srvadmin-base i386 5.4.0-231 dell-hardware-auto 3.0 k
srvadmin-cm i386 5.4.0-231 dell-hardware-auto 13 M
srvadmin-deng i386 5.4.0-231 dell-hardware-auto 331 k
srvadmin-diagnostics i386 5.4.0-231 dell-hardware-auto 3.0 k
srvadmin-hapi i386 5.4.0-231 dell-hardware-auto 743 k
srvadmin-ipmi i386 5.4.0-231.rhel5 dell-hardware-auto 3.6 k
srvadmin-isvc i386 5.4.0-231 dell-hardware-auto 1.2 M
srvadmin-iws i386 5.4.0-231 dell-hardware-auto 382 k
srvadmin-jre i386 5.4.0-231 dell-hardware-auto 22 M
srvadmin-odf i386 5.4.0-231 dell-hardware-auto 527 k
srvadmin-old i386 5.4.0-231 dell-hardware-auto 4.2 k
srvadmin-omacore i386 5.4.0-231 dell-hardware-auto 3.5 M
srvadmin-omauth i386 5.4.0-231.rhel5 dell-hardware-auto 6.9 k
srvadmin-omhip i386 5.4.0-231 dell-hardware-auto 2.6 M
srvadmin-omilcore i386 5.4.0-231 dell-hardware-auto 488 k
srvadmin-rac3 i386 5.4.0-231 dell-hardware-auto 3.1 k
srvadmin-rac3-components i386 5.4.0-231 dell-hardware-auto 78 k
srvadmin-rac4 i386 5.4.0-231 dell-hardware-auto 3.1 k
srvadmin-rac4-components i386 5.4.0-231 dell-hardware-auto 56 k
srvadmin-rac5 i386 5.4.0-231 dell-hardware-auto 3.1 k
srvadmin-rac5-components i386 5.4.0-231 dell-hardware-auto 65 k
srvadmin-racadm4 i386 5.4.0-231 dell-hardware-auto 193 k
srvadmin-racadm5 i386 5.4.0-231 dell-hardware-auto 1.1 M
srvadmin-racdrsc3 i386 5.4.0-231 dell-hardware-auto 353 k
srvadmin-racdrsc4 i386 5.4.0-231 dell-hardware-auto 19 k
srvadmin-racdrsc5 i386 5.4.0-231 dell-hardware-auto 19 k
srvadmin-racser i386 5.4.0-231 dell-hardware-auto 12 k
srvadmin-racsvc i386 5.4.0-231 dell-hardware-auto 69 k
srvadmin-racvnc i386 5.4.0-231 dell-hardware-auto 557 k
srvadmin-storage i386 5.4.0-231 dell-hardware-auto 12 M
srvadmin-storageservices i386 5.4.0-231 dell-hardware-auto 3.0 k
srvadmin-syscheck i386 5.4.0-231 dell-hardware-auto 6.3 k
srvadmin-webserver i386 5.4.0-231 dell-hardware-auto 3.0 k

Transaction Summary
=============================================================================
Install 35 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 60 M
Is this ok [y/N]: y
Downloading Packages:
(1/35): srvadmin-deng-5.4 100% |=========================| 331 kB 00:01
(2/35): srvadmin-base-5.4 100% |=========================| 3.0 kB 00:00
(3/35): srvadmin-storages 100% |=========================| 3.0 kB 00:00
(4/35): srvadmin-syscheck 100% |=========================| 6.3 kB 00:00
(5/35): srvadmin-hapi-5.4 100% |=========================| 743 kB 00:02
(6/35): srvadmin-omauth-5 100% |=========================| 6.9 kB 00:00
(7/35): srvadmin-diagnost 100% |=========================| 3.0 kB 00:00
(8/35): srvadmin-omilcore 100% |=========================| 488 kB 00:02
(9/35): srvadmin-old-5.4. 100% |=========================| 4.2 kB 00:00
(10/35): srvadmin-racvnc- 100% |=========================| 557 kB 00:01
(11/35): srvadmin-racdrsc 100% |=========================| 19 kB 00:00
(12/35): srvadmin-ipmi-5. 100% |=========================| 3.6 kB 00:00
(13/35): srvadmin-rac4-5. 100% |=========================| 3.1 kB 00:00
(14/35): srvadmin-omhip-5 100% |=========================| 2.6 MB 00:07
(15/35): srvadmin-rac4-co 100% |=========================| 56 kB 00:00
(16/35): srvadmin-rac3-5. 100% |=========================| 3.1 kB 00:00
(17/35): srvadmin-omacore 100% |=========================| 3.5 MB 00:16
(18/35): srvadmin-jre-5.4 100% |=========================| 22 MB 00:48
(19/35): srvadmin-isvc-5. 100% |=========================| 1.2 MB 00:03
(20/35): srvadmin-all-5.4 100% |=========================| 3.1 kB 00:00
(21/35): srvadmin-racdrsc 100% |=========================| 19 kB 00:00
(22/35): srvadmin-iws-5.4 100% |=========================| 382 kB 00:01
(23/35): srvadmin-rac5-co 100% |=========================| 65 kB 00:00
(24/35): srvadmin-racadm4 100% |=========================| 193 kB 00:00
(25/35): srvadmin-storage 100% |=========================| 12 MB 00:24
(26/35): srvadmin-odf-5.4 100% |=========================| 527 kB 00:02
(27/35): srvadmin-rac3-co 100% |=========================| 78 kB 00:00
(28/35): srvadmin-racser- 100% |=========================| 12 kB 00:00
(29/35): srvadmin-racsvc- 100% |=========================| 69 kB 00:00
(30/35): srvadmin-racdrsc 100% |=========================| 353 kB 00:01
(31/35): srvadmin-cm-5.4. 100% |=========================| 13 MB 00:30
(32/35): srvadmin-racadm5 100% |=========================| 1.1 MB 00:02
(33/35): srvadmin-rac5-5. 100% |=========================| 3.1 kB 00:00
(34/35): srvadmin-webserv 100% |=========================| 3.0 kB 00:00
(35/35): libxml2-2.6.26-2 100% |=========================| 798 kB 00:02
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: srvadmin-omilcore ####################### [ 1/35]
To start all installed services without a reboot,
enter the following command: srvadmin-services.sh start
Installing: libxml2 ####################### [ 2/35]
Installing: srvadmin-syscheck ####################### [ 3/35]
Installing: srvadmin-deng ####################### [ 4/35]
Installing: srvadmin-racadm4 ####################### [ 5/35]
Installing: srvadmin-racser ####################### [ 6/35]
Installing: srvadmin-racsvc ####################### [ 7/35]
Installing: srvadmin-racvnc ####################### [ 8/35]
Installing: srvadmin-omauth ####################### [ 9/35]
Installing: srvadmin-omacore ####################### [10/35]
Installing: srvadmin-jre ####################### [11/35]
Installing: srvadmin-iws ####################### [12/35]
Installing: srvadmin-webserver ####################### [13/35]
Installing: srvadmin-storage ####################### [14/35]
WARNING: srvadmin-storage configuration not performed;
'/etc/omreg.cfg' is missing or damaged.
Installing: srvadmin-storageservices ####################### [15/35]
Installing: srvadmin-odf ####################### [16/35]
Installing: srvadmin-old ####################### [17/35]
Installing: srvadmin-diagnostics ####################### [18/35]
Installing: srvadmin-cm ####################### [19/35]
Installing: srvadmin-ipmi ####################### [20/35]
Installing: srvadmin-hapi ####################### [21/35]
Installing: srvadmin-rac5-components ####################### [22/35]
Installing: srvadmin-isvc ####################### [23/35]
Installing: srvadmin-omhip ####################### [24/35]
Installing: srvadmin-base ####################### [25/35]
Installing: srvadmin-rac3-components ####################### [26/35]
Installing: srvadmin-racdrsc3 ####################### [27/35]
Installing: srvadmin-rac3 ####################### [28/35]
Installing: srvadmin-rac4-components ####################### [29/35]
Installing: srvadmin-racdrsc4 ####################### [30/35]
Installing: srvadmin-rac4 ####################### [31/35]
Installing: srvadmin-racdrsc5 ####################### [32/35]
Installing: srvadmin-racadm5 ####################### [33/35]
Installing: srvadmin-rac5 ####################### [34/35]
Installing: srvadmin-all ####################### [35/35]

Installed: srvadmin-all.i386 0:5.4.0-231
Dependency Installed: libxml2.i386 0:2.6.26-2.1.2.1 srvadmin-base.i386 0:5.4.0-231 srvadmin-cm.i386 0:5.4.0-231 srvadmin-deng.i386 0:5.4.0-231 srvadmin-diagnostics.i386 0:5.4.0-231 srvadmin-hapi.i386 0:5.4.0-231 srvadmin-ipmi.i386 0:5.4.0-231.rhel5 srvadmin-isvc.i386 0:5.4.0-231 srvadmin-iws.i386 0:5.4.0-231 srvadmin-jre.i386 0:5.4.0-231 srvadmin-odf.i386 0:5.4.0-231 srvadmin-old.i386 0:5.4.0-231 srvadmin-omacore.i386 0:5.4.0-231 srvadmin-omauth.i386 0:5.4.0-231.rhel5 srvadmin-omhip.i386 0:5.4.0-231 srvadmin-omilcore.i386 0:5.4.0-231 srvadmin-rac3.i386 0:5.4.0-231 srvadmin-rac3-components.i386 0:5.4.0-231 srvadmin-rac4.i386 0:5.4.0-231 srvadmin-rac4-components.i386 0:5.4.0-231 srvadmin-rac5.i386 0:5.4.0-231 srvadmin-rac5-components.i386 0:5.4.0-231 srvadmin-racadm4.i386 0:5.4.0-231 srvadmin-racadm5.i386 0:5.4.0-231 srvadmin-racdrsc3.i386 0:5.4.0-231 srvadmin-racdrsc4.i386 0:5.4.0-231 srvadmin-racdrsc5.i386 0:5.4.0-231 srvadmin-racser.i386 0:5.4.0-231 srvadmin-racsvc.i386 0:5.4.0-231 srvadmin-racvnc.i386 0:5.4.0-231 srvadmin-storage.i386 0:5.4.0-231 srvadmin-storageservices.i386 0:5.4.0-231 srvadmin-syscheck.i386 0:5.4.0-231 srvadmin-webserver.i386 0:5.4.0-231
Complete!
[root@vm01 /]#

Reconfigured firewall so it allows port 1311 thru.

I couldn't get on the website but after
srvadmin-services.sh start


I was able to go to https://xxx.xxx.xxx.xxx:1311


This is a built in webserver. Apache is not needed.

Awesome interface!.. But still can't do what I would like to do which is to have it email me if a hard drive crashes.. with the DRAC 5 that also ties into this website nicely, I can set it up to email for lots of other things..but not the most probable event like a hard drive failure.

One email from the PowerEdge mailing list said to look at Nagios or ITA to send out alerts for storage.

Thursday, May 1, 2008

Symantec Backup Exec 11d and Anti-virus Corporate version 10

Bengine.exe is stopping. Sometimes reporting Dr. Watson. Windows Server 2003. Backup Exec 11d. Job reports Recovered and then lists the same job 3x with Failed.

Event log showing Application Error for bengine.exe... After being jaded by frivolous Symantec Antivirus Errors in the Event log, it didn't even register to look at the errors in the event log except for the backupexec ones until later. Discovered that it was reporting the following:

Event Type: Error
Event Source: Symantec AntiVirus
Event Category: None
Event ID: 45
Date: 4/30/2008
Time: 2:49:28 PM
User: NT AUTHORITY\SYSTEM
Computer:
Description:


SYMANTEC TAMPER PROTECTION ALERT

Target: C:\Program Files\Symantec\Backup Exec\bengine.exe
Event Info: Suspend Thread
Action Taken: Blocked
Actor Process: C:\WINDOWS\System32\svchost.exe (PID 1808)
Time: Wednesday, April 30, 2008 2:49:28 PM

Researched and found that others have experienced this...Symantec's great solution is to turn Tamper Protection off. I did this.


http://support.veritas.com/docs/288444

Not sure if a restart will be needed.