Tape Libraries and Drives
cancel
Showing results for 
Search instead for 
Did you mean: 

Disable EMS for tape libraries

SOLVED
Go to solution
Stijn V
Regular Advisor

Disable EMS for tape libraries

I do want to disable EMS for my SAN tape drive on HP-UX 11.23 but I do not have the following file:
/var/stm/config/tools/monitor/dm_stape.cfg (0 to stop the monitor from polling).

I disabled the EMS monitoring my SAN tape drives like this:

/var/stm/data/tools/monitor/disabled_instances

added:
/storage/events/tapes/SCSI_tape/*
/storage/events/tapes/default/0_1_2_0.2.14.255.0.0.0
/storage/events/tapes/default/0_1_2_0.2.14.255.0.0.1
/storage/events/tapes/default/0_6_1_0.1.14.255.0.0.1
/storage/events/tapes/default/0_6_1_0.1.14.255.0.0.2

But this doesn't help! If I disconnect a the tape drive, I still receive EMS messages about the tape device....

Anyone any idea? Thanks....
3 REPLIES
Richard Bickers
Trusted Contributor
Solution

Re: Disable EMS for tape libraries

Hi. I sent this question into the lab to see if they could help...

Here's the response:

When changes are made to var/stm/data/tools/monitor/disabled_instances file, the user should run monconfig with option "e", enable monitoring to have them take effect.

This should get you what you need.

They also gave me this:

If the customer doesn't want the monitor to be active at all we unfortunatly do not have selective disable/enable of monitor in OnlineDiag.

Follow the following steps to disable the monitor completely.
1. Create the directory /var/stm/data/Archive directory if it does not exist.
2. Stop the monitoring process using the monconfig utility
# /etc/opt/resmon/lbin/monconfig
Option 'k' to kill monitoring process
3. Move these files to /var/stm/data/Archive directory
# mv /etc/opt/resmon/dictionary/dm_stape.dict /var/stm/data/Archive/
# mv /var/stm/config/tools/monitor/default_dm_stape.clcfg /var/stm/data/Archive/
# mv /var/stm/config/tools/monitor/dm_stape.cfg /var/stm/data/Archive/
# mv /var/stm/config/tools/monitor/dm_stape.psmcfg /var/stm/data/Archive/
# mv /var/stm/config/tools/monitor/dm_stape.sapcfg /var/stm/data/Archive/
4. Start the monitoring process using the monconfig utility
# /etc/opt/resmon/lbin/monconfig
Option 'e' to enable monitoring process.

If customer wants to revert back again, then just move the files from Archive folder back to relevent places.

Hope this helps. Richard.


It's more interesting when it's gone wrong
Stijn V
Regular Advisor

Re: Disable EMS for tape libraries

Ok thanks, I will try it.
Stijn V
Regular Advisor

Re: Disable EMS for tape libraries


I didn't tried it yet, because I already modified the following and it seems to work fine:

I didn't had the file
/var/stm/config/tools/monitor/dm_stape.cfg

But it exists under the archive folder: /var/stm/data/Archive

I copied that one ine place and set the polling interval to 0