Controller Based WLANs

How to configure database sync on Aruba controllers?
Requirement:

This article was tested on Aruba OS 6.4

We need a Master, standby and local setup to test this:

 

(master) #show switches

All Switches
------------
IP Address   Name     Location          Type     Model      Version        Status  Configuration State  Config Sync Time (sec)  Config ID
----------   ----     --------          ----     -----      -------        ------  -------------------  ----------------------  ---------
10.17.171.6  master   Building1.floor1  master   Aruba7210  6.4.3.7_53990  up      UPDATE SUCCESSFUL    0                       1
10.17.171.3  standby  Building1.floor1  standby  Aruba3200  6.4.4.5_54063  up      UPDATE SUCCESSFUL    27                      1
10.17.171.4  local-5  Building1.floor1  local    Aruba3600  6.4.3.7_53990  up      UPDATE SUCCESSFUL    11                      1

 



Solution:

 

Periodic database can be configured on all aruba controllers but functions only on a master controller. Below we have a master controller with one entry in local user-db:

(master) #show roleinfo
switchrole:master
masterip:10.150.2.100

(master) #show local-userdb
User Summary
------------
Name  Password  Role   E-Mail  Enabled  Expiry  Status  Sponsor-Name  Remote-IP  Grantor-Name
----  --------  ----   ------  -------  ------  ------  ------------  ---------  ------------
a     ********  guest          Yes              Active                0.0.0.0    admin
User Entries: 1

 

We can see that periodic database sync is disabled:


(master) #show database synchronize

Last synchronization time: Not synchronized since last reboot

Periodic synchronization is disabled
Synchronization doesn't include Captive Portal Custom data


Configuration:

We will enable periodic database sync with time interval of 360 minutes (6 hours):

(master) (config) # database synchronize period 360

 



Verification

Let us verify the database sync:

(master) (config) #show database synchronize

Last synchronization time: Wed May  4 06:26:20 2016
To Master Switch at 10.150.2.3:  succeeded
WMS Database backup file size: 160918 bytes
Local User Database backup file size: 60808 bytes
CPSec Database backup file size: 3252 bytes
Synchronization took 3 second

1 synchronization attempted
0 synchronization have failed

Periodic synchronization is enabled and runs every 360 minutes
Synchronization doesn't include Captive Portal Custom data

(master) (config) #show clock
Wed May  4 11:29:40 IND 2016
Version history
Revision #:
2 of 2
Last update:
‎05-18-2016 01:15 PM
Updated by:
 
Labels (1)
Contributors
Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.