veeam backup & replication: unattended installation - Amazon Web ...

Report 13 Downloads 397 Views
VEEAM BACKUP & REPLICATION: UNATTENDED INSTALLATION You can install Veeam Backup & Replication in the unattended mode using the command line interface. The unattended installation mode does not require user interaction; you can use it to automate the installation process in large deployments and/or install Veeam Backup & Replication on one or several machines without having to respond to the installation wizard prompts.

Installation Order Veeam Backup & Replication components must be installed in a determinate order. The installation sequence depends on the type of backup server you plan to install: Veeam backup server or Veeam Backup Enterprise Manager server.

Veeam Backup Server If you plan to install the Veeam backup server (the server running the Veeam Backup & Replication console), you must install components in the following order: 1.

Veeam Backup Catalog

2.

Veeam Backup & Replication

3.

Veeam Explorer for Exchange

4.

Veeam Explorer for SharePoint

5.

Veeam Backup Plugin for HP StoreServ (3PAR)

6.

Veeam Backup Plugin for HP StoreVirtual and HP StoreVirtual VSA (P4000)

7.

Veeam PowerShell Snap-in

Veeam Backup Enterprise Manager Server If you plan to install the Veeam Backup Enterprise Manager server (the server running the Veeam Backup Enterprise Manager web console), you must install components in the following order:

2 |

1.

Veeam Backup Catalog

2.

Veeam Backup Enterprise Manager

Prerequisites Before you start the unattended installation, make sure that you have performed the following steps: 1.

2.

3.

4. 5. 6.

(For Veeam Backup server). Pre-install the following components on the target machine: a. Microsoft SQL Server 2008 or higher (both Full and Express editions are supported) b. Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package c. Microsoft SQL Server 2012 System CLR Types d. Microsoft SQL Server 2012 Management Objects (For Veeam Backup Enterprise Manager server). Pre-install the following components on the target machine: a. Microsoft SQL Server 2008 or higher (both Full and Express editions are supported) b. Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package c. Microsoft SQL Server 2012 System CLR Types d. Microsoft SQL Server 2012 Management Objects e. IIS components: Default Document Component, Directory Browsing Component, HTTP Errors Component, Static Content Component, Windows Authentication Component f. Update 4.0.3 for Microsoft .NET Framework 4.0 (see KB 2600211 at http://support.microsoft.com/kb/2600211). Download the Veeam Backup & Replication product installation ISO file from the Veeam website. You can burn the downloaded ISO image file to a CD/DVD or mount the installation image to the target machine using disk image emulation software. Check the system requirements. To learn more, see Veeam Backup & Replication product documentation. Log on under the account having the Local Administrator rights on the target machine. To learn more, see Veeam Backup & Replication product documentation. Obtain a license file. The license file is required for installing Veeam Backup Enterprise Manager and is optional for installing Veeam Backup & Replication. If you do not specify a path to the license file during the Veeam Backup & Replication installation, free version of the product will be installed.

Installation Command-Line Syntax Topics below describe command-line options for installing Veeam Backup & Replication components in the unattended mode.

Veeam Backup Catalog To install Veeam Backup Catalog, use a command with the following syntax: msiexec.exe [/L*v "<path_to_log>"] /qn /i "<path_to_msi>" [INSTALLDIR="<path_to_installdir >"] [VM_CATALOGPATH=”<path_to_catalog_shared_folder>”] VBRC_SERVICE_USER="" VBRC_SERVICE_PASSWORD="" [VBRC_SERVICE_PORT=""]

3 |

The following command-line options can be used: Option

/L

/q

Parameter

*v logfile

n

Required

No

Yes

/i

setup file

Yes

INSTALLDIR

path

No

VM_CATALOGPATH

VBRC_SERVICE_USER

path

user

No

Yes

Description Creates an installation log file with the verbose output. Specify a full path to the log file as the parameter value. Any setup log file created during the previous installation will be cleared. Example: /L*v! ”C:\ProgramData\Veeam\Setup\Temp\Logs\ CatalogSetup.txt” Sets the user interface level to “no” , which means no user interaction is needed during installation. Installs the Veeam Backup Catalog. Specify a full path to the setup file as the parameter value. Example: /i “C:\Veeam\VeeamBackupCatalog64.msi” Installs the component to the specified location. By default, the C:\Program Files\Veeam\Backup Catalog folder is used. Example: INSTALLDIR="c:\Catalog\" Specifies the name and destination for the catalog folder where index files should be stored. By default, the C:\VBRCatalog folder is used to store index files. Example: VM_CATALOGPATH="c:\VBRCatalog2\" Specifies the account under which the Veeam Backup Catalog Data Service will run. The account must have full control NTFS permissions on the VBRCatalog folder where index files are stored. Example: VBRC_SERVICE_USER="BACKUPSERVER\Administrator" Specifies a password for the account under which the Veeam Backup Catalog Data Service will run.

VBRC_SERVICE_ PASSWORD

password

VBRC_SERVICE_PORT

port

Yes

No

Example: VBRC_SERVICE_PASSWORD="1234" Specifies a TCP port that will be used by the Veeam Backup Catalog Data Service. By default, port number 9393 is used. Example: VBRC_SERVICE_PORT="9393"

4 |

Example Suppose you want to install Veeam Backup Catalog with the following configuration: • • • • • • •

No user interaction Path to the MSI file: E:\Veeam\VeeamBackupCatalog64.msi Installation folder: default Catalog folder: default Service user account: VEEAM\administrator Service user account password: 1243 TCP communication port: 9391

The command to install Veeam Backup Catalog with such configuration will be the following: msiexec.exe /qn /i "E:\Veeam\VeeamBackupCatalog64.msi" VBRC_SERVICE_USER="VEEAM\administrator" VBRC_SERVICE_PASSWORD="1234" VBRC_SERVICE_PORT="9391"

Veeam Backup & Replication To install Veeam Backup & Replication, use a command with the following syntax: msiexec.exe [/L*v "<path_to_log>"] /qn /i "<path_to_msi>" [INSTALLDIR="<path_to_installdir >"] [VBR_LICENSE_FILE="<path_to_license_file>"] VBR_SERVICE_USER="" VBR_SERVICE_PASSWORD="" [VBR_SERVICE_PORT=""] [VBR_SQLSERVER_SERVER=”<SQL_server>”] [VBR_SQLSERVER_DATABASE=””] [PF_AD_NFSDATASTORE=”<path_to_vPower_NFS_root_folder >”]

5 |

The following command-line options can be used: Option

Parameter

Required

Description Creates an installation log file with the verbose output. Specify a full path to the log file as the parameter value. Any setup log file created during the previous installation will be cleared.

/L

*v logfile

No

/q

n

Yes

/i

setup file

Yes

Example: /L*v! ”C:\ProgramData\Veeam\Setup\Temp\Logs\BRSetup.txt ” Sets the user interface level to “no”, which means no user interaction is needed during installation. Installs Veeam Backup & Replication. Specify a full path to the setup file as the parameter value. Example: /i “C:\Veeam\BU_x64.msi” Installs the component to the specified location. By default, the C:\Program Files\Veeam\Backup and Replication\ folder is used.

INSTALLDIR

path

No Example: INSTALLDIR="c:\backup\" Specifies a full path to the license file. If this parameter is not specified, Veeam Backup Free Edition will be installed.

VBR_LICENSE_FILE

license path

No Example: VBR_LICENSE_FILE="C:\Users\Administrator\Desktop\en terprise - veeam_backup_trial_0_30.lic" Specifies the account under which the Veeam Backup Service will run. The account must have the Database owner rights for the Veeam Backup & Replication database on the SQL Server instance you plan to use.

VBR_SERVICE_USER

user

password

VBR_SERVICE_PORT

port

6 |

Example: VBRC_SERVICE_USER="BACKUPSERVER\Administrator"

Specifies a password for the account under which the Veeam Backup Service will run.

VBR_SERVICE_ PASSWORD

VBR_SQLSERVER_ SERVER

Yes

Yes Example: VBR_SERVICE_PASSWORD="1234" Specifies a TCP port that will be used by the Veeam Backup Service. By default, port number 9392 is used.

SQL server\ instance

No

No

Example: VBR_SERVICE_PORT="9392" Specifies a Microsoft SQL server and instance on which the Veeam Backup & Replication database will be deployed. By default, the local Microsoft SQL server or '(local)\VEEAMSQL2008R2' is used.

Option

VBR_SQLSERVER_ DATABASE

PF_AD_ NFSDATASTORE

Parameter

database

path

Required

No

No

Description Example: VBR_SQLSERVER_SERVER="BACKUPSERVER\VEEAMSQL 2008R2" Specifies a name of the Veeam Backup & Replication SQL database to be deployed, by default, VeeamBackup. Example: VBR_SQLSERVER_DATABASE="VeeamBackup" Specifies the vPower NFS root folder to which Instant VM Recovery cache will be stpred. By default, the C:\ProgramData\Veeam\Backup\NfsDatastore\ folder is used. Example: PF_AD_NFSDATASTORE="C:\ProgramData\Veeam\Bac kup\NfsDatastore2\"

Example Suppose you want to install Veeam Backup & Replication with the following configuration: • • • • • • • • • • •

Installation log location: C:\logs\log1.txt No user interaction Path to the MSI file: E:\ Veeam\BU_x64.msi Installation folder: D:\Program Files\Veeam License file location: C:\License\veeam_license.lic Catalog folder: default Service user account: VEEAM\Administrator Service user account password: 1243 Service port: default SQL database and database name: default Path to the vPower NFS folder: D:/vPowerNFS

The command to install Veeam Backup & Replication with such configuration will be the following: msiexec.exe /L*v C:\logs\log1.txt" /qn /i "E:\Veeam\BU_x64.msi" INSTALLDIR="D:\Program Files\Veeam" VBR_LICENSE_FILE="C:\License\veeam_license.lic" VBR_SERVICE_USER="VEEAM\Administrator" VBR_SERVICE_PASSWORD="1234" PF_AD_NFSDATASTORE="D:\vPowerNFS"

7 |

Veeam Explorer for Exchange To install Veeam Explorer for Exchange, use a command with the following syntax: msiexec.exe [/L*v "<path_to_log>"] /i "<path_to_msi>"

The following command-line options can be used: Option

Parameter

Required

Description Installs Veeam Explorer for Exchange. Specify a full path to the setup file as the parameter value.

/i

setup file

Yes Example: /i “C:\Explorers\VeeamExplorerforExchange.msi”

Veeam Explorer for SharePoint To install Veeam Explorer for SharePoint, use a command with the following syntax: msiexec.exe [/L*v "<path_to_log>"] /i "<path_to_msi>"

The following command-line options can be used: Option

Parameter

Required

Description Installs Veeam Explorer for SharePoint. Specify a full path to the setup file as the parameter value.

/i

setup file

Yes Example: /i “C:\Explorers\VeeamExplorerforSharePoint.msi”

Veeam Backup Plugin for HP StoreServ To install the Veeam Backup plugin for HP StoreServ, use a command with the following syntax: msiexec.exe [/L*v "<path_to_log>"] /qn /i "<path_to_msi>"

8 |

The following command-line options can be used: Option

Parameter

Required

Description Creates an installation log file with the verbose output. Specify a full path to the log file as the parameter value. Any setup log file created during the previous installation will be cleared.

/L

*v logfile

No

/q

n

Yes

/i

setup file

Yes

Example: /L*v! ”C:\ProgramData\Veeam\Setup\Temp\Logs\Hp3PARSet up.txt” Sets the user interface level to “no”, which means no user interaction is needed during installation. Installs the Veeam Backup plugin for HP StoreServ. Specify a full path to the setup file as the parameter value. Example: /i “C:\Veeam\BP_Hp3PAR_x64.msi”

Veeam Backup Plugin for HP StoreVirtual and HP StoreVirtual To install the Veeam Backup plugin for HP StoreVirtual and HP StoreVirtual, use a command with the following syntax: msiexec.exe [/L*v "<path_to_log>"] /qn /i "<path_to_msi>"

The following command-line options can be used: Option

Parameter

Required

Description Creates an installation log file with the verbose output. Specify a full path to the log file as the parameter value. Any setup log file created during the previous installation will be cleared.

/L

/q

/i

*v logfile

n

setup file

No

Yes

Yes

Example: /L*v! ”C:\ProgramData\Veeam\Setup\Temp\Logs\HpP4kSetu p.txt” Sets the user interface level to “no”, which means no user interaction is needed during installation. Installs the Veeam Backup Plugin for HP StoreVirtual and HP StoreVirtual. Specify a full path to the setup file as the parameter value. Example: /i “C:\Veeam\BP_HpP4k_x64.msi”

9 |

Veeam Backup PowerShell Snap-In To install the Veeam Backup PowerShell snap-in, use a command with the following syntax: msiexec.exe [/L*v "<path_to_log>"] /qn /i "<path_to_msi>"

The following command-line options can be used: Option

Parameter

Required

Description Creates an installation log file with the verbose output. Specify a full path to the log file as the parameter value. Any setup log file created during the previous installation will be cleared.

/L

*v logfile

No

/q

n

Yes

/i

setup file

Yes

Example: /L*v! ”C:\ProgramData\Veeam\Setup\Temp\Logs\BPSSetup.t xt” Sets the user interface level to “no”, which means no user interaction is needed during installation. Installs the Veeam Backup PowerShell snap-in. Specify a full path to the setup file as the parameter value. Example: /i “C:\Veeam\BPS_x64.msi”

Veeam Backup Enterprise Manager To install Veeam Backup Enterprise Manager, use a command with the following syntax: msiexec.exe [/L*v "<path_to_log>"] /qn /i "<path_to_msi>" [INSTALLDIR="<path_to_installdir >"] VBREM_LICENSE_FILE="<path_to_license_file>" VBREM_SERVICE_USER="" VBREM_SERVICE_PASSWORD="" [VBREM_SERVICE_PORT=""] [VBREM_SQLSERVER_SERVER=”<SQL_server>”] [VBREM_SQLSERVER_DATABASE=””] [VBREM_TCPPORT=””] [VBREM_SSLPORT=”<SSL_port_for_web_site>”] [VBREM_THUMBPRINT=””] [VBREM_RESTAPISVC_PORT=””] [VBREM_RESTAPISVC_SSLPORT=”<SSL_port_for_RestApi_service>”]

10 |

The following command-line options can be used: Option

Parameter

Required

Description Creates an installation log file with the verbose output. Specify a full path to the log file as the parameter value. Any setup log file created during the previous installation will be cleared.

/L

/q

*v logfile

n

No

Yes

Example: /L*v! ”C:\ProgramData\Veeam\Setup\Temp\Logs\ EMSetup.txt” Sets the user interface level to “no”, which means no user interaction is needed during installation. Installs Veeam Backup Enterprise Manager. Specify a full path to the setup file as the parameter value.

/i

INSTALLDIR

setup file

path

Yes

No

Example: /i “C:\Veeam\BackupWeb_x64.msi” Installs the component to the specified location. By default, the C:\Program Files\Veeam\Enterprise Manager folder is used. Example: INSTALLDIR="c:\Backup\" Specifies a full path to the license file.

VBREM_LICENSE_FILE

license path

Yes

VBREM_SERVICE_USER

user

Yes

Example: VBRC_SERVICE_USER="BACKUPSERVER\Administrator" Specifies a password for the account under which the Veeam Backup Enterprise Manager Service will run.

VBREM_SERVICE_ PASSWORD

password

VBREM_SERVICE_PORT

Port

VBREM_SQLSERVER_ SERVER

11 |

Example: VBREM_LICENSE_FILE="C:\Users\Administrator\Desktop \enterprise - veeam_backup_trial_0_30.lic" Specifies the account under which the Veeam Backup Enterprise Manager Service will run. The account must have full control NTFS permissions on the VBRCatalog folder where index files are stored and the Database owner rights for the Veeam Backup & Replication database on the SQL Server instance you plan to use.

SQL server\ instance

Yes

No

No

Example: VBREM_SERVICE_PASSWORD="1234" Specifies a TCP port that will be used by the Veeam Backup Enterprise Manager Service. By default, port number 9394 is used. Example: VBREM_SERVICE_PORT ="9394" Specifies a Microsoft SQL server and instance on which the Veeam Backup Enterprise Manager database will be deployed. By default, the local Microsoft SQL server or '(local)\VEEAMSQL2008R2' is used.

Option

Parameter

Required

Description Example: VBREM_SQLSERVER_SERVER= "BACKUPSERVER\VEEAMSQL2008R2" Specifies a name of the Veeam Backup Enterprise Manager SQL database to be deployed, by default, VeeamBackupReporting.

VBREM_SQLSERVER_ DATABASE

VBREM_TCPPORT

VBREM_SSLPORT

VBREM_THUMBPRINT

VBREM_RESTAPISVC_ PORT

VBREM_RESTAPISVC_ SSLPORT

database

port

port

hash

port

port

No

No

No

No

No

No

Example: VBREM_SQLSERVER_DATABASE= "VeeamBackupReporting2" Specifies a TCP port that will be used by the Veeam Backup Enterprise Manager web site. By default, port number 9080 is used. Example: VBREM_TCPPORT="9080" Specifies an SSL port that will be used by the Veeam Backup Enterprise Manager web site. By default, port number 9443 is used. Example: VBREM_SSLPORT="9443" Specifies the certificate to be used by Veeam Backup Enterprise Manager service and RestAPI service. If this parameter is not specified, a new certificate will be generated by selfssl.exe. Example: VBREM_THUMBPRINT="0677d0b8f27caccc966b15d807 b41a101587b488" Specifies a TCP port that will be used by the Veeam Backup Enterprise Manager RESTful API Service. By default, port number 9399 is used. Example: VBREM_RESTAPISVC_PORT=”9399” Specifies an SSL port that will be used by the Veeam Backup Enterprise Manager RESTful API Service. By default, port number 9398 is used. Example: VBREM_RESTAPISVC_SSLPORT=”9398”

Example Suppose you want to install Veeam Backup Enterprise Manager with the following configuration: • • • • • • •

12 |

Installation log location: C:\logs\log1.txt No user interaction Path to the MSI file: E:\ Veeam\ BackupWeb_x64.msi Installation folder: D:\Program Files\Veeam License file location: C:\License\veeam_license.lic Service user account: VEEAM\Administrator Service user account password: 1243

• • • • • • • •

Service port: default SQL database: BACKUPSERVER\VEEAMSQL2008R2 Database name: VeeamReplorting01 Path to the vPower NFS folder: D:/vPowerNFS TCP and SSL ports: default Certificate: default TCP port for RESTful API: 9396 SSL port for RESTful API: 9397

The command to install Veeam Backup Enterprise Manager with such configuration will be the following: msiexec.exe /L*v " C:\logs\log1.txt" /qn /i "<path_to_msi>" INSTALLDIR="D:\Program Files\Veeam” VBREM_LICENSE_FILE="C:\License\veeam_license.lic" VBREM_SERVICE_USER="VEEAM\Administrator" VBREM_SERVICE_PASSWORD="1234" VBREM_SQLSERVER_SERVER="BACKUPSERVER\VEEAMSQL2008R2" VBREM_SQLSERVER_DATABASE="VeeamReplorting01" VBREM_RESTAPISVC_PORT=”9396” VBREM_RESTAPISVC_SSLPORT=”9397”

13 |