Koozali.org: home of the SME Server

ARCserve

annw

ARCserve
« on: February 22, 2007, 11:46:41 AM »
Does anyone know how to install Brightstor / Arcserve 7 for Linux on a SME 7 centos box?

I tried to install the Software but get an error that my Distribution is not recognized.

Offline jmvelez

  • ****
  • 85
  • +0/-0
    • http://velezcomputer.com
arcserve
« Reply #1 on: February 24, 2007, 02:03:52 PM »
Save money and time use Novanet or Tapeware (same product).  Novanet price is lower.  You can download a demo.

annw

ARCserve
« Reply #2 on: February 26, 2007, 10:36:58 AM »
That't not an option i'm afraid as the software is bought and the whole system needs to be intergrated - i have 2 SME servers both of which i need to have compatible with this.
I'm certain there must be a way to trick the Arcserve installation to thinking it is a Red Hat box and not a Centos box, but have no idea how to do this.
Any suggestions would be great!

Offline Stefano

  • *
  • 10,894
  • +3/-0
ARCserve
« Reply #3 on: February 26, 2007, 11:08:40 AM »
Quote from: "annw"
That't not an option i'm afraid as the software is bought and the whole system needs to be intergrated - i have 2 SME servers both of which i need to have compatible with this.
I'm certain there must be a way to trick the Arcserve installation to thinking it is a Red Hat box and not a Centos box, but have no idea how to do this.
Any suggestions would be great!


I think Arcserve read /etc/redhat-release

So, you can try to:

- cp /etc/redhat-release /etc/redhat-release.old
- cp /etc/issue /etc/issue.old
- cp /etc/issue.net /etc/issue.net.old
- echo "Red Hat Enterprise Linux release 4 " > /etc/redhat-release
- cp /etc/redhat-release /etc/issue
- echo "Kernel \r on an \m" >> /etc/issue
- cp /etc/issue /etc/issue.net

(last 4 lines come from redhat-release rpm spec file)

- install Arcserve
- copy back your .old files to original name

Just a suggestion.. I haven't tested.. :-)

HTH

Ciao
Stefano

annw

ARCserve
« Reply #4 on: February 26, 2007, 11:49:30 AM »
Thank you for the sugestion, but that did not seem to work.

I have however found the answer -

Copy the whole CD to a folder on the server so you can edit the installation file.

http://www.centos.org/modules/newbb/viewtopic.php?topic_id=1926

The only fix I could think of was to manually edit the "install" script and add a line just below line 532:
else if (/CentOS/) { print "RedHat" }

So my install script became something like this for the "getDistributor()" function:
...
getDistributor()
{
LINUX_VENDOR=$(${DEPOT}/${MISC}/$CAUNAME -s)
DISTRIBUTOR=""
DISTRIBUTOR=`echo $LINUX_VENDOR | awk '{
if (/Red Hat/) { print "RedHat" }
else if (/CentOS/) { print "RedHat" }
else if (/RedFlag/) { print "RedFlag" }
else if (/Asianux/) { print "RedFlag" }
else if (/Turbo/) { print "TurboLinux" }
else if (/(SuSE|SUSE)/) { print "SuSE" }
else if (/Caldera/) { print "OpenLinux" }
else if (/UnitedLinux/) { print "UnitedLinux" }
else if (/MIRACLE/){ print "MIRACLE" }
else { print $0 }
}'`
echo $DISTRIBUTOR
}
...

The problem with the script is that it uses an usual method of discovering the target OS. Instead of issuing a "rpm -q redhat-release" or something similar, it issues a "rpm -qi kernel" command and the filters the output to the "Vendor" field. Under CentOS this is not "Red Hat" as it would be on a "real" Red Hat supported OS.

Just done this, and Arcserve is now installed!

Very happy!

Offline syscom

  • *
  • 14
  • +0/-0
Re: ARCserve
« Reply #5 on: September 19, 2007, 12:18:53 AM »
Hello

I tried to install Arcserve Backup For Linux r11.5 sp2 on SME Server 7.2 without success... even with modifying the install script as shown above...


Help would be appreciated !