About scripts

Scripts are what you use to accomplish provisioning tasks in IC server provisioning. Run a script by placing it as a step in an OS Build Plan. Multiple scripts may be run one after the other as a series of steps within a Build Plan.

IC server provisioning supports a variety of script types, some of which run on target servers and some that run on the appliance.

IC server provisioning comes with HP-provided scripts that run with the HP-provided Build Plans. You may also create your own scripts to meet the needs of your facility.

Script types

The types of scripts supported by Insight Control server provisioning included the following:

  • UNIX – Bourne shell (sh), C shell (csh), and KornShell (ksh)

  • Windows .BAT – Windows batch file

  • Windows VBScript – Visual Basic scripting

  • Python – Python programming language

  • OGFS – Opsware Global File System (used to control the embedded Server Automation instance)


[NOTE: ]

NOTE: OGFS scripts execute on the appliance; all other script types execute on target servers.


HP-provided scripts

HP supplies some scripts with the IC server provisioning product. These scripts are read only and are identified by the HP-provided field on the Overview General panel showing Yes. In most cases it is not necessary to modify the scripts provided by HP because most customization is done via the OS Build Plans and configuration files. See Create scripts for additional information.


[NOTE: ]

NOTE: The library of HP-provided scripts includes some SA scripts that are part of its larger library and are not supported by Insight Control server provisioning. The HP-provided scripts used in HP-provided Build Plans or scripts referenced in documentation are supported. See the Insight Control Server Provisioning Build Plans Reference Guide for a list, available at http://www.hp.com/go/insightcontrol/docs.


Running scripts

To run your script, you must add it to an OS Build Plan as a step. Once you have added the script to an OS Build Plan, you can set parameters on the OS Build Plan Edit screen. See Run scripts.