Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

This is what I have been doing:

racadm -r <server> -u user -p password config -g cfgServerInfo -o cfgServerFirstBootDevice PXE
racadm -r <server> -u user -p password serveraction hardreset

This works great for the next boot, but after that it reverts to booting off of the hard drive. I have about 400 Dell rx720 machines that I would like to set this configuration on, so if I could automate this with a script it would save me a lot of time. Any idea how to go about this?

share|improve this question
add comment

1 Answer 1

I will answer my own question, since I now know the answer. What needed to happen is to sent the cfgServerBootonce command, and set it to 0. So in this case, it would be:

racadm -r <server> -u user -p password config -g cfgServerInfo -o cfgServerFirstBootDevice PXE
racadm -r <server> -u user -p password config -g cfgServerInfo -o cfgServerBootOnce 0
racadm -r <server> -u user -p password serveraction powercycle

Now it works.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.