cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Configuring UCS Boot Order using the XML API

275
Views
0
Helpful
0
Comments

This article demonstrates the ability to toggle the boot order on a standalone C-Series server using the unified XML API. This is one of the many things that the programmatic nature of the API allows you to do, and helps facilitate and expedite initial system deployment. 

 

The README files contain more details on how to use the script - but the general format is as follows:

 

1. ./xml_cimc_update.sh (1)cimc_ip (2)username (3)password (4)optional-user-set-boot-order

This command is used to override the boot order setup with HDD and PXE.

Note – This command does not check the current boot order settings.

Example - ./xml_cimc_update.sh 10.225.121.3 admin mypassword HDD,PXE

2. ./xml_cimc_update.sh (1)cimc_ip (2)username (3)password

This command is used to fetch the actual boot order and set it back.

Example - ./xml_cimc_update.sh 10.225.121.3 admin mypassword

3. ./xml_cimc_update.sh configFile

Config file must be in this format with space as delimiter

<IPADDR> <USERNAME> <PASSWORD> <USER-BOOT-ORDER>

Example

cat configFile

10.10.10.10 admin mypassword1

10.10.10.20 admin mypassword2 HDD,PXE

 

CreatePlease to create content
Content for Community-Ad
Software Conformance Survey