search
top

How to Upgrade Avamar Client on Solaris

Introduction

This post explains how to upgrade an existing Avamar client installation on Solaris. It covers removal and installation of the client on Sparc and x86 for Solaris 8, 9 & 10. This shown using an older package version but the process is the same.

Process

Copy the updated package on the server in the /tmp directory on the target server. For Solaris 8 & 9 use the Solaris 8 package and make sure to match the correct architecture (sparc or x86).

Stop the Avamar client:

/etc/init.d/avagent stop

Copy configuration information before removal:

create /tmp/avamar_backup
copy the following files to /tmp/avmar_backup:
/opt/AVMRclnt/var/avagent.cfg
/opt/AVMRclnt/var/cid.bin

Remove the existing client:
me@srvsq02 # pkgrm AVMRclnt

The following package is currently installed:
AVMRclnt Avamar Client
(sparc) 4.1.106-27

Do you want to remove this package? [y,n,?,q] y

## Removing installed package instance <AVMRclnt>

This package contains scripts which will be executed with super-user
permission during the process of removing this package.

Do you want to continue with the removal of this package [y,n,?,q] y
…..
…..
…..bunch of stuff happens…..
Removal of <AVMRclnt> was successful.

Cd to directory where the new client exists and install it.

pkgadd -dAvamarClient-solaris8-sparc-6.0.101-66.pkg

The following packages are available:
1 AVMRclnt Avamar Client
(sparc) 6.0.101-66

Select package(s) you wish to process (or ‘all’ to process
all packages). (default: all) [?,??,q]: all

Processing package instance <AVMRclnt> from </tmp/AvamarClient-solaris8-sparc-6.0.101-66.pkg>

Avamar Client
(sparc) 6.0.101-66

This software is copyright EMC Corporation, 2001-2010.

Please read and agree to the End User License Agreement which
will be placed in the base directory of the install as a file
named AvamarClient-License.txt.

Relocate install from /opt/AVMRclnt? [n] <RETURN>
Directory to locate cache & log files [/var/avamar]: <RETURN>
WARNING! Directory “/var/avamar” already exists!
Confirm ‘/var/avamar’ is the desired location. [n] y
## Executing checkinstall script.
Using </opt> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

This package contains scripts which will be executed with super-user
Permission during the process of installing this package.

Do you want to continue with the installation of <AVMRclnt> [y,n,?] y

Installing Avamar Client as <AVMRclnt>

## Executing preinstall script.
## Installing part 1 of 1.
/opt/AVMRclnt/AvamarClient-License.txt
/opt/AVMRclnt/bin/avagent.bin
/opt/AVMRclnt/bin/avregister
/opt/AVMRclnt/bin/avscc
/opt/AVMRclnt/bin/avtar
/opt/AVMRclnt/bin/avtar.bin
/opt/AVMRclnt/bin/unix.pin
/opt/AVMRclnt/etc/AvamarClient-UpdateReplace.sh
/opt/AVMRclnt/etc/avagent.d
[ verifying class <apps> ]
/opt/AVMRclnt/lib/libDDBoost.so
/opt/AVMRclnt/lib/libstdc++.so.2.10.0
[ verifying class <libs> ]
## Executing postinstall script.
Installation complete
You may run /opt/AVMRclnt/bin/avregister to register and activate this client with the Administrator server.
avagent Info <5241>: Logging to /opt/AVMRclnt/var/avagent.log
avagent Info <5417>: daemonized as process id 26881
avagent.d Info: Client Agent started.

Installation of <AVMRclnt> was successful.

Stop the agent:

me@srvsq02 # /etc/init.d/avagent stop

avagent Info: Stopping Avamar Client Agent (avagent)…
avagent Info: Client Agent stopped.

Copy configuration information :
copy the following files from /tmp/avmar_backup to:
from /tmp/avamar_backup/avagent.cfg to /opt/AVMRclnt/var/avagent.cfg
from /tmp/avamar_backup/cid.bin to /opt/AVMRclnt/var/cid.bin

Start the agent:

me@srvsq02 # /etc/init.d/avagent start

Installation is now completed.

Conclusion

You now have successfully upgraded the Avamar client on a Solaris server and have retained the settings.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

top