Versions Compared

Key

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

...

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

<pre>
zcat sb-7.2.x.x-aix-7.1-ppc64.tar.Z | tar xvf -
</pre>
Panel
Html bobswift

This command assumes the following:

...

To start the unvinst installation script and install all of the AIX packages, issue the following command:

<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}] [--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] 
             [--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}]
             [--uag_autostart 
<i>yes</i>
yes] [--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>
Panel
Html bobswift

See AIX 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 AIX 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>
Panel
Html bobswift

Anchor
User Mode Installation
User Mode Installation
User Mode Installation

...

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

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

Removing Universal Agent for AIX

...

Step 1

Stop the ubrokerd daemon.

Step 2

Make a backup copy of the /etc/universal and /var/opt/universal directories.

Step 3

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

html-bobswift
Panel
<pre>
rpm -e unv-opscli
rpm -e 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:
 

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


Step 5

Delete the Agent group (ubroker):
 

<pre>
rmgroup ubroker
</pre>
Panel
Html bobswift


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:
 

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


Step 5

Delete the Agent group (ubroker):
 

html-bobswift
Panel
<pre>
rmgroup [Usermode Broker group]
</pre>



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.

...