Jump to content

Does Some One Works On Avamar


Recommended Posts

Posted

You have to get the Major number, Minor number and Build number from the installed package. Similarly you need to know the Major number, Minor number and Build number from the package you are trying to install. Start with comparing the Major number and then Minor and then Build number

I have written the logic as i have explained

#!/bin/bash

INSTALLED_VERSION="AvamarClient-6.1.100-402.x86_64"
CURRENT_VERSION="AvamarClient-6.1.90-102.x86_64"

#get the Major numbe,Minor number and build number from the Installed version string
INST_MAJOR=`echo $INSTALLED_VERSION | cut -d'-' -f2 | cut -d'.' -f1`
INST_MINOR=`echo $INSTALLED_VERSION | cut -d'-' -f2 | cut -d'.' -f2`
INST_BUILD=`echo $INSTALLED_VERSION | cut -d'-' -f2 | cut -d'.' -f3`
echo "INST_MAJOR=$INST_MAJOR,INST_MINOR=$INST_MINOR,INST_BUILD=$INST_BUILD"

#get the Major numbe,Minor number and build number from the Current version string
CUR_MAJOR=`echo $CURRENT_VERSION | cut -d'-' -f2 | cut -d'.' -f1`
CUR_MINOR=`echo $CURRENT_VERSION | cut -d'-' -f2 | cut -d'.' -f2`
CUR_BUILD=`echo $CURRENT_VERSION | cut -d'-' -f2 | cut -d'.' -f3`
echo "CUR_MAJOR=$CUR_MAJOR,CUR_MINOR=$CUR_MINOR,CUR_BUILD=$CUR_BUILD"

if [ $CUR_MAJOR -gt $INST_MAJOR ]
then
echo "Starting with Installation..."
elif [ $CUR_MAJOR -eq $INST_MAJOR ]
then
if [ $CUR_MINOR -gt $INST_MINOR ]
then
echo "Starting with Installation..."
elif [ $CUR_MINOR -eq $INST_MINOR ]
then
if [ $CUR_BUILD -gt $INST_BUILD ]
then
echo "Starting with Installation..."
elif [ $CUR_BUILD -eq $INST_BUILD ]
then
echo "Package already installed..."
else
echo "You are trying to install older package...Exiting"
fi
else
echo "You are trying to install older package...Exiting"
fi
else
echo "You are trying to install older package...Exiting"
fi

Posted

resume 9 ... actual 12... point adi kaadu

LTT

Help cheyyandi .. I know how it feels to not have answers at the right time and right place... is Avamar a rarest of the rare kind of technology?

backup software EMC di..

  • Upvote 1
Posted

backup software EMC di..

Just ippude telsukunna

 

posting what all information I find on issues users faced

 

still not sure what the TS issue is

 

am no avamar pro here 

Posted

Just ippude telsukunna

 

posting what all information I find on issues users faced

 

still not sure what the TS issue is

 

am no avamar pro here 

ah matram TS velli EMC forum lo try chestadu kavochu.....ledantey EMC support to case open cheyali

  • Upvote 1
Posted

ah matram TS velli EMC forum lo try chestadu kavochu.....ledantey EMC support to case open cheyali

yeah 

 

Hope TS knows

×
×
  • Create New...