Prerequisites for running the eZDeploy utility
Before you run the eZDeploy utility, ensure that all the conditions for running the eZDeploy are met by performing either of the following procedures:
To check the environment configurations manually
- Ensure that you have installed Java Runtime Environment (JRE) 1.7 on the computer on which you would be running the eZDeploy utility.
- Set the JAVA_HOME environment variable if it is not already set:
- (Windows) Go to Advanced system settings > Environment Variables; then click New, and add JAVA_HOME as the variable name and <JRE Path> as the value.
- (Linux) Export JAVA_HOME=<JRE Path>.
- Ensure that you have installed the BMC Server Automation console on the same computer on which you would be running the eZDeploy utility.
- Ensure that you use the BMC Server Automation user that is assigned the BladeLogic Administrator role.
- Ensure that Network Shell (NSH) is installed and the version of NSH matches the BMC Server Automation version that you are using with BMC Cloud Lifecycle Management.
Ensure that you have the NSHDIR set in the environment variables according to your OS environment, and as detailed below:
Microsoft Windows
Linux
Open Advanced Properties; then, from the Environment Variables section, create a new environment variable with the following specifications:
Name: NSHDIRValue: C:\Program Files\BMC Software\BladeLogic\NSH
$ export NSHDIR = /opt/bmc/BladeLogic/NSH
Check the following file: /usr/lib/rsc/HOME
The contents of this file must match the NSH install directory; for example:
C:\Windows\rsc>more HOME
/cygdrive/C/Program Files/BMC BladeLogic/OM/NSHCheck the following file:
/usr/lib/rsc/HOME[root rsc]# pwd
/usr/lib/rsc
[root rsc]# more HOME
/usr/nsh/NSH
To run the validate command
Use the following procedure to validate your environment configurations:
- Download and extract the eZDeploy files.
In your eZDeploy shell, execute the following command:
validate -host <AR_HOST ADDRESS/IP ADDRESS of AR Server> -port
<port number> -user <AR server user name> -password
<AR server user password>
- host - BMC AR System server host name or IP address
- port - BMC AR System server port number
user - BMC AR System server user name.
- password - BMC AR System server user password
For an example, see the following figure: