11.2. Tungsten Dashboard Initial Configuration Example

Create and edit the config.json file to set the administrators and enableRBAC values to match your Basic Auth security setup, or additionally create the file config.json and populate it with the $jsonConfig data structure and appropriate values:

shell> sudo su - tungsten
shell> cd /volumes/data/www/tungsten/html/
shell> cp config.php.sample config.php
shell> cp config.json.sample config.json
shell> vim config.json
{
    "clusters": {
    },
    "menus": {
        "tools": {
            "<span class=\"glyphicon glyphicon-link\"></span> Add your links here":"http://docs.continuent.com/tungsten-dashboard-1.0/tungsten-dashboard-configure-dashboard.html",
            "Archive Mode Docs":"http://docs.continuent.com/tungsten-clustering-7.1/operations-status-changingstates.html#operations-status-changingstates-archive",
            "Cluster Heartbeat Docs":"http://docs.continuent.com/tungsten-clustering7.1/cmdline-tools-cctrl-commands.html#cmdline-tools-cctrl-commands-cluster-heartbeat"
        }
    },
    "settings": {
        "administrators": [ "tungsten","newuser1","testuser123" ],
        "dashboardMaintenanceScreen":0,
        "enableRBAC":1,
        "enableUpdates":1,
        "sortByConfigOrderNotAlpha":1
    }
}