Smarts SAM: Can I change the default Selective Groups Map View? Is it possible to set the Physical Connectivity map as default
search cancel

Smarts SAM: Can I change the default Selective Groups Map View? Is it possible to set the Physical Connectivity map as default

book

Article ID: 304264

calendar_today

Updated On:

Products

VMware

Issue/Introduction

Symptoms:


Unable to see physical view immediately in map  view

Is it possible to change the default Selective Groups Map View in Smarts SAM from the current default "Group Membership" Group Map to Physical Connectivity group?

Environment

VMware Smart Assurance - SMARTS

Resolution

The default Group Map view in Smarts SAM can be changed using an XML file. This is done as follows:

  1. Create changegroup.xml in the following Smarts SAM directory:

    SAM/smarts/local/conf/ics
     
  2. The following example shows the XML to change the default map type for HierarchicalGroup from "Group Membership" to "Group Physical Connectivity"

    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE ics_config SYSTEM "ics-config.dtd">
    <ics_config version="2">
            <!-- GroupMembership -->
            <map_typeconfig map_class="Map_Membership_Group" map_instance="GroupMembershipNetworkMap">
               <MapTypeKey>8</MapTypeKey>
               <FileKey>8</FileKey>
               <OrderKey>8</OrderKey>
               <OperationControlKey>MapTypeMembership</OperationControlKey>
               <GroupName>Membership</GroupName>
               <BackgroundColor>0xff,0xef,0xd5</BackgroundColor>
               <MenuText>Group Membership</MenuText>
               <ButtonText>Group Membership</ButtonText>
               <ToolTipText>Open Group Membership Map</ToolTipText>
               <AvailableFor classname="HierarchicalGroup">*</AvailableFor>
               <AvailableFor classname="HierarchicalGroupManager">*</AvailableFor>
               <DefaultFor classname="HierarchicalGroupManager">*</DefaultFor>
            </map_typeconfig>

            <!-- GroupPhysical -->
            <map_typeconfig map_class="Map_PhysicalConnectivity_Group" map_instance="GroupPhysicalNetworkMap">
               <MapTypeKey>9</MapTypeKey>
               <FileKey>9</FileKey>
               <OrderKey>9</OrderKey>
               <OperationControlKey>MapTypePhysicalConnectivity</OperationControlKey>
               <GroupName>Physical</GroupName>
               <BackgroundColor>0xf0,0xf8,0xff</BackgroundColor>
               <MenuText>Group Physical Connectivity</MenuText>
               <ButtonText>Group Physical Connectivity</ButtonText>
               <ToolTipText>Open Group Physical Connectivity Map</ToolTipText>
               <AvailableFor classname="HierarchicalGroup">*</AvailableFor>
               <DefaultFor classname="HierarchicalGroup">*</DefaultFor>
            </map_typeconfig>

    </ics_config>


     
  3. Run the following sm_config command:

    <BASEDIR>/SAM/smarts/bin/sm_config -s <SAM domain> import changegroup.xml --force
  4.  Restart the SAM domain.