Smarts SAM: How do you export only server tools, escalation policy, user, user profile or NotificationList from one Smarts SAM configuration and import only the escalation policy into a new Smarts SAM configuration?
search cancel

Smarts SAM: How do you export only server tools, escalation policy, user, user profile or NotificationList from one Smarts SAM configuration and import only the escalation policy into a new Smarts SAM configuration?

book

Article ID: 314559

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:
N/A

Environment

VMware Smart Assurance - SMARTS

Resolution

Smarts SAM: How do you export only server tools, escalation policy, user, user profile or Notification List from one Smarts SAM configuration and import only the escalation policy into a new Smarts SAM configuration?
How do you import only the escalation policy in Smarts SAM?

How do you export only the escalation policy in Smarts SAM?

How do you import only the users in Smarts SAM?

How do you export only the users in Smarts SAM?

How do you import only the NotificationList in Smarts SAM?

How do you export only the NotificationList in Smarts SAM?

How do you import only the UserProfile in Smarts SAM?

How do you export only the UserProfile in Smarts SAM?



 

To export and import only the escalation policy in Smarts SAM, do the following:

  1. Use the following command to create an XML file called whatever name you choose in local/conf/ics:

    To export escalation policy:

    <BASEDIR>/smarts/bin/sm_config -s <SAM1> export -c AutoActionPolicy  <filename>

    To export client/server tools:

    <BASEDIR>/smarts/bin/sm_config -s <SAM1> export -c Action  <filename>

    To export NotificationList:

    <BASEDIR>/smarts/bin/sm_config -s <SAM1> export -c NotificationList  <filename>

    To export User:

    <BASEDIR>/smarts/bin/sm_config -s <SAM1> export -c User  <filename>

    To export UserProfile:

    <BASEDIR>/smarts/bin/sm_config -s <SAM1> export -c UserProfile  <filename>

     
  2. Use the following command to import the edited file back into the new Smarts SAM configuration (<SAM2>):

    <BASEDIR>/smarts/bin/sm_config -s <SAM2> import --force <filename>

     
  3. If the two Smarts SAM configurations (<SAM1> and <SAM2>) are running in different directories, you will need to move the XML file from local/ics/conf in the directory in which it was created to local/ics/conf in the new Smarts SAM configuration directory.