refresh_wmq

Refreshes one or more IBM WebSphere MQ clusters (where the target type is wmq_cluster). The verb can be used to refresh either a single WebSphere MQ cluster (specified using the -cluster_name argument) or all existing WebSphere MQ clusters (specified using the -all flag).

Format

emcli refresh_wmq
       [-cluster_name="<name of the WebSphere MQ Cluster target"] | [-all]
       [-debug]

[ ]  indicates that the parameter is optional.

Options

  • cluster_name

    Fully qualified name of the WebSphere MQ cluster to be refreshed. This argument cannot be specified if -all flag is used.

  • all

    When specified refreshes all existing WebSphere MQ cluster targets. This flag cannot be used if -cluster_name arg is specified.

  • debug

    If specified, runs the verb in verbose mode for debugging purposes.

Examples

Example 1

The following example refreshes the specified IBM Webshpere MQ cluster:

emcli refresh_wmq -cluster_name=wmqCluster01

Example 2

The following example refreshes all IBM Webshpere MQ clusters:

emcli refresh_wmq -all