...
Note: For any information about errors that may occur during the unattended update operation, refer to the Velocity_Update.txt log file in the velocity install location.
Unattended Update XML Configuration
Unattended Update XML Configuration
The UnattendedUpdate XML configuration file for the Velocity unattended update setup is given:
Code Block |
---|
<Configuration>
<!--
If you plan to add an optional execute application (IE Web Console) you need to add it to this file in a specific way.
The XMl node needs to match the title in the updatemanifest.ini file instruction. See The VelocityWebServicesClient as
and example of this.
-->
<SQL2012NC>
<Description>If Microsoft SQL Server 2012 Native Client - QFE is not installed
Velocity updater will upgrade your system's SQL Connectivity to Microsoft SQL Server 2012 Native Client - QFE with TLS1.2 support.
After it finishes, you may choose to reboot at a later time and continue with Velocity Update and then restart your machine.
Alternatively, if you choose to restart right away, you will need to re-run this update.
</Description>
<PossibleValues>Continue=0; Reboot=1</PossibleValues>
<Value>0</Value>
</SQL2012NC>
<RunAsAdmin>
<Description>Message:
Your Windows profile may not have sufficient privileges to install this software.
It is recommended that a profile that is a member of the local group 'GetAdminGroupName(Computer)' is used.
If you continue, you may encounter an error while applying the update.
Do you want to continue anyway?</Description>
<PossibleValues>No=0; Yes=1</PossibleValues>
<Value>0</Value>
</RunAsAdmin>
<BackupDB>
<Description>ServerOnly: Would you like to backup database before applying update?</Description>
<PossibleValues>No=0; Yes=1</PossibleValues>
<Value>0</Value>
</BackupDB>
<RestartServices>
<Description>ServerOnly: Would you like to restart the services after applying update?</Description>
<PossibleValues>No=0; Yes=1</PossibleValues>
<Value>0</Value>
</RestartServices>
<RestartVelocity>
<Description>Would you like to restart Velocity after applying update?</Description>
<PossibleValues>No=0; Yes=1</PossibleValues>
<Value>0</Value>
</RestartVelocity>
<!-- Web Console does not support unattended mode at this time and should not be used
<VelocityWebServicesClient>
<Description>Would you like install the Velocity Web Console?</Description>
<PossibleValues>No=0; Yes=1</PossibleValues>
<Value>0</Value>
</VelocityWebServicesClient>
-->
<ServiceInfo>
<Description>Provide service information for the login account used.</Description>
<UserName></UserName>
<Password></Password>
</ServiceInfo>
<RebootRequired>
<Description>Something caused a requirement that the computer needs to reboot.
Do you want the computer to reboot after the update completes?
</Description>
<PossibleValues>No=0; Yes=1</PossibleValues>
<Value>0</Value>
</RebootRequired>
</Configuration>
|
The list below describes the important Velocity Server/Client/Workstation Update use case scenarios.
Unattended Server Update
In the use case example below, the user indicates they want to update MS SQL server 2012, backing up the Database before the update and the user would like to restart the Velocity services after the update is applied.
Tag Names | Tag Value(s) | Tag Description |
<SQL2012NC>
| Continue=0; Reboot=1; Note: “1” indicates reboot the machine at a later time and continue with Velocity Update and then restart your machine. “0” means to restart right away and re-run the update. | If Microsoft SQL Server 2012 Native Client - QFE is not installed Velocity updater will upgrade your system's SQL Connectivity to Microsoft SQL Server 2012 Native Client - QFE with TLS1.2 support. |
<BackupDB> | No=0; Yes=1 | ServerOnly: Would you like to backup the database before applying an update? |
<RestartServices> | No=0; Yes=1 | ServerOnly: Would you like to restart the services after applying the update? |
<RestartVelocity> | No=0; Yes=1 | Would you like to restart Velocity after applying the update? |
<ServiceInfo> | User Name and Password | Provide service information for the login account used. |
Unattended Workstation Update
In the use case example below, the user indicates restarting Velocity after applying the update and providing service information for the account that is used.
Tag Names | Tag Value | Tag Description |
<RestartVelocity> | No=0; Yes=1 | Would you like to restart Velocity after applying update? |
<ServiceInfo > | User Name and Password | Provide service information for the login account used. |
Unattended Client Update
Note: Before the unattended client update, the Velocity server should be updated.
In the use case example below, the user indicates backing up the database before the update, restarting Velocity services and Velocity client after the update is applied.
Tag Names | Tag Value | Tag Description |
<BackupDB> | No=0; Yes=1 | ServerOnly: Would you like to back up the database before applying the update? |
<RestartServices> | No=0; Yes=1 | ServerOnly: Would you like to restart the services after applying the update? |
<RestartVelocity> | No=0; Yes=1 | Would you like to restart Velocity after applying the update? |