...
To uncompress and extract the installation files from the product distribution file, issue the following command:
Panel | |
---|---|
Html bobswift | zcat sb-7.2.x.x-linux-3.10-x86_64.tar.Z | tar xvf -
</pre>
|
This command assumes that the name of the distribution file is sb-7.2.x.x-linux-3.10-x86_64.tar.Z.
...
To uncompress and extract the installation files from the product distribution file, issue the following command:
Panel |
---|
<pre>
zcat sb-7.2.x.x-linux-3.10-s390x.tar.Z | tar xvf -
</pre>
|
This command assumes that the name of the distribution file is sb-7.2.x.x-linux-3.10-s390x.tar.Z
.
...
To uncompress and extract the installation files from the product distribution file, issue the following command:
Panel | |
---|---|
Html bobswift | zcat sb-7.2.x.x-linux-3-x86_64-deb.tar.Z | tar xvf -
</pre>
|
This command assumes that the name of the distribution file is sb-7.2.x.x-linux-3-x86_64-deb.tar.Z
.
...
To uncompress and extract the installation files from the product distribution file, issue the following command:
Panel | |
---|---|
Html bobswift | zcat sb-7.2.x.x-linux-3.10-ppc64le.tar.Z | tar xvf -
</pre>
|
This command assumes that the name of the distribution file is sb-7.2.x.x-linux-3.10-ppc64le.tar.Z
.
...
To start the installation script, unvinst, issue the following command:
Panel |
---|
<pre>
sh ./unvinst [--user <i>username</i>username [--userdir<i>directory</i> directory] [--create_user {<b>yes</b>|<b>no</b> yes|no}] ] [--group<i>group groupname</i> name [--create_group {<b>yes</b>|<b>no</b> yes|no}] ] [--keystore {<b>yes</b>|<b>no</b> yes|no}] [--security {<b>appdef</b>|<b>default</b>|<b>inherit</b>|<b>pam</b>|<b>pam_sessions</b> appdef|default|inherit|pam|pam_sessions}] [--convert_opsagent [--opsdir<i>directory</i> directory] ] [--oms_servers<i>network networkaddress</i> address] [--oms_port<i>port</i> port] [--ac_agent_clusters<i>clusters</i> clusters] [--ac_agent_ip<i>IP IPaddress</i> address] [--oms_autostart {<b>yes</b>|<b>no</b> yes|no}] [--ac_netname<i>ID</i> ID] [--uag_autostart<i>yes</i> yes] [--ac_extension_accept_list<i>list</i> list] [--ac_extension_python_list<i>list</i> list] [--ac_extension_deploy_on_registration {<b>yes</b>|<b>no</b> yes|no}] [--ac_extension_cancel_timeout<i>value</i> value {<b>s</b>|<b>m</b>|<b>h</b>|<b>d</b> s|m|h|d}] [--ac_process_cancel_timeout<i>value</i> value {<b>s</b>|<b>m</b>|<b>h</b>|<b>d</b> s|m|h|d}] [--opscli {<b>yes</b>|<b>no</b> yes|no}] [--usermode_install {<b>yes</b>|<b>no</b> yes|no} [--unvdir<i>directory</i> directory] [--unvcfgdir<i>directory</i> directory] [--unvdatadir<i>directory</i> directory] [--unvport<i>port</i> port] [--python {<b>yes</b>|<b>no</b> yes|no}] ]</pre> |
See Linux Installation Script Parameters and Installation Script Example, below, for a description of the optional parameters that you can issue with unvinst and an example of unvinst with these parameters.
...
Parameter | Description | Default | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
-u
| Normal UNIX username that is used to execute the Universal Broker daemon. The install grants this user account ownership of all installed files, with the exception of the Universal Agent server components (for example: ucmsrv, udmsrv, and uemsrv) which, due to security requirements, are owned by root and will have their "set user ID on execution" bit set.
| ubroker | ||||||||||||
‑create_user
| Specification (yes or no) for whether or not to create the user name that will own the installed files as a local user. | yes | ||||||||||||
‑userdir | Home directory for the created user account specified by --user.
|
| ||||||||||||
-g | Normal UNIX groupname; the Universal Broker daemon will run as this specified group. All installed files will be assigned to this group.
| ubroker | ||||||||||||
‑create_group
| Specification (yes or no) for whether or not to create the group that will own the installed files as a local group. | yes | ||||||||||||
‑‑keystore | Specification (yes or no) for whether or not to create encryption keys during installation and set up the local Universal Broker as a keystore owner. | no | ||||||||||||
-security | Sets the value (default, inherit, pam, pam_sessions, or trusted) of the following configuration options for Universal Agent server components:
The appdef value for -security controls how product configuration options are set; it does not map to a product configuration option.
| (none) | ||||||||||||
-ubroker_start --ubroker_start | Specifies (yes or no) whether or not Universal Broker is started by the Installer when installation is completed. If --ubroker_start is not included in the script, Universal Broker will be started when installation is complete.
| yes | ||||||||||||
| ||||||||||||||
-c
| Causes
| |||||||||||||
-d | If --convert_opsagent is specified: Identifies the primary install directory for Universal Agent.
|
| ||||||||||||
‑oms_servers
| Specifies a value, in the format
| (none) | ||||||||||||
‑ac_agent_clusters | Specifies the Universal Controller-defined clusters to which this agent will belong. | (none) | ||||||||||||
‑ac_agent_ip | Specifies the IP address or host name (which resolves to an IP address) that the Agent reports to the Controller. | (none) | ||||||||||||
‑ac_netname | Specifies the network ID that Universal Agent will use. | (none) | ||||||||||||
-ac_extension_accept_list | Specifies a comma-separated list of one or more Universal Extensions that the agent will accept via auto-deployment from the Controller.
The value specified for this parameter sets the EXTENSION_ACCEPT_LIST configuration option value. | * | ||||||||||||
-ac_extension_python_list --ac_extension_python_list | Specifies a comma-separated list of zero or more Python locations. Each item in the list is expected to contain a complete path to a Python executable. The value specified for this parameter sets the EXTENSION_PYTHON_LIST configuration option value. | /usr/bin/python3,/usr/bin/python,/usr/libexec/platform-python | ||||||||||||
-ac_extension_deploy_on_registration --ac_extension_deploy_on_registration | Controls Extension deployment behavior from the Universal Controller.
The value specified for this parameter sets the EXTENSION_DEPLOY_ON_REGISTRATION configuration option value. | no | ||||||||||||
-ac_extension_cancel_timeout | Set the EXTENSION_CANCEL_TIMEOUT UAG configuration option, which specifies the length of time a Universal Extension task is given to complete its response to a CANCEL request. If the task fails to finish its own termination processing within the specified timeout period, UAG Server will forcefully terminate the task. The specified timeout must be numeric, but a one-letter suffix is accepted to specify (s)econds, (m)inutes, (h)ours, or (d)ays. If no time unit is specified, the default is seconds. The following maximums are enforced:
Minute, hour, and day maximums are set to ensure that their value represented as a number of seconds does not exceed 2147483647. | 10 | ||||||||||||
-ac_process_cancel_timeout | Set the PROCESS_CANCEL_TIMEOUT UAG configuration option, which specifies the length of time an OS task is given to complete its response to a CANCEL request. If the task fails to finish its own termination processing within the specified timeout period, UAG Server will forcefully terminate the task. The specified timeout must be numeric, but a one-letter suffix is accepted to specify (s)econds, (m)inutes, (h)ours, or (d)ays. If no time unit is specified, the default is seconds. The following maximums are enforced:
Minute, hour, and day maximums are set to ensure that their value represented as a number of seconds does not exceed 2147483647. | 10 | ||||||||||||
‑ac_enable_ssl | This option is deprecated starting with Universal Agent 7.1.0.0. UAG Server will always attempt to use SSL/TLS for OMS connections. | n/a | ||||||||||||
‑uag_autostart
| Specifies (yes or no) whether or not the Universal Automation Center Agent (UAG) Server starts automatically when the Universal Broker is started. | yes | ||||||||||||
| ||||||||||||||
‑oms_port | Specifies the port to use to listen for OMS connection requests. | (none) | ||||||||||||
‑oms_autostart
| Specifies (yes or no) whether or not OMS is started automatically by Universal Broker when Universal Broker starts. | no | ||||||||||||
| ||||||||||||||
‑opscli
| Specifies (yes or no) whether or not the Universal ControllerCommand Line Interface (CLI) tools will be installed. | no | ||||||||||||
| ||||||||||||||
-usermode_install --usermode_install | Specifies (yes or no) for a user mode installation, which defines both of the following:
| no | ||||||||||||
| If Universal Agent for Linux Installation#--usermode_install is set to yes: Specifies the Agent binaries (installation) directory. | (none) | ||||||||||||
‑unvcfgdir
| If --usermode_install is set to yes: Specifies the Agent configuration files directory. |
| ||||||||||||
‑unvdatadir
| If --usermode_install is set to yes: Specifies the Agent data files directory. |
| ||||||||||||
‑unvport
| If --usermode_install is set to yes: Specifies the Universal Broker port. | (none) | ||||||||||||
| ||||||||||||||
‑python
| Specifies (yes or no) whether the Python 3.7 Distribution for Universal Agent is installed. | no | ||||||||||||
Additional Parameter | ||||||||||||||
-? | Displays command line help. | n/a |
...
The following example illustrates Universal Agent for Linux installed with the installation script, unvinst, and optional parameters.
Panel | |
---|---|
Html bobswift | sh ./unvinst --user user1 --userdir /homedir/user --group usergroup
--keystore no --convert_opsagent --opsdir /homedir/ops
--oms_servers 7878@oms2 --oms_port 7878 --oms_autostart yes
--ac_agent_clusters GA Cluster,CA Cluster --ac_agent_ip 127.0.0.1
--ac_netname OPSAUTOCONF --opscli yes --uag_autostart yes
--usermode_install yes --unvdir /opt/universal
--unvcfgdir /etc/universal --unvdatadir /var/opt/universal --unvport 7887
</pre> |
Anchor | ||||
---|---|---|---|---|
|
...
Note | ||
---|---|---|
| ||
You can execute the install as a non-root user if you want to execute the Agent in an unprivileged user mode environment. See User Mode Installation for for specific requirements and restrictions associated with an unprivileged user mode environment. |
...
To list information for the Universal Agent for Linux, issue the following command:
Panel |
---|
<pre>
rpm -qi unv
rpm -qi unv-opscli
</pre> |
Debian Commands
Information on installed packages is listed with the dpkg command. The command must be executed with superuser authority.
To list information for the Universal Agent for Linux, issue the following commands:
Panel |
---|
<pre>
sudo dpkg -l unv
sudo dpkg -l unv-opscli
</pre> |
Removing Universal Agent for Linux
...
Step 1 | Stop the ubrokerd daemon. | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Step 2 | Make a backup copy of the | ||||||||||||||||||
Step 3 | RPM Commands
| ||||||||||||||||||
Step 4 | Delete the Agent user account (
| ||||||||||||||||||
Step 5 | Delete the Agent group (
|
User Mode Install Removal
Step 1 | Stop the Usermode Broker. | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Step 2 | Make a backup copy of the | |||||||||
Step 3 | Using the superuser ID, remove all Universal Agent for Linux packages by issuing the following commands:
| |||||||||
Step 4 | Delete the Agent user account (
| |||||||||
Step 5 | Delete the Agent group (
|
Note | ||
---|---|---|
| ||
To remove an Agent executing in an unprivileged user mode environment (see User Mode Installation), simply stop the |
...
All supported Linux installations - except for SUSE 9 and below - require the sample PAM configuration file delivered with Universal Agent to be copied to directory /etc/pam.d:
Panel | |
---|---|
Html bobswift | cp /opt/universal/ucmdsrv/samp/ucmd.pam /etc/pam.d/ucmd
</pre>
|
PAM Configuration File
All Universal Agent components utilize the same PAM configuration file.
...