Skip to content

Nodes

services.pcsd.nodes

List of nodes in the cluster. This option will be passed to services.corosync.nodelist.

Type: list of (submodule)

Default: [ ]

Example:

[
  {
    name = "this Machine's Hostname";
    nodeid = 1;
    ring_addrs = [
      # This is where your machine's local ips go
      "192.168.0.255"
    ];
  }

  # the other nodes of your cluster go here
]

Declared by: - modules/default.nix#L67

services.pcsd.nodes.*.name

Node name.

Type: string

Declared by: - modules/default.nix#L92

services.pcsd.nodes.*.nodeid

Node ID number.

Type: signed integer

Declared by: - modules/default.nix#L88

services.pcsd.nodes.*.ring_addrs

List of IP addresses, one for each ring.

Type: list of string

Declared by: - modules/default.nix#L96