Home Print  

Backup Server Installation Guide - Linux 64 bit only

  1. Make sure the machine is a 64 bit machine as backup server is supported in Linux 64 bit machines only.

  2. Login into the Linux machine as root. Download the Backup Server installer build by running the following command:

    wget https://s3-us-west-1.amazonaws.com/sg-build-release/products/storegrid/sp/201312600/linux/StoreGrid_OnlineInstaller_SP.sh

  3. Run the downloaded file as follows:

    sh StoreGrid_OnlineInstaller_SP.sh

  4. The installer will show you the list of packages to be installed and will prompt you to enter yes to go ahead with the installation

  5. You will be now asked to enter a location where the databases (used as backend by backup server for storing the backup meta data) have to be stored. Specify a path which will have enough space and press Enter.

  6. The installer will check for the compatible MySQL packages in the machine and will proceed to the next step. If any of the packages is missing, the installer will automatically download the missing MySQL components and install them

    NOTE: If the installer finds a package already installed in the machine and is incompatible, then the script will exit reporting the error. You need to manually then uninstall that package before running the installer again.

  7. After the installation of MySQL components, MySQL Server will be automatically started. The installer will then prompt you to set a password for root user for the MySQL Server.

    Enter the password that you want to set for the MySQL root user.

  8. The installer will then create the databases in the MySQL for to use.

    Note : A database with name "SGDatabase" will be created in the MySQL Server by default.

  9. The installer will then download and install unixodbc which provides the connectivity to the MySQL Server. The installer will run a check to make sure unixodbc is able to connect to the MySQL Server. Once the MySQL installation is complete, it will show the details of the MySQL as below:

  10. The installer will then prompt you to enter "yes" to go ahead with installing MongoDB. server uses MongoDB for its filesystem.

  11. The installer will prompt you to go ahead with installation of . Enter yes to proceed with installation of . The installer will then automatically download the appropriate Linux build for Server installation. This could take up to 5 minutes to download.

  12. The installer will show the License Agreement. Please read through it and accept it.

  13. The installation will prompt you to choose License mode. If you need license for usage of product choose Subscription option and If you want to choose Perpetual licensing mode, this license is paid for once and does not need to be renewed anymore.

  14. The installer will then prompt you to specify a unique ID for this installation of . By default it will take the machinename.hostname as the ID. You can specify a different one if you choose so but make sure it is always unique with respect to other installations you do.

  15. Configure default Repository:

    Repository Management :This is basically scaling of Storage Volumes. Using Repository management, one can add multiple volumes to a repository and then assign it as agent's storage location. Whenever the first volume is filled, Backup Storage automatically switches to Second Volume instantly. Mounted Volumes (SAN, NAS,iSCSI, etc.,) can be grouped to a single Repository

    Sample screen on how to setup repository during product installation: In this screen you can choose your storage volumes to your "Default Repository", which is being used as your client agent storage location.

    If your are going to use mounted drive as your storage location, then you should place the following entry to the fstab.

    <Volume_Name> <Mount_Point_Name> <File_System_Type> defaults 1 2
    Ex : /dev/sda1 /Eighth ext4 defaults 1 2

    Note: For a typical user its enough to use Default Repository by adding available or new volumes to the default repository. If you would like to create your custom repo, you can do it in web-console which is discussed later in this same document.

  16. Configure Deduplication for default Repository:

    Deduplication : It is the process of eliminating redundant data. backs up the data sent by various clients and splits it into variable-sized blocks; the size of each block is determined smartly, using mathematical techniques such as Rabin-Chunk, to maximize the deduplication ratio. The blocks are then sent to the Repository level Deduplication Module, which de-duplicates and compresses each block. This ensures that only one copy of a data block, across all clients, is stored in a compressed format in the repository.

    Sample screen on how to setup repository during product installation:This Provides the option to enable/disable de-duplication module for Default Repository.

    Screen 2: Provides the option to choose the block size for the de-duplication module,

    Block size:The average block size for deduplication can be set to any of the following values: 32KB, 128KB, 256KB, or 512KB. The default average block size is 128KB. Users are encouraged to investigate further to determine what value may provide optimal results in their environments. However, the default value would be suitable for most of the environments and hence need not be changed if not entirely sure about the requirements.

    We are also providing option to reconfigure default Repository. Once installation is completed, through webconsole you can add either new repository or new volume path to available Repository!

    Sample screen: Add a new repository looks like in web-portal.

  17. It will then prompt you to enter a Username and Password for the user console which is web based.

    Once the installation is complete, the web console will be accessible at http://localhost:6060 or http://machinename:6060 (where machine name is the lookup name of the machine where the backup server is installed). You would need the Username and Password that you specify at this step to log into the web console.

  18. When prompted choose to start after installation.

  19. You can confirm that is running by running the following checks:

    • ps –eaf | grep –i storegrid

    • netstat –an | grep 32004

    • netstat –an | grep 6060

  20. Open a browser and try accessing the web console of the backup server that you just installed by accessing http://servermachinename:6060. You would need to enter the Username and Password that you specified while you were installation.

Technical support-