Shared Storage Parameters

ss_enable_dss

Parameter description: Specifies whether to enable the DSS mode. This parameter is specified by users during installation and cannot be modified.

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

Value range: Boolean. The value can be on or off. on indicates that the DSS mode is enabled for the current installation and deployment, and off indicates that the DSS mode is disabled.

Default value: off

NOTE:

  • The default value of ss_enable_dss is off in standalone mode.
  • To enable shared storage, set this parameter to on.
  • After the OM is automatically installed in shared storage mode, this parameter is set to on by default.

ss_enable_dms

Parameter description: Specifies whether to enable the DMS function. This parameter is specified by users during installation and cannot be modified.

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

Value range: Boolean. The value can be on or off. on indicates that the DMS function is enabled for the current installation and deployment, and off indicates that the DSS mode is disabled.

Default value: off

NOTE:

  • The default value of ss_enable_dms is off in standalone mode.
  • To enable shared storage, set this parameter to on.
  • After the OM is automatically installed in shared storage mode, this parameter is set to on by default.

ss_enable_ssl

Parameter description: Specifies whether to enable SSL.

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

Value range: Boolean. The value can be on or off. on indicates that SSL is enabled, and off indicates that SSL is disabled.

Default value: on

NOTE:

  • This parameter takes effect only when the SSL parameter of the openGauss is set to on.
  • You need to manually change the value of this parameter on all nodes, and the change takes effect upon restart. If you change the value of this parameter on a single node, the restart will time out and fail.
  • If this parameter is disabled, the primary and standby nodes are not connected through SSL, which may cause spoofing attacks and information leakage.

ss_enable_catalog_centralized

Parameter description: Specifies the resource catalog storage mode, which cannot be modified.

This parameter is a POSTMASTER parameter. Set it based on instructions provided in Table 1. This parameter cannot be modified.

Value range: Boolean. The value can be on or off. The value on indicates that DRC resources are stored only on the primary node. The value off indicates that resources are stored in distributed mode, that is, each node needs to store some DRC resources according to certain rules.

Default value: on

NOTE: Currently, the value of ss_enable_catalog_centralized cannot be changed. You can only use the default value.

ss_instance_id

Parameter description: Specifies the ID of a shared storage instance, which is generated based on the DN specified during installation. This parameter cannot be modified.

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

Default value: integer. Value range: 0 to 2.

ss_dss_vg_name

Parameter description: Specifies the volume group name during installation. This parameter cannot be modified.

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

Value range: a string

Default value: user-defined data volume group name during installation.

ss_dss_conn_path

Parameter description: Specifies the socket file path used by the DSS instance process. This parameter cannot be modified.

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

Value range: a string

Default value: “UDS:${DSS_HOME}/.dss_unix_d_socket”, which is user-defined during DSS installation.

ss_interconnect_channel_count

Parameter description: Specifies the number of MES interconnection channels.

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

Value range: an integer ranging from 1 to 32

Default value: 16

ss_work_thread_count

Parameter description: Specifies the number of MES worker threads.

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

Value range: an integer ranging from 16 to 128

Default value: 32

ss_recv_msg_pool_size

Parameter description: Specifies the size of the MES message receiving pool.

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

Value range: an integer. The value range is from 1 MB to 1024 MB and the unit is MB.

Default value: 16MB

ss_interconnect_type

Parameter description: Specifies the MES communication protocol type.

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

Value range: a string, TCP or RDMA

Default value: TCP

NOTE: RDMA communication depends on the CX5 NIC and the OCK RDMA dynamic library. Before enabling this function, ensure that the configuration is correct.

ss_interconnect_url

Parameter description: Specifies the URL for MES communication between nodes.

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

Value range: a string in the format of Node ID:IP address:Port number,Node ID:IP address:Port number, …

Default value: user-defined during installation.

ss_rdma_work_config

Parameter description: Specifies the start and end CPUs used in the RDMA user-mode poll.

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

Value range: a string in the format of start CPU end CPU (separated by a space), for example, 10 15

Default value: ""

ss_ock_log_path

Parameter description: Specifies the path of the OCK RDMA log file.

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

Value range: a string

Default value: ""

ss_enable_scrlock

Parameter description: Specifies whether to use scrlock.

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

Value range: Boolean. The value can be on or off. on indicates that scrlock is enabled, and off indicates that scrlock is disabled.

Default value: off

NOTE: scrlock requires the CX5 NIC and depends on the OCK RDMA dynamic library. Before enabling this function, ensure that the configuration is correct.

ss_enable_scrlock_sleep_mode

Parameter description: Specifies whether to enable the scrlock sleep mode.

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

Value range: Boolean. The value can be on or off. on indicates that the scrlock sleep mode is enabled, and off indicates that the scrlock sleep mode is disabled.

Default value: on

NOTE: The scrlock sleep mode reduces the CPU usage of the scrlock but increases the scrlock delay.

ss_scrlock_server_port

Parameter description: Specifies the listening port number of the scrlock server.

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

Value range: an integer ranging from 0 to 65536

Default value: 8000

ss_scrlock_worker_count

Parameter description: Specifies the number of workers on the scrlock client.

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

Value range: an integer ranging from 2 to 16

Default value: 2

ss_scrlock_worker_bind_core

Parameter description: Specifies the start and end CPUs used on the scrlock worker.

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

Value range: a string in the format of start CPU end CPU (separated by a space), for example, 10 15

Default value: ""

NOTE:

  • This parameter can be left blank. In this case, the scrlock worker is not bound to any CPU.
  • The value of start and end CPUs must be greater than or equal to 2.

ss_scrlock_server_bind_core

Parameter description: Specifies the start and end CPUs used on the scrlock server.

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

Value range: a string in the format of start CPU end CPU (separated by a space), for example, 10 15

Default value: ""

NOTE: This parameter can be left blank, which is equivalent to “0 0”. That is, the scrlock server occupies CPU 0.

Feedback
编组 3备份
    openGauss 2024-05-07 00:46:52
    cancel