Using ProLiant Essentials Rapid Deployment Pack for scripted blade based switch configuration

Figure 8. The new event is dragged and dropped onto server BL 1234 to execute VLAN interconnect switch configuration
during server deployment
Customizing the solution
Understanding the supplied code
For our example solution, we add a final operation that configures both interconnect switches using
server-side scripts. Normally, a RDP Windows Edition script executes on the server being deployed,
but server-side scripts are executed locally on the RDP server. The following operations are included in
the server-side script.
1. Retrieve the rack location of the server to be deployed.
2. Execute a server-side script to configure the interconnect switches.
A detailed description of the two operations is given below, including the sub-functions for operation
2 (identified by the indented bulleted items).
1. Retrieve the rack location of the server to be deployed.
In order to configure the interconnect switches, the server-side script must know which interconnect
switches are attached to the server being deployed and how to log onto them. The interconnect
switches that need to be configured are located in the same rack and server blade enclosure as
the server being deployed. By determining the rack and server blade enclosure identifiers of the
server being deployed, the script can associate these with the proper interconnect switches. The
script also needs to know in which bay the deployed server resides, because it will want to
configure the interconnect switch ports associated with that particular bay.
14