Updated on 2024-05-07 GMT+08:00

Upgrade Parameters

IsInplaceUpgrade

Parameter description: Specifies whether an upgrade is ongoing. This parameter cannot be modified by users. Only the sysadmin user can access this parameter.

This parameter is a SUSET parameter. Set it based on instructions provided in Table 1.

Value range: Boolean

  • on indicates an upgrade is ongoing.
  • off indicates no upgrade is ongoing.

Default value: off

inplace_upgrade_next_system_object_oids

Parameter description: Indicates the OID of a new system object during the in-place upgrade. The value of this parameter cannot be changed.

This parameter is a SUSET parameter. Set it based on instructions provided in Table 1.

Value range: a string

Default value: empty

upgrade_mode

Parameter description: Specifies the upgrade mode.

This is a fixed INTERNAL parameter. It can be viewed but cannot be modified.

Value range: an integer ranging from 0 to INT_MAX

  • 0 indicates that no upgrade is ongoing.
  • 1 indicates that a local upgrade is ongoing.
  • 2 indicates that a grayscale upgrade is ongoing.

Default value: 0

Special case: When gray upgrade is used, if the major version upgrade policy is selected, that is, the upgrade script needs to be executed and the binary package needs to be replaced, the value of upgrade_mode is set to 2; if the minor version upgrade policy is selected, that is, only the binary package needs to be replaced, the value of upgrade_mode is not set to 2.