X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C7B1F1.6AF95E5C@onstor-exch02.onstor.net>; Mon, 18 Jun 2007 13:41:24 -0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: Testing cw_install
Date: Mon, 18 Jun 2007 13:41:24 -0800
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E0267A021@onstor-exch02.onstor.net>
In-Reply-To: <20070618132016.22060eeb@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Testing cw_install
Thread-Index: Acex5hWbRF7XhF8hQFuHsR4ePq+fDwACdAMg
From: "Sandrine Boulanger" <sandrine.boulanger@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>

The bobcat vs cheetah does not work for our internal ftp path since the
location is hard coded. I know I can edit the script and change it.
But, if Support puts the tar file in a hidden directory on the ftp site,
which they usually do at the beginning, the path might be slightly
different, so the install script would not work anymore.
I think the way system upgrade checks it is by using the /version file
of the downloaded tar file, verifying if there's a c at the end of the
string for a cheetah. Of course that implies you need to download the
tar file first so the check is done farther down the path. But I don't
think we can have a hard coded path for the check...


# sh cw_install.sh

Welcome to the ONStor Standalone Upgrade System

This program will upgrade your secondary flash card to EverON
version 3.0.0.0 and boot your system to the new software.

You may run the program in interactive mode or unattended mode.
If you choose interactive mode, you will be prompted prior to
any reboots of the system.  Otherwise, you will only be
prompted for the FTP or HTTP URL of the distribution file,
and the upgrade will be completed automatically.

Would you like to run in interactive mode? [No] Yes
I'll take Yes as a 'yes' and run in interactive mode.
Formatting secondary Compact Flash Card
CF card is 488 MiB
Downloading the EverON software distribution.
Please enter the ftp or http URL of the distribution:
[ftp://support.onstor.com/outbound/software/EverON/3.0.0.0/22xx/EverON-3
.0.0.0BC.tar.gz]
You have specified the wrong tarball for a Bobcat.
This is probably not what you want and probably won't work.
Do you want to enter a different URL? [yes] yes
Please enter the ftp or http URL of the distribution:
[ftp://upgrade:#####@10.2.0.2/home/upgrade/EverON-3.0.0.0BC.tar.gz]
You have specified the wrong tarball for a Bobcat.
This is probably not what you want and probably won't work.
Do you want to enter a different URL? [yes]

-----Original Message-----
From: Andy Sharp=20
Sent: Monday, June 18, 2007 1:20 PM
To: Sandrine Boulanger
Subject: Re: Testing cw_install

On Mon, 18 Jun 2007 12:04:49 -0700 "Sandrine Boulanger"
<sandrine.boulanger@onstor.com> wrote:

> Thanks. I would need to test the final one generated by an official
> build from Ken but I can get started with this one.
> Does the cheetah's install script differs from the bobcat's?

Nope, they are the same.

> -----Original Message-----
> From: Andy Sharp=20
> Sent: Monday, June 18, 2007 12:03 PM
> To: Sandrine Boulanger
> Subject: Re: Testing cw_install
>=20
> On Mon, 18 Jun 2007 11:29:36 -0700 "Sandrine Boulanger"
> <sandrine.boulanger@onstor.com> wrote:
>=20
> > Could you give me the location of your latest version of the
> > cw_install.sh that you have for Bobcat opt and Cheetah opt?
> > I would like to test it today so that we could post the final script
> > along with the FCS build on the support site.
> > Thanks,
> > Sandrine.
>=20
> Hi Sandrine,
>=20
> You came by and asked me about this but I don't know if you sent this
> email before or after that.  Do you still need me to point you to a
> cw_install.sh?
>=20
> I have one here:
>=20
> http://ripper/dr/Release/etc/cw_install.sh
>=20
> but for proper QA testing, you should edit it and change BUILD_TYPE to
> opt instead of dbg.  If you don't change that, it won't check the
> tarball for bobcat vs. cheetah.
