Post-deployment check

2024-11-06 03:13:28  Updated

After completing the deployment, you can verify the success of the deployment by checking OCP login, OCP features, log files, OCP version, and clock time.

Check OCP login

  1. Enter the access address of the OCP in your browser and press Enter.

    http://<hostip>:<port>/login
    
  2. On the displayed login page, enter the OCP username and password.

    Notice

    You can copy the OCP username and password from the page of successful upgrade. To ensure the security of your account, it is recommended that you change the default password after logging in for the first time. For instructions on how to change the password, see Change your login password.

    1220

Check OCP features

Check whether the following features work normally:

Check log files

  • Check if the ocp.log file exists in the /home/admin/logs/ocp directory.

  • Check if the output information of the ocp.log file is normal.

Check the OCP version

Verify the OCP-Server version information using the following command. If the buildVersion in the returned information matches the OCP-Server version, it indicates that the OCP-Server version is correct.

curl --user <username>:<password> 'http://<OCP_HOST>:<OCP_PORT>/api/v2/info'

where

  • username: indicates the login account for OCP.

  • password: indicates the login password for OCP.

Check the clock time

You can use the following command to obtain the OCP-Server time. If the returned time matches the expected time, it indicates that the current clock of OCP-Server is normal.

curl 'http://<OCP_HOST>:<OCP_PORT>/api/v2/time'

Contact Us