Run dmctl commands against a topology instance with spaces in its name
search cancel

Run dmctl commands against a topology instance with spaces in its name

book

Article ID: 303830

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

How to Run dmctl commands against a topology instance with spaces in its name?

Environment

All supported releases of Smart

Resolution

  • To run a dmctl command against a topology instance with spaces in its name, you will need to escape the spaces by using quotes around the instance name. You will also need to escape the quotes by using a backslash before each quote. See below for example:

         dmctl -s <domain_name> get Class::\"<instance name>\"

  • So for example, if you wanted to get the attributes of a Hierarchical Group named My Routers from your SAM global manager, you would run the following command:

         dmctl -s INCHARGE-SA get HierarchicalGroup::\"HGRP-My Routers\"