Open topic with navigation
You are here: Installation > Installing Double-Take RecoverNow automatically
Installing Double-Take RecoverNow automatically
The Double-Take RecoverNow installation program can accept command-line parameters which allow you to
automate the installation or upgrade process by running an unattended, or silent, installation. The
automatic process allows you to pass parameters through to the installation program instead of
entering information manually during the installation or upgrade.
Since the automated process does not prompt for settings, the settings are manually defined in a
configuration file called DTSetup.ini. By default, DTSetup.ini contains two sections. The second
section can be duplicated as many times as necessary. The first section, [Config], applies to any
server not defined in the second (or duplicate of second) sections. The second (or duplicate of second)
section, [MachineName], allows you to specify unique settings for individual servers. You have to
modify the heading name (case-sensitive) to identify the server.
[Config]
DTSETUPTYPE=DTNT
DTACTIVATIONCODE=123456789012345678901234
DOUBLETAKEFOLDER="C:\Program Files\Vision Solutions\Double-Take"
QMEMORYBUFFERMAX=128
DISKQUEUEFOLDER="C:\Program Files\Vision Solutions\Double-Take"
DISKQUEUEMAXSIZE=UNLIMITED
DISKFREESPACEMIN=50
DTSERVICESTARTUP=1
PORT=6320
SET_FWPORT=Y
[Alpha]
DTSETUPTYPE=DTNT
DTACTIVATIONCODE=123456789012345678901234
DOUBLETAKEFOLDER="C:\Program Files\Vision Solutions\Double-Take"
QMEMORYBUFFERMAX=128
DISKQUEUEFOLDER="C:\Program Files\Vision Solutions\Double-Take"
DISKQUEUEMAXSIZE=UNLIMITED
DISKFREESPACEMIN=50
DTSERVICESTARTUP=1
PORT=6320
SET_FWPORT=Y
[Beta]
DTSETUPTYPE=DTNT
DTACTIVATIONCODE=123456789012345678901234
DOUBLETAKEFOLDER="C:\Program Files\Vision Solutions\Double-Take"
QMEMORYBUFFERMAX=128
DISKQUEUEFOLDER="C:\Program Files\Vision Solutions\Double-Take"
DISKQUEUEMAXSIZE=UNLIMITED
DISKFREESPACEMIN=50
DTSERVICESTARTUP=1
PORT=6320
SET_FWPORT=Y
|
In the sample DTSetup file, the server Alpha would use the parameters defined under the [Alpha] heading. The server Beta would use the parameters defined under the [Beta] heading. All other servers would use the configuration under the [Config] section.
Do not leave any parameter blank in the Config or MachineName sections. Otherwise, a
hard-coded default stored in a Double-Take RecoverNow .dll file will be used.
DTSetupType
- DTNT—Both the Double-Take RecoverNow server and client components will be installed.
- DTCO—Only the Double-Take RecoverNow client components will be installed.
- DTSO—Only the Double-Take RecoverNow server components will be installed.
If you are installing on Windows Server Core or Windows Hyper-V Server (standalone), the setup type will be server components only regardless of your setting.
DTActivationCode
A 24-character, alphanumeric activation code which applies the
appropriate license to the server. Multiple activation codes can be separated by a semicolon.
DoubleTakeFolder
Any valid path specifying the location of the Double-Take RecoverNow files
QMemoryBufferMax
Any integer representing the amount of system memory, in MB, to use for
memory-based queuing
DiskQueueFolder
Any valid path to the location of the disk-based queue
DiskQueueMaxSize
Any integer representing the amount of disk space, in MB, to use for
disk-based queuing or the keyword UNLIMITED which will allow the queue
usage to automatically expand whenever the available disk space expands
DiskFreeSpaceMin
Any integer representing the amount of disk space, in MB, that must remain
free at all times
DTServiceStartup
- Y or 1—Start the Double-Take service automatically
- N or 0—Do not start the Double-Take service automatically
This parameter is not applied if your DTSetupType is DTCO.
Port
Any integer between 1024 and 65535 that identifies the Windows firewall
port used for Double-Take RecoverNow
Set_FWPORT
- Y or 1—Set the Windows firewall port for Double-Take RecoverNow
- N or 0—Do not set the Windows firewall port for Double-Take RecoverNow
You must have Microsoft .NET installed on server before starting the automatic installation.
If you are using Windows 2008, but you are not using the built-in administrator account, Windows 2008 User Access Control will prompt you to confirm you want to install Double-Take RecoverNow. To work around this issue, use the built-in administrator account when you are installing to each server. You may also disable User Access Control if that is acceptable for your environment.
- Create a temporary directory on the server. For example, create c:\dtinstall.
- On the CD, locate the files in a subdirectory under \setup\dtsw that is appropriate for your architecture, either i386, x64, or IA64. Copy the files from that subdirectory to the temporary directory.
- From a command prompt, remove the read-only attributes from the files in the temporary directory by using the command attrib *.* -r.
- Make a backup copy of the default DTSetup.ini file in the temporary directory.
- Edit DTSetup.ini as needed using the values described in the previous table.
- Determine the exact file name of your setup file by using the command dir setup*.* from the temporary directory command prompt. Depending on how you received your software (CD or web), your setup file name will be named setup.exe or setup_xxxx.exe where xxxx is four numbers that specify the build number. For example, your setup file might be called setup.exe or setup_1352.exe.
-
Run one of the following case-sensitive commands from the temporary directory, depending on if you have setup.exe or setup_xxxx.exe where xxxx is a four digit build number.
setup /s /v"DTSETUPINI=\"c:\dtinstall\DTSetup.ini\" /qn"
setup_xxxx /s /v"DTSETUPINI=\"c:\dtinstall\DTSetup.ini\" /qn"
The command must be run from the directory where the temporary files are
located as well as specifying that directory for the .ini file.
Spacing is critical with this command. A space should precede /s, /v, and /qn
but should not appear anywhere else for the command to work correctly.
- Create a temporary directory on the primary site server. For example, create z:\dtinstall.
- Share the temporary folder.
- On the CD, locate the files in a subdirectory under \setup\dtsw that is appropriate for your architecture, either i386, x64, or IA64. Copy the files from that subdirectory to the temporary directory.
- From a command prompt, remove the read-only attributes from the files in the temporary directory by using the command attrib *.* -r.
- Make a backup copy of the default DTSetup.ini file in the shared folder.
- Edit DTSetup.ini as needed using the values described in the previous tables.
- From each server where you want to install Double-Take RecoverNow, map a drive to the temporary directory that you created in step 1. For example, you might map your m: drive to the share.
- Determine the exact file name of your setup file by using the command dir setup*.* from the mapped drive command prompt. Depending on how you received your software (CD or web), your setup file name will be named setup.exe or setup_xxxx.exe where xxxx is four numbers that specify the build number. For example, your setup file might be called setup.exe or setup_1352.exe.
-
Run one of the following case-sensitive commands from the mapped drive, depending on if you have setup.exe or setup_xxxx.exe where xxxx is a four digit build number.
setup /s /v"DTSETUPINI=\"m:\DTSetup.ini\" /qn"
setup_xxxx /s /v"DTSETUPINI=\"m:\DTSetup.ini\" /qn"
The command must be run from the shared folder as well as specifying that directory for the .ini file.
Substitute your mapped drive for m:\.
Spacing is critical with this command. A space should precede /s, /v, and /qn
but should not appear anywhere else for the command to work correctly.
C:\>net use m: \\server_name\share
The command completed successfully
C:\>M:
M:\>setup_1352 /s /v"DTSETUPINI=\"m:\DTSetup.ini\" /qn"
|
Related Topics