Unsolved

This post is more than 5 years old

1 Rookie

 • 

61 Posts

8083

February 25th, 2011 08:00

Restarting failed Avamar grid installation

Hi!

I am trying to install brand new Avamar grid. It consists of 3 DS and 1 Utility. Dpnnetutil worked OK. The I started avqinstall. All went well, but at some point it fails. Now I am trying to run it again, but get: 2011/02/25-15:02:35 avqinstall: ERROR: to continue would wipe out existing backup data - perhaps you meant to apply a server software upgrade instead of a first-time installation?

Now the question is: how to revert Avamar grid to the state before installation so I can restart avqinstall? Or how to tell avqinstall to ignore/delete existing data? 

116 Posts

February 25th, 2011 09:00

Hi Raimonds,

How is a first installation could you try this solution https://solutions.emc.com/emcsolutionview.asp?id=esg95535 

This solution help me previously.

Regards,

Luis Rogerio

1 Rookie

 • 

61 Posts

February 25th, 2011 10:00

Cannot open that solution. Can you copy/paste text of it?

266 Posts

February 25th, 2011 11:00

hello,

> ERROR: gsan is running: do shutdown first, stopped at /usr/local/avamar/bin/dpn.pm line 3147.

Please load admin keys (described below), and use mapall command and kill all gsan ... and re-run comand

   # mapall "killall gsan"

To run a command as user admin, load the admin SSH keys:
# su – admin
# ssh-agent bash
# ssh-add ~/.ssh/admin_key
Supply the admin key passphrase when prompted.

regards,

Rej

266 Posts

February 25th, 2011 11:00


How to wipe / clean all data from an Avamar system
ID: esg95535
Use Count: 12
Date Created: 03/07/2008
Date Modified: 11/12/2010
Product(s): Avamar Server
Category(ies): Configuration
Status: Approved
Related Bugs:
SOLUTION
ERROR:
n/a

SYMPTOM:
Customer wishes to remove all data from an Avamar system and start again

CAUSE:
n/a

RESOLUTION:

1)  Shutdown the Avamar software
- dpnctl stop

2)  Remove all data.  It is VERY important that these EXACT commands  be followed.  Removing any additional data will make it very tough to  recover without re-kickstarting.

- Log in as dpn
- Load dpn?s keys (ssh-agent bash; ssh-add ~/.ssh/dpnid)
- export SYSPROBEUSER=root
- mapall --noerror --parallel ?rm -rf /data0?/cur*?
- mapall --noerror --parallel ?rm -rf /data0?/cp*?
- mapall --noerror --parallel ?rm -rf /data0?/hfscheck*?
- mapall --noerror --parallel ?rm -rf /data0?/QA*?

3)  Confirm all directories are empty
- mapall df -h
- ensure all partitions on every node are at ~33MB, with  the exception of /data01.  /data01 should be closer to 100MB

Once these steps have been done, the system has been wiped clean.  

If you want to start the software back up you need to re-install  Avamar using  the avw_install process again.  When running avw_install  you absolutely *must* pay attention to any problems it throws up and  solve them before moving onto the next step.


**NOTE**  If you wish to wipe the Avamar system on a regular basis  it is useful to create a 'blank' checkpoint.  This will allow you to go  back to an empty starting point each time you roll back to it.

1 Rookie

 • 

61 Posts

February 25th, 2011 11:00

This is Avamar 5.0 and there is no avw_install, but avqinstall. Tried doing that and running avqinstall, but no luck. I am ready to do kickstarting - whatever that means. How do you do that?

This is what I am getting:

[avqinstall v5.0.0-38]
avqinstall: INFO: logging to "/usr/local/avamar/var/log/avqinstall.log"
avqinstall: INFO: checking /etc/hosts for disagreements with DNS
avqinstall: INFO: Using existing node resource database file /usr/local/avamar/var/probe.xml
avqinstall: INFO: verifying ssh connectivity and authorizations for all nodes
avqinstall: INFO: checking for existing backup data
avqinstall: INFO: skipping unpacking and installation of server software tarball v5.0.3.29
avqinstall: INFO: checking node types
avqinstall: INFO: installing dpnrc* packages, if any
avqinstall: INFO: synthesized gsan key account id "CN-2011022519"
avqinstall: INFO: synthesized gsan key asset reference id "xxx-avamar"
avqinstall: INFO: gathering gsan license key source data
avqinstall: INFO: checking for NTP-based time synchronization
avqinstall: INFO: skipping time configuration because: xxx-avamar.xxx appears to have a local time zone name compatible with 5.x or later requirements; clocks appear to be synchronized on all reachable Avamar nodes
avqinstall: INFO: creating default server lockbox "/usr/local/avamar/var/avlockbox.clb"
avqinstall: INFO: adding standard credentials to the server lockbox
avqinstall: INFO: starting lm service
avqinstall: INFO: starting gsan
avqinstall: INFO: to monitor progress, run in another window: tail -f /tmp/avqinstall-command-output.11900
avqinstall: ERROR: run command failed: 'start.dpn --clean --password="8RttoTriz" --systemname="XXX-AVAMAR" --repl_password="9RttoTriz" --lmaddr='xx.x.xx.xx' --expert --hfsport=27000'
*** For details please see the log file: "/usr/local/avamar/var/log/avqinstall.log"

1 Rookie

 • 

61 Posts

February 25th, 2011 11:00

This is where gsan startup fails:

2011/02/25-19:16:53 - - - - - - - - - - - - BEGIN
Identity added: /home/admin/.ssh/dpnid (/home/admin/.ssh/dpnid)
Identity added: /home/admin/.ssh/dpnid (/home/admin/.ssh/dpnid)
Using /usr/local/avamar/var/probe.xml
xxx-avamar => xxxxx
Checking 0.0 for running gsan processes
ERROR: gsan is running: do shutdown first, stopped at /usr/local/avamar/bin/dpn.pm line 3147.

1 Rookie

 • 

61 Posts

February 25th, 2011 12:00

Thanks. Now after I re-run avqinstall --noconnectemc --nounpack --norequire_clean_system I get hardware error.

Checking for prime completion. Please wait.
2011/02/25-20:51:55.64124 {0.0} [log-messages:107]  ERROR: <0001> HARDWARE: Feb 24 17:56:17 localhost Server Administrator: Storage Service EventID: 2248  The controller battery is executing a Learn cycle.:  Battery 0 Controller 0
Looks like this might have been a problem from very start.

116 Posts

February 28th, 2011 06:00

Raimonds,

I have the same problem and I solved cleaning /var/log/messages.

mapall --all --user=root >/var/log/messages

And try again install...

Regards,

Luis Rogerio

1 Rookie

 • 

61 Posts

February 28th, 2011 07:00

Yes, have done this already.

No Events found!

Top