Prerequisites for the agentless configuration
Have the following information with you:
Host username
Host password or SSH key
NetBackup Snapshot Manager requires these details to gain access to the host and perform requested operations.
On hosts where you want to configure this feature, grant password-less sudo access to the host user account that you provide to NetBackup Snapshot Manager.
Note:
To log in remotely via SSH, the user must be a regular user account, not a system or service account.
NetBackup Snapshot Manager requires a host user account to connect and perform operations on the host. You must grant password-less sudo access to the user account that you provide to NetBackup Snapshot Manager. This is required for all the hosts where you want to configure the agentless feature.
Note:
The following steps are provided as a general guideline. Refer to the operating system or the distribution-specific documentation for detailed instructions on how to grant password-less sudo access to a user account.
Perform the following steps on the host where you want to configure the agentless feature.
Verify that the host username that you provide to NetBackup Snapshot Manager is part of the
wheelgroup.Log on as a root user and run the following command:
# usermod -aG wheel hostuserID
Here, hostuserID is the host username that you provide to NetBackup Snapshot Manager.
Log out and log on again for the changes to take effect.
Edit the
/etc/sudoersfile using the visudo command:# sudo visudo
Add the following entry to the
/etc/sudoersfile:hostuserID ALL=(ALL) NOPASSWD: ALLIn the
/etc/sudoersfile, edit the entries for thewheelgroup as follows:Comment out (add a # character at the start of the line) the following line entry:
# %wheel ALL=(ALL) ALL
Uncomment (remove the # character at the start of the line) the following line entry:
%wheel ALL=(ALL) NOPASSWD: ALL
The changes should appear as follows:
## Allows people in group wheel to run all commands # %wheel ALL=(ALL) ALL ## Same thing without a password %wheel ALL=(ALL) NOPASSWD: ALL
Save the changes to the
/etc/sudoersfile.Log out and log on to the host again using the user account that you provide to NetBackup Snapshot Manager.
Run the following command to confirm that the changes are in effect:
# sudo su
If you do not see any prompt requesting for a password, then the user account has been granted password-less sudo access.
You can now proceed to configure the NetBackup Snapshot Manager agentless feature.
Install and enable OpenSSH Server on the Windows VM.
For a complete procedure to install OpenSSH server on Windows and start the service, refer to Microsoft Documentation.
Enable port 22 from the security group and firewall for the Windows VMs.
Port 22 is enabled by default once the OpenSSH server is installed and enabled in the above step.
Powershell version 5.1 or later must be installed.
(Optional) If user had enabled WMI/SMB ports and they are not used by any other application, you can disable these ports from the security groups and the firewall rules after upgrading to NetBackup Snapshot Manager version 10.4 or later.
Note:
The agentless feature is supported for Microsoft Windows version 2019 and above.
Hosts with Windows OS are not supported in OCI for agentless and on host agents.