7.0

Table Of Contents
Script Type Success Status Error Status Unsupported Commands
Bash
n
return 0
n
exit 0
n
return non-zero
n
exit non-zero
None
Windows CMD
exit /b 0 exit /b non-zero
Do not use exit 0 or exit non-zero codes.
PowerShell
exit 0 exit non-zero;
Do not use warning, verbose, debug, or host calls.
8 Select the Reboot checkbox for any script that requires you to reboot the machine.
After the script runs, the machine reboots before starting the next life cycle script.
9 Click Finish.
10 Select your Software component and click Publish.
You configured and published a Software component. Other software architects, IaaS architects, and
application architects can use this Software component to add software to application blueprints.
What to do next
Add your published Software component to an application blueprint. See Assembling Application
Blueprints.
Scenario: Create a MySQL Software Component for Rainpole
Using your software architect privileges, create a MySQL Software component to install MySQL on
vSphere CentOS machines. When you design the MySQL Software component for a CentOS virtual
machine, you configure the install, configure, and start parameters, and the scripts for Linux operating
systems.
Procedure
1 Select Design > Software Components.
2
Click the New icon ( ).
3 Enter MySQL for Linux Virtual Machines in the Name text box.
4 Verify that the identifier populates based on the provided name.
For example, Software.MySQLforLinuxVirtualMachines
5 Enter MySQL installation and configuration in the Description text box.
6 Select Machine from the Container drop-down menu.
Because you only want MySQL to install directly on a machine, you restrict architects from dropping
your MySQL Software component on top of other Software components.
7 Click Next.
Configuring vRealize Automation
VMware, Inc. 320