System Manual

System Manual

DRX

Type

Command

Description

Type

Command

Description

Execution

drx {-d}

  • Default execution mode of DRX.

  • Daemonize mode, which does not output messages to the console.

  • "-d" can be omitted.

drx -f

Foreground mode, which output messages to the console.

Specifying the configuration file

drx {-f or -d} -c [file-path]

Execute by specifying the path of drx.conf file.

 

DRX-CTL

Type

Command

Verbose option

Alias

Description

Type

Command

Verbose option

Alias

Description

view

drx-ctl version

N/A

ver

Version of DRX

drx-ctl info

"

-

Start or stop status of the DRX process

drx-ctl license

"

lic

Current license information

drx-ctl dump [resource or all]

"

-

Outputs the resource configuration and the contents of drx.conf.

  • You need to enter the resource name because drbdadm looks up the resource configuration file.

drx-ctl show [connect name or all]

"

-

Outputs the current configurations

drx-ctl connection [connect name or all]

-v

co

  • Outputs the connection informations.

  • Verbose mode (-v) : IP, Up Since, Remove arrows

drx-ctl statistics [connect name or all]

-v

st

  • Outputs the statistical informations.

  • Verbose mode (-v) : Tx/Rx packet, Compression/Encryption Cur, Min, Max

drx-ctl memusage [connect name or all] 

-v

mem

  • Outputs the buffer informations.

  • Verbose mode (-v) : Begin, End, BAB Latency

drx-ctl log  [connect name or main] 

N/A

-

  • Outputs the contents of the log file currently being recorded.

  • Archived log files are not output.

control

drx-ctl up [connect name or all]

"

-

Starts the resources.

drx-ctl down [connect name or all]

"

-

Stop the resources

drx-ctl adjust [connect name or all] 

"

-

Updates the settings of the resources

drx-ctl set compress [type] [level] [connect name ] 

"

-

Sets the compression method for the resources.

drx-ctl set crypto [on or off] [connect name ] 

"

-

Sets the encryption method for the resources.

drx-ctl set bwlimit [limit] [connect name ] 

"

-

  • unit : Bytes Per Second (K, M, G available)

  • limit : Bandwidth of input resource

drx-ctl set license [file-path]

"

-

  • file-path : License file path

  • Validates the license for the specified path and replaces it.

drx-ctl reset statistics [connect name or all] 

"

st

  • Option alias: statistics is available as st.

notification

drx-ctl events {connect name or all}

NA

-

Notifies the events.