Skip to main content

Who is this article for?

Incydr
Code42 for Enterprise
CrashPlan for Enterprise
CrashPlan for Small Business

Incydr, no.

CrashPlan for Enterprise, yes.

Code42 for Enterprise, yes.

CrashPlan for Small Business, no.

This article applies to on-premises authority servers.

HOME
GETTING STARTED
RELEASE NOTES
FAQS
SYSTEM STATUS
Code42 Support

Add storage

Who is this article for?

Incydr
Code42 for Enterprise
CrashPlan for Enterprise
CrashPlan for Small Business

Incydr, no.

CrashPlan for Enterprise, yes.

Code42 for Enterprise, yes.

CrashPlan for Small Business, no.

This article applies to on-premises authority servers.

Overview

This tutorial explains how to add storage to your private Code42 environment by adding a new storage server to an existing destination and by adding a store point to a storage server.

For directions on how to add the Code42 cloud as a backup destination, see this article.

See the Destinations reference for more information on storage and data balancing.

Add a storage server

Before you begin

Add a destination

The steps below assume you are adding a storage server to an existing destination. To add a new destination:

  1. Sign in to the Code42 console on your authority server

  2. Go to Storage > Destinations.
  3. Select Add a new destination button Add a new destination.
  4. Enter a name for for the destination to be displayed to users and throughout the Code42 console.
  5. Choose Create.
Servers within a destination
All servers within a destination must be on the same LAN or at the same data center.

Verify firewall rules

Servers listen for communication from other servers on ports 4283, 4286 (version 7.0 and earlier), and 4288. Before adding any servers to your environment, verify that there are bidirectional firewall rules allowing this communication between servers. All servers must be able to communicate with the authority server and vice versa. Servers within a destination must also be able to communicate with each other over ports 4283, 4286 (version 7.0 and earlier), 4288. Learn more about destinations.

Verify current authority server version

When adding a storage server, make sure to use the same version of the Code42 server software as your authority server. To verify the version of your authority server and download the correct installer version:

  1. Sign in to the Code42 console on your authority server.
  2. Go to Settings > Server.
  3. Verify the Current server version.
  4. Download the corresponding installer version.

Steps

Code42 server version 8.2.5 and later

Step 1: Install the storage server
  1. Download the Code42 server installation file for your operating system.
    You can download the installation file from Code42 server and app downloads.
    • Windows
      Download Code42server_<version>_Win_Storage.msi.
      Do not download Code42server_<version>_Win_Authority.msi. That file is for installing an authority server.
    • Linux
      Download Code42server_<version>_Linux.tgz
  2. Launch the installer on a dedicated server computer.
    The authority server and storage server must reside on separate machines.
    • Windows: Double-click the MSI file.
    • Linux:
      1. Unpack the TGZ archive.
      2. Navigate to the location of the unpacked files with cd.
      3. Execute the install.sh Bash script from the directory in which it resides.
        User privileges Example command
        Installation as root

        sudo ./install.sh

        Installation as a user

        ./install.sh

  3. Follow the prompts to complete the installation.
    For Linux, at the following prompt choose storage to install a storage node (also known as a storage server). To install an authority server, see Install the Code42 platform (on-premises).
    Would you like to install this server as an authority or storage node? 
    (authority/storage) [authority]
Step 2: Configure the storage server
  1. Open the Code42 console on the machine where you installed the storage server.
    For example, browse to https://localhost:4285/console. 
  2. Perform these steps that you also follow when installing an authority server:
  3. Navigate to Administration > Settings > Server.
  4. From the action menu, select Attach Storage Server.
    The Server Connection Code dialog appears with the following message:
    "To convert this server into a storage node, you must connect it to a master server. Log in to the master server, choose a destination, click 'Add a server', and paste the following code."
  5. Copy the string that appears in the Server Connection Code dialog. You will use this string to attach the storage server to the authority server in the next step.
Step 3: Add the storage server to a destination
  1. Open the Code42 console on the authority server. (The authority server is installed on a separate machine from the storage server.)
  2. Navigate to Administration > Storage > Destinations.
  3. Select the destination to which you want to add the storage server.
  4. From the action menu, select Add Server.
    The Add Server dialog appears with the message "Please enter the storage server's connection string."
  5. In the Add Server dialog, paste the string you copied from the Server Connection Code dialog on the storage server in Step 2.
  6. Click Save.
    The storage server is added to the destination.

Code42 server version 7.0.5 and earlier

On the server you'd like to use as a storage server:

  1. Install the Code42 server software.
  2. From the Code42 console sign in screen:
    • Enter the required information to create the administrator account.
    • Enter your existing Master License Key.
      This is the same Master License Key as is used on the authority server.
  3. Choose Create Account to sign in to the Code42 console.
  4. Go to Settings > Server.
  5. Enter a Primary and Secondary network address and save.
  6. From the action menu, select Make Storage Server.
    Don't see Make Storage Server?
    Make Storage Server only appears on clean installs of the enterprise server.
  7. Copy the connection string that is presented.

From the Code42 console on your authority server:

  1. Sign in to the Code42 console on your authority server.
  2. Go to Storage > Destinations.
  3. Choose the name of the destination where you'd like the new storage server to be added.
  4. From the action menu, select Add Server.
  5. Paste the connection string from the storage server into the Connection String field and save.
    Storage server offline
    After saving the connection string, the authority server confirms the changes have been saved and the storage server will go offline. After 5 to 10 minutes, the storage server comes back online and is accessible from the authority server Code42 console.

Once the server has been added to your environment, add one or more store points.

Add a store point

Steps

  1. Go to Storage > Servers.
  2. Click the name of the server where you'd like to add the new store point.
  3. From the action menu, select Add Store Point.
  4. Enter a descriptive name for the new store point.
  5. Enter the path to the new store point. This must be a directory that currently exists on the file system and that the host Code42 server has permission to write to.
  6. (Optional) Enter notes about this store point. These notes are for administrators and might be things like the hardware manufacturer's support info, information about the underlying system, or anything else you think might be useful.
  7. Click Create.
    Once you click Create, a directory is created immediately underneath the path you specified in Step 5. For example, if you'd like the store point to reside under the /repository directory, then a directory is created called /repository/CrashPlanArchive_mSERVERIDxSPID. For example:
    /repository/CrashPlanArchive_m66029504842x001
    This directory is only created at the time of store point creation.
  8. (Optional) After the store point is created, you can enable data balancing to spread out archives equally between store points.