UCS Director:

BMA Default Variables

I. Setup PXE Boot & Setup PXE Boot with BMA Selection Tasks

Sample BMA Configuration

Sample “Setup PXE Boot” Task Inputs

Sample Workflow/PXE Request Execution Info

  • Service Request ID = 924
  • PXE Request ID = 2

Default Variables, Output Formats and Sample Outputs

Default Variable / Output Format / Sample Output
$PXE_WEBSERVER / <BMA PXE Interface IP>:<Web Port>
(Web Port = 8888 by default) / 192.168.55.201:8888
$PXE_WEBSERVER_MGMT_VLAN_IP / <BMA MGMT Interface IP>:<Web Port>
(Web Port = 8888 by default) / 172.31.241.61.8888
$PXE_WEBSERVER_MGMT_VLAN_IP_ADDR / <BMA MGMT Interface IP> / 172.31.241.61
$PXE_WEBSERVER_PORT / <Web Port>
(Web Port = 8888 by default) / 8888
$PXE_TFTPSERVER / <BMA PXE Interface IP> / 192.168.55.201
$PXE_NATIVE_WEBSERVER / <BMA PXE Interface IP> / 192.168.55.201
$PXE_KS_URL / <URL to kickstart file on BMA> /
$PXE_KS_PATH / path (from /opt/cnsaroot/ directory) to the ks.cfg file> / /web/ks-repository/2/ks.cfg
$PXE_KS_REP_DIR / path (from /opt/cnsaroot/ directory) to the directory holding the ks.cfg file / /web/ks-repository/2/
$PXEID / PXEID-<the PXE request ID> / PXEID-2
$PXE_ID / the PXE request ID> / 2
$PXE_SRID / the SR ID of the workflow in which the PXE request was made> / 924
$PXE_MAC / mac address of the target server interface for installation> / 00:00:00:00:00:45
$PXE_IP / final in address for the target server interface> / 40.40.40.41
$PXE_NETMASK / netmask for the target server interface> / 255.255.255.0
$PXE_GATEWAY / gateway for the target server interface> / 40.40.40.1
$PXE_BROADCAST_IP / broadcast address for the target server interface> / 40.40.40.255
$PXE_NETMASK_LENGTH / netmask for the target server interface in netmask length format> / 24
$PXE_NAME / target server hostname> / myhostname
$PXE_NS / name server for the target server> (DNS server) / mynameserver
$PXE_OS / operating system to be install by the BMA on the target server> / CentOS60
$PXE_TIMEZONE / timesone selected> / Africa/Abidjan
$PXE_MGMTVLAN / <VLAN for target server interface> / 20
$PXE_PASSWD / passwd to be set on target server> / ***************
(this password will show in clear text in the configuration file on the BMA)

II. Setup Windows PXE Boot Task:

Sample BMA Configuration

Sample “Setup Windows PXE Boot” Task Inputs

Sample Workflow/PXE Request Execution Info

  • Service Request ID = 925
  • PXE Request ID = 3

Default Variables, Output Formats and Sample Outputs

Default Variable / Output Format / Sample Output
$PXE_WEBSERVER / <BMA PXE Interface IP>:<Web Port>
(Web Port = 8888 by default) / 192.168.55.201:8888
$PXE_WEBSERVER_MGMT_VLAN_IP / <BMA MGMT Interface IP>:<Web Port>
(Web Port = 8888 by default) / 172.31.241.61.8888
$PXE_WEBSERVER_MGMT_VLAN_IP_ADDR / <BMA MGMT Interface IP> / 172.31.241.61
$PXE_WEBSERVER_PORT / <Web Port>
(Web Port = 8888 by default) / 8888
$PXE_TFTPSERVER / <BMA PXE Interface IP> / 192.168.55.201
$PXE_NATIVE_WEBSERVER / <BMA PXE Interface IP> / 192.168.55.201
$PXE_KS_URL / <URL to autounattend.xml file on BMA> / //192.168.55.201/samba/Win2k12R2x64/autounattend.xml
$PXE_KS_PATH / path (from “/” (root) directory) to the autounattend.xml file> / /samba/Win2k12R2x64/autounattend.xml
$PXE_KS_REP_DIR / path (from “/” (root) directory) to the directory that holds the autounattend.xml file> / /samba/Win2k12R2x64
$PXEID / PXEID-<the PXE request ID> / PXEID-3
$PXE_ID / the PXE request ID> / 3
$PXE_SRID / the SR ID of the workflow in which the PXE request was made> / 925
$PXE_MAC / mac address of the target server interface for installation> / 00:00:00:00:00:47
$PXE_NAME / target server hostname> / myhostname
$PXE_TIMEZONE / timesone selected> / 245 (converted by UCSD into numeric timezone code)
$PXE_PASSWD / passwd to be set on target server> / ***************
(this password will show in clear text in the configuration file on the BMA)
$WINDOWS_PXE_OS_TYPE / os type as provided as “OS Type” input in task> / Win2k12R2x64
$WINDOWS_PXE_PRODUCT_KEY / product key provided as input in task> / XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
$WINDOWS_PXE_DISK_PARTITION_SIZE / disk partition size as input in task> / 102400 (input as “100” in task, converted to MB by UCSD)
$WINDOWS_PXE_OS_FLAVOR_NAME / version of specific windows OS Type, provide in “OS Flavor Name” input in task / Windows 2012 R2 Standard
$WINDOWS_PXE_ORGANIZATION_NAME / organization input as provided in task> / MyOrg