Technical Notes |
|
This technical note provides the best practice recommendations for deploying Verastream models and session configurations to your Host Integrator version 6.0 or higher server(s) by using the Design Tool and command line utilities. Follow the steps for the scenario that best fits your environment.
In Host Integrator, models and session configurations can be deployed by using the Design Tool or command line utilities. The complexity of your deployment determines whether you should use the Design Tool or the command line utilities. Follow the steps for the scenario that best fits your environment.
The scenario:
For this environment, use the Design Tool to set deployment options and deploy to the Host Integrator server. Follow these steps:
Note: The default host name and port number are copied from the default values stored in the model file. To use other host settings, select Sessions connect to specified host and enter the host name and host port number.
Note: If no session pool was created, skip to step 5.
Otherwise, check the Provide variable values for pool check box.
- Select the Include check box for each variable which must have a non-default value.
- Select the Unique check box for each variable which must have a different value for every session in the pool. (At least one variable must be marked unique.)
- Select the Hidden check box for variable values that must be encrypted in the deployment and server configuration files. This check box is checked by default for variables marked as "hidden" in the model.
The table contains a row for each session. The number of rows is equal to the maximum session pool size. The Session (left-most) column assigns a number to each session in the pool. Additional columns are labeled with the "Included" variable names.
Enter a value for each variable name in each session.
Note: Your file system should be appropriately secured, since the generated mvl_desc.xml file may contain sensitive host login password information.
Click File > Deploy to Local Server. A message appears to confirm that the model has been successfully deployed to the local Host Integrator server.
Click File > Deploy to Test Server and enter the network name or IP address of another Host Integrator server for your test deployment.
Note: The Test Server option is limited to the same basic settings as the local server deployment; it does not include all the options available with a Complex Deployment Using Command Line Utilities.
You can verify the model successfully deployed by using the server's Administrative WebStation:
Local Windows server: Use the Administrative WebStation shortcut installed in the Start programs folder: click Start > Programs > AttachmateWRQ Verastream > Host Integrator > Administrative WebStation.
Local UNIX server: Use a web browser to open <vhi>/bin/VHI_Administrative_WebStation_Login.html where <vhi> represents your Verastream Host Integrator installation directory.
Remote server: In a web browser, open http://<hostname>:9642/apptrieve where <hostname> represents the system running the Verastream Host Integrator Administrative WebStation service.
The model you just deployed is listed.
Note: It is strongly recommended that you do not change any model or session pool configuration in Administrative WebStation. Any such changes will be overwritten by subsequent deployment from Design Tool or by the activatemodel command.
The scenario:
For this environment, edit the template descriptor files, and use the command line utilities to create and deploy a package. Follow these steps:
Note: Your file system should be appropriately secured, since the mvl_desc.xml file you create may contain sensitive host login password information.
For information on setting the debug messages recording mode in deploy_desc.xml, see Technical Note 10066.
Windows: Click Start > Program Files > AttachmateWRQ Verastream > Host Integrator > Deploy Models. (This opens the command prompt with <VHI>\bin in the PATH environment variable, and <VHI>\models as the current directory.)
UNIX: Make sure <VHI>/bin is in your PATH environment variable, and cd to the <VHI>/models subdirectory.
Example: If the model name is CCSDemo, you would enter:
cd ccsdemopackagemodel -m <model name> -p <packagename>Example: For a model named CCSDemo and a package file named CCSDemo.zip, the command line entry would be:
packagemodel -m CCSDemo.model -p CCSDemo.zipNote: For enhanced security, you can add the e "<passphrase>" option on the packagemodel command. Your phrase will be used to generate a 3DES encryption key to encrypt model variable list "hidden" values (such as host passwords) in the package file. It is recommended the phrase be at least eight random characters or at least five space-delimited words. The same passphrase will also be required to deploy in the next step.
activatemodel -p <packagename> -s <Host Integrator server name>Example: To deploy the CCSDemo.zip model package (created above) to a Host Integrator server named vhiserver.MyDomain.com, the command line entry would be:
activatemodel -p CCSDemo.zip -s vhiserver.MyDomain.comNote the following:
It is strongly recommended that you use the Design Tool Deployment Options or edited deployment descriptor files to configure your models and session pools, as described above. However, you can choose to make configuration changes (after deployment) using the Administrative WebStation instead.
Note: If the descriptor XML files are present, deployment will overwrite any changes that were made using the Administrative WebStation.