This post is more than 5 years old
1 Rookie
•
22 Posts
0
971
September 19th, 2014 05:00
Avamar with SAP - DIR_LIB
Hi,
Can you please tell me where can I set the DIR_LIBRARY variable for Avamar ? I need to set the parameter in my dataset or may be the initfile as DIR_LIBRARY=
/usr/sap/ /SYS/exe/run
My backups are working fine but it is giving an error related to the same on SAP when avamar calls brarchive



aviraikkonen
1 Rookie
•
22 Posts
1
September 27th, 2014 00:00
Checked with support and got an answer -
set this parameter up in /usr/local/avamar/etc/avagent.d
This is a script and there is section where you can set variables:
…
AVAGENT=avagent.bin
BASEDIR=/usr/local/avamar
LD_LIBRARY_PATH="${BASEDIR}/lib:${LD_LIBRARY_PATH}"
SHLIB_PATH=$LD_LIBRARY_PATH
LIBPATH="${BASEDIR}/lib:${LIBPATH}"
# LD_LIBRARY_PATH for Solaris, SHLIB_PATH for HP-UX, LIBPATH for AIX
export LD_LIBRARY_PATH
export SHLIB_PATH
export LIBPATH
#Add below this line DIR_LIBRARY
After this is done, restart the agent:
/usr/local/avamar/etc/avagent.d stop
/usr/local/avamar/etc/avagent.d start
Have got it tested and it works.
Note - Upgrade to the client version will result in the entry being removed and needs to be applied again.
Fenglin1
4 Operator
•
2.1K Posts
0
September 25th, 2014 01:00
Hi aviraikkonen,
Please consider moving this question as-is (no need to recreate) to the proper forum for maximum visibility. Questions written to the users' own "Discussions" space don't get the same amount of attention and questions can go unanswered for a long time.
You can do so by selecting "Move" under ACTIONS along the upper-right. Then search for and select: "Avamar Support Forum" which would be the most relevant for this question.
pawankumawat
355 Posts
0
September 28th, 2014 05:00
Thanks for sharing information, will be surely helpful for others !!!
Regards,
Pawan