Install DiskSafe Agent in CentOS7

Install DiskSafe Agent in CentOS7

Please refer to the steps below on how to install DiskSafe Agent in CentOS7
1. Prepare a Fresh Installation of CentOS7 with Basic Configuration
2. Transfer DiskSafe for Linux to CentOS 7

#Transfer the DiskSafe Agent to CentOS7 via SCP 
scp disksafe-4.22-2203-ima-3.01-830-linux.tgz root@192.168.1.45:/tmp

#Extract the DiskSafe Agent
tar -xzvf /tmp/disksafe-4.22-2203-ima-3.01-830-linux.tgz

#Install ISCSI & LSOF
yum install -y iscsi-initiator-utils
yum install -y lsof

#Go to the extracted directory and run the installation script
cd /disksafe-4.22-2203/
./dsinstall.sh

Output of Installation of DiskSafe Agent

  ==========================================
  FalconStor (R) 2018. All Rights Reserved.
  ==========================================

  The following are the steps in the installation process:
  1) Stop DiskSafe service if previous build exists
  2) Install or upgrade iSCSI
  3) Install or upgrade FalconStor AL library
  4) Install or upgrade FalconStor SDM/IMA v3.01
  5) Adds New IPStor storage server, Requires IP address and access account and password if IPStor is not added previously
  6) Install or upgrade FalconStor DiskSafe v4.22

Note: Make sure the dsinstall script is executed in the extracted DiskSafe folder
Current directory: /disksafe-4.22-2203

Checking if any previous DiskSafe build is installed...
DiskSafe build is not installed previously. DiskSafe Installation will proceed.

iSCSI initiator installation begins...

Started iSCSI initiator successfully
iSCSI initiator already exists and is higher than the version provided by DiskSafe and will not be force installed.

Latest AL library installation...
Latest AL library build 128 installed successfully

Latest SDM/IMA build installation...
Latest SDM/IMA Build 830 installed successfully

IPStor server details is not added previously.
Please add server details manually after DiskSafe installation.

Note: iSCSI connection failover timeout set to 15 seconds.

DiskSafe agent registered with SDM/IMA successfully.

Installing DiskSafe new Build 2203 patch 0 ...

Starting DiskSafe Driver......... [  OK  ]
Starting DiskSafe Service........ [  OK  ]
Installed DiskSafe rpm successfully
DiskSafe Build 2203 patch 0 installation is successful.

Add FalconStor CDPVA

#Add FalconStor CDPCA
dscli server add server=192.168.1.110 user=fsadmin passwd=IPStor101 protocol=iscsi
dscli server list
    Total number of storage servers: 1
    Storage server: CDPVA
    IP           : 192.168.1.110
    Server type  : SAN
    Version      : 8.0 (Build 8916)
    Login User   : fsadmin
    Protocol     : iSCSI
    <iSCSI Settings>
      portalPort       : 3260
      adapter          : Default
      portal Address   : 192.168.1.110
      srcIPAddress     : Default

Protect the entire Disk (sda) with hourly replication

dscli disk protect primary=sda server=192.168.1.110 protocol=ISCSI -thindisk snapshotarea=20 -mode:periodic hourly

    Protect sda with new disk in periodic mode, scan file system before initial synchronization

    Checking if primary disk is busy and allocating mirror disk with 20971520 sectors. Please wait.                                                                                   ..
    Mirror disk successfully assigned over iSCSI protocol. Continuing with protection.
    Start time is not provided or less than current time, start time is set to current time

    Warning: System needs to be rebooted immediately. Operation will take effect only after the system is rebooted.

    Disk successfully protected.
    Command succeeded

Reboot the server

reboot

CentOS7 is protected by DiskSafe Agent now

Leave a Comment