Unable to create SANM Application in a different landscape
search cancel

Unable to create SANM Application in a different landscape

book

Article ID: 32520

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

In a DSS environment, if the first SANM Application (SANMApp) is created on the MLS, the subsequents SANMApps are also created in the MLS, even though you run the './AlarmNotifier -n <SANMApp_name>' command line on the other landscapes. 

Environment

Release: Any
Component: AlarmNotifier

Cause

As the SANM DefaultPolicy only exists on the MLS, the SANMApps are created only on that particular landscape.
 

Resolution

Create a new SANM DefaultPolicy on the other landscape before creating the SANMApp
 
In the Spectrum CLI (Command Line Interface) run the following commands on the other landscape:
 
1. First create the DefaultPolicy 
> ./create model mth=0xd70001 attr=0x1006e,val=DefaultPolicy
created model handle =   0x201b80
 
2. Create the SANMApp
> ./create model mth=0xd70000 attr=0x1006e,val=US_SITES_NOTIFICATION
created model handle =   0x201b81
 
3. Associate the DefaultPolicy to the SANMApp
> ./create association rel=Is_Associated_With lmh=0x201b80 rmh=0x201b81
create association: successful
 
Or
 
1. First create the DefaultPolicy on the other landscape
In the Spectrum CLI (Command Line Interface) run the following command:
create model mth=0xd70001 attr=0x1006e,val=DefaultPolicy
created model handle =   0x201b80
 
2. Create the SANMApp on other landscape
In a bash shell, navigate to $SPECROOT/Notifier directory and run:
./AlarmNotifier –n US_SITES_NOTIFICATION
 
3. Shut down AlarmNotifier by pressing Ctrl+C

Additional Information

Please reference the "Command Line Interface" section of the documentation for more information.