Monitoring Service

In this article

    To install Veeam ONE Monitoring service, use a command with the following syntax:

    msiexec.exe [/L*v "<path_to_log>"] /qn /i "<path_to_msi>" [ACCEPT_THIRDPARTY_LICENSES="1"][ACCEPT_EULA="1"][VM_MN_SERVICEACCOUNT="<Veeam_One_Service_Account>"][VM_MN_SERVICEPASSWORD="<Veeam_One_Service_Account_Password>"][VM_MN_SQL_SERVER="<SQL_server>"][VM_MN_SQL_DATABASE="<database_name>"] [VM_MN_SQL_AUTHENTICATION="0"] [VM_MN_SQL_USER="<SQL_auth_username>"] [VM_MN_SQL_PASSWORD="<SQL_auth_password>"] [EDITLICFILEPATH="<path_to_license_file>"] [PF_VEEAMONE="<path_to_installdir >"][VM_MN_CACHE="<path_to_cache_folder>"] [VO_INSTALLATION_TYPE="0"] [VM_VC_SELECTED_TYPE="0"] [VM_VC_HOST="<virtual_host_name>"] [VM_VC_PORT="<port_number>"] [VM_VC_HOST_USER="<virtual_host_username>"] [VM_VC_HOST_PWD="<virtual_host_auth_password>"] [VM_HV_TYPE="0"] [VM_BACKUP_ADD_LATER="0"] [VM_BACKUP_ADD_TYPE="1"] [VM_BACKUP_ADD_NAME="<backup_server_name>"] [VM_BACKUP_ADD_USER="<backup_server_username>"] [VM_BACKUP_ADD_PWD="<backup_server_auth_password>"][VM_MN_SERVER_AUTOUPDATE_ENABLED="1"

    The command has the following parameters:

    Option

    Parameter

    Required

    Description

    /L

    *v logfile

    No

    Creates an installation log file with the verbose output.

    Specify an existing path to the log file as the parameter value. A setup log file created during the previous installation is cleared.

    Example: /L*v ”C:\ProgramData\Veeam\Setup\Temp\Logs\MonitorServerSetup.txt”

    /q

    n

    Yes

    Sets the user interface level to “no”, which means no user interaction is needed during installation.

    /i

    setup file

    Yes

    Installs Veeam ONE Monitoring service. Specify a full path to the setup file as the parameter value.

    Example: /i “C:\Veeam\Monitor\VeeamONE.Monitor.Server.x64.msi”

    ACCEPT_THIRDPARTY_LICENSES

    0/1

    Yes

    Specifies if you want to accept the terms of the license agreement for the 3rd party components. Specify 1 if you want to accept the terms and proceed with installation.

    Example: ACCEPT_THIRDPARTY_LICENSES="1"

    ACCEPT_EULA

    0/1

    Yes

    Specifies if you want to accept the terms of the Veeam license agreement.

    Specify 1 if you want to accept the terms and proceed with installation.

    Example: ACCEPT_EULA="1"

    VM_MN_SERVICEACCOUNT

    user

    Yes

    Specifies a user account under which the Veeam ONE Services will run and that will be used to access Veeam ONE database in the Microsoft Windows authentication mode.

    Example: VM_MN_SERVICEACCOUNT="ONESERVER\Administrator"

    VM_MN_SERVICEPASSWORD

    password

    Yes

    This parameter must be used if you have specified the VM_MN_SERVICEACCOUNT parameter.

    Specifies a password for the account under which the Veeam ONE Services will run and that will be used to access Veeam ONE database.

    Example: VM_MN_SERVICEPASSWORD="p@ssw0rd"

    VM_MN_SQL_SERVER

    SQL server\instance

    No

    Specifies a Microsoft SQL server and instance on which the Veeam ONE database will be deployed. By default, Veeam ONE uses the LOCALHOST\VEEAMSQL2016 server.

    Example: VM_MN_SQL_SERVER="ONESERVER\VEEAMSQL2016_MY"

    VM_MN_SQL_DATABASE

    database

    No

    Specifies a name of the Veeam ONE database, by default, VeeamOne.

    Example: VM_MN_SQL_DATABASE="VeeamOneDB"

    VM_MN_SQL_AUTHENTICATION

    0/1

    No

    Specifies if you want to use the Microsoft SQL Server authentication mode to connect to the Microsoft SQL Server where the Veeam ONE database is deployed. Specify 1 to use the SQL Server authentication mode. If you do not use this parameter, Veeam ONE will connect to the Microsoft SQL Server in the Microsoft Windows authentication mode (default value, 0).

    Together with this parameter, you must specify the following parameters: VM_MN_SQL_USER and VM_MN_SQL_PASSWORD.

    Example: VM_MN_SQL_AUTHENTICATION="1"

    VM_MN_SQL_USER

    user

    No

    This parameter must be used if you have specified the VM_MN_SQL_AUTHENTICATION parameter.

    Specifies a LoginID to connect to the Microsoft SQL Server in the SQL Server authentication mode.

    Example: VM_MN_SQL_USER="sa"

    VM_MN_SQL_PASSWORD

    password

    No

    This parameter must be used if you have specified the VM_MN_SQL_AUTHENTICATION parameter.

    Specifies a password to connect to the Microsoft SQL Server in the SQL Server authentication mode.

    Example: VM_MN_SQL_PASSWORD="p@ssw0rd"

    EDITLICFILEPATH

    license path

    No

    Specifies a full path to the license file. If this parameter is not specified, Veeam ONE Community Edition will be installed.

    Example: EDITLICFILEPATH="C:\Users\Administrator\Desktop\veeam_one_subscription_100_100.lic"

    PF_VEEAMONE

    path

    No

    Installs the component to the specified location. By default, Veeam ONE uses the Veeam ONE Monitor Server subfolder of the C:\Program Files\Veeam\Veeam ONE folder.

    Example: PF_VEEAMONE="C:\Veeam\"

    The component will be installed to the C:\Veeam\Veeam ONE Monitor Server folder.

    VM_MN_CACHE

    path

    No

    Specifies a path to the folder where Performance Cache will be stored.

    If you do not use this parameter, the performance cache will be stored to the C:\PerfCache folder (default).

    Example: VM_MN_CACHE="D:\Veeam\PerfCache"

    VO_INSTALLATION_TYPE

    0, 1 or 2

    No

    Specifies the mode in which Veeam ONE will collect data from virtualization and Veeam Backup & Replication servers. Specify 1 to use the Optimized for Advanced Scalability Deployment mode. Specify 2 to use The Backup Data Only mode. If you do not use this parameter, Veeam ONE will collect data in the Optimized for Typical Deployment mode (default value, 0). For details, see Choose Data Collection Mode.

    Example: VO_INSTALLATION_TYPE="2"

    VM_VC_SELECTED_TYPE

    0, 1 or 2

    No

    Specifies the type of object to add into Veeam ONE configuration. Specify 0 to add VMware vCenter Server or ESXi Host. Specify 1 to add Microsoft Hyper-V Host, Failover Cluster or SCVMM Server. If you do not use this parameter, Veeam ONE will skip the virtual infrastructure configuration (default value, 2).

    Example: VM_VC_SELECTED_TYPE="0"

    VM_HV_TYPE

    0, 1 or 2

    No

    This parameter can be used if you have specified 1 for the VM_VC_SELECTED_TYPE parameter.

    Specifies the role of the virtualization server. Specify 1 to add Failover Cluster. Specify 2 to add standalone Hyper-V Host. If you do not use this parameter, Veeam ONE will add SCVMM Server (default value, 0).

    Example: VM_HV_TYPE="2"

    VM_VC_HOST

    host name or address

    No

    This parameter must be used if you have specified 0 or 1 for the VM_VC_SELECTED_TYPE parameter.

    Specifies FQDN or IP address of the virtualization server you want to connect.

    Example: VM_VC_HOST="vcenter01.tech.local"

    VM_VC_PORT

    host port

    No

    This parameter must be used if you have specified 0 or 1 for the VM_VC_SELECTED_TYPE parameter.

    Specifies the port number of the virtualization server you want to connect.

    Example: VM_VC_PORT="443"

    VM_VC_HOST_USER

    user

    No

    This parameter must be used if you have specified 0 or 1 for the VM_VC_SELECTED_TYPE parameter.

    Specifies a user account to connect to the virtualization server.

    Example: VM_VC_HOST_USER="tech\administrator"

    VM_VC_HOST_PWD

    password

    No

    This parameter must be used if you have specified 0 or 1 for the VM_VC_SELECTED_TYPE parameter.

    Specifies a password for the account to connect to the virtualization server.

    Example: VM_VC_HOST_PWD="p@ssw0rd"

    VM_BACKUP_ADD_LATER

    1

    No

    This parameter can be used if you have specified 0 or 1 for the VM_VC_SELECTED_TYPE parameter.

    Specifies if you want to postpone adding Veeam Backup & Replication or Veeam Backup Enterprise Manager Server. Specify 1 to add Veeam Backup & Replication or Veeam Backup Enterprise Manager server later. If you do not use this parameter, you must add  Veeam Backup & Replication or Veeam Backup Enterprise Manager (default value, 0).

    Example: VM_BACKUP_ADD_LATER="1"

    VM_BACKUP_ADD_TYPE

    0/1

    No

    This parameter can be used if you have specified 0 or 1 for the VM_VC_SELECTED_TYPE parameter and have not specified VM_BACKUP_ADD_LATER.

    Specifies the role of Veeam Backup & Replication server to add. Specify 0 to add Veeam Backup & Replication server. Specify 1 to add Veeam Backup Enterprise Manager.

    Example: VM_BACKUP_ADD_TYPE="1"

    VM_BACKUP_ADD_NAME

    host name or address

    No

    This parameter can be used if you have specified 0 or 1 for the VM_VC_SELECTED_TYPE parameter and have not specified VM_BACKUP_ADD_LATER.

    Specifies FQDN or IP address of the Veeam Backup & Replication or Veeam Backup Enterprise Manager server you want to connect.

    Example: VM_BACKUP_ADD_NAME="backup01.tech.local"

    VM_BACKUP_ADD_USER

    user

    No

    This parameter can be used if you have specified 0 or 1 for the VM_VC_SELECTED_TYPE parameter and have not specified VM_BACKUP_ADD_LATER.

    Specifies a user account to connect to Veeam Backup & Replication or Veeam Backup Enterprise Manager server.

    Example: VM_BACKUP_ADD_USER="backup01\administrator"

    VM_BACKUP_ADD_PWD

    password

    No

    This parameter can be used if you have specified 0 or 1 for the VM_VC_SELECTED_TYPE parameter and have not specified VM_BACKUP_ADD_LATER.

    Specifies a password for the account to connect to Veeam Backup & Replication or Veeam Backup Enterprise Manager server.

    Example: VM_BACKUP_ADD_PWD="p@ssw0rd"

    VM_MN_SERVER_AUTOUPDATE_ENABLED

    0/1

    No

    Specifies if you want to enable automatic updates after Veeam ONE installation. Specify 1 to enable automatic updates.

    Example: VM_MN_SERVER_AUTOUPDATE_ENABLED="1"

    Example

    Suppose you want to install Monitoring service with the following configuration:

    • Installation log location: C:\ProgramData\Veeam\Setup\Temp\Logs\MonitorServerSetup.txt
    • No user interaction
    • Path to the MSI file: C:\Veeam\Monitor\VeeamONE.Monitor.Server.x64.msi
    • Accept 3rd party license agreement
    • Accept Veeam license agreement
    • Service user account: ONESERVER\Administrator
    • Service user account password: p@ssw0rd
    • License file location: C:\Users\Administrator\Desktop\veeam_one_subscription_100_100.lic
    • Installation folder: default
    • Path to Performance Cache folder: D:\Veeam\PerfCache
    • SQL Server instance and database name: default
    • Data collection mode: Optimized for Typical Deployment
    • Virtualization server: VMware vSphere
    • Virtualization server address: vcenter01.tech.local
    • Virtualization server port: 443
    • Virtualization server user: tech\administrator
    • Virtualization server authorization password: p@ssw0rd
    • Add Veeam Backup & Replication server: add later
    • Automatic updates: enabled

    The command to install Monitoring service with such configuration will have the following parameters:

    msiexec.exe /L*v "C:\ProgramData\Veeam\Setup\Temp\Logs\MonitorServerSetup.txt" /qn /i "C:\Veeam\Monitor\VeeamONE.Monitor.Server.x64.msi" ACCEPT_THIRDPARTY_LICENSES="1" ACCEPT_EULA="1" VM_MN_SERVICEACCOUNT="ONESERVER\Administrator" VM_MN_SERVICEPASSWORD="p@ssw0rd" EDITLICFILEPATH="C:\Users\Administrator\Desktop\veeam_one_subscription_100_100.lic" VM_MN_CACHE="D:\Veeam\PerfCache" VO_INSTALLATION_TYPE="0" VM_VC_SELECTED_TYPE="0" VM_VC_HOST="vcenter01.tech.local" VM_VC_PORT="443" VM_VC_HOST_USER="tech\administrator" VM_VC_HOST_PWD="p@ssw0rd" VM_BACKUP_ADD_LATER="1" VM_MN_SERVER_AUTOUPDATE_ENABLED="1"