set

This command sets an attribute on an MBean.

Syntax

Enter the command using the syntax shown below. Available options are shown in brackets.

zosadmin set --mbean= --attr= --value= --type=

Options

When you add an option, use the syntax in the command line as shown above (where options are shown in their long form). Short and long options for this command are listed below.

-m, --mbean <value>

Specify the name of the MBean to view.

-a, --attri <value>

Specify the attribute name of the MBean to view.

-o, --value <value>

Specify the attribute value of the MBean to set in string form.

-t, --type <value>

Specify the attribute value type to convert string form into (String/Boolean/Integer).

-v, --verbose

Turn on verbose output during this operation.

-V, --debug

Turn on debug output during this operation.

-h, --help

Display a help message for this operation.

Examples

Example 1

To change the node autoregistration to true, use the following command:

zosadmin set --mbean=local:facility=authenticationManager,properties=auth --attr=AutoregisterUnauthAgent --value=true --type=Boolean