==============================================================================
What is cis_upgrade_runner?
==============================================================================

cis_upgrade_runner is a library targeted to provide framework for orchestration
of migration upgrade of existing vCenter Server.

==============================================================================
Content of cis_upgrade_runner
==============================================================================

*README - this file
*UpgradeRunner - Standalone console application targeted to do the actual upgrade.
UpgradeRunner is the main entrypoint of the upgrade execution.For more
information run the script 'UpgradeRunner.py --help'
*config.json - The UpgradeRunner configuration file. For more information about
the configuration file content run 'UpgradeRunner.py --help'
*payload - The payload that need to be deployed on the CIS machine before
execution of the actual component upgrade scripts.
*payload/components-metadata - The components metadata which will be used when
loading information about the components.
*py - cis_upgrade_runner library code
*libs - external libraries used by cis_upgrade_runner

==============================================================================
How to run my upgrade script.
==============================================================================

The cis_upgrade_runner allows the component owners to run and debug their
upgrade component scripts through UpgradeRunner.py. For more information run
python UpgradeRunner.py -help

==============================================================================
UpgradeRunner configuration and where to deploy component upgrade script
==============================================================================

To run UpgradeRunner you need to specify 2 main systems - source and destination systems:
1. preliminary installed Source vCenter Server - this information is retrieved from key
"source-components" in config.json file. The vpxd configuration is located under
"com.vmware.vpxd" key. UpgradeRunner will automatically discover all related vpxd
components, but if you want to use your specific ones then you need to specify the
configuration of your source component under "source-components" key. For example if you
want to use your local version of sso then the "source-components" configuration will
look like:
"source-components": {
		"com.vmware.vpxd":
			[{"url" : "//10.114.179.248:443",
			  "username" : "root",
			  "password" : "<password>",
			  "platform" : "Linux"}],
		"com.vmware.sso":
			[{"url": "https://<my_sso_address>/sso-adminserver/sdk"}]
	},

2. Destination system. This is the system where your script will be run from.
The ip address of the CIS machine where your script must be located is retrieved
from key "destination-components" in components.json file. The Launcher tries to
run your upgrade script on the machine where the component is installed. If you
omit location definition of a component then location of vpxd component would be
preserved. If the location of vpxd component is omitted as well, then UpgradeRunner
will presume that it runs local upgrade, hence local machine will be used as
destination.
Component script logic must be located at ~/payload/component-scripts/<component>