Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To uncompress and extract the installation files from the product distribution file, issue the following command:

<pre>
zcat sb-7.2.x.x-linux-3.10-x86_64.tar.Z | tar xvf -
</pre>
Panel
Html bobswift

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:

html-bobswift
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:

<pre>
zcat sb-7.2.x.x-linux-3-x86_64-deb.tar.Z | tar xvf -
</pre>
Panel
Html bobswift

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:

<pre>
zcat sb-7.2.x.x-linux-3.10-ppc64le.tar.Z | tar xvf -
</pre>
Panel
Html bobswift

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:

html-bobswift
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
group 
name</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
network 
address</i>
address] [--oms_port 
<i>port</i>
port] [--ac_agent_clusters 
<i>clusters</i>
clusters] 
             [--ac_agent_ip 
<i>IP
IP 
address</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.
 

...

The following example illustrates Universal Agent for Linux installed with the installation script, unvinst, and optional parameters.

<pre>
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>
7887
Panel
Html bobswift

Anchor
User Mode Installation
User Mode Installation
User Mode Installation

...

To list information for the Universal Agent for Linux, issue the following command:

html-bobswift
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:

html-bobswift
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 /var/opt/universal and /etc/universal directories.

Step 3

RPM Commands
 
Using the superuser ID, remove all Universal Agent for Linux packages by issuing the following commands:
 

<pre>
rpm -e unv-opscli
rpm -e unv
</pre>
Panel
Html bobswift


<pre>
rm -rf /etc/universal
</pre>
Panel
Html bobswift


html-bobswift
Panel
<pre>
rm -rf /var/opt/universal
</pre>

 
Debian commands
 
Using the superuser authority, remove all Universal Agent for Linux packages by issuing the following commands:
 

html-bobswift
Panel
<pre>
sudo dpkg -r unv-opscli
sudo dpkg -r unv
</pre>


<pre>
rm -rf /etc/universal
</pre>
Panel
Html bobswift


<pre>
rm -rf /var/opt/universal
</pre>
Panel
Html bobswift


Step 4

Delete the Agent user account (ubroker) and its home directory:
 

<pre>
Panel
Html bobswift
Panel
userdel -r ubroker
</pre>


Step 5

Delete the Agent group (ubroker):
 

html-bobswift
Panel
<pre>
groupdel ubroker
</pre>


User Mode Install Removal

Step 1

Stop the Usermode Broker.

Step 2

Make a backup copy of the <--unvcfgdir> and <--unvdatadir> directories.

Step 3

Using the superuser ID, remove all Universal Agent for Linux packages by issuing the following commands:
 

<pre>
rm -rf <---unvdir>
</pre>
Panel
Html bobswift


<pre>
rm -rf <--unvcfgdir>
</pre>
Panel
Html bobswift


html-bobswift
Panel
<pre>
rm -rf <--unvdatadir>
</pre>


Step 4

Delete the Agent user account (ubroker) and its home directory:
 

html-bobswift
Panel
<pre>
userdel -r [Usermode Broker user]
</pre>


Step 5

Delete the Agent group (ubroker):
 

<pre>
groupdel [Usermode Broker group]
</pre>
Panel
Html bobswift



Note
titleAgent

To remove an Agent executing in an unprivileged user mode environment (see User Mode Installation), simply stop the ubrokerd daemon and remove the ./universal installation directory. To make sure that you do not mistakenly remove a system install directory, attempt the removal with a non-privileged user account or the Broker account.

...

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:

<pre>
cp /opt/universal/ucmdsrv/samp/ucmd.pam /etc/pam.d/ucmd
</pre>
Panel
Html bobswift

PAM Configuration File

All Universal Agent components utilize the same PAM configuration file.

...