-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample-output.txt
More file actions
58 lines (46 loc) · 2.33 KB
/
sample-output.txt
File metadata and controls
58 lines (46 loc) · 2.33 KB
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
=== VMware Tools Auto-Upgrade on Power-On (Enterprise Solution) ===
Enter vCenter FQDN or IP: vcenter.example.com
Execution mode: (D)ry-run or (A)pply [D/A]: A
APPLY MODE: Changes will be applied to matching VMs
=== CURRENT STATE (All VMs) ===
VMName PowerState ToolsUpgradePolicy ToolsStatus
------ ---------- ------------------ -----------
PROD-WEB-01 PoweredOn manual toolsOk
PROD-WEB-02 PoweredOn upgradeAtPowerCycle toolsOk
PROD-DB-01 PoweredOff toolsNotInstalled
PROD-APP-01 PoweredOn manual toolsOld
TEST-VM-01 PoweredOn toolsOk
DEV-VM-01 PoweredOff upgradeAtPowerCycle toolsNotRunning
VMs requiring auto-upgrade configuration:
VMName PowerState ToolsUpgradePolicy ToolsStatus
------ ---------- ------------------ -----------
PROD-WEB-01 PoweredOn manual toolsOk
PROD-DB-01 PoweredOff toolsNotInstalled
PROD-APP-01 PoweredOn manual toolsOld
TEST-VM-01 PoweredOn toolsOk
Total VMs to be configured: 4
Proceed with enabling auto-upgrade on these VMs? (Y/N): Y
Applying VMware Tools auto-upgrade configuration...
✓ SUCCESS - PROD-WEB-01
✓ SUCCESS - PROD-DB-01
✓ SUCCESS - PROD-APP-01
✓ SUCCESS - TEST-VM-01
=== UPDATED STATE (Affected VMs) ===
VMName PowerState ToolsUpgradePolicy ToolsStatus
------ ---------- ------------------ -----------
PROD-WEB-01 PoweredOn upgradeAtPowerCycle toolsOk
PROD-DB-01 PoweredOff upgradeAtPowerCycle toolsNotInstalled
PROD-APP-01 PoweredOn upgradeAtPowerCycle toolsOld
TEST-VM-01 PoweredOn upgradeAtPowerCycle toolsOk
=== BEFORE / AFTER COMPARISON ===
VMName Before After Changed
------ ------ ----- -------
PROD-WEB-01 manual upgradeAtPowerCycle ✓ YES
PROD-DB-01 upgradeAtPowerCycle ✓ YES
PROD-APP-01 manual upgradeAtPowerCycle ✓ YES
TEST-VM-01 upgradeAtPowerCycle ✓ YES
Total VMs changed: 4
✓ OPERATION COMPLETE
- Successful configurations: 4
- Failed configurations: 0
Log file created: VMTools-AutoUpgrade-20250103-143022.log