Tuesday 10 June 2014

Checking the status of your Avamar node from the CLI

Checking the status of your Avamar node can be done with a few simple commands via a telnet client. To check the current status of the node run "dpnctl status".

AVAMARNODE:~/#: dpnctl status
Identity added: /home/dpn/.ssh/dpnid (/home/dpn/.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: Maintenance windows scheduler status: enabled.
dpnctl: INFO: Unattended startup status: enabled.

Everything should be "up" and the maintenance windows enabled unless your have deliberately disabled them to perform e.g. An out of schedule garbage collection.

The next command "status.dpn" will give us the system-status, access-status, checkpoint, garbage collection & hfscheck statuses. Use this command to confirm your maintenance activities have run correctly. If they haven't run you'll need to investigate the logs.

AVAMARNODE:~/#: status.dpn
Tue Jun 10 17:34:57 EST 2014  [AVAMARNODE] Tue Jun 10 07:34:57 2014 UTC (Initialized Thu Jun 27 02:17:56 2013 UTC)
Node   IP Address     Version   State   Runlevel  Srvr+Root+User Dis Suspend Load UsedMB Errlen  %Full   Percent Full and Stripe Status by Disk
0.0     xxx.xxx.xxx.xxx   x.x.x-xxx  ONLINE fullaccess mhpu+0hpu+0hpu   1 false   0.21 30737  3921868  20.4%  20%(onl:1777) 20%(onl:1772) 20%(onl:1779) 20%(onl:1769) 20%(onl:1772) 20%(onl:1770)
Srvr+Root+User Modes = migrate + hfswriteable + persistwriteable + useraccntwriteable

All reported states=(ONLINE), runlevels=(fullaccess), modes=(mhpu+0hpu+0hpu)
System-Status: ok
Access-Status: full

Last checkpoint: cp.20140609233540 finished Tue Jun 10 09:39:21 2014 after 03m 41s (OK)
Last GC: finished Tue Jun 10 17:06:24 2014 after 14m 52s >> recovered 10.69 GB (OK)
Last hfscheck: finished Tue Jun 10 09:35:09 2014 after 26m 20s >> checked 3635 of 3635 stripes (OK)

Maintenance windows scheduler capacity profile is active.
  The maintenance window is currently running.
  Next backup window start time: Tue Jun 10 18:00:00 2014 EST
  Next blackout window start time: Wed Jun 11 06:00:00 2014 EST
  Next maintenance window start time: Wed Jun 11 09:00:00 2014 EST

No comments:

Post a Comment