01-06-2011 04:02 AM
Hi.
We have the problem with unattended RAWS install that under certain circumstances setup.exe exits before the installation is finished and as such installation sometimes fails.
Is this a known issue and is there any way around?
The certain circumstances are when you run setup.exe on a machin where RAWS is already installed.
So tryinig to install AOFO unattended always fails as RAWS is already installed then.
Thanks.
Regards.
BTW: Product is 2010 R2
01-06-2011 04:07 AM
On what version of OS you are installing AOFO.
01-06-2011 04:21 AM
We are installing it on Win 2008 R2.
As said AOFO and also RAWS are affected (of course we are installing the x64 versions).
On further investigation I found that setup.exe spawns a process with the name _Setup.exe and did not wait for the child process to finish.
The workaround I'm using for now is as follows:
setup.exe /RAWSX64: /S: /ADVRT:%BACKUPSERVER%
:LOOP
sleep 1
tasklist | find "_Setup.exe" > nul
if %ERRORLEVEL% == 0 goto LOOP
Cheers.
01-06-2011 04:26 AM
Windows 2008 doesn't need aofo at all. All the versions after 2003 don't need aofo and by default uses VSS from MS. So please don't try to install the AOFO on ws 2008.
You should have aofo checkbox checked in your main BE software and it will take the snapshot using vss from MS.
01-06-2011 04:35 AM
This does not solve our initial problem however interresting note.
Can you provide a link or any other reference where this is stated?
Thank's for the hint.
Regards.
01-06-2011 05:09 AM
Starting with Backup Exec 12.5, as part of a fresh install the Symantec Volume Snapshot Provider (VSP) not is installed and is supported only on Windows 2000/XP. However in case of an upgrade of an existing Backup Exec / RAWS installation with VSP already installed, it will still be available. Confirm if VSP is installed on the target server. If it is not available, change setting under the AOFO tab in the backup job properties to "Automatically select open file technology".
http://www.symantec.com/docs/TECH87546
When the rawas already installed run the setupaa.cmd instead of running setup.exe as it will not able to fetch the updates and recommended to run the setupaa.cmd that is the silent install and should resolve this issue.
01-06-2011 05:24 AM
OK found a link that proves it.
http://www.symantec.com/business/support/index?page=content&id=TECH71225
Thanks for pointing this out
01-06-2011 05:37 AM
Thanks for the hint with AOFO. I found a link on KB which states that AOFO should not be installed on Win2008.
However our initial problem is not related to that.
If you install RAWS on a machine where it is already installed setup.exe exits before installation process has finished.
Using setupaa.cmd does not make any difference here.
If you look at the code I posted you will see that we do nothing different to what setupaa.cmd does. The "@start /wait" does not help here as setup.exe spawns a process and does not wait until the child process has finished.
As we also want to collect logs of the installation we extended our workaround to the following:
setup.exe /RAWSX64: /S: /ADVRT:
:LOOP
sleep 1
tasklist | find /I "_Setup.exe" > nul
if %ERRORLEVEL% == 0 goto LOOP
tasklist | find /I "VxLogServer.exe" > nul
if %ERRORLEVEL% == 0 goto LOOP
.......
Cheers.