Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. NetBackup™ Snapshot Manager for Cloud Install and Upgrade Guide
  3. Section I. NetBackup Snapshot Manager for Cloud installation and configuration
  4. Configuration for protecting assets on cloud hosts/VM
  5. Protecting assets with NetBackup Snapshot Manager's on-host agent feature
  6. Installing and configuring NetBackup Snapshot Manager agent
  7. Linux-based agent
  8. Registering the Linux-based agent
NetBackup™ Snapshot Manager for Cloud Install and Upgrade Guide

Registering the Linux-based agent

Verify the following before you register the Linux-based agent:

  • Ensure that you have downloaded and installed the agent on the application host.

  • Ensure that you have root privileges on the Linux instance.

  • If the NetBackup Snapshot Manager Linux-based agent was already configured on the host earlier, and you wish to re-register the agent with the same NetBackup Snapshot Manager instance, then perform the following on the Linux host:

    • Remove the /opt/keys directory from the Linux host.

      Enter the following command on the host where the agent is running:

      # sudo rm -rf /opt/keys

  • If the NetBackup Snapshot Manager Linux-based agent was already registered on the host earlier, and you wish to register the agent with a different NetBackup Snapshot Manager instance, then perform the following on the Linux host:

    • Uninstall the agent from the Linux host.

      See Removing the NetBackup Snapshot Manager agents.

    • Remove the /opt/keys directory from the Linux host.

      Enter the following command:

      # sudo rm -rf /opt/keys

    • Remove the /etc/flexsnap.conf configuration file from the Linux host.

      Enter the following command:

      sudo rm -rf /etc/flexsnap.conf

    • Re-install the agent on the Linux host.

      See Downloading and installing the NetBackup Snapshot Manager agent.

    If you do not perform these steps, then the on-host agent registration may fail with the following error:

    On-host registration has failed. The agent is already registered 
    with Snapshot Manager instance <instance>.
  • The on-host agent registration may fail if the host is FIPS enabled and NetBackup Snapshot Manager is not, or vice versa.

To register the Linux-based agent

  1. Return to the NetBackup Web UI, and on the Add agent dialog box, click Create Token.

    If you have closed the dialog box, sign in to the NetBackup Web UI again and perform the following:

    • On the left, click Workloads > Cloud.

    • Click the Snapshot Managers tab.

    • From the desired NetBackup Snapshot Manager server row, click the actions button on the right and then select Add agent.

    • On the Add agent dialog box, click Create Token.

  2. Click Copy Token to copy the displayed NetBackup Snapshot Manager validation token.

    The token is a unique sequence of alpha-numeric characters and is used as an authentication token to authorize the host connection with NetBackup Snapshot Manager.

    Note:

    The token is valid for 180 seconds only. If you do not copy the token within that time frame, generate a new token again.

  3. Connect to the Linux host and register the agent using the following command:

    # sudo flexsnap-agent --ip <snapshotmanager_host_FQDN_or_IP> --token <authtoken>

    Here, <snapshotmanager_host_FQDN_or_IP> is the NetBackup Snapshot Manager server's Fully Qualified Domain Name (FQDN) or IP address that was specified during the NetBackup Snapshot Manager configuration.

    <authtoken> is the authentication token that you copied in the earlier step.

    Note:

    You can use flexsnap-agent --help to see the command help.

    NetBackup Snapshot Manager performs the following actions when you run this command:

    Note:

    If you encounter an error, check the flexsnap-agent logs to troubleshoot the issue.

  4. Return to the NetBackup Web UI, close the Add agent dialog box, and then from the NetBackup Snapshot Manager server row, click the actions button on the right and then click Discover.

    This triggers a manual discovery of all the assets that are registered with the NetBackup Snapshot Manager server.

  5. Click on the Virtual machines tab.

    The Linux host where you installed the agent should appear in the discovered assets list.

    Click to select the Linux host. If the host status is displayed as VM Connected and a Configure Application button appears, it confirms that the agent registration is successful.

  6. This completes the agent registration. You can now proceed to configure the application plug-in.

    See Configuring an application plug-in.

More Information

Downloading and installing the NetBackup Snapshot Manager agent

Feedback

Was this page helpful?
Previous

Preparing to install the Linux-based agent

Next

Windows-based agent

Feedback

Was this page helpful?