Discover and Deploy Tool (Beta)

The Discover and Deploy is a simple tool designed to make the bulk installation of Managed Backup components (Backup Agent, RMM Agent, Connect) simple and convenient for domain administrators. It is currently available in the beta version.

This tool collects data about computers in the domain, types, and versions of operating systems on them, and performs a bulk deployment of Managed Backup components according to the user-defined computer list.

The tool can be used as a GUI application or as a command-line tool.

This chapter covers the following topics:

Download Discover and Deploy Tool

To download the Discover and Deploy tool, perform the following steps:

  1. Open the Management Console.
  2. Select Downloads.
  3. On the Discover and Deploy tab, click Download or copy download link in actions.

  1. Run the setup and proceed with setup wizard to finish the installation.

| Top |

Discover Computers

To create a list of target computers to install Managed Backup components, perform a search of available computers across the domain.

You can search for computers in a domain you are in, or in a network by IP address. There are two discovery modes:

Quick Discovery:

  • Quickly searches the domain or specified network and creates a list of resided computers
  • Does NOT detect presence or absence of Agents
  • Does NOT detect if any Agents can be installed

Full Discovery:

  • Searches the domain or specified network and creates a list of resided computers
  • Detects presence or absence of Agents on these computers
  • Detects if any Agents can be installed on these computers

Consider, full discovery can take a while.

Discover Domain

GUI

Upon full discovery execution, the tool collects data about available computers across the domain, The following data is included in the grid on Computers tab:

  • Full computer name in the domain
  • Operating system
  • Operating system version
  • Backup Agent installation flag (check mark is to install, empty if no installation needed)
  • RMM Agent installation flag (check mark is to install, empty if no installation needed)
  • Connect installation flag (check mark is to install, empty if no installation needed)
  • Status of the computer with comments about the possibility of agent deployment. If there are no issues, this entry will be empty.

To start a discovery, perform the following:

  1. Provide credential of an administrative account. Also, note that the File & Printer Sharing must be enabled for all domain computers.
  2. Select Discover domain
  3. Click Full Discovery or Quick Discovery

In order to perform the discovery and deployment, make sure that the specified account has local administrator privileges on every target computer.

Note that if the computer where the tool is installed is in a domain, credentials for quick discovery are optional, so you can simple click Quick Discovery

You can monitor the progress on History tab. Once discovery is complete, the result will be visible on the Computers tab:

CLI

  1. Open the command prompt
  2. Change the working directory to the one the tool is located, and run the following command:
deploy discover --user domain\user --password yourpassword

Note that if the computer where the tool is installed is in a domain, username and password are optional, so you can use the simplified syntax: deploy discover

The search result will be saved in a computers.csv file and can be read and edited with any text editor.

For files with large computer lists, use Excel or Google Sheets

In discover mode the tool discovers computers under specified user account:

deploy discover --user adam.smith@wef.local.corp
Parameter Description Possible Values / Comments
-f (--file) Defines the filename for the report on discovered computers If the parameter is not set, the computer list will be saved with the default name computers.csv
-U (--user) Sets user name to perform computer discovery in a domain. The parameter is optional, but if not specified in cases it is required, an appropriate error is reported Values must be specified in USER@DOMAIN or DOMAIN\USER formats. Example: admin.mycompany.corp\admin1919
-P (--password) Sets password for the specified user. The parameter is optional If the password is not set in the command that requires it, you will be prompted to enter it upon the command execution
-w Specifies path to working directory Default value is .)
-y (--overwrite) Allows overwriting existing files in working directory true/false, default: true
-c, --checkexists Allows overwriting existing files in working directory true/false, default: true
--help Displays this help screen
--version Displays version information

Note that parameters are case-sensitive

To read the command help on the discover mode, use the following command:

deploy discover --help

| Top |

Discover Network

  1. Provide credential of an administrative account.

  1. Select Discover network
  2. Provide IP Address of the network or subnet
  3. Click Full Discovery or Quick Discovery

You can monitor the progress on History tab. Once the discovery is complete, the result will be visible on the Computers tab.

Deploy Managed Backup components

GUI

  1. As the list of computers for the bulk installation of Managed Backup components is ready, select what Agents should be installed on which computers.

In case of the computer list is long, select Show only the computers where Agents can be installed

  1. Click Deploy You can monitor the progress on History tab. Once the deployment is complete, the result will be visible on the Computers tab.

CLI

As the list of computers for the bulk installation of Managed Backup components is ready, proceed to deployment. Run the following command:

deploy deploy 

For example, to deploy the RMM Agent (the link to the build is rmmagenturl) and the Backup Agent (the link to the build is backupagenturl) to the domain computers from the file adminlist.csv under the admin1 user, run the following command:

deploy deploy -f computers_list.csv -R rmmagenturl -B backupagenturl -U mydomain\admin1 

Deploy on failure.csv computers:

deploy deploy --file failure.csv

Deploy on computers.csv computers under user account:

deploy deploy --file success.csv --user adam.smith@wef.local.corp
Parameter Description Possible Values
-f (--file) Defines the filename with a list of computers for bulk installation If the parameter is not set, the utility will search for the (computers.csv file in the working (current directory)
-R (--rmm) Sets the download link for RMM Agent The value of this parameter must be a download link. For example: **-R https://s3.amazonaws.com/cb_setups/MBS/1A989AFD-C148-477F-87C5-64FF602A9BCB/Brands/0F57AF21-35E4-4853-0CE7-C97581A07CD6/MSP360RMMAgent_v1.5.0.231_ALLEDITIONS_Setup.exe
-B (--backup) Sets the download link for Backup Agent The value of this parameter must be a download link. For example:https://s3.amazonaws.com/cb_setups/MBS/1A9A9EFD-C248-487F-88C5-63FF502A9BCB/MSP360MSP360ManagedBackupService_v7.8.2.252_netv4.0_ALLEDITIONS_Setup_20221220172623.exe
-C (--connect) Sets the download link for Connect The value of this parameter must be a download link. For example: https://mspbackups.com/downloads/ConnectSetup/ab20e4df-2779-48eb-c0f3-82588215cf09
-r (--result) Sets the filename for the report file with successful installations Default value is success.csv
-e (--error) Sets the filename for the report file with failed installations Default value is failure.csv
-U (--user) Sets user name to perform computer discovery in a domain. The parameter is optional, but if not specified in cases it is required, an appropriate error occurs Values must be specified in USER@DOMAIN or DOMAIN\USER formats. Example: admin.mycompany.corp\admin1919
-P (--password) Sets password for the specified user. The parameter is optional If the password is not set in the command that requires it, you will be prompted to enter it upon the command execution
-w Specifies path to working directory Default value is .)

Note that parameters are case-sensitive

Upon execution with the deployment parameters, the utility downloads the components set for installation from the URL specified in the command to temporary directories on target computers and then executes the installation. Installation results are reported in two separate files:

  • Report with successful installations
  • Report with failed installations

To read the command help on the discover mode, use the following command:

deploy deploy --help

| Top |

https://git.cloudberrylab.com/egor.m/doc-help-mbs.git