Smarts IP: How can I use the dmctl "makeCard" Operation to create a card for a Chassis class? How do I make a card manually in Smarts IP?
search cancel

Smarts IP: How can I use the dmctl "makeCard" Operation to create a card for a Chassis class? How do I make a card manually in Smarts IP?

book

Article ID: 314569

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - SMARTS

Resolution

How do I use the dmctl makeCard method against a Chassis class to create a card in Smarts IP?
How do I make a card manually for a Chassis class in Smarts IP using dmctl?

Can the Smarts IP makeCard Operation be used to create cards manually?




Before you can use the makeCard method to make a card manually in Smarts IP, use the following dmctl command to determine the availability of the makeCard method in your Chassis class:

<IP_BASE_DIR>/smarts/bin#  ./dmctl -s <SERVER NAME> -b <BROKER NAME> getO Chassis "grep -i "makeCard"
<object> makeCard <string>id <string>displayName <string>className

Example
bash-3.2$ ./dmctl -s NOVA-IP-CENTRAL -b localhost:426 getO Chassis " grep -i "makeCard"
    <object> makeCard <string>id <string>displayName <string>className

Creating a card
The following dmctl command will invoke the makeCard method against the Chassis class to create a card manually:

<IP_BASE_DIR>/smarts/bin#  ./dmctl -s <SERVER NAME> -b <BROKER NAME> invoke Chassis::<chassis_instance> makeCard <string_displayname>