Avamar shutdown procedure

This post provides a quick guide to the steps needed to shutdown an Avamar system.

Procedure

  1. Login avmar system as admin (pttty/ssh)
  2. Check the system status (dpnctl status)
  3. Shutdown avmar (dpnctl stop)
  4. Check system status (dpnctl status)
  5. Become root user on the system (su - root)
  6. Shutdown physical server (shutdown -t secs 5)

Example Session

admin@ava61demo:~/>: dpnctl status
Identity added: /home/dpn/.ssh/dpnid (/home/admin/.ssh/dpnid)
dpnctl: INFO: gsan status: up.
dpnctl: INFO: MCS status: up.
dpnctl: INFO: EMS status: up.
dpnctl: INFO: Backup scheduler status: up.
dpnctl: INFO: dtlt status: up.
dpnctl: INFO: axionfs status: up.
dpnctl: INFO: Maintenance windows scheduler status: enabled.
dpnctl: INFO: Unattended startup status: enabled.

admin@ava61demo:~/>: dpnctl stop
Identity added: /home/admin/.ssh/dpnid (/home/admin/.ssh/dpnid)
– – – – – – – – – – – – – – – – – – – – Do you wish to shut down the local instance of EMS? Answering y(es) will shut down the local instance of EMS n(o) will leave up the local instance of EMS q(uit) exits without shutting down y(es), n(o), q(uit/exit): y dpnctl: INFO: Suspending backup scheduler… dpnctl: INFO: Backup scheduler suspended. dpnctl: INFO: Checking for active checkpoint maintenance… dpnctl: INFO: Terminating hfs integrity maintenance (hfscheck)… dpnctl: INFO: Shutting down dtlt… dpnctl: INFO: dtlt shut down. dpnctl: INFO: Shutting down EMS… dpnctl: INFO: EMS shut down. dpnctl: INFO: Shutting down MCS… dpnctl: INFO: MCS shut down. dpnctl: INFO: Shutting down gsan… dpnctl: INFO: gsan shut down. dpnctl: INFO: Shutting down axionfs… dpnctl: INFO: axionfs shut down. admin@ava61demo:~/>: dpnctl status Identity added: /home/admin/.ssh/dpnid (/home/admin/.ssh/dpnid) dpnctl: INFO: gsan status: not running dpnctl: INFO: MCS status: down. dpnctl: INFO: EMS status: down. dpnctl: INFO: Backup scheduler status: down. dpnctl: INFO: dtlt status: down. dpnctl: INFO: axionfs status: down. dpnctl: INFO: Maintenance windows scheduler status: unknown. dpnctl: INFO: Unattended startup status: enabled. dpnctl: INFO: [see log file "/usr/local/avamar/var/log/dpnctl.log"] admin@ava61demo:~/>: su - root Password: root@ava61demo:///#: shutdown -t secs 5 Broadcast message from root (pts/0) (Wed Jul 11 13:15:14 2012): The system is going DOWN to maintenance mode in 5 minutes! Broadcast message from root (pts/0) (Wed Jul 11 13:16:14 2012): The system is going DOWN to maintenance mode in 4 minutes! Broadcast message from root (pts/0) (Wed Jul 11 13:17:14 2012): The system is going DOWN to maintenance mode in 3 minutes! Broadcast message from root (pts/0) (Wed Jul 11 13:18:14 2012): The system is going DOWN to maintenance mode in 2 minutes! Broadcast message from root (pts/0) (Wed Jul 11 13:19:14 2012): The system is going DOWN to maintenance mode in 1 minute! Broadcast message from root (pts/0) (Wed Jul 11 13:20:14 2012): The system is going down to maintenance mode NOW!