Operating System - HP-UX
1819744 Members
3013 Online
109606 Solutions
New Discussion юеВ

disabling scsi polling on tape

 
SOLVED
Go to solution
PSS SYS ADMIN
Super Advisor

disabling scsi polling on tape

Hi everyone,
I need to know if there's a way to disable hw scsi polling on tape on an hpux 11.11 box.
I need to know:
- if there's hw monitoring that probes for the dm_stape and I want to disable it
- if there's a sw that detect hw probe on a tape device on hpux 11.11

Regards...
PSS
5 REPLIES 5
Devender Khatana
Honored Contributor

Re: disabling scsi polling on tape

Hi,

You can do monconfig command to achive this.

/etc/opt/resmon/lbin/monconfig

Also resls to list the currently monitored resources. Have a look at man pages for detailed information.

HTH,
Devender
Impossible itself mentions "I m possible"
PSS SYS ADMIN
Super Advisor

Re: disabling scsi polling on tape

How can I remove the tape monitoring?
James George_1
Trusted Contributor
Solution

Re: disabling scsi polling on tape

Hi

See the procedures below ...


How to stop an EMS Monitor (dm_stape)

ANSWER :

├в ┬в # /etc/opt/resmon/lbin/monconfig

├в ┬в Select (K)ill (disable) monitoring. Then (Q) uit

├в ┬в # cd /usr/sbin/stm/uut/bin/tools/monitor
# mkdir ./org
# mv ./dm_stape ./org

This moves the executable for the daemon to directory org.
We can restore the monitor if necessary by moving the file back.

├в ┬в # cd /etc/opt/resmon/dictionary
# mkdir ./org
# mv ./dm_stape.dict ./org
This moves the dictionary entry for dm_stape to the directory org.
We can restore the monitor if necessary by moving the file back.

├в ┬в #cd /var/stm/data/tools/monitor
# mkdir ./org
#mv ./dm_stape.hwa ./org

This moves the dm_stape.hwa file to the directory org.
We can restore the monitor if necessary by moving the file back.

├в ┬в Start MONCONFIG (repeat step 2)
# /etc/opt/resmon/lbin/monconfig

├в ┬в Inside this window select (E)nable Monitoring

How to disable a hardware device from being monitored.


ANSWER

├в ┬в # /etc/opt/resmon/lbin/monconfig

├в ┬в Select (K)ill (disable) monitoring. Then (Q) uit

├в ┬в # vi /var/stm/data/tools/monitor/disabled_instances (one text line per device)
/storage/events/disks/default/8_12.0.0 (for example)
(see /var/adm/syslog/syslog.log file to have instances)

├в ┬в Start MONCONFIG (repeat step 2)
# /etc/opt/resmon/lbin/monconfig
Inside this window select (E)nable Monitoring
Then select (C)heck detailed monitoring status

The resource class that you disabled should show up in the list with no description of
what to do with events


How to tell when EMS is polling devices


PROBLEM

How can you tell when EMS(Event Monitoring Service) is polling the devices connected to the system ?

RESOLUTION

EMS polls devices every 60 minutes per default. This is defined in the file

/var/stm/config/tools/monitor/Global.cfg:

POLL_INTERVAL 60 # in minutes (one hour)

This value can be overwritten by editing the poll interval in the monitor specific configuration file :

/var/stm/config/tools/monitor/monitor_name.cfg.

After EMS is started when the system boots,it will poll devices at every poll interval.EMS startup is recorded in :

/var/opt/resmon/log/event.log.

EMS does not create an entry in a log file entry unless it detects an event while polling a device. It does not start any process or daemon for polling.Polling is part of the EMS monitor processes which are started as soon as EMS is enabled.

You should see activity for the EMS hardware monitor processes while polling occurs.These processes run under the path name :

/usr/sbin/stm/uut/bin/tools/monitor.

The command ps -ef or performance measurement products should show activity while polling occurs.You cannot force polling to occur. The monitor process will automatically wake up at each poll interval, reread its configuration file and poll devices.If the poll interval is not defined in the monitor configuration file, the global configuration file Global.cfg applies.


Rgds / James
forum is for techies .....heaven is for those who are born again !!
PSS SYS ADMIN
Super Advisor

Re: disabling scsi polling on tape

Can I apply this procedure on a cluster HPUX11i?
James George_1
Trusted Contributor

Re: disabling scsi polling on tape

Hi

Sure, you can do it on cluster.

James
forum is for techies .....heaven is for those who are born again !!