All products in the cloud management family have been rebranded “VMware Aria”.

By Lerpong Intaraworrapath | April 24th, 2023

VMware has announced the official renaming of all products in our cloud management family to VMware Aria.

What is VMware Aria?

A unified management solution for cloud native applications and multi-cloud.

VMware Aria, a multi-cloud management portfolio that provides a set of end-to-end solutions for managing the cost, performance, configuration, and delivery of infrastructure and applications. Expressly designed for the operational challenges of cloud-native applications and public cloud environments, VMware Aria truly delivers a wholly new perspective on multi-cloud management. 

The VMware Aria Product List

Previous NameNew Name
Automation
vRealize Automation / CloudVMware Aria Automation
VMware Cloud AssemblyVMware Aria Automation Assembler
VMware Service BrokerVMware Aria Automation Service Broker
VMware Code StreamVMware Aria Automation Pipelines
VMware Cloud TemplatesVMware Aria Automation Templates
vRealize OrchestratorVMware Aria Automation Orchestrator
vRealize Automation SaltStack ConfigVMware Aria Automation Config
vRealize Automation SaltStack SecOpsVMware Aria Automation for Secure Hosts
CloudHealth Secure StateVMware Aria Automation for Secure Clouds
Operations
vRealize Operations / CloudVMware Aria Operations
vRealize Log Insight / CloudVMware Aria Operations for Logs
vRealize Network Insight / CloudVMware Aria Operations for Networks
Tanzu Observability by WavefrontVMware Aria Operations for Applications
vRealize True Visibility SuiteVMware Aria Operations for Integrations
Cost
CloudHealthVMware Aria Cost powered by CloudHealth
Suites
vRealize Cloud UniversalVMware Aria Universal Suite
vRealize SuiteVMware Aria Suite
vCloud SuiteVMware vCloud Suite
CloudHealth by VMware SuiteDiscontinued Name
CloudHealth Partner PlatformDiscontinued Name – see Aria Cost powered by CloudHealth
Platform & Cross-Cloud Services
Project EnsembleVMware Aria Hub
NewVMware Aria Graph
vRealize Migration ManagerVMware Aria Migration
vRealize Automation Cloud GuardrailsVMware Aria Guardrails
Project Ensemble InsightsVMware Aria Business Insights
Other
SkylineVMware Skyline
vRealize Suite Lifecycle ManagerVMware Aria Suite Lifecycle
vRealize Cloud Subscription ManagerVMware Aria Hub Subscription
vRealize AI CloudDiscontinued Name – functionality now part of Aria Hub

Reference:

Please see the links listed below for further information about VMware Aria and the portfolio products.

What’s in a Name? Multi-Cloud Management and VMware Aria

Introducing VMware Aria

VMware Aria Hub powered by Aria Graph

Aria Hub Free Tier

VMSA-2022-0034 | Fixed version for VMware vRealize Operations (vROps) 8.6.x by KB90232

By Lerpong Intaraworrapath | March 7th, 2023

VMware issued a security alert for VMware vRealize Operations (vROps) due to the VMSA-2022-0034 severity. According to the advisory, VMware vRealize Operations (vROps) updates address privilege escalation vulnerabilities (CVE-2022-31707, CVE-2022-31708).

Solution

To remediate CVE-2022-31707 apply the fixes listed in the ‘Fixed Version’ column of the ‘Response Matrix’ below.

ProductVersionRunning OnCVE IdentifierCVSSv3SeverityFixed VersionWorkaroundsAdditional Documentation
VMware vRealize Operations (vROps)8.10AnyCVE-2022-31707, CVE-2022-317084.4, 7.2Important8.10.1N/AN/A
VMware vRealize Operations (vROps)8.6.xAnyCVE-2022-31707, CVE-2022-317084.4, 7.2ImportantKB90232N/AN/A

In this article, we will demonstrate how to apply patching from KB90232 in VMware vRealize Operations version 8.6.4.

Important: Take snapshots of each of the vRealize Operations nodes before applying the Hot Fix by following How to take a Snapshot of vRealize Operations.

Step-by-Step Instructions for Applying a Patch

1.Take a snapshot of the vROps node to which we want to apply the patch (How to take a Snapshot of vRealize Operations.).

2.Download the vRealize Operations 8.6 Hot Fix 8 PAK file from the VMware Patch Portal.

https://customerconnect.vmware.com/group/vmware/patch#search

3.You will proceed to the “Product Patches” page.

4.Choose the product and version, then press the “Search” button.

Product: vRealize Operations Manager
Version: 8.6

5.The “vROps-8.6-HF8” will be shown. Verify and validate the KB90232 patch file, then click “DOWNLOAD NOW.”.

6.Once the file download and snapshot have been completed, Log in to the vRealize Operations Manager administration interface

https://master-node-name-or-ip-address/admin.

7.Click “Software Update“.

8.Click “Install a Software Update“.

9.Go through the pack file you already downloaded.

10.Click “UPLOAD” after you’ve browsed the pack file.

11.The pack file had been uploaded. Click “NEXT”.

12.To accept the EULA, tick the box, then click “NEXT“.

13.After reading the release notes, click “NEXT”.

14.To install software, Click “INSTALL”.

15.The Administrator interface logs you out. Return to the primary node Administrator interface. In the left side, click Software Update. The update patch status will be shown.

16.Waiting for the pack to be installed.

17.Refresh the page. The cluster status is changed to Online.

18.Once the upgrade is finished, delete the snapshots you took prior to the software update.

Guidance and Technical Recommendations.

VMware security advisory with critical security severity for VMware vRealize Operations was released. A major vulnerability was discovered in VMware vRealize Operations. Using administrator rights in the vROps application, a malicious actor can get root access to the underlying operating system. We advise applying the patch or upgrading to the patched version to preventing a malicious attacker from accessing critical information in the vROps.

vRealize Operations Manager – Compliance

By Lerpong Intaraworrapath | April 25, 2022

ตอนนี้ในหลายๆ องค์กร หรือในหลายๆ บริษัท มีความต้องการ ในการทำ เกี่ยวกับ เรื่อง Policies, Laws, และ Regulations ต่างๆ ภายในบริษัท ให้สอดคล้องกับ ความปลอดภัยในการใช้งาน ภายในเพิ่มมากขึ้น

vRealize Operations Manager มี features ที่สามารถช่วยเราในการทำ Security โดยเรา แค่ enable feature Compliance ขึ้นมา จะช่วยเพิ่มการ ตรวจสอบการใช้งาน vSphere environment ของเราให้มีความปลอดภัย มากขึ้น

Note: vRealize Operations Manager ในบทความนี้จะเป็น version 8.6.2
Note: vRealize Operations Manager : vROPs

vROPs Compliance

1. ทำการ login vRealize Operations Manager -> โดยด้านซ้ายมือ เราจะ เห็น Menu -> Optimize
2. ทำการ expand เมนู Optimize เราก็จะเจอ Compliance ทำการ click -> Compliance

3. เมื่อเราทำการ click -> Compliance แล้ว เราจะเห็นว่า ภายในของ vROPs Compliance จะแบ่งเป็น 3 ส่วน
3.1 VMware SDDC Benchmarks
3.2 Custom Benchmarks
3.3 Regulatory Benchmarks

VMware SDDC Benchmarks
จะเป็น Security Configuration Guideline สำหรับ customer ในการ deploy และ operates SDDC VMware product

Custom Benchmarks
เราสามารถ customize SDDC หรือ Regulations โดยจะแจ้ง alert based on environment เพื่อให้ แน่ใจว่า environment comply with compliance (สามารถ add customer ได้สูงสุด 5 custom benchmarks).

Regulations Benchmarks
จะแสดง Standard regulations compliance ที่ enforce สำหรับธุรกิจที่ใช้งาน vSphere objects. โดยเราสามารถ install compliance packs ได้ตามด้านล่าง

How to enable vRealize Operations Manager Compliance?

1. เมื่อเราทำการ login ที่vROPs แล้วให้เลือก มาที่ menu -> Optimize -> Compliance แล้ว อันดับแรก เราจะทำการ enable “VMware SDDC Benchmarks.
2. ให้เราทำการ click -> ENABLE
2.1 vSphere Security Configuration Guide
2.2 vSAN Security Configuration Guide
2.3 NSX-T Security Configuration Guide
Note: ถ้ามีมากกว่าที่กล่าวถึง ก็ให้ enable ทั้งหมด

3. เมื่อเราทำการ click -> enable ให้เราทำการ click check box -> Enable Policies หลังจากนั้นให้ click -> ENABLE

4. หลังจาก เราทำการ enable “vSphere Security Configuration Guide” แล้ว ให้เรารอสักครู่ เราก็จะพบว่า ตอนนี้ ระบบกำลังทำการ Running initial assessment

5. ให้เราทำการ ENABLE “VMware SDDC Benchmarks” ที่เหลือ

6.ในระหว่างที่เรารอ vSphere , vSAN, NSX-T Security Configuration Guide ทำการ running initial assessment เราจะไป Activate “Regulatory Benchmarks

7. โดยเราจะทำการ Activate “CIS Security Standards” (CIS: Center for Internet Security )

8. ให้ทำการ click -> ACTIVATE FROM REPOSITORY

9. vROPs จะ re-direct ไปที่ Repository page ให้เราทำการ click -> ACTIVATE.

10. หรือ เราสามารถเข้ามา activate ได้โดยมาที่ menu Data Sources -> Integrations -> Repository
(เรายังสามารถ ACTIVATE -> Regulatory Benchmarks ทั้งหมด จากหน้านี้ ที่เดียวก็ได้)

11. เมื่อเราทำการ click -> ACTIVATE แล้ว ก็จะถามให้ เราทำการ “Activate Management Pack” ให้ click -> YES

12. vROPs ก็จะทำการ loading management pack และ installing solution CIS Compliance

13. เมื่อเรากลับมาที่หน้า Compliance เราจะเห็นว่า CIS Security Standard จะมีปุ่มให้เรา click -> ENABLE

14. เมื่อเราทำการ click -> enable ให้เราทำการ click check box -> Enable Policies หลังจากนั้นให้ click -> ENABLE

15. หลังจาก เราทำการ enable “CIS Security Standards” แล้ว ให้เรารอสักครู่ เราก็จะพบว่า ตอนนี้ ระบบกำลังทำการ Running initial assessment

16. เมื่อทำการ Running initial assessment เสร็จเรียบร้อยแล้ว vROPs ก็จะแสดงค่า ของ environment มีจำนวน Compliance และ Non-Compliance

จากรูป เราจะพบจำนวน ของ Compliant และ Non-Compiant

Compliance BenchmarksCompliantNon-CompliantPercent compliant
vSphere Security Configuration107555248
vSAN Security Configuration Guide9887992
NSX-T SEcurity Configuration Guide00100
CIS Security Standards107592513

17. เมื่อเราทำการ click เข้าไปในแต่ละ Benchmarks เราจะได้เห็น รายละเอียด ตัวอย่างเช่น CIS Security Standards.

18.เรายังสามรถจะทำ Custom Benchmarks ได้อีกด้วย (จะกล่าวในบทความต่อไป)

Conclusion:

vRealize Operations Manager จะมีอีกหนึ่ง features ที่สำคัญ ที่สามารถช่วยเราในการ ทำ เรื่อง Security และ Compliance ให้องค์กร ของเรามีความปลอดภัย เพิ่มมากขึ้น

Reference:


VMSA-2021-0028 | Workaround in vRealize Operations 8.x (87076)

By Lerpong Intaraworrapath | January 17th ,2022

Workaround instructions to address CVE-2021-44228 and CVE-2021-45046 in vRealize Operations 8.x (87076)

ในบทความนี้ เราจะมาทำ workaround ในการแก้ปัญหา instructions to address CVE-2021-44228 and CVE-2021-45046 in VMware vRealize Operations Manager 8.x โดยจะ followup วิธีการ จาก KB87076.

https://kb.vmware.com/s/article/87076

Note: ในส่วนของ Product อื่นของ VMware และ ข้อมูล CVE-2021-44228 and CVE-2021-45046 ให้ อ่านได้จาก VMSA-2021-0028.

Impact / Risks

  • Recommended ให้ take snapshots vRealize Operations ทุก nodes ก่อน apply workaroundโดยสามารถ ทำตามได้จาก link How to take a Snapshot of vRealize Operations.
  • Mitigation จะยังคงเกิดขึ้นอยู่ ถ้ามีการ installed management pack หรือ activated หลังจาก apply patch. แนะนำให้ installed หรือ activated ให้เรียบร้อยก่อน แล้วถึงจะทำการ apply workaround.
  • การ appy workaround แนะนำให้ reapplied หลังจากมีการ deploying หรือ updating new vRealize Operations nodes or Cloud Proxies ที่ไม่มี bug fixed.
  • Mitigation ของ WAR files จะยังคงเกิดขึ้นอยู่ ถ้ามีการ redeployed vRealize Operations.

Resolution

This issue is resolved in the following releases:

Workaround ในบทความนี้เป็น Temporary solution เท่านั้น แนะนำ.

Workaround

Notice: The below content has been updated as of 12/15/2021 to add workaround steps for the related CVE-2021-45046 as noted above.  Please re-run all of the below steps even if you have already implemented the original CVE-2021-44228 workaround steps by running the data-rc-witness-log4j-fix.sh and cp-log4j-fix.sh scripts.

ในบทความนี้เราจะทำการ apply workaround สำหรับ “vRealize Operations Manager version 8.4.0” โดยจะประกอบ ด้วย
-Analytic (Primary, Replica, Data), Remote Collector 2 nodes จำนวนทั้งหมด 5 nodes (จะไม่มี Cloud Proxies).

โดยเราจะ ใช้ 2 scripts ด้วยกัน data-rc-witness-log4j-fix.sh and vrops-log4j-fix.sh โดย download ได้จาก KB87076

1.ทำการ Log in to the vRealize Operations Manager Admin UI โดยใช้ local admin user (https://vROPs-Name or vROPs-IP/admin).

2.ทำการ Click “TAKE CLUSTER OFFLINE” under Cluster Status.

Note: Wait for Cluster Status to show as Offline.
ถ้าเราพบว่าหน้า vROPs admin จะไม่สามารถ access ได้ ให้เรา access โดยตรงไป ที่ vROPs Master node IP address (https://vROPs-Master node name or IP address/admin).

3.ทำการ take snapshots vRealize Operations nodes ทั้ง 5 nodes [Analytic (Primary, Replica, Data), Remote Collector 2 nodes] ก่อนจะ apply workaround (How to take a Snapshot of vRealize Operations.).

4.ทำการ copy file data-rc-witness-log4j-fix.sh และ vrops-log4j-fix.sh ไปที่ path /tmp ของ vROPs ทั้ง 5 nodes [Analytic (Primary, Replica, Data), Remote Collector 2 nodes] โดยอาจจะใช้ SCP หรือ Tools ที่สามารถ copy file ได้.

5.เราจะ เริ่มทำที่ Master nodes เป็นตัวแรกก่อน.

6.ให้เรา SSH หรือ Console โดยใช้ root login account ในการ access.

7.ทำการ cd ไปที่ patch /tmp แล้วทำการตรวจสอบ ดูว่าทั้ง 2 files ปรากฏ อยู่ใน path ครบไหม.

8.ทำการ run command เพื่อสามารถจะ execute scripts data-rc-witness-log4j-fix.shได้.
chmod +x data-rc-witness-log4j-fix.sh

9.ทำการ run command เพื่อสามารถจะ execute scripts vrops-log4j-fix.shได้.
chmod +x vrops-log4j-fix.sh

10.ทำการ run command execute scripts “data-rc-witness-log4j-fix.sh“.
./data-rc-witness-log4j-fix.sh

Note: ให้ตรวจสอบให้แน่ใจหลังจาก run command จะต้องไม่มี ERROR (NO ERROR).

11.ทำการ run command execute scripts “./vrops-log4j-fix.sh“.
./vrops-log4j-fix.sh

Note: ให้ตรวจสอบให้แน่ใจหลังจาก run command จะต้องไม่มี ERROR (NO ERROR).

12.ทำการ restart the “CaSA service”:
service vmware-casa restart

Verify the change

ทำการ verify the workaround for CVE-2021-44228 ที่เราทำการ applied to vRealize Operations ว่าถูกต้องไหม ตาม step ด้านล่าง.

1.ทำการ run command สำหรับ verify ถ้า the data-rc-witness-log4j-fix.sh script สำเร็จ:
ps axf | grep --color log4j2.formatMsgNoLookups | grep -v grep

Note: โดยหลังจาก run command จะต้องมี output ออกมา; ถ้าไม่มี output ออกมาแสดงว่า applied workaround ไม่สำเร็จ.

2.ทำการ run command สำหรับ verify ถ้า the vrops-log4j-fix.sh script สำเร็จ:
./tmp/vrops-log4j-fix.sh

Note: ผลลัพธ์ ที่ได้จาก run command
Searching for impacted .jar files. Please wait…
No impacted .jar files found

Next step

ให้ทำการ Repeat Workaround step ตั้งแต่ข้อ 6 จนถึง Verify the change สำหรับ node ที่เหลือ อีก 4 nodes [Analytic (Replica, Data), Remote Collector 2 nodes].

Remark

โดยถ้า ท่านมี Cloud Proxies ก็ให้ทำ Cloud Proxies เพิ่มเติมจากใน KB87076 โดยใช้ script “cp-log4j-fix.sh” เพิ่มเติม.

Last step

หลังจากเราทำการ apply script ครบทุก node (ให้ตรวจสอบ ให้แน่ใจ ว่าเราทำครบทุก node).

1.ทำการ Log in to the vRealize Operations Manager Admin UI โดยใช้ local admin user (https://vROPs-Master node or vROPs-IP Master node/admin).

2.เราจะพบว่า cluster จะยังเป็น status offline.

3.ให้เราทำการ click “BRING CLUSTER ONLINE“.

4.ให้รอจน cluster status “ONLINE“.

5.แล้วหลังจากนั้นให้ login vROPs UI console.
https://vrops name or ip address/ui

Conclusion

ในบทความนี้จะเป็น workaround สำหรับ VMware vRealize Operations Manager 8.x เท่านั้น โดย fix version สามารถเข้าไป download และ apply ตาม version ที่ท่านใช้งานอยู่ โดย ให้ทุกท่านติดตาม VMSA-2021-0028 ในการทำ workaround หรือ fix version รวมถึง Product อื่นๆ ของ VMware ที่ได้รับผลกระทบ เช่นกัน.

vSAN disk group Performance dashboard in vROPs

By Lerpong Intaraworrapath | October 19th ,2021

Disk group performance dashboard

เราจะมีวิธีการอย่างไร ในการ monitor performance ของ vSAN disk groups. โดยเราสามารถ เลือกในแต่ละ Cluster แล้วทำการ monitor performance vSAN disk group รวมถึง health capacity.

Note: vRealize Operations Manager ที่นำมาใช้งานในบทความนี้เป็น version 8.4.0 (17863947) Advanced Edition

โดย Widgets ที่เราจะนำมาใช้ ในการสร้าง vROPs dashboard จะใช้ด้วยกันอยู่ 4 widget:

  • Object list
  • Heat map
  • Scoreboard
  • Object relationship

โดยเมื่อเราทำการเลือก Cluster จาก Object list จำนวน vSAN disk group ทั้งหมดจากใน Cluster ที่เราเลือกจะไปแสดงผลที่ Heat map. ที่ Heat map จะแสดงผลเป็น Blocks size ตามชนาดความจุของ แต่ละ disk group และ Color ก็จะแสดงผลจากค่า Average write latency in milliseconds.
เมื่อเราทำการ เลือก Disk group จาก Heat map แล้ว ค่า Performance metrics ทั้งหมด ก็จะแสดงผลใน Scroeboard รวมถึง Capacity Disk Health ก็จะแสดงผลค่า Object relationship ด้วย.

ขั้นตอนการสร้าง vSAN disk group dashboard

ทำการสร้าง Dashboard (Version ของ vROPs ที่สามารถสร้าง dashboard ได้จะต้องเป็น Advanced หรือ Enterprise edtion )
  1. ทำการ Create vROPs dashboard โดย Select “Dashboards” -> “Dashboards

2. ทำการ Select “Create Dashboards

3. เมื่อเราทำการ Create Dashboard แล้ว ก็ใส่ ชื่อ Dashboards (ในบทความนี้จะตั้งชื่อ “vSAN Disk Group Performance by TAM“)

4. ให้ทำการ เพิ่ม Widgets โดย Click ลาก Widget เข้ามาใน พื้นที่ว่าง.

  • Object list
  • Heat map
  • Scoreboard
  • Object relationship

5. ทำการแก้ไข widgets อันแรกคือ “Object list” โดย Click ที่รูปดินสอ “Edit Widget

6. ทำการ set ค่า Object list โดยเราจะเลือก input ที่จะแสดงค่า เป็น Cluster ทั้งหมด ให้ใส่ Object list name “1.) Select Cluster “, Select “Input Data“, Select “Object” -> Click “Add“.

7. จากนั้นให้เราทำการ Add New Object โดยในช่อง Filter ให้ใส่คำว่า “Cluster” แล้ว “Enter” ให้ Click “OK

8. เราก็จะได้ Cluster ทั้งหมด ทำการ Click “SAVE

9. Click แสดง columns ด้านล่างของ “Object list” widgets

10. โดยเราจะ Uncheck ทุกอย่างยกเว้น “Name

11. ต่อมาเราจะทำการ configure “Heat map“. ทำการ click “Edit widget” ที่รูปดินสอ ตรงมุมขวาบน

12. ใส่ชื่อของ Heat map “2.) Select Disk Group” สิ่งที่เราต้องการจะแสดง ใน Heat map คือ Disk group ทั้งหมดใน Cluster ที่เราเลือก

  • Name: 2.) Select Disk Group
  • Group by: Cluster Compute Resource
  • Object Type: vSAN Disk Group
  • Size by: Disk Space|Capacity (bytes)
  • Color by: Disk I/O|Write Latency (ms)
  • Color: Min Value 0 | Max Value 150

13. ต่อมาทำการ configure widget “Scoreboard“. ทำการ click “Edit widget” ที่รูปดินสอ ตรงมุมขวาบน

14. ใส่ชื่อของ Scoredboard name “3.) Profit!“. ทำการ Configure Scoredboard ตามรูปด้านล่าง

  • Box Columns: 3
  • Show: Object Name, Metric Name, Metric Unit, Sparkline
  • Period Length: Last 24 hours

15. Output Data ให้เลือก “DiskGroup-Performance” แล้ว Click “SAVE

16. Metrics ที่เรานำมาใช้ในการ configuration จะเป็น XML format ซึ่งเราสามารถทำการแก้ไข ได้ โดย location จะอยู่ที่ Administrator -> Configuration File -> DiskGroup-Performance.

17. Widget สุดท้าย “Object Relationship“. ทำการ click “Edit widget” ที่รูปดินสอ ตรงมุมขวาบน

18. ใส่ชื่อ widget “4.) Capacity Disk Health“. ทำการเลือก Adapter types -> “vSAN adapter” ให้ Click “SAVE

19. หลังจากเราทำการ configured widgets เสร็จเรียบร้อยแล้ว ขั้นตอนที่สำคัญคือทำการ connect widget ให้ Interaction ด้วยกัน

Click “ACTIONS” -> “Edit Dashboard

ทำการ ลากเส้น Interaction ระหว่าง Widget

  • 1.) Select Clsuter –> 2.) Select Disk Group
  • 2.) Select Disk Group –> 3.) Profit!
  • 2.) Select Disk Group –> 4.) Capacity Disk Health

20. Click “SAVE

21. การทำงานของ Dashbaord

เมื่อเราทำการ Select Cluster ในช่อง 1.) Select Cluster ก็จะแสดง disk group ในช่อง 2. ) Select Disk Group และเมื่อเราทำการ click เลือก disk group ก็จะแสดงค่า Write / Read / IOP ต่างๆใน 3.) Profit! รวมถึง แสดงค่า Capacity Disk Healt ใน 4.) Capacity Disk Health

!!!หวังว่าคงเป็นประโยชน์ ในการ Monitor vSAN Disk group นะครับ!!!

Reference:

vROPs Dashboard for VM Right-Sizing and Performance…Part 2

By Lerpong Intaraworrapath | September 29th, 2021

Dashboard

Part 2 – วิธีการสร้าง Report หลังจาก ที่เรา create vROPs Dashboard สำหรับแสดงค่า Performace และ Right-Sizing ของ Virtual Machine

หลังจากที่เรา สร้าง Dashboard ที่แสดงค่า Performance และ Right Sizing ที่ถูกต้องของ CPU และ Memory ในการทำงาน ของ virtual Machine เรียบร้อยแล้ว เราก็จะมาทำการสร้าง Report กัน.

Part 1 – Create Dashboard vROPs Dashboard for VM Right-Sizing and Performance…Part 1

เริ่มขั้นการสร้าง Report

  1. ทำการ Login ไปที่ vRealize Operations Manager ไปที่ Tab Dashboard -> Reports -> Report Templates.
Report Template
Report Template

2. Click -> Add.

3. ใส่ชื่อ Report Name (ในที่นี้ผมจะใส่ ชื่อ “Performance – Right Sizing by VMware“).

Report Name
Report Name

4. Select -> 2. Views and Dashboards / ตรงช่อง ALL FILTERS ให้พิมพ์ “CPU|MEM Usage” แล้วกด Enter.

CPU|MEM Usage
CPU|MEM Usage

5. เราก็จะได้ค่า Views ที่เราต้องการ ที่จะให้แสดงใน Report -> Select: VM CPU|MEM Usage.

View
View

6. ทำการ Double click ค่า Views ที่เราเลือก.

View
View

7. ทำการ เลือก รูปแบบของ Report ที่ต้องการ PDF หรือ CSV หรือทั้งสองแบบ.

Formats
Formats

8. เราสามารถจัดรูปแบบของ Cover Page, Table of contents หรือ Footer ได้ แต่ถ้าไม่ต้องการเปลี่ยนแปลงอะไรให้กด SAVE.

Layout
Layout

9. เราก็จะได้ Report “Performance – Right Sizing by VMware“.

Report
Report

10. จากนี้เราจะ มาทำการ Run Report โดยทำการ Click ที่ 3 จุด จากนั้นเลือก Run.

Run
Run

11. ทำการ Select an Object ที่ต้องการ (สามารถเลือก Object ที่เป็น Cluster, Folder, Host, etc ก็ได้)ในที่นี้ผมเลือก vCenter Server ทำเลือก vCenter Server ที่ต้องการ แล้ว Click OK.

Object
Object

12. vROPs ก็จะทำการ Generated reports (เราจะสังเกต ในวงเล็บจะมีเลข 1).

Performance
Performance

13. ให้เราไป เลือกที่ Tab Generated Reports ทำการ Download report ที่ Generated ออกมา

14. เราก็จะได้ Report CSV ไฟล์ นำไปใช้งานได้

CSV
CSV

!!!หวังว่าทุกคนจะสามารถ นำไปใช้ประโยชน์ ในการ Monitor System ที่ใช้งานอยู่นะครับ!!!

Reference:

vROPs Dashboard for VM Right-Sizing and Performance…Part 1

By Lerpong Intaraworrapath | September 28th, 2021

Performance Right Size
Performance Right Size

Part 1 – วิธีการสร้าง vROPs Dashboard สำหรับแสดงค่า Performace และ Right-Sizing ของ Virtual Machine

***ทำการ download Views และ Dashboards จาก link ด้านล่างมาเตรียมไว้ก่อนนะครับ

https://code.vmware.com/samples/7624/vrops-dashboard-for-vm-right-sizing-and-performance-?h=vrops%20dashboard#code

Dashboard ที่เราจะ create ขึ้นมาจะแสดงค่าที่ถูกต้องของ CPU และ Memory ในการทำงาน ของ virtual Machine จากการ monitor history การทำงาน รวมถึงแสดงค่าปัจจุบันของ CPU และ Memory ของ virtual Machine ที่กำลังใช้งานด้วย รวมทั้งแสดงค่า Metrics ที่จำเป็นในการ monitor virtual machine ด้วย.

เริ่มการติดตั้ง

  1. ทำการ Login ไปที่ vRealize Operations Manager ไปที่ Tab Dashboard -> Views -> Manage Views
Manage Views
Manage Views

2. ทำการ เลือก ปุ่ม 3 จุด แล้ว เลือก Import

Import
Import

3. ทำการ Browse ไปยัง location ที่เราทำการ Download ไฟล์ Views ไว้ตอนแรกต้น แล้ว Click Open

Right Size Views
Right Size Views

4. Views imported successfully แล้วก็ Click DONE

Views Successfully
Views Successfully

5. ไปที่ Tab Dashboard -> Dashboards -> Manage Dashboards

Manage Dashboard
Manage Dashboard

6. ทำการ เลือก ปุ่ม 3 จุด แล้ว เลือก Import

Import Dashboards
Import Dashboards

7. ทำการ Browse ไปยัง location ที่เราทำการ Download ไฟล์ Dashboardsไว้ตอนแรกต้น แล้ว Click Open

Import Dashboards
Import Dashboards

7. Dashboards imported successfully แล้วก็ Click DONE

Dashboards successfully
Dashboards successfully

9. เราก็จะได้ หน้า Dashboards ที่แสดงค่า Performace และ Right-Sizing ของ Virtual Machine “PowerBlock – Performance – Right Sizing

Performance Right Size Dashboards
Performance Right Size Dashboards

***จะสังเกตุว่าค่า Metrics ของ CPU|Ready (ms) จะไม่แสดงใน Dashboards เราจะต้องไปทำการ Enable CPU Ready (ms) metrics ขึ้นมา

Step to enable metrics CPU | Ready(ms)

  1. ไปที่ Tab Administration -> Policies -> vSphere Solution’s Default Policy (Date|Time)
Policies
Policies

2. ทำการ เลือก ปุ่ม 3 จุด แล้ว เลือก Edit

Edit Policies
Edit Policies

3. Click -> Metrics and Properties

Metrics and Properties
Metrics and Properties

4. ทำการ พิมพ์ “Virtual Machine” ในช่อง Select Object Type แล้ว Enter

Select Object Type
Select Object Type

5. ในช่องด้านซ้ายมือ All FILTERS ให้พิมพ์ “Ready” แล้ว Enter

All Filters
All Filters

6. ทำการขยาย Metrics -> CPU แล้วจะพบคำว่า “Ready (ms)” โดย State จะเป็น Disabled

Ready (ms) - Disabled
Ready (ms) – Disabled

7.ทำการ “Enabled” ค่า CPU Ready (ms) ทั้งในส่วนของ State และ Instanced State ทำการ Click SAVE

Dropdown
Dropdown
Instanced State
Instanced State
Enabled CPU Ready (ms)
Enabled CPU Ready (ms)

8. กลับที่หน้า Dashboards -> PowerBlock – Performance – Right Sizing ก็จะแสดงค่า CPU | Ready(ms)

CPU Ready(ms) Dashboards
CPU Ready(ms) Dashboards

โดยค่า CPU | Ready (ms) จะบอก อะไรกับเราได้บ้าง และมีประโยชน์ อย่างไร
Performance Values:

  • CPU|Ready (ms) should be 1000 or less for best performance.
  • CPU|Remove – I like to keep this at 2 or less. For some applications this can be trial and error.
  • CPU|Add – I like to keep this at 0. Make sure the VM is sized with enough resources. Don’t under size VMs. This will keep the APP Owners Happy!

Part 2 – Report

-ใน Part 2 เราจะมาทำการสร้าง Report จาก Dashboard ที่เราสร้างขึ้นมา
https://ilerpong.com/vrops-dashboard-for-vm-right-sizing-and-performance-part-2/

Reference:

Snapshot Detail Dashboard for vRealize Operations Manager

By Lerpong Intaraworrapath | September 21st, 2021

Snapshot

การสร้าง Snapshot Detail Dashboards in vRealize Operations Manager

ทำการ Download View and Dashboard จาก link ด้านล่าง มาเตรียมไว้

https://code.vmware.com/samples/4659/snapshot-detail-dashboard-for-vrealize-operations-8-2-and-cloud

เริ่มการติดตั้ง

  1. อันดับแรก เราจะต้องทำการแก้ไข Policy โดยไปที่ Menu -> Administrator -> Policies แล้วให้เลือก vSphere Solution’s Default Policy (DATE) ;Status / Active
Default Policy
Default Policy

2. ทำการ Edit Policy โดย ทำการเลือก Metrics and Properties ให้ทำการ Search คำว่า “Disk” หลังจากนั้นให้ expand -> Disk Space -> Snapshot เราจะพบคำว่า

  • Creator
  • Description

ให้เราทำการ “Enable” Metrics ทั้งสองค่า

Metrics Creator and Description
Metrics Creator and Description

3. ทำการ Import view โดยเลือก Dashboards -> Views -> Manage Views

Manage Views
Manage Views

4. ทำการ Import…

Import Views

5. ทำการ Browse ไปยัง location ที่เรา Save View “Views.zip”

Views.zip
Views successfully

6. ทำการ Import Dashboards โดยเลือก Menu Dashboards -> Dashboards -> Manage Dashboards

Manage Dashboards
Manage Dashboards

7. เลือก Import…

Import Dashboards
Import Dashboards

8. Browse file “Dashboards.zip”

Dashboards.zip file
Dashboards.zip
Dashboard Successfully

9. เลือก Dashboards -> “Snapshot Detail”

Snapshot Detail
Snapshot Detail Dashboards

Inconclusion – Dashboards

Dashboard Name: Snapshot Detail
Dashboard Path: Shared Dashboards (GBrandon)/Troubleshooting
Views
View Name Name on Dashboard View Type
Reclaim | Snapshot Age Distribution Snapshot Age Distribution
Reclaim | Snapshot Size Distribution Snapshot Size Distribution
Reclaim | Snapshot Summary Summary List
Reclaim | Snapshot Detail Snapshot Detail List

Support

This dashboard requires vRealize Operation 8.2 Advanced or Enterprise edition or vRealize Operations Cloud.

A version compatible with vRealize Operations 6.7, 7.0, 7.5, 8.0, and 8.1 is available here.

Reference

Create vRealize Operations Dashboard for VM Uptime in Days, Hours, Minutes, Seconds

By Lerpong Intaraworrapath | September 17th, 2021

Day, Hours, Minutes, Second

เริ่มการติดตั้ง

เนื่องจาก ตัว vRealize Operations ไม่ได้มี Dashboard สำหรับแสดง ค่า Uptime ในจำนวน วัน ชั่วโมง นาที และวินาที (Days, Hours, Minutes, Seconds) เราจะสร้าง Uptime Dashboard ขึ้นมา

(สำหรับต้นฉบับ วิธีการคำนวณ Super Metrics ที่เราจะนำมาใช้ มาจากไหน สามารถดูได้จาก https://www.tilkens.com/2018/11/vrops-vm-uptime-days-hours-mins-secs/)

อันดับแรก เราจะมาทำการ สร้าง Super Metrics ขึ้นมาก่อนนะครับ โดยด้านล่างจะเป็น ค่า Super Metrics ที่เราจะสร้าง

Custom-GuestOSUptime-Days = floor(${this, metric=sys|osUptime_latest}/86400)
Custom-GuestOSUptime-Hours = floor(${this, metric=sys|osUptime_latest}/3600)-(floor(${this, metric=sys|osUptime_latest}/86400)*24)
Custom-GuestOSUptime-Minutes = floor(${this, metric=sys|osUptime_latest}/60)-(floor(${this, metric=sys|osUptime_latest}/3600)*60)
Custom-GuestOSUptime-Seconds = ${this, metric=sys|osUptime_latest}-(floor(${this, metric=sys|osUptime_latest}/60)*60)

  1. เรา Login ไปที่ vRealize Operation Manager (ต้องมีสิทธิ์ ในการ create Super Metices ด้วยนะครับ!!!)
  2. Go to -> Administrator -> Configuration -> Super Metrics
vROPs administrator Super Metrics

3. Click Add จากนั้นเพิ่ม Super Metrics สำหรับ Days

Custom-GuestOSUptime-Days

Create Super Metric Name

4. ใส่ Formula -> Click Next

floor(${this, metric=sys|osUptime_latest}/86400)

5. Assign to Object Types -> Select Virtual Machine -> Click Next

Virtual Machine

6. Enable in a Policy -> Click check box

7. Click Finish

8. Repeat ตั้งแต่ step ที่ 3 สำหรับ create Super Metrics for Hours, Minutes, Seconds

9. เราก็จะได้ Super Metrics ทั้งหมด 4 ค่า สำหรับ Days, Hours, Minutes, Seconds

ต่อมาเราก็จะมาทำการ สร้าง Dashboards

  1. Select Dashboards -> Dashboards -> Create Dashboard

2. ใส่ชื่อ Dashboard (ผมใส่ชื่อ VM Uptime) ทำการ เลือก Widget

Select ->Object List

Select -> Scoreboard

3. Select -> SHOW INTERACTIONS ทำการ โยง INTERACTION ระหว่าง Widget Object List กับ Scoreboard ทำการ Click -> SAVE

4. เราจะทำการ Edit Widget -> Scoreboard ทำการเลือก ดินสอที่ปุ่มมุมบนด้านขวา

5. เลือก Output Data -> Select -> Add New Metrics

6. ทำการ ใส่ Virtual Machine ที่ช่อง filter หลังจากนั้นกด Enter เลือก Virtual Machine จากช่องด้านล่าง ทำการ Double click ที่ Virtual Machine

ทำการขยาย Super Metrics -> Super Metrics ทำการเลือก Super Metrics -> Days หลังจากนั้นกด OK

7. Repeat Step ที่ 5 สำหรับ Hours, Minutes, Seconds แบบรูปด้านล่าง (แนะนำให้เลือกที่ละ อันเราก็จะได้ลำดับเรียงจาก Days, Hours, Minutes, Seconds)

8. ทำการแก้ไข ในช่อง Box Label โดนทำการ Double Click ในช่อง Box Label ใส่

Days

Hours

Minutes

Seconds

9. ใส่ครบแล้วทำการ Click -> SAVE

10. กลับมาที่หน้า Dashboards ทำการเลือก Virtual Machine ใน Object List เราก็จะเห็น Scoreboard แสดง ค่า Virtual Machine Uptime เป็น Days, Hours, Minutes, Seconds.

*ที่สำคัญสร้าง Dashboard เสร็จแล้ว อย่าลืม Share Dashboard permission ด้วยนะครับ เดี๋ยว User อื่น Login vROPs จะมองไม่เห็นนะครับ 🙂

Credit: https://www.tilkens.com/2018/11/vrops-vm-uptime-days-hours-mins-secs/