Managing Users & DBs

The Users & DBs icon located under the Settings column in the cluster control panel is used for enabling/disabling ScaleArc Authentication Offload. Enabling authentication offload allows ScaleArc to authenticate users internally instead of connecting each user to the database server which can speed up performance significantly.

ScaleArc also provides session management through connection pooling and multiplexing thereby client sessions terminate on ScaleArc instead of the target database. This reduces the total number of sessions to the DB servers which in turn increases performance.

Follow these steps to enable Authentication Offload and manage users associated with the cluster.

  1. On the ScaleArc dashboard, click CLUSTERS.
  2. Go to the Settings column. Click on Users & DBs to open the user configuration screen. 

    Users___DBs2.png
     
  3. Notice that the screen lists the existing users associated with the cluster. 

    Add_users.png

  4. Reference the below table while making configuration changes to the various fields:

    Field Description Default/User Input
    ScaleArc Authentication Offload
    ON/OFF toggle

    Functions like a "master switch" for Offload settings. When enabled, this option lets ScaleArc authenticate users internally instead of connecting each user to the database server.

    To toggle the ON/OFF setting you must first stop the cluster.
    Note that to disable this option, first
    disable the Read/Write Split and Prep-exec handling settings. Only then does the GUI allow you to disable Authentication Offload.

    Default is ON.
    Add User Allows you to add a new user (existing on the DB server) to the ScaleArc cluster. Click to open and add a user.
    Fetch Users Enables Auto Fetch Database Users, which automatically updates the user password changes and addition/deletion of new users. Click to enable/disable.
    Gear icon

    Helps to manage (add or remove) a logical DB for a particular user. You can also change a password for a particular user. Databases must be specified here to be fully accessible. 

    1 Click on the Gear icon to configure the DBs for the user.
    2 Click on the Change password button to assign a new password.
    User

    A list of one or more users who are enabled on ScaleArc to execute various statements against the database server. 

     
    Databases The names of the logical database(s) associated with the user.  
    Search Lets you search for a user. Enter a username to search.

Add Users

Follow these procedures to add a user to the cluster.

  1. Click Add User.

    Add_user.png

  2. Enter the user name and password for the new user. Assign the user one or more databases by moving the selected database from the left panel to the right. 


    Specify_DBs.png

  3. Click Save. This action adds a new user to ScaleArc. 

Fetch Users

Alternatively, you can enable Auto-fetch. This action automatically adds the databases to which the users have permissions. Auto fetching also automatically updates any modifications to users. 

  1. Click Fetch Users

    Fetch_users.png

  2. Click Select All Users listed on the screen.

    AutoFetch_SelectAll_MySQL.png

  3. Enter the Auto Fetch interval in seconds. This sets the interval between each auto fetch.
  4. Click Save.

Modify database assignment and password

You can easily reassign databases or change the database password for a user.

  1. Click on the Gear icon next to the database. 

    Reassign_DBs.png

  2. Reassign one or more databases to the user (see background screen below).
  3. Click the Change Password button to set a new password by providing the current password and preferred New Password in the Change Password dialog.

    EditDBPwd.png

Back to top

Comments

0 comments

Please sign in to leave a comment.