6.2

Table Of Contents
For a computed property, you can modify the value of a property and pass the value to the next life cycle
stage of the action script. For example, if component A has the progress_status value defined as staged,
in the INSTALL and CONFIGURE life cycle stage you change the value to progress_status=installed in
the respective action scripts. If component B is bound to component A, the property values of
progress_status in the life cycle stages of the action script are the same as component A.
Define in the blueprint that component B depends on A. This dependency defines the passing of correct
property values between components whether they are in the same node or across different nodes.
For example, you can update a property value in an action script by using the supported scripts.
n
Bash progress_status="completed"
n
Windows CMD set progress_status=completed
n
Windows PowerShell $progress_status="completed"
n
BeanShell progress_status="completed"
Note Array and content property do not support passing modified property values between action scripts
of life cycle stages and components.
Application Services Predefined Properties
Application Services provides some commonly used properties as predefined properties. These
properties are available for clustered nodes.
Usually, most services need the IP address of the virtual machines they are running in. For clustered
nodes, a service might need the IP addresses of all the virtual machines in the cluster. Therefore, the
virtual machine IP address is designated as a predefined property.
Predefined IP Address Property
A node can have multiple NICs, with each NIC assigned one IP address in the deployed virtual machine.
The following IP addresses are available in the NodeName:NICx_ip properties, where -x- is the NIC
number.
In the sample Clustered Dukes Bank application, the Load Balancer node properties are shown as
load_balancer:NIC0_ip and load_balancer:NIC1_ip because the Load Balancer node has two NICs
defined. It is not guaranteed that NIC0 and NIC1 will be assigned to eth0 and eth1, respectively, in the
virtual machine. The NICs are logical names in the blueprint for the network interfaces. These NICs are
mapped to logical networks, which are mapped to specific cloud networks. The property NIC0_ip returns
the IP address assigned to the virtual machine as defined in the blueprint, not the eth0 IP address in the
virtual machine.
Using Application Services
VMware, Inc. 112