dssserver

Background

The dssserver process is an independent process that directly manages raw devices of disk arrays and provides capabilities similar to distributed file systems for external systems. The shared memory and client API dynamic library provide the database with the capabilities of creating files, deleting files, expanding and shrinking files, and reading and writing files. It is also an executable command that can be used to start a dssserver process.

Syntax

Start the dssserver process.

dssserver -D $DSS_HOME

Parameter Description

As an independent process, the dssserver tool needs to provide the dss_inst.ini configuration file before starting the DSS server. The related configuration parameters are as follows:

  • LSNR_PATH

    Parameter description: Specifies the path of the socket file required by the dssserver process.

    Value range: a string

    Default value: $DSS_HOME

  • LOG_HOME

    Parameter description: Specifies the log path.

    Value range: a string

    Default value: ""

  • _LOG_BACKUP_FILE_COUNT

    Parameter description: Specifies the maximum number of log files that can be retained.

    Value range: an integer, in the range [0, 1024]

    Default value: 10

  • _LOG_MAX_FILE_SIZE

    Parameter description: Specifies the maximum size of a log file.

    Value range: an integer, in the range [1M,4G].

    Default value: 10M

  • INST_ID

    Parameter description: Specifies the instance ID. The dssserver process ID varies depending on the primary and standby nodes.

    Value range: an integer, in the range [0,63]

    Default value: 0

  • STORAGE_MODE

    Parameter description: Specifies the storage device type of the DSS. Set this parameter to RAID or CLUSTER_RAID for disk arrays.

    Value range: a string

    Default value: DISK

  • _LOG_LEVEL

    Parameter description: Specifies the log level.

    Value range: an integer, in the range [0,4087]

    Default value: 7

  • MAX_SESSION_NUMS

    Parameter description: Specifies the maximum number of session connections.

    Value range: an integer, in the range [16,16320].

    Default value: 8192

  • DISK_LOCK_INTERVAL

    Parameter description: Specifies the timeout interval for locking a disk lock.

    Value range: an integer, in the range [1,600000] (unit: ms).

    Default value: 100

  • DLOCK_RETRY_COUNT

    Parameter description: Specifies the number of disk locking retries.

    Value range: an integer, in the range [1,500000]

    Default value: 50

  • _AUDIT_BACKUP_FILE_COUNT

    Parameter description: Specifies the number of audit backup files.

    Value range: an integer, in the range [0,128]

    Default value: 10

  • _AUDIT_MAX_FILE_SIZE

    Parameter description: Specifies the maximum size of an audit backup file.

    Value range: an integer, in the range [1M,4G].

    Default value: 10M

  • _LOG_FILE_PERMISSIONS

    Parameter description: Specifies the log file permission.

    Value range: an integer, in the range [600,777]

    Default value: 600

  • _LOG_PATH_PERMISSIONS

    Parameter description: Specifies the log path permission.

    Value range: an integer, in the range [700,777]

    Default value: 700

  • _SHM_KEY

    Parameter description: Specifies the shared memory key.

    Value range: an integer, in the range [1,64]

    Default value: 1

  • DSS_NODES_LIST

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

    Value range: a string The format is inst_Id:IP address:Port number,inst_Id:IP address:Port number…

    Default value: 0:127.0.0.1:1611

  • INTERCONNECT_TYPE

    Parameter description: Specifies the communication protocol type.

    Value range: a character string, TCP or RDMA.

    Default value: TCP

  • INTERCONNECT_CHANNEL_NUM

    Parameter description: Specifies the number of MES connection channels for internal communication.

    Value range: an integer, in the range [1,32]

    Default value: 2

  • WORK_THREAD_COUNT

    Parameter description: Specifies the number of MES worker threads for internal communication.

    Value range: an integer, in the range [2,64]

    Default value: 2

  • RECV_MSG_POOL_SIZE

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

    Value range: an integer, in the range [1M,1G].

    Default value: 16M

  • MES_ELAPSED_SWIT

    Parameter description: Specifies whether to enable the MES statistics delay counting function for internal communication.

    Value range: Boolean, FALSE or TRUE. TRUE indicates that the MES statistics delay counting function is enabled, and FALSE indicates that the function is disabled.

    Default value: FALSE

  • DISK_LOCK_FILE_PATH

    Parameter description: Specifies the path for storing lock files when STORAGE_MODE is set to DISK.

    Value range: a string

    Default value: $DSS_HOME

  • SSL_CA

    Parameter description: Specifies the root certificate of the CA server.

    Value range: a string

    Default value: ""

  • SSL_KEY

    Parameter description: Specifies the private key file of the server, used to decrypt data encrypted using the public key.

    Value range: a string

    Default value: ""

  • SSL_CRL

    Parameter description: Specifies the CRL.

    Value range: a string

    Default value: ""

  • SSL_CERT

    Parameter description: Specifies the server certificate file, including the public key of the server.

    Value range: a string

    Default value: ""

  • SSL_CIPHER

    Parameter description: Specifies the encryption algorithm used for SSL communication.

    Value range: a string

    Default value: ""

  • SSL_PWD_CIPHERTEX

    Parameter description: Specifies the private key password.

    Value range: a string

    Default value: ""

  • SSL_CERT_NOTIFY_TIME

    Parameter description: Specifies the number of days prior to SSL server certificate expiration that a user will receive a reminder.

    Value range: an integer in the range [7,180].

    Default value: 30

  • POOL_NAMES

    Parameter description: Specifies the storage pool configuration.

    Value range: a string

    Default value: ""

  • IMAGE_NAMES

    Parameter description: Specifies the image configuration.

    Value range: a string

    Default value: empty

  • CEPH_CONFIG

    Parameter description: Specifies the Ceph cluster configuration file.

    Value range: a string

    Default value: "/etc/ceph/ceph.conf"

  • VOLUME_TYPES

    Parameter description: Specifies the volume type.

    Value range: a string

    Default value: ""

  • DSS_CM_SO_NAME

    Parameter description: Specifies the binary file name of CM.

    Value range: a string

    Default value: ""

Feedback
编组 3备份
    openGauss 2024-12-22 00:53:44
    cancel