Job Management Partner 1/Integrated Management - Manager Administration Guide

[Contents][Index][Back][Next]


5.8.2 Making the switch using the jcochfilter command

You can use the jcochfilter command to switch an event acquisition filter, and to switch between enabling and disabling a common exclusion condition.

To use the jcochfilter command to switch an event acquisition filter and to switch between enabling and disabling a common exclusion condition, use the job scheduler function of JP1/AJS and execute the jcochfilter command at the specified time to create a jobnet that starts a maintenance job. You can also automate the process of changing the maintenance job and monitoring state.

Organization of this subsection
(1) Switching an event acquisition filter
(2) Switching between enabling and disabling a common exclusion condition

(1) Switching an event acquisition filter

Each event acquisition filter is assigned a unique filter ID. By using this filter ID and the jcochfilter command, you can switch an event acquisition filter.

For details about the jcochfilter command, see jcochfilter (1. Commands) in the manual Job Management Partner 1/Integrated Management - Manager Command and Definition File Reference.

To switch an event acquisition filter:

  1. Enter the jcochfilter command and display an event acquisition conditions list.
    Examples follow of displaying an event acquisition conditions list on a physical host and a logical host.
    • Displaying an event acquisition conditions list on a physical host
      Enter the command as follows.
      jcochfilter
    • Displaying an event acquisition conditions list on logical host hostA
      Enter the command as follows.
      jcochfilter -h hostA
    A display example follows of an event acquisition conditions list on logical host hostA.

    Figure 5-10 Using the jcochfilter command to display an event acquisition conditions list

    [Figure]

    If JP1/IM - Manager on the specified host has not started, you cannot use the command to switch an event acquisition filter.
  2. Select an event acquisition filter based on the filter ID and filter name.
  3. Enter the jcochfilter -i command and switch the event acquisition filter.
    Examples of switching an event acquisition filter on a physical host and a logical host are described below.
    • Switching an event acquisition filter on a physical host to a filter that has a filter ID of 3
      Enter the command as follows.
      jcochfilter -i 3
    • Switching an event acquisition filter on logical host hostA to a filter that has a filter ID of 3
      Enter the command as follows.
      jcochfilter -i 3 -h hostA

(2) Switching between enabling and disabling a common exclusion condition

Each common exclusion condition is assigned a unique common exclusion condition group ID. Using this common exclusion condition group ID and the jcochfilter command, you can switch between enabling and disabling a common exclusion condition.

For details about the jcochfilter command, see jcochfilter (1. Commands) in the manual Job Management Partner 1/Integrated Management - Manager Command and Definition File Reference.

To switch between enabling and disabling a common exclusion condition:

  1. Enter the jcochfilter command and display an event acquisition conditions list.
    Examples of displaying an event acquisition conditions list on a physical host and a logical host are described below.
    • Displaying an event acquisition conditions list on a physical host
      Enter the command as follows.
      jcochfilter
    • Displaying an event acquisition conditions list on logical host hostA
      Enter the command as follows.
      jcochfilter -h hostA
    If JP1/IM - Manager on the specified host has not started, you cannot use the command to switch an event acquisition filter.
  2. Select a common exclusion-conditions group based on the common exclusion-conditions group ID and the common exclusion-conditions group name.
  3. Enter the jcochfilter -e command and enable the common exclusion-conditions group.
    Specify all common exclusion-conditions group IDs that you wish to enable. Those common exclusion-conditions groups that you do not specify become disabled.
    Examples follow of enabling and disabling a common exclusion condition on a physical host and a logical host.
    • Enabling a common exclusion condition on a physical host that has a common exclusion-conditions group ID of 3
      Enter the command as follows.
      jcochfilter -e 3
    • Enabling a common exclusion condition on logical host hostA, which has a common exclusion-conditions group ID of 3
      Enter the command as follows.
      jcochfilter -e 3 -h hostA

[Contents][Back][Next]


[Trademarks]

All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.