Windows under vcenter Server Vpostgres Database migration

Source: Internet
Author: User
Tags postgresql

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.