Installation with RPMs
Prerequisites
Install CentOS/RHEL 8 minimal
if you plan to use deduplication with VDO we recommend to use RHEL to have Red Hat's support available
you also can use version CentOS/RHEL 7
Make sure your OS is up to date:
If the kernel is updated, then you need to reboot your operating system.
Install the vProtect repository
create file
/etc/yum.repos.d/vProtect.repo
:
optionally change
el8
toel7
for older CentOS/RHEL andcurrent
can also be pointed to the specific version of vProtect, i.e.3.9.2
(not the one that is always up to date)so here are effective URLs as examples:
http://repo.storware.eu/vprotect/current/el7
http://repo.storware.eu/vprotect/3.9.2/el8
Install the MariaDB repository (vProtect Server host only)
generate .repo file at MariaDB download site
copy and paste the generated repo file into
/etc/yum.repos.d/MariaDB.repo
, so it looks similar to this (this one for CentOS/RHEL 8):
vProtect Server installation
vProtect consists of a server (a central management point with a WebUI) and one or multiple nodes (which can be installed on the same host as the server or on other machines). The first step is always to install the server.
Install the vprotect-server using DNF package manager:
Set up the DB for vProtect:
Please provide a MariaDB password
Please remember to not re-run this command on running/production vProtect instance. This can cause problems with the vProtect database.
Start the vProtect Server (it can take around a minute for the server to start):
You may need to open the 8181 port (for HTTPS, HTTP requires port 8080) on your firewall. Here is an example:
or if you prefer to have the vProtect console running on the default HTTPS port (443), there is a script in the
/opt/vprotect/scripts
directory to set up forwarding from port 443 to 8181:Now you should be able to log in to the web console using the URL:
https://VPROTECT_HOST:8181
, whereVPROTECT_HOST
is the hostname or IP of your vProtect Serverby default, vProtect has one admin account -
admin
with the passwordvPr0tect
(with a zero)
Optionally, if you are going to connect nodes running on remote hosts, proceed with the steps related to the vProtect Server described in the section: Enabling HTTPS connectivity for remote nodes
vProtect Node installation
vProtect Node is a component that executes all tasks. It can be installed together with the Server (it is common to have 1 server and just 1 node). More nodes can always be added later.
Install the vprotect-node using DNF: Remember to add our repository to host machine
Prepare your staging space (on the vProtect Node host only):
If you just started with vProtect, and do not know what is staging space please follow the steps described in the Staging space configuration
if your path is different than
/vprotect_data
it is recommended to create a symlink/vprotect_data
pointing to your staging space mount point, e.g.:Register the node with the
NODE_NAME
of your choice, theADMIN_USER
user name which you would like to use and the URL to the vProtect API, and provide a password when prompted:
Syntax:
If you are going to connect nodes running on remote hosts, please proceed with the steps related to the vProtect Node described in the section: Enabling HTTPS connectivity for remote nodes
Example for default local installation - over HTTP (port 8080):
Start the vProtect Node:
Now you should be able to see a new entry in the
Node
section of the web UI with your node in RUNNING state.Run the script to configure the OS for Node, which includes changing the QEMU user/group to
vprotect
, disabling SELinux, adding vprotect to the disk group and sudoers to allow it to run privileged commands:Reboot the vProtect VM to apply the OS-specific settings:
vProtect is installed - you can now proceed with the steps described in the initial configuration.
Last updated