After OCP is installed, you need to confirm and modify the following system parameters:
Parameter |
Description |
Initial Value |
Whether GUI modification is supported |
|---|---|---|---|
| server.port | The port number on which the application server starts. This setting takes effect after you restart OCP-Server. | 8080 | No |
| ocp.site.url | External access address for the OCP website: Must be in the format ofhttp/httpsStarts with a URL that includes the VIP address/domain name/port, and does not end with a slash (/), for example,http://localhost:8080orhttp://[::1]:8080. |
http://localhost:8080 |
Yes |
| ocp.config-url.site.url | The URL for accessing the OCP config url service from outside. The default is empty, which means to use andocp.site.urlThe same values. If the config url service is deployed separately, configure andocp.site.urlDifferent values. |
Default: empty | Yes |
For parameters that can be modified via the GUI, refer to Modify system parameters to make changes.
Note
- In Docker image installation scenarios, the system comes with an OBProxy for OCP to manage the OceanBase cluster. In this case, there is no need to modify the
ocp.system.obproxy.addressorocp.system.obproxy.portparameter. If you do not want to use the built-in OBProxy, you can specify the required OBProxy cluster using these two parameters. - In RPM installation scenarios, you must install the OBProxy for managing the OceanBase cluster manually and modify the
ocp.system.obproxy.addressandocp.system.obproxy.portparameters.
If, during MetaDB initialization, you did not connect to the OceanBase cluster where MetaDB resides through a load balancing address, the automatically generated MonitorDB connection parameters will also directly connect to OceanBase. If you later need to change this to connect to MonitorDB through a load balancing address (DNS or VIP), you must modify the load balancing-related parameters in the following table:
Parameter |
Description |
Whether GUI modification is supported |
|---|---|---|
| ocp.monitordb.host | MonitorDB Connection Address | No |
| ocp.monitordb.port | MonitorDB Connection Port | No |
