Operating System - HP-UX
1745791 Members
4013 Online
108722 Solutions
New Discussion юеВ

How do I replicate the EMS monitor config between servers

 

How do I replicate the EMS monitor config between servers

Hi Forum,

I have 4 identical servers uring hpux 11.11 and I configure EMS using SAM. Is there I way I can replicate current configuration to the other 3 servers?
Where do SAM save the EMS configuration?

Thanks,
6 REPLIES 6
tkc
Esteemed Contributor

Re: How do I replicate the EMS monitor config between servers

hi,

i believe it's in the /var/stm/config/tools/monitor directory
tkc
Esteemed Contributor

Re: How do I replicate the EMS monitor config between servers

hi,

read here :

http://www.docs.hp.com/en/5992-1317/ch03s05.html#cegcfjce

the info should be sufficient for your replication.

Re: How do I replicate the EMS monitor config between servers

Hi TKC,

I think this procedure only applies if the configuration is done using monconfig. Since I used SAM, I thinkt he configuration is save some where else since none of the files from /var/stm/config/tools/monitor got updated.

any other place where this configuration can be save?
tkc
Esteemed Contributor

Re: How do I replicate the EMS monitor config between servers

Andrew Merritt_2
Honored Contributor

Re: How do I replicate the EMS monitor config between servers

Have a look at the 'emscli' command. This can create a script to run to recreate the status monitoring requests. Use 'emscli -l' to list the request ids, and then 'emscli -g ... -f scriptname ' to create the script.

If your servers are identical, then I think you can run the script created on one system on a different server, but I would advise testing first.

Andrew

Re: How do I replicate the EMS monitor config between servers

The emcli command will allow to create a script that can be run on other similar systems and configure an identical EMS alarms.


/opt/resmon/bin/emscli -g -f /tmp/ems_alarms


now take /tmp/ems_alarms and execute it on any other systems.

Thanks,