The Sefthy Agent

The program you install on the customer server. It detects the hardware, runs the backup, finds the connector on the network and reports restore readiness. The page also covers the manual installation on Windows and Linux.

The Sefthy Agent is the program you install on the server you want to protect. It has three functions. It prepares the server for Disaster Recovery and runs the backup, reports to the Console whether a restore would actually start, and verifies the application services after a restore.

Installation

At step 1 of the wizard, choose the operating system and press Generate the install command. The Console prepares a single-line command that contains the enrolment token. Copy it and run it on the server as administrator.

On Linux the command looks like this.

curl -fsSL https://static.sefthy.cloud/agent/<version>/sefthy-agent-linux-amd64 -o /tmp/sefthy-agent \
  && chmod +x /tmp/sefthy-agent \
  && sudo /tmp/sefthy-agent setup --console https://console.sefthy.cloud --token <token>

On Windows it is a PowerShell command that downloads the same executable and runs it with the same parameters. In both cases the command includes the download, so you do not need to download the binary beforehand.

The token expires 24 hours after it is generated. If the token has expired, Regenerate command generates a new one and invalidates the previous one.

On Linux the same command works on any distribution. On Windows it also works on older versions, from Server 2008 R2 onward, and the command selects the right variant for the system automatically.

Wizard step 1, install command generated and copied

Detected data

As soon as it connects, the agent detects CPU, RAM, disks, network cards, BIOS or UEFI boot mode and MAC addresses. It then authenticates with Sefthy storage and is ready for the first backup. On Windows it also installs the network driver the restored machine needs to be reachable on the network. On Linux the driver is not needed.

In the DR wizard the fields are already filled in and you only need to confirm them.

Agent-first DR wizard, from the install command to the confirmed connector

Connector discovery

The agent looks for the connector on the server network, VLANs included. The Console then verifies that the device found is really yours, without any secret travelling over the network.

What happens next depends on the state of the device found.

  • If the connector is already configured, the Console proposes it in the wizard with its serial number and you confirm it with one click.
  • If it is not configured yet, Activate and associate appears. The button sends the configuration to the connector, which activates in about two minutes and stays associated with this DR. This also works with an x86 ISO connector, which has no serial number.

If the connector is on another network and does not answer the search, you can associate it manually from the Console.

Connector detected on the LAN and confirmed with one click

Health and readiness

At regular intervals the agent sends a report on the state of the server.

  • Connector reachable from the LAN
  • Free disk space
  • System clock
  • DNS resolution
  • Network cards detected
  • VSS service state, Windows only
  • Pending reboots, Windows only
  • Other backup software installed, Windows only

Other backup products are the most frequent cause of VSS conflicts, which is why the agent lists them instead of reporting only a generic problem.

When the network cards on the server no longer match the ones recorded in the DR plan, the agent flags the drift and proposes the realignment. You can accept or reject it, and nothing changes without your confirmation.

The server signals in the Connector tile and the proposed network card realignment

Post-restore validation

For each DR you can define up to ten application checks. Each check verifies a Path or file that must exist, a TCP port that must be listening, a Service that must be running or a Web address that must answer.

The web address has to point at the protected machine, so localhost, 127.0.0.1 or an IP address recorded on this DR. Only http and https are accepted.

The checks run inside the restored VM during the automatic test. With Try now you can also run them on the production server to verify they are configured correctly. The outcome appears in the restore test report, in the Application checks card, separate from the boot and network result.

The same checks act as readiness gates in orchestration. For example, you start the database, wait for port 1433 to answer, then start the web server.

Adding a post-restore check and running it on the spot

Manual installation

The procedure starts from the Install Agent step of the wizard, which shows the packages to download and the Agent credentials. Always use the link provided by the Console, which is specific to this DR.

Windows

  1. Under Choose the operating system, below Windows, download the x86_64 package and extract it.
  2. Run install.exe as administrator and complete the install wizard.
  3. On first start the agent asks for a username and a password. Enter the Agent credentials shown next to the downloads. Double-click a value to copy it. The main screen then opens with the default backup schedule and the device registers automatically.
  4. Go to the Install Drivers step, click Install drivers and download NetKVM.zip. Extract the archive, run install.bat as administrator, then go back to the Console and click I installed the drivers.

Without these network drivers the machine restored in the cloud powers on but is not reachable on the network, so they must be installed on the production server before a restore is needed.

Ubuntu and Debian

  1. Below Linux, download the .deb package into /tmp to avoid permission problems.

    cd /tmp && wget -O Sefthy.deb <link from the Console>
  2. Install the package with apt install ./Sefthy.deb. On a first install you are asked for a username and a password. Enter the Agent credentials. If the agent is already installed, authenticate it with the login command.

    /opt/SefthyAgent/backup-tool login prompt
  3. The device registers automatically. At the Install Drivers step there is nothing to download on Linux, because the drivers arrive with the first backup. Click I installed the drivers to continue.

On very recent kernels, check with support before installing, because the Console does not verify compatibility.

Other Linux distributions

On Linux the Sefthy Agent is in beta and is not supported at the same level as Windows. In the Console the Linux option carries the BETA tag.

  1. Make sure wget and tar are installed on the system.

  2. Below Linux, download the generic package. The button is labelled .tar.gz, but the file you get is the agent’s .run installer.

    cd /tmp && wget -O Sefthy.run <link from the Console>
  3. Make the installer executable and run it with chmod +x Sefthy.run && ./Sefthy.run.

  4. Authenticate the agent with the Agent credentials.

    /opt/SefthyAgent/backup-tool login prompt
  5. The device registers automatically. As on Ubuntu, at the Install Drivers step click I installed the drivers to continue.

Once the device is registered and the drivers are confirmed, the wizard moves on to the connector and you can set up the backup schedule from the Console.

Need help? Request remote support

In the press

Remote support

Download Sefthy Assist and run it. A Sefthy technician will see your screen and help you.

We answer Monday to Friday, 9 am to 6 pm Italian time. Outside these hours your request stays in the queue and we get back to you.

Only Sefthy technicians can connect, you can end the session whenever you want and nothing stays installed on your computer.

For any question write to us at [email protected].

Sefthy will never ask you to download this program through a call or an email you were not expecting.