-
-
Save flaviotorres/902227b7b45b81f1fb2ff7d14335d1c9 to your computer and use it in GitHub Desktop.
HP iLO XML Scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HPONCFG all << end_marker | |
<RIBCL VERSION="2.0"> | |
<LOGIN USER_LOGIN="Dontcare" PASSWORD="UsingAutologin"> | |
<USER_INFO MODE="write"> | |
<ADD_USER | |
USER_NAME="daniel" | |
USER_LOGIN="daniel" | |
PASSWORD="daniel123"> | |
<ADMIN_PRIV value ="Yes"/> | |
<REMOTE_CONS_PRIV value ="Yes"/> | |
<RESET_SERVER_PRIV value ="No"/> | |
<VIRTUAL_MEDIA_PRIV value ="Yes"/> | |
<CONFIG_ILO_PRIV value="Yes"/> | |
</ADD_USER> | |
</USER_INFO> | |
</LOGIN> | |
</RIBCL> | |
end_marker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HPONCFG all << end_marker | |
<RIBCL VERSION="2.0"> | |
<LOGIN USER_LOGIN="Dontcare" PASSWORD="UsingAutologin"> | |
<USER_INFO MODE="write"> | |
<MOD_USER USER_LOGIN="Administrator"> | |
<PASSWORD value="Password"/> | |
</MOD_USER> | |
</USER_INFO> | |
</LOGIN> | |
</RIBCL> | |
end_marker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HPONCFG all << end_marker | |
<RIBCL VERSION="2.0"> | |
<LOGIN USER_LOGIN="Dontcare" PASSWORD="UsingAutologin"> | |
<RIB_INFO MODE="write"> | |
<CLEAR_EVENTLOG/> | |
</RIB_INFO> | |
<SERVER_INFO MODE="write"> | |
<CLEAR_IML/> | |
</SERVER_INFO> | |
</LOGIN> | |
</RIBCL> | |
end_marker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HPONCFG all << end_marker | |
<RIBCL VERSION="2.0"> | |
<LOGIN USER_LOGIN="Dontcare" PASSWORD="UsingAutologin"> | |
<SERVER_INFO MODE="write"> | |
<!-- Disable automatic power on --> | |
<SERVER_AUTO_PWR VALUE="no" /> | |
</SERVER_INFO> | |
</LOGIN> | |
</RIBCL> | |
end_marker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HPONCFG all << end_marker | |
<RIBCL VERSION="2.0"> | |
<LOGIN USER_LOGIN="Dontcare" PASSWORD="UsingAutologin"> | |
<RIB_INFO MODE="write"> | |
<INSERT_VIRTUAL_MEDIA IMAGE_URL="http://192.168.10.111/XenServer-6.2.0-install-cd.iso" DEVICE="CDROM"/> | |
</RIB_INFO> | |
</LOGIN> | |
</RIBCL> | |
end_marker | |
OR..... | |
Connecting to bay 6 ... | |
User:OAtmp-Administrator-544BBD9F logged-in to (172.16.1.106) | |
iLO 2 Advanced 2.26 at 10:06:29 Jun 18 2014 | |
Server Name: | |
Server Power: On | |
</>hpiLO-> | |
</>hpiLO-> vm cdrom get | |
VM Applet = Disconnected | |
Boot Option = NO_BOOT | |
Write Protect = No | |
Image Inserted = Disconnected | |
Image URL = None | |
</>hpiLO-> vm cdrom insert http://192.168.10.111/spp_2015.06.0.iso | |
</>hpiLO-> vm cdrom get | |
VM Applet = Disconnected | |
Boot Option = NO_BOOT | |
Write Protect = Yes | |
Image Inserted = Connected | |
Image URL = http://192.168.10.111/spp_2015.06.0.iso | |
</>hpiLO-> vm cdrom set boot_once | |
</>hpiLO-> vm cdrom get | |
VM Applet = Disconnected | |
Boot Option = BOOT_ONCE | |
Write Protect = Yes | |
Image Inserted = Connected | |
Image URL = http://192.168.10.111/spp_2015.06.0.iso | |
</>hpiLO-> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HPONCFG all << end_marker | |
<RIBCL VERSION="2.0"> | |
<LOGIN USER_LOGIN="Dontcare" PASSWORD="UsingAutologin"> | |
<RIB_INFO MODE="write"> | |
<LICENSE> | |
<ACTIVATE KEY="1111122222333334444455555"/> | |
</LICENSE> | |
</RIB_INFO> | |
</LOGIN> | |
</RIBCL> | |
end_marker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Chassis-EC3-OA1> UPDATE ILO 9 http://192.168.10.111/ilo3_185.bin | |
Updating ProLiant iLO3 ... | |
(This may take several minutes.) | |
Bay 9: Successful update. Please allow iLO one minute to restart. | |
Chassis-EC3-OA1> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
reboot: