Note: You must install the OVF Tool 4.0.0 before you perform the silent installation. For more information about the OVF Tool, see the VMware's OVF Tool User Guide or www.vmware.com.
You can install multiple CA Enterprise Log Manager servers simultaneously by creating and running scripts containing the commands that invoke the OVF tool. You can use any scripting language to create scripts.
To invoke OVF tool using scripts
The message Opening VI target is displayed. The deployment status of each CA Enterprise Log Manager server is displayed. If the installation is successful, a CA Enterprise Log Manager server is listed under the datastore you selected in the left pane.
Example 1: Batch Script for creating a primary CA Enterprise Log Manager server and a secondary CA Enterprise Log Manager server
REM Primary CA Enterprise Log Manager Server ovftool -dm=thin --acceptAllEulas --name="example_primaryserver" --deploymentOption=medium --prop:ROOT_PASSWORD="example_password" --prop:LOCAL_REMOTE_EEM=Local --prop:REMOTE_EEM_LOCATION=none --prop:EEM_PASSWORD=calmr12 --prop:FIPS_MODE=Yes --prop:IP_ADDRESS=172.162.0.0 --prop:SUBNET_MASK=10.0.0.0 --prop:HOSTNAME="example_primary_server" --prop:DEFAULT_GATEWAY=198.168.0.0 --prop:DNS_SERVERS=198.168.10.20,198.168.10.25 --prop:DOMAIN_NAME=example.com --prop:TIMEZONE=Asia/Kolkata --prop:NTPLOCATION=198.168.10.30 "C:\Program Files\CA ELM\CA Enterprise Log Manager.ovf" "vi://administrator:password@examplevmwarehost/ELMQAvAppDatacenter/host/10.0.10.0" REM Secondary CA Enterprise Log Manager Server ovftool -dm=thin --acceptAllEulas --name="example_secondaryserver" --deploymentOption=medium --prop:ROOT_PASSWORD="example_password1" --prop:LOCAL_REMOTE_EEM="Remote" --prop:REMOTE_EEM_LOCATION="example_primaryserver" --prop:EEM_PASSWORD="calmr12" --prop:FIPS_MODE="Yes" --prop:IP_ADDRESS="172.168.10.10" --prop:SUBNET_MASK="10.0.10.10" --prop:HOSTNAME="example_secondary_server" --prop:DEFAULT_GATEWAY="198.168.10.30" --prop:DNS_SERVERS="198.168.20.20,198.168.20.25" --prop:DOMAIN_NAME="example.com" --prop:TIMEZONE="Asia/Kolkata" --prop:NTPLOCATION=198.168.10.30 "C:\Program Files\CA ELM\CA Enterprise Log Manager.ovf" "vi://administrator:password@examplevmwarehost/ELMQAvAppDatacenter/host/10.0.10.0"
Example 2: Batch Script for creating a management server and two collection servers
REM CA Enterprise Log Manager Management Server ovftool -dm=thin --acceptAllEulas --name="example_managementserver" --deploymentOption=medium --prop:ROOT_PASSWORD="example_password" --prop:LOCAL_REMOTE_EEM=Local --prop:REMOTE_EEM_LOCATION=none --prop:EEM_PASSWORD=calmr12 --prop:FIPS_MODE=Yes --prop:IP_ADDRESS=172.168.0.0 --prop:SUBNET_MASK=10.0.0.0 --prop:HOSTNAME="example_management_server" --prop:DEFAULT_GATEWAY=198.168.0.0 --prop:DNS_SERVERS=198.168.10.20,198.168.10.25 --prop:DOMAIN_NAME=example.com --prop:TIMEZONE=Asia/Kolkata --prop:NTPLOCATION=198.168.10.30 "C:\Program Files\CA ELM\CA Enterprise Log Manager.ovf" "vi://administrator:password@examplevmwarehost/ELMQAvAppDatacenter/host/10.0.10.0" REM CA Enterprise Log Manager Collection Server 1 ovftool -dm=thin --acceptAllEulas --name="example_collectionserver1" --deploymentOption=medium --prop:ROOT_PASSWORD="example_password1" --prop:LOCAL_REMOTE_EEM=Remote --prop:REMOTE_EEM_LOCATION="example_managementserver" --prop:EEM_PASSWORD=calmr12 --prop:FIPS_MODE=Yes --prop:IP_ADDRESS=172.168.10.10 --prop:SUBNET_MASK=10.0.10.10 --prop:HOSTNAME="example_collection_server1" --prop:DEFAULT_GATEWAY=198.168.10.30 --prop:DNS_SERVERS=198.168.20.20,198.168.20.25 --prop:DOMAIN_NAME=example.com --prop:TIMEZONE=Asia/Kolkata --prop:NTPLOCATION=198.168.10.30 "C:\Program Files\CA ELM\CA Enterprise Log Manager.ovf" "vi://administrator:password@examplevmwarehost/ELMQAvAppDatacenter/host/10.0.10.0" REM CA Enterprise Log Manager Collection Server 2 ovftool -dm=thin --acceptAllEulas --name="example_collectionserver2" --deploymentOption=medium --prop:ROOT_PASSWORD="example_password2" --prop:LOCAL_REMOTE_EEM=Remote --prop:REMOTE_EEM_LOCATION="example_managementserver" --prop:EEM_PASSWORD=calmr12 --prop:FIPS_MODE=Yes --prop:IP_ADDRESS=172.168.10.30 --prop:SUBNET_MASK=10.0.10.40 --prop:HOSTNAME="example_collection_server2" --prop:DEFAULT_GATEWAY=198.168.10.40 --prop:DNS_SERVERS=198.168.30.30,198.168.30.25 --prop:DOMAIN_NAME=example.com --prop:TIMEZONE=Asia/Kolkata --prop:NTPLOCATION=198.168.10.30 "C:\Program Files\CA ELM\CA Enterprise Log Manager.ovf" "vi://administrator:password@examplevmwarehost/ELMQAvAppDatacenter/host/10.0.10.0"
Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |