Specifications

Table Of Contents
VMware, Inc. 163
Chapter 6 View Composer
Upgrade View Composer Database (databaseupgrade)
ThedatabaseupgradecommandisusedtoupgradeaViewComposer1.0schemato
version1.1.Inaddition,thecommandalsomigratestheinformationinthedatabase
fromViewComposer1.0toViewComposer1.1.TheschemaforViewComposerhas
notchangedsinceversion1.1.
Use Case
DuringinstallationoftheViewComposerserviceonavCenterServerwhereanolder
versionoftheserviceisalreadyinstalled,usersareofferedtheopportunitytoupgrade
theservicemanually.Ifaschemaupgradeisrequired,theymustuseSviConfigto
upgradetheschemaandmigratetheirexistingdata.
Usage
BeforeyoucanupgradetheViewComposerdatabase,youmustfirstshutdownthe
ViewComposerservicerunningonthevCenterServer.Restarttheserviceonceyou
havesuccessfullyexecutedthecommand.
SviConfigdatabaseupgradecommandinstructionsareissuedfromaWindows
commandpromptinthefollowingform:
sviconfig -operation=databaseupgrade
-DsnName=<target database source name (DSN)>
-Username=<database administrator username>
-Password=<database administrator password>
Forexample:
sviconfig -operation=databaseupgrade -dsnname=LinkedClone
-username=Admin -password=Pass
Result Output
Asuccessfuloperationresultsinthefollowingoutput:
Establishing database connection.
Database connection established successfully.
Upgrading database.
Load data from SVI_VC_CONFIG_ENTRY table.
Update SVI_DEPLOYMENT_GROUP table.
Update SVI_REPLICA table.
Update SVI_SIM_CLONE table.
SviConfig finished successfully.
Database is upgraded successfully.