6.2

Table Of Contents
d Set the value to true to remove all other repositories before adding the new configuration.
e Accept the default false value to add a new repository.
10 Click Save.
11 Click OK.
The YUM Repository Config predefined task is added to the execution plan.
12 Review the deployment profile settings and deploy the application.
What to do next
Consider adding a customized task to the Application Services library. See Add a Custom Task to the
Library.
Add an RHN Registration Predefined Task
The RHN Registration predefined task is a script used to update the YUM repositories to install Red Hat
Enterprise Linux or other Red Hat operating systems that have the Red Hat Network with YUM.
The predefined task registers the virtual machine with the Red Hat Network using the credentials
provided with a machine name VMware_AppDirector_$RANDOM, where $RANDOM is a short string that
makes the virtual machine registration unique.
Use the predefined sample task only in a test environment.
Prerequisites
n
Log in to Application Services as an application publisher and deployer.
n
Verify that the predefined task is added to the execution deployment plan before you add any
services or application components that require YUM for installing or updating software packages.
n
Verify that Application Services is configured to use a proxy. See Configure Application Services to
Use a Proxy for External URLs.
Procedure
1 On the Application Services title bar, click the drop-down menu and select Applications.
2 Click the name of the application.
A list of application versions appears.
3 Select an application version.
4 Create a deployment profile.
5 In the Deployment Profile wizard, follow the prompts to Execution Plan.
6
If the node is clustered, click Expand Cluster ( ).
If the clustered node is not expanded, the predefined task is added only to the first virtual machine in
the cluster.
Using Application Services
VMware, Inc. 229