When creating VMs that are managed by VMware Data Services Manager, such as database VMs, the system automatically tags them to indicate that they belong to the VMware Data Services Manager environment. As a vSphere administrator, you can use the vSphere Client to navigate to the VMs managed by DSM and review the tags assigned to the VMs.

Generally, tags for DSM VMs fall into these categories. But there can be more.

Tag Description Tag Name and Category
DSM Resource Tag The tag serves as a broad identifier for all DSM resources. Use it for high-level filtering and identification. It ensures that all DSM managed VMs can be quickly identified.
  • Tag-name: dsm-vm
  • Tag-category: dsm.vmware.com/dsm-resource
Database Engine Tag Tagging VMs by database engine type is useful for managing and filtering based on specific database technologies. This tag helps when you deploy engine-specific updates, patches, and configurations.
  • Tag-name: dsm-postgresql, dsm-mysql, dsm-alloydb
  • Tag-category: dsm.vmware.com/db-engine
Database Namespace Tag This tag helps in identifying the originating context or environment of the VM, which can be crucial for troubleshooting and managing resources across multiple namespaces.
  • Tag-name: pg-default (and other namespaces as applicable)
  • Tag-category: dsm.vmware.com/db-namespace

Tags that are assigned to all VMs managed by DSM can help the system to detect orphaned DSM VMs and notify DSM administrators about these VMs. See Managing Orphaned VMware Data Services Manager VMs.

Procedure

  1. In the vSphere Client, navigate to the VM that is managed by VMware Data Services Manager.
  2. Click the Summary tab and review the tags in the Tags panel.
    The vSphere Client shows tags assigned to the VMs managed by DSM.