Skip to content

Virtual ips

services.pcsd.virtualIps

An ordered list of sets that represent all the virtual IPs that will be managed by pcsd.

Type: list of (submodule)

Default: { }

Example:

1
2
3
4
5
6
7
8
virtualIps = {
  "caddy-vip" = {
    ip = "10.0.0.130";
    interface = "eno1";
    group = "caddy-grp";
    startBefore = ["caddy"];
  };
}

Declared by: - modules/default.nix#L218

services.pcsd.virtualIps.*.enable

Whether this service is managed by pcs or not.

Type: boolean

Default: true

Declared by: - modules/default.nix#L236

services.pcsd.virtualIps.*.cidr

The CIDR range of the IP.

Type: signed integer

Default: 24

Declared by: - modules/default.nix#L263

services.pcsd.virtualIps.*.extraArgs

Additional command line options added to pcs commands when making a virtual IP.

Type: list of string

Default: [ ]

Declared by: - modules/default.nix#L279

services.pcsd.virtualIps.*.group

The name of the group in which we want to place this resource.
This allows multiple resources to always be on the same node and can also make the order in which the resources start configurable.

Type: null or string

Default: null

Declared by: - modules/default.nix#L269

services.pcsd.virtualIps.*.id

The name of the resource as pacemaker sees it.
By default, this option will use the name of this attribute.

Type: string

Declared by: - modules/default.nix#L244

services.pcsd.virtualIps.*.interface

The network interface this IP will be bound to.

Type: string

Default: "eno1"

Declared by: - modules/default.nix#L252

services.pcsd.virtualIps.*.ip

The actual IP address.

Type: string

Declared by: - modules/default.nix#L258