王舰的博客

网络江湖中的安全屋

1 准备升级介质

一般 DC 的升级是为 TC 升级准备的,要先准备好升级介质:

image-20250914124653653

2 配置升级文件

复制 upgrade_config.properties 文件为 DC_upgrade_config.properties

image-20250914125015569

注意这里的配置信息要和已安装的DC配置一致,重点是安装路径、端口号和用户名密码,当然如果改过服务名等其它配置,也需要和已安装的配置保持一致:

image-20250914125311409

3 运行升级脚本

deployment_center.bat -upgrade -inputFile=DC_upgrade_config.properties

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
C:\Users\Administrator>cd C:\Siemens\DeploymentCenter\repository\software\Tc2412.0008_wntx64\wntx64\install\DeploymentCenter\deployment_center\deployment_center

C:\Siemens\DeploymentCenter\repository\software\Tc2412.0008_wntx64\wntx64\install\DeploymentCenter\deployment_center\deployment_center>deployment_center.bat -upgrade -inputFile=DC_upgrade_config.properties
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
---------------------------------- Upgrading Deployment Center ---------------------------------
----------------------------------------------------------------------------------------------------
Deployment Center upgrade log
Date and time : 9月 14, 2025 02:35 下午
Log file location: C:\Siemens\DEPLOY~1\REPOSI~1\software\TC2412~2.000\wntx64\install\DEPLOY~1\DEPLOY~1\DEPLOY~1\logs
----------------------------------------------------------------------------------------------------
Input arguments:
-upgrade
-inputFile=DC_upgrade_config.properties
----------------------------------------------------------------------------------------------------

Deployment Center upgrade has started...

[Step 1 of 24] Stopping Deployment Center Publisher Service [DC_RepoService_Publisher]...
[Step 2 of 24] Stopping Repository Service [DC_RepoService]...
[Step 3 of 24] Stopping Deployment Center Service [DC_Service]...

[Step 4 of 24] Stopping Deployment Center Vault Service [DC_Vault_Service]...
[Step 5 of 24] Backing up Deployment Center Database...
Source Location: C:\Siemens\DeploymentCenter\webserver\db\deploy_center.mv.db
Backup Location: C:\Siemens\DeploymentCenter\webserver\db\deploy_center.mv.db.2412.0007.2025-09-14-14-35-41

[Step 6 of 24] Backing up Deployment Center Server Directory...

[Step 7 of 24] Backing up Repository...
--> Backing up the 'dc_contributions' directory...
Source Location: C:\Siemens\DEPLOY~1\REPOSI~1\dc_contributions
Backup Location: C:\Siemens\DEPLOY~1\REPOSI~1\backup\REPOSI~1\dc_contributions

--> Processing [tcmsf 5.1.8], Overall progress: 100% complete.

--> Backing up the 'deploy_scripts' directory...
Source Location: C:\Siemens\DEPLOY~1\REPOSI~1\deploy_scripts
Backup Location: C:\Siemens\DEPLOY~1\REPOSI~1\backup\REPOSI~1\deploy_scripts

--> Backing up the 'quick_deploy_config' directory...
Source Location: C:\Siemens\DEPLOY~1\REPOSI~1\quick_deploy_config
Backup Location: C:\Siemens\DEPLOY~1\REPOSI~1\backup\REPOSI~1\quick_deploy_config

--> Backing up the 'snapshot' directory...
Source Location: C:\Siemens\DEPLOY~1\REPOSI~1\snapshot
Backup Location: C:\Siemens\DEPLOY~1\REPOSI~1\backup\REPOSI~1\snapshot

--> Backing up the 'system' directory...
Source Location: C:\Siemens\DEPLOY~1\REPOSI~1\system
Backup Location: C:\Siemens\DEPLOY~1\REPOSI~1\backup\REPOSI~1\system

--> Transferring the backup directory to a zipped archive.
Backup Directory: C:\Siemens\DEPLOY~1\REPOSI~1\backup\REPOSI~1
Target Location: C:\Siemens\DEPLOY~1\REPOSI~1\backup\REPOSI~1.2412.0007.2025-09-14-14-35-41.zip

[Step 8 of 24] Backing up DC Vault directory...
[Step 9 of 24] Cleaning Repository system directory...

[Step 10 of 24] Cleaning up C:\Siemens\DeploymentCenter\webserver\temp directory...
[Step 11 of 24] Cleaning Repository dc_contributions directory...
[Step 12 of 24] Cleaning Deployment Center utilities directory...

[Step 13 of 24] Updating Deployment Center Database...
Hibernate: SELECT CONSTRAINT_NAME FROM INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE where TABLE_NAME='COMPONENT' and COLUMN_NAME='UNINSTALLRULE_UNINSTALL_RULE_ID' and CONSTRAINT_SCHEMA ='DEPLOY_CENTER'
Hibernate: SELECT INDEX_NAME FROM INFORMATION_SCHEMA.INDEX_COLUMNS where TABLE_NAME='COMPONENT' and COLUMN_NAME='UNINSTALLRULE_UNINSTALL_RULE_ID' and INDEX_SCHEMA ='DEPLOY_CENTER'
Hibernate: DROP TABLE IF EXISTS DEPLOY_CENTER.uninstall_property
Hibernate: DROP TABLE IF EXISTS DEPLOY_CENTER.UNINSTALL_RULE
9月 14, 2025 2:38:00 下午 liquibase.database
信息: Set default schema name to PUBLIC
9月 14, 2025 2:38:00 下午 liquibase.database
信息: Set default schema name to PUBLIC
BEST PRACTICE: The changelog generated by diffChangeLog/generateChangeLog should be inspected for correctness and completeness before being deployed. Some database objects and their dependencies cannot be represented automatically, and they may need to be manually updated before being deployed.
9月 14, 2025 2:38:01 下午 liquibase.servicelocator
信息: Cannot load service: liquibase.serializer.ChangeLogSerializer: Provider liquibase.serializer.core.json.JsonChangeLogSerializer could not be instantiated
9月 14, 2025 2:38:01 下午 liquibase.servicelocator
信息: Cannot load service: liquibase.serializer.ChangeLogSerializer: Provider liquibase.serializer.core.yaml.YamlChangeLogSerializer could not be instantiated
9月 14, 2025 2:38:01 下午 liquibase.diff
信息: changeSets count: 6
9月 14, 2025 2:38:01 下午 liquibase.diff
信息: C:\Siemens\DeploymentCenter\webserver\db\temp\deployment_center_database_change_log.xml does not exist, creating and adding 6 changesets.
9月 14, 2025 2:38:01 下午 liquibase.database
信息: Set default schema name to PUBLIC
9月 14, 2025 2:38:01 下午 liquibase.lockservice
信息: Successfully acquired change log lock
9月 14, 2025 2:38:01 下午 liquibase.servicelocator
信息: Cannot load service: liquibase.change.Change: liquibase.change.core.LoadDataChange Unable to get public no-arg constructor
9月 14, 2025 2:38:01 下午 liquibase.servicelocator
信息: Cannot load service: liquibase.change.Change: liquibase.change.core.LoadUpdateDataChange Unable to get public no-arg constructor
9月 14, 2025 2:38:02 下午 liquibase.changelog
信息: Creating database history table with name: DEPLOY_CENTER.DATABASECHANGELOG
9月 14, 2025 2:38:02 下午 liquibase.changelog
信息: Reading from DEPLOY_CENTER.DATABASECHANGELOG
9月 14, 2025 2:38:02 下午 liquibase.servicelocator
信息: Cannot load service: liquibase.hub.HubService: Provider liquibase.hub.core.StandardHubService could not be instantiated
Running Changeset: deployment_center_database_change_log.xml::1757831881262-1::Administrator (generated)
9月 14, 2025 2:38:02 下午 liquibase.changelog
信息: Table UNINSTALL_PROPERTY created
9月 14, 2025 2:38:02 下午 liquibase.changelog
信息: ChangeSet deployment_center_database_change_log.xml::1757831881262-1::Administrator (generated) ran successfully in 0ms
Running Changeset: deployment_center_database_change_log.xml::1757831881262-2::Administrator (generated)
9月 14, 2025 2:38:02 下午 liquibase.changelog
信息: Table UNINSTALL_RULE created
9月 14, 2025 2:38:02 下午 liquibase.changelog
信息: ChangeSet deployment_center_database_change_log.xml::1757831881262-2::Administrator (generated) ran successfully in 0ms
Running Changeset: deployment_center_database_change_log.xml::1757831881262-3::Administrator (generated)
9月 14, 2025 2:38:02 下午 liquibase.changelog
信息: Unique constraint added to UNINSTALL_RULE(COMPONENT_ID)
9月 14, 2025 2:38:02 下午 liquibase.changelog
信息: ChangeSet deployment_center_database_change_log.xml::1757831881262-3::Administrator (generated) ran successfully in 0ms
Running Changeset: deployment_center_database_change_log.xml::1757831881262-4::Administrator (generated)
9月 14, 2025 2:38:02 下午 liquibase.changelog
信息: Index FKOOHLDH6KMT0VFLY0WQY2HFDXE_INDEX_B created
9月 14, 2025 2:38:02 下午 liquibase.changelog
信息: ChangeSet deployment_center_database_change_log.xml::1757831881262-4::Administrator (generated) ran successfully in 0ms
Running Changeset: deployment_center_database_change_log.xml::1757831881262-5::Administrator (generated)
9月 14, 2025 2:38:02 下午 liquibase.changelog
信息: Foreign key constraint added to UNINSTALL_PROPERTY (UNINSTALL_RULE)
9月 14, 2025 2:38:02 下午 liquibase.changelog
信息: ChangeSet deployment_center_database_change_log.xml::1757831881262-5::Administrator (generated) ran successfully in 17ms
Running Changeset: deployment_center_database_change_log.xml::1757831881262-6::Administrator (generated)
9月 14, 2025 2:38:02 下午 liquibase.changelog
信息: Foreign key constraint added to UNINSTALL_RULE (COMPONENT_ID)
9月 14, 2025 2:38:02 下午 liquibase.changelog
信息: ChangeSet deployment_center_database_change_log.xml::1757831881262-6::Administrator (generated) ran successfully in 0ms
9月 14, 2025 2:38:02 下午 liquibase.lockservice
信息: Successfully released change log lock
9月 14, 2025 2:38:02 下午 liquibase.lockservice
信息: Successfully acquired change log lock
9月 14, 2025 2:38:02 下午 liquibase.changelog
信息: Reading from DEPLOY_CENTER.DATABASECHANGELOG
9月 14, 2025 2:38:02 下午 liquibase.lockservice
信息: Successfully released change log lock
[Step 14 of 24] Deploying Deployment Center Open source Vault...
Waiting for vault server to start for a minute
Enabling the Admin Capability for Vault.
[Step 15 of 24] Updating Deployment Center Repository...

[Step 16 of 24] Updating Deployment Center Server...
[Step 17 of 24] Copying Deployment Center utilities...
[Step 18 of 24] Updating Deployment Center Service [DC_Service]...

[Step 19 of 24] Updating Deployment Center Repository Service [DC_RepoService]...
[Step 20 of 24] Updating Deployment Center Publisher Service [DC_RepoService_Publisher]...
[Step 21 of 24] Waiting for Deployment Center Server to start...

.[Step 22 of 24] Waiting for Repository Scanning to complete...
...........[Step 23 of 24] Updating Deployment Center Environments...
[Step 24 of 24] Successfully updated Deployment Center environments.

----------------------------------------------------------------------------------------------------
Success : Deployment Center upgrade completed.
----------------------------------------------------------------------------------------------------
Deployment Center service ("DC_Service") is installed and started.
Deployment Center Repository service ("DC_RepoService") is installed and started.
Deployment Center Publisher service ("DC_RepoService_Publisher") is installed and started.
Deployment Center Vault service ("DC_Vault_Service") is installed and started.
----------------------------------------------------------------------------------------------------
Access Deployment Center at the URL:
http://TC2412:7080/deploymentcenter/
----------------------------------------------------------------------------------------------------

NOTE: The Deployment Center utilities are available under the "C:\\Siemens\\DeploymentCenter\\webserver\additional_tools\" directory and will no longer be available inside the Deployment Center kit directory.
----------------------------------------------------------------------------------------------------

4 验证

查看 DC 登录页面左下角的版本信息

image-20250914144406151

1 最终下载地址

https://support.broadcom.com/group/ecx/productdownloads?subfamily=VMware%20Workstation%20Pro&freeDownloads=true

2 查找步骤

进入 Boradcom 主页:https://www.broadcom.com/

点击按钮或右上角进入 Support Portal:https://support.broadcom.com/

Broadcom主页

点击 VMware Cloud Foundation > My Downloads

Support网站

点击 HERE

免费下载

往下拉,找到 VMWare Workation Pro

VMware

选择合适的版本下载

选择版本

点击下载(有可能要勾选条件和条款)

下载

0%