6.2

Table Of Contents
Procedure
1 For vCloud Director or vRealize Automation, configure the Application Services virtual appliance to
use a proxy.
a Log in to the Application Services virtual appliance as darwin_user.
b Enter su to switch to root user.
c Open the file /home/darwin/tcserver/darwin/webapps/darwin/conf/darwin_global.conf
with a text editor.
d Update the proxy IP and port information and save the file.
The proxy URL format is http://proxy:PortNumber.
Existing predefined applications or library services that must access a repository by using a yum
update or install command use the proxy specified in this file. The predefined services and
applications have the script required to access this proxy.
2 Log in to Application Services as an application catalog administrator and define proxy-specific
properties and scripts for a new service or an existing service.
a For a new service, add a service to the library.
b In the new or existing service, add a property with the name global_conf to the service, of type
Content, and define the value as
https://DarwinServerIP:8443/darwin/conf/darwin_global.conf.
Caution If you add a value to the http_proxy, https_proxy, or ftp_proxy property with service
scripts that use the darwin_global.conf as a file source, when the service script runs, these
configured properties override any existing proxy information in the application.
c Add the following lines to the beginning of each action script for the service that requires a proxy:
# Import global conf
. $global_conf
d Save the service.
3 Log in to Application Services as an application architect and define proxy-specific properties and
scripts in the application blueprint to configure an application to use a proxy while creating the
application blueprint.
a For the application component, add the global_conf property to the application component, of
type Content, and define the value as
https://DarwinServerIP:8443/darwin/conf/darwin_global.conf.
b Add the following lines to the beginning of each action script for the application component that
requires a proxy:
# Import global conf
. $global_conf
Using Application Services
VMware, Inc. 35