Nodes
Nodes represent individual Proxmox VE servers within a site. Each node can host multiple containers and must be registered with the cluster management system before use.
What is a Node?
A node is a physical or virtual server running Proxmox VE that:
- Hosts Linux containers (LXC)
- Provides compute, memory, and storage resources
- Connects to the cluster management system via the Proxmox API
- Participates in the site's network infrastructure
Multiple nodes within a site form a Proxmox cluster, enabling high availability and resource distribution.
Node Properties
Each node requires the following configuration:
- Name: The node name as it appears in the Proxmox cluster (must match exactly)
- IP Address: Used for internal DNS resolution
- API URL: The Proxmox API endpoint (e.g.,
https://192.168.1.10:8006/api2/json) - Authentication: Either username/password or API token
- Username: Typically
root@pamfor full access - Password: The user's password
- Token ID: Alternative to username (e.g.,
root@pam!mytoken) - Token Secret: The token's secret value
- Username: Typically
- TLS Verification: Enable or disable certificate validation (optional)
Adding Nodes
There are two methods for adding nodes to a site:
Method 1: Import Nodes (Recommended)
The Import Nodes function automatically discovers all nodes in a Proxmox cluster:
-
Navigate to Nodes in the administration interface
-
Select your site
-
Click Import Nodes
-
Enter the connection details:
- API URL: Any node in the cluster (e.g.,
https://192.168.1.10:8006/api2/json) - Username:
root@pam(recommended) - Password: The root password
- Disable TLS Verification: Check if using self-signed certificates
- API URL: Any node in the cluster (e.g.,
-
Click Import
The system will:
- Connect to the Proxmox cluster
- Discover all nodes automatically
- Import each node with correct names and IP addresses
- Verify API connectivity
Import Nodes only needs credentials for one node. It will automatically discover and import all other nodes in the same Proxmox cluster.
Method 2: Manual Node Creation
For individual nodes or custom configurations:
-
Navigate to Nodes in the administration interface
-
Select your site
-
Click Create New Node
-
Fill in all required fields:
- Name: Must exactly match the node name in Proxmox
- IP Address: The node's network IP
- API URL:
https://NODE_IP:8006/api2/json - Username:
root@pam - Password: The root password
-
Click Save
The node name must exactly match the hostname shown in the Proxmox web interface. Mismatches will cause API communication failures.
Authentication Methods
Username & Password
The traditional authentication method:
- Pros: Simple to configure, no token management
- Cons: Less secure, password changes require updating configuration
- Recommended for: Initial setup, testing
Example:
Username: root@pam
Password: your-root-password
API Token (Recommended for Production)
A more secure alternative using Proxmox API tokens:
- Pros: More secure, can be revoked independently, fine-grained permissions
- Cons: Requires creating tokens in Proxmox first
- Recommended for: Production deployments
Creating an API Token in Proxmox:
- Log in to Proxmox web interface
- Navigate to Datacenter → Permissions → API Tokens
- Click Add to create a new token
- Configure the token:
- User:
root@pam - Token ID: A descriptive name (e.g.,
cluster-mgmt) - Privilege Separation: Uncheck (for full root access)
- User:
- Save and copy the token secret (shown only once)
Using the Token:
Token ID: root@pam!cluster-mgmt
Token Secret: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
TLS Certificate Verification
Proxmox uses self-signed certificates by default, which causes TLS verification to fail.
Options:
Disable TLS Verification (Easiest)
- Check the "Disable TLS Verification" option when adding nodes
- ⚠️ Less secure (vulnerable to MITM attacks)
- ✅ Works immediately with self-signed certificates
- Recommended for: Isolated networks, internal deployments
Install Valid Certificates (Most Secure)
- Configure Proxmox to use certificates from a trusted CA
- Leave TLS verification enabled
- ✅ Maximum security
- Recommended for: Production, internet-facing deployments
For isolated development clusters, disabling TLS verification is acceptable. For production environments exposed to untrusted networks, install valid certificates.
Verifying Node Configuration
After adding a node, verify it's working correctly:
- Check the node status in the Nodes list
- Verify the green checkmark or "Online" indicator appears
- Test creating a container on the node
If the node shows as offline or unreachable:
- Verify the API URL is correct
- Check network connectivity from the management container
- Verify authentication credentials
- Review system logs for detailed error messages
Node Management
Updating Node Configuration
To modify a node's settings:
- Navigate to the node's detail page
- Update the necessary fields
- Save changes
- The system will test connectivity with the new configuration
Removing Nodes
To remove a node from management:
- Ensure no active containers are running on the node
- Navigate to the node's detail page
- Click Delete or Remove
- Confirm the action
You cannot remove a node that has active containers. Migrate or delete containers first.
Multi-Node Considerations
Load Distribution
The cluster management system can distribute containers across nodes based on:
- Available resources (CPU, memory, storage)
- Node health and availability
- Administrator preferences
High Availability
Proxmox supports HA clustering features:
- Live migration of containers between nodes
- Automatic failover if a node fails
- Shared storage for container data
High availability features are configured in Proxmox itself, not in the cluster management system. Refer to Proxmox documentation for HA setup.
Troubleshooting
Node Shows as Offline
Check network connectivity:
# From the management container
ping NODE_IP
curl -k https://NODE_IP:8006/api2/json
Verify Proxmox API is running:
# On the Proxmox node
systemctl status pveproxy
Common issues:
- Firewall blocking port 8006
- Proxmox API service not running
- Incorrect IP address or API URL
- Network routing issues
Authentication Failures
Check credentials:
- Verify username/password or token/secret are correct
- Ensure the user has sufficient permissions
- Check if the API token hasn't been deleted or revoked
Test authentication manually:
curl -k -u "root@pam:PASSWORD" \
https://NODE_IP:8006/api2/json/nodes
Name Mismatch Errors
If you see "node name doesn't match" errors:
- Check the node name in Proxmox:
hostname - Update the node name in cluster management to match exactly
- Node names are case-sensitive
TLS Verification Errors
If seeing SSL certificate errors:
- Enable "Disable TLS Verification" option
- Or install valid certificates on Proxmox nodes
- Ensure the certificate hostname matches the API URL
Next Steps
After adding nodes to your site:
- Containers: Learn about container deployment
- Review the User Documentation for creating containers
- Set up monitoring and maintenance procedures