You can install the SystemEDGE UNIX package using a command line version of the installer. When installing from the command line, you use parameters to set various installation properties. You can do the following from the command line:
Notes:
This procedure covers the second scenario: running an unattended installation from the command line.
Follow these steps:
sh ca-setup.sh CA_SETUP_MODE="UNATTENDED" EULA_ACCEPTED="yes" [parameter]
Note: For help with installation parameters, enter ca-setup -? at the command prompt.
Specifies the installation mode. Set this parameter to UNATTENDED to run the installation without displaying the installation wizard. If you omit this parameter, the installation wizard opens with specified parameter values prefilled after you run the command.
Read the license agreement and specify whether to accept the license agreement. If you omit this parameter or set it to anything other than YES when you set the installation mode to UNATTENDED, the installation fails. This parameter is not required in an interactive installation.
Note: The following optional parameters do not require a value if you omit them:
CA_SETUP_LOG_FILE CA_SETUP_VERBOSE CASE_INSTALLDIR CASE_PUBDATADIR CASE_SNMP_PORT CASE_SNMP_SYS_DESC CASE_SNMP_SYS_LOC CASE_SNMP_SYS_CONTACT CASE_SNMP_READ_COMMUNITY CASE_SNMP_READ_ALLOWED_MANAGERS CASE_SNMP_WRITE_COMMUNITY CASE_SNMP_WRITE_ALLOWED_MANAGERS CASE_SNMP_TRAP_COMMUNITY CASE_SNMP_TRAP_DESTINATION CASE_SNMP_TRAP_PORT CASE_DISABLE_NATIVE_SNMP CASE_DEFAULT_FROM_NATIVE_SNMP CASE_MANAGER_HOSTNAME CASE_MANAGER_POLICY_NAME CASE_PRIVSEP_USER CASE_START_AFTER_INSTALL CASE_INSTALL_DOCS CASE_LEGACY_MODE
Specifies a location and file name in which to log installation messages. By default, messages are logged to /opt/CA/installer/log/CA_SETUP_PACKAGE_NAME.log.
Turns on verbose installation mode when set to "yes". Verbose mode logs more information to the installation log file.
Specifies the SystemEDGE installation directory. This directory contains everything SystemEDGE-related, such as AIMs and Advanced Encryption, and is never modified after being set by the Core installer.
Note: If you define a non-default installation directory, the installer installs agent files directly to the specified directory without creating a SystemEDGE subfolder.
Default: /opt/CA/SystemEDGE
Specifies the SystemEDGE data directory, where all configurations take place and dynamic data is stored (referred to in this document as the variable CASYSEDGE_DATA). The configuration files of the agent are located in a port-specific subdirectory which is based on the SNMP_PORT parameter value.
Default: /opt/CA/SystemEDGE/config
Specifies the port used by SystemEDGE. This value can also be inherited from the native SNMP agent using the CASE_DEFAULT_FROM_NATIVE_SNMP parameter. If you specify a port using the CASE_SNMP_PORT parameter, it overrides the inherited value. This port must be unique, or the installation fails. If the default port of 161 is already in use by the native SNMP agent (and you do not plan on disabling this agent), you must specify a different unique port, for example, 1691 or 6665.
Default: 161
Specifies information about the system (such as a system name) that populates the sysDescr MIB-II object. This value can also be inherited from the native SNMP agent using the CASE_DEFAULT_FROM_NATIVE_SNMP parameter. If you specify a description using the CASE_SNMP_SYS_DESC parameter, it overrides the inherited value.
Specifies the system location that populates the sysLocation MIB-II object. This value can also be inherited from the native SNMP agent using the CASE_DEFAULT_FROM_NATIVE_SNMP parameter. If you specify a location using the CASE_SNMP_SYS_LOC parameter, it overrides the inherited value.
Specifies system contact information that populates the sysContact MIB-II object. This value can also be inherited from the native SNMP agent using the CASE_DEFAULT_FROM_NATIVE_SNMP parameter. If you specify a contact using the CASE_SNMP_SYS_CONTACT parameter, it overrides the inherited value.
Specifies the name of the SNMP read community that can send GET requests to the agent. You can specify multiple communities by separating them with a semicolon (for example, public1;public2), and you can include a space delimited IP address list for each community to restrict access (for example, public 1.2.3.4). This value can also be inherited from the native SNMP agent using the CASE_DEFAULT_FROM_NATIVE_SNMP parameter. If you specify a read community using the CASE_SNMP_READ_COMMUNITY parameter, it overrides the inherited value.
Default: snmp_public (valid for a new installation only (no upgrade) and if no read-write community is specified)
Specifies the space-separated list of IP addresses/hostnames of SNMP managers allowed to query the Agent with CASE_SNMP_READ_COMMUNITY. When this is specified, CASE_SNMP_READ_COMMUNITY must only contain a single word, the SNMP community.
Specifies the name of the SNMP write community that can send GET and SET requests to the agent. You can specify multiple communities by separating them with a semicolon (for example, rwcomm1;rwcomm2), and you can include a space delimited IP address list for each community to restrict access (for example, rwcomm1 1.2.3.4). This value can also be inherited from the native SNMP agent using the CASE_DEFAULT_FROM_NATIVE_SNMP parameter. If you specify a write community using the CASE_SNMP_WRITE_COMMUNITY parameter, it overrides the inherited value.
Specifies the space-separated list of IP addresses/hostnames of SNMP managers allowed to query the agent with CASE_SNMP_WRITE_COMMUNITY. When this is specified, CASE_SNMP_WRITE_COMMUNITY must only contain a single word, the SNMP community.
Specifies the SNMP trap community and the trap destination address. You can specify multiple trap community settings by separating them with a semicolon (;). The value for this parameter can also be inherited from the native SNMP agent using the CASE_DEFAULT_FROM_NATIVE_SNMP parameter. If you specify a trap community using the CASE_SNMP_TRAP_COMMUNITY parameter, it overrides the inherited value. The following values are required for this parameter:
The following values are optional for this parameter:
Syntax of a trap community setting:
community-string {ip-address|hostname} [port [encoding [source]]]
Example:
public 1.2.3.4;public 2.3.4.5 1162;trapcom 3.4.5.6 1162 100 4.5.6.7
Specifies the hostname or IP address to which to send traps. When this is specified, CASE_SNMP_TRAP_COMMUNITY must only contain a single word, the SNMP community and CASE_SNMP_TRAP_PORT must also be specified.
Specifies the destination port number to which to send traps. When this is specified, CASE_SNMP_TRAP_COMMUNITY must only contain a single word, the SNMP community and CASE_SNMP_TRAP_DESTINATION must also be specified.
Specifies whether to stop and disable the native SNMP agent.
Default: no
Specifies whether to use the default SNMP settings from the native SNMP agent.
Default: no
Specifies the host name of the configuration manager from which you want to manage this agent. Entering a value for this parameter lets you configure this agent from the specified manager. Entering an asterisk (*) accepts the first manager that discovers the agent system. This manager will have full control over the agent’s configuration. By default, no manager host is entered (used), and the agent runs in unmanaged mode.
Specifies the name of the configuration manager policy file that the agent should use. Entering a value for this parameter sets the SystemEDGE configuration according to an existing configuration file from the manager. By default, the agent uses the installed policy file.
Specifies whether to start the agent automatically after the installation completes. Valid values are: Yes, No, PRESERVE. PRESERVE can be used when upgrading to only start the agent when it was running at the time when the installation started.
Default: PRESERVE
Specifies the user name under which credentials the agent run during SNMP communication.
This entry instructs the agent (UNIX only) to run SNMP communication under another user account. The agent also uses this user's default group as an effective group.
Default: The agent operates using root account.
Specifies whether to install the SystemEDGE documentation with the agent.
Default: yes
Specifies whether to install the agent in legacy mode, which installs the base agent only while omitting all materials that facilitate usage with CA Server Automation. Install using legacy mode if you do not want to use the agent with CA Server Automation.
You can turn the agent into managed mode by reinstalling or upgrading and specifying CASE_LEGACY_MODE=no.
Default: no
The installation begins. If you did not accept the license agreement, the installation fails.
There is always the lsm installer log file in /opt/CA/installer/log/$CA_SETUP_PACKAGE_NAME.log that you can use to check if the installation was successful.
If you want to verify the installation, confirm the existence of the SystemEDGE files in the installation directory.
Copyright © 2013 CA. All rights reserved. |
|