Run script that can parse /proc/scsi from Altiris
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?
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.
Would you like to reply?
Login or Register to post your comment.