ArcServe agent 15 on OEL 6.1

Although ArcServe agent for Linux is not yet certified on Redhat 6.x (OEL 6.x) I decided to install and test the ArcServe agent v15.0 on my newly installed Oracle Enterprise Server 6.1 (x64, of course). Here is a mini how-to (I was installing from ArcServe 15 DVD):

# mount -t iso9660 /dev/cdrom /mnt/cdrom
# cd /mnt/cdrom/DataMoverandAgent/Linux
# ./install
Cannot identify your Linux distribution or it is not yet supported.

Important! You are installing UNIX and Linux Data Mover on a system that is running an operating system that is not currently supported by ARCserve. To check the latest list of supported operating systems, go to ca.com/support. If you continue, be aware that unexpected results could occur.
Do you want to continue? (YES/NO):(default: NO) YES

Simply select 2 (installig agent) and accept defaults, stop with the installation when you see the following warning:

The components you selected require this library file:
libstdc++-libc6.1-1.so.2.  Typically, Linux comes with this library
file. It is located in the /usr/lib path.  Before you rerun the
installation, install the file.

I already installed libstdc++-libc6.2-2.so.3 library on my OEL 6.1, hence all that is needed is a symbolic link that will hide the fact that newer libstdc++ library exists on the system:

$ sudo yum install compat-libstdc++-296.i686  // run in case if the proper "compat" library is not already installed on OEL6
$ cd /usr/lib
$ sudo ln -s libstdc++-libc6.2-2.so.3 libstdc++-libc6.1-1.so.2

Now, you can continue with the installation:

All CA ARCserve Backup agents can be configured for automatic startup 
and shutdown as part of your operating system startup and shutdown.
Do you want to enable automatic startup and shutdown of all backup agents? 
[y|n]:(default: y) y

Checking available space in /opt/CA                           ==> [ OK ]


Installation log file is                           ==> [ /tmp/ARCserveInstall070811-1055.log ]

    Common Agent Module                      (ABcmagt)       ==> [ INSTALL SUCCESSFUL ]
    Client Agent for Linux                   (ABagntux)      ==> [ INSTALL SUCCESSFUL ]

######################################################

    Installation log file is                      ==> [ /tmp/ARCserveInstall070811-1055.log ]
######################################################

Do you want to view the readme? [y|n]:(default: y) 

Posted on 08.07.2011, in Linux, PostgreSQL, etc. and tagged , . Bookmark the permalink. 2 Comments.

  1. Troubleshooting connection from BAB to Linux agent
    Whenever I tried to connect to CA agent on Linux from Windows BAB server with the OEL 6 root account I got:

    (stcpReceive)Failed in recv(4), torcv=8, length=8, Connection reset by peer
    

    in /opt/CA/ABcmagt/logs/caagentd.log.

    The problem lies in LD_ASSUME_KERNEL variable that is set by default in agent.cfg file.

    $ sudo nano /opt/CA/ABcmagt/agent.cfg
    
    and comment out LD_ASSUME_KERNEL=2.4.18 line, so that you'll have:
    
    #ENV       LD_ASSUME_KERNEL=2.4.18
    

    In addition to commenting out above variable, I also disabled host equivalence authentication, by adding NO_HOSTS_EQUIV variable to agent.cfg:

    ENV       NO_HOSTS_EQUIV=1
    

    Restart the agent:

    $ sudo uagent stop
    $ sudo uagent start
    

    Now, you can add Client Machine Object on BAB server (make sure you login as root!) and it should show you the directory tree on Linux.

  2. STEP 1: Uninstall client agent V15

    $ cd /opt/CA/ABcmagt
    [alesk@orclacme ABcmagt]$ sudo ./uninstall
    [sudo] password for alesk:
    
    Getting package information ...
    
    #####################################################################
                 ARCserve Uninstallation Options
    #####################################################################
       1.CA ARCserve Backup for Linux Common Agent                             (ABcmagt)   
       2.CA ARCserve Backup for Linux Client Agent                             (ABagntux)  
    
       0.Quit
    #####################################################################
    Please give your selection, separated by ,. For example: 1,2
    Your choices are: 1
    

    STEP 2: Install agent V16

    # mount -t iso9660 /dev/cdrom /mnt/cdrom
    # cd /mnt/cdrom/DataMoverandAgent/Linux
    # ./install
    Since I already installed libstdc++-libc6.2-2.so.3 library I could ignore the warning.
    

    STEP 3: Configure agent.cfg (optionally)

    $ sudo nano /opt/CA/ABcmagt/agent.cfg
    
    In version 16 CA already commented out LD_ASSUME_KERNEL=2.4.18 line. Here is part of agent.cfg from my testing server:
    #[LinuxAgent]
    NAME      LinuxAgent
    VERSION   16.0
    HOME      /opt/CA/ABuagent
    ENV       NO_HOSTS_EQUIV=1            << ADDED 
    #ENV      CA_ENV_DEBUG_LEVEL=4
    ENV    AG_INSTALLED_ON_VMWARE=1
    ENV       AB_OS_TYPE=ORACLEAMERICA_X86_64
    ENV       UAGENT_HOME=/opt/CA/ABuagent
    #ENV       LD_ASSUME_KERNEL=2.4.18
    ENV       LD_LIBRARY_PATH=/opt/CA/ABcmagt:$LD_LIBRARY_PATH:/SharedComponents/lib:/opt/CA/ABuagent/lib
    ENV       SHLIB_PATH=/opt/CA/ABcmagt:$SHLIB_PATH:/SharedComponents/lib:/opt/CA/ABuagent/lib
    ENV       LIBPATH=/opt/CA/ABcmagt:$LIBPATH:/SharedComponents/lib:/opt/CA/ABuagent/lib
    BROWSER   cabr
    AGENT     uagentd
    MERGE     umrgd
    VERIFY    umrgd
    NOPASSWORD                 << ADDED
    CAUSER A:alesk N:root      << ADDED
    

    STEP 4: Restart agent

    $ sudo uagent stop
    $ sudo uagent start
    

    NOTE: OEL 6.x is not yet officially supported, even in recently released ArcServe 16. So far everything worked as expected that’s why I’ll not hesitate to deploy Agent 16 on OEL 6.x in near future.