Verifying the Upgrade

This section describes how to verify the upgrade, including the test cases and detailed operation procedure.

Verification Checklist

Table 1 Verification checklist

No.

Item

Criteria

Check Result

1

Query the version.

Check whether the source version has been upgraded to the target version.

-

2

Check the OS health status.

Use the gs_checkos tool to check the OS status.

-

3

Check the database status.

Use the gs_om tool to check the database status.

-

Querying the Version After Upgrade

This section describes how to query the version.

Procedure

  1. Log in to the node as the database user (for example, omm) and run the source command to set the environment variables.

  2. Run the following command to check the version information of all nodes:

    gs_ssh -c "gsql -V"
    

Checking the Status of the Database for Upgrade

This section describes how to query the database status.

Procedure

  1. Log in to the node as a database user (for example, omm).

  2. Run the following command to check the database status:

    gs_om -t status
    

    If the value of cluster_state is Normal in the command output, the database is normal.

Feedback
编组 3备份
    openGauss 2024-12-26 01:07:08
    cancel