Skip to content

New-PveNodesCephMon

Create a Ceph Monitor. Also auto-creates a Manager for the first monitor.

API: POST /nodes/{node}/ceph/mon/{monid}, Proxmox VE API viewer

New-PveNodesCephMon
[-PveTicket <PveTicket>]
[-MonAddress <string>]
[-Monid <string>]
-Node <string>
[<CommonParameters>]
Parameter Type Required Description
-PveTicket PveTicket No Ticket data connection.
-MonAddress string No Overwrites autodetected monitor IP address(es). Must be in the public network(s) of Ceph.
-Monid string No The ID for the monitor, when omitted the same as the nodename.
-Node string Yes The cluster node name.

Every parameter also binds by property name from the pipeline, so an object with node and vmid properties (the output of Get-PveGuest, for one) fills -Node and -Vmid. Without -PveTicket the cmdlet uses the last connection, see Connection.

A PveResponse: the data returned by Proxmox VE is in .Response.data, the outcome in .IsSuccessStatusCode. See Results and Errors.