What is the do_advisory option?

When you perform a cluster operation (for example, moving from failover mode to normal companion mode), either companion may have attribute settings that prevent the cluster operation from succeeding. For example, the secondary companion may be configured with a stack size that is too small to accommodate both companions during fail over mode, or the companions may be configured for different languages.

To prevent these problems, sp_companion includes a do_advisory option that checks hundreds of attribute settings for each companion and issues warnings about any settings that may prevent a successful cluster operation. The attributes do not necessarily require the same values on both companions, but they must be compatible. sp_companion...do_advisory does not change any attributes; it only advises about potential problems.

sp_companion...do_advisory is not triggered automatically; run it periodically to verify that there are no compatibility issues between your companions.

do_advisory allows you to specify the attributes to investigate. You can either include all the attributes, or you can specify subsets of attributes.

You can select subsets of group, base, or quorum attributes. A group subset includes a broad set of server settings (for example, all the login attributes or all the space attributes); a base subset includes specific settings within the group subset (for example, user logins or CIS settings). do_advisory reports only the attributes of the specified subset that will prevent a successful cluster operation.

Quorum attributes are configuration parameters that sp_companion checks every time, whether or not you specify group or base attributes. If sp_companion finds that a quorum attribute is set such that it will prevent a successful cluster operation, the command fails. For more information, see “Quorum attributes”.

The following describes the server settings that make up each group: