Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Run script that can parse /proc/scsi from Altiris

Updated: 22 May 2010 | 1 comment
falsehope's picture
0 0 Votes
Login to vote

Hello,
I'm looking for a way to parse the /proc/scsi/lp* directory of the linux PXE boot image once it is running on the target server. And if found dump a log and STOP the deployment.

We are using Altiris to deploy our VMware ESX hosts and I would like to include some protection from the "mashed" lun effect. What happens (or happened ;-) )is that when the target ESX host can see the fiber ESX will mash the first lun it sees. I know the best practice is to disconnect the fiber or mask/disable the ports, but it would be nice to have this layer of protection.

I'm not an Altiris user but I have learned enough to deploy and patch the ESX hosts.

I have a script that does work, just that I have no idea how to run it in the Altiris space (ie. parse the /proc from the rootfs.gz)

If that is not possible, is there a way to parse the logs that Altiris creates to look for any signs of an HBA?

Comments

TheDude05's picture
06
Nov
2008
0 Votes 0
Login to vote

Hope this isnt too late...

You can do this two ways. Go into the Boot Disk Creator and underneath the /etc directory you can either add a script with the name "prestart" or you can add a directory called "prestart" and add your script underneath it. It will run right before the network configuration script runs.