An environment
Legacy vcenter Server Windows Server R2 + vc6.0
New server Windows Server R2 + 6.0
Ii. description
Because there are many things configured on the old VC server, the new server will have to re-add the host and re-set the ha, switch and so on, so you need to back up the database on the old server directly to the new server:
Three-action
Official Tutorial: https://kb.vmware.com/s/article/2113647
The basic is in accordance with the official tutorial, but there are two places to note:
1.vpostgres Account password Profile vcdb.properties is in the Programdata directory, just beginning to think is in the VMware installation directory, the official tutorial does not write the full path. Password is the code.
Vcdb.properties
Path: D:\ProgramData\VMware\vCenterServer\cfg\vmware-vpx\vcdb.properties
Driver = Org.postgresql.Driver
DbType = PostgreSQL
URL = jdbc:postgresql://localhost:5432/vcdb
Username = VC
Password = 8 (co{vjpyb+%|1lx
Password.encrypted = False
2. After the new server is installed vcenter must restart the computer, if not restarted, execute Python database restore script will be error
Keyerror os.environ[' Vmware_python_path ']
This is because the environment variable is not in effect, Python can not get, in fact, the system inside the environment variable already has, but did not take effect, need to reboot.
This article from "Day Up" blog, please be sure to keep this source http://bshark.blog.51cto.com/10309374/1981130
Windows under vcenter Server Vpostgres Database migration