Installation

Scalebase installation consists of the following sub-components:

  • Load Balancer (LB): the ScaleBase server is the actual database load balancer.
  • Management (CM): the ScaleBase management application and API. Both run within a Tomcat instance installed by the ScaleBase installation. The ScaleBase Management installation is performed once, even if you have multiple ScaleBase servers installed.
  • Configuration database: ScaleBase stores its configuration in an internal database. This database can be installed together with the GUI on the same machine, or can be installed separately on any remote MySql instance. As part of the installation you need to supply the connection information for ScaleBase configuration schema.  (See Prerequisites section for database configuration steps.)

Prerequisites

  1. ScaleBase installation (both Server and Management) is supported only on LINUX 64 bit OS.
  2. MySql client (and/or server) should be installed, i.e. you can run mysql from shell prompt.
  3. ScaleBase configuration database should be created once in a central MySql database accessible by all ScaleBase servers and ScaleBase management application. Execute the following commands in the central MySQL database to create ScaleBase configuration schema:

    CREATE DATABASE `scalebaseconfig`;
    GRANT ALL PRIVILEGES ON `scalebaseconfig`.* TO 'scalebase'@'%' identified by 'password';
    GRANT ALL PRIVILEGES ON `scalebaseconfig`.* TO 'scalebase'@'localhost' identified by 'password';

    The user name and password will be used by ScaleBase to maintain the configuration.

ScaleBase Software Installation

Execute the following steps on the server machine:

  1. Transfer ScaleBase_X_X_XXXX.tar.gz to the /var/tmp directory on the machine where ScaleBase components need to be installed.
  2. Unzip ScaleBase_X_X_XXXX.tar.gz to get the installation files.
    cd /var/tmp
    gunzip < ScaleBase_X_X_XXXX.tar.gz | tar xvf -
  3. Run the installation script:
    cd ./scalebase-install
    ./InstallMachine.pl [--options]
    Note: The installation script performs operations that require root permissions

Where options includes the following:

Name Description Required
--mode Values can be LB (for Scalebase Load Balancer), CM (for Central Management) or ALL (to install both). Default=ALL No
--user User name for connecting to the ScaleBase configuration database. Yes
--password Password for connecting to the ScaleBase configuration database. Yes
--host IP/Host name of the ScaleBase configuration database. No
--port Port of the ScaleBase configuration database.
Default = 3306.
No
--configdb Name of the schema created for ScaleBase configuration Default=scalebaseconfig No
--installConfDB This parameter lets skip config DB installation (y/n) configuration Default=Y No
--dir Scalebase installation directory. Default is ‘/usr’ No

Example:
./InstallMachine.pl --mode=ALL --user=scalebase --password=password --port=3306 --host=127.0.0.1 --configdb=scalebaseconfig

Next chapter – configuration

Print This Page Print This Page

JS and CSS Optimization by PHP Speedy JS and CSS Optimization by PHP Speedy