Proxmox VE Basic Configure¶
1. Basic config¶
1.1 Partition integrate¶
If PVE/data partitions are automatically created during installation, it is recommended to merge them to simplify storage management.
- Login PVE server with ssh, and delete pve/data logical volume, and extended pve/root
- Check pve/data mount point, and delete it (if exsit)
1.2 Remove local-lvm¶
Login PVE web ui (https://PVE-IP:8006)
Click
Datacenter->Storage->local-lvm->Remove
1.3 Modify local storage¶
Click storage
local->Edit, addDisk imageto local storage.after modifying this parameter, you will be able to store virtual machines on local storage
2. Network config¶
2.1 Create NIC bridge¶
- Click
Network->Create->Linux Bridge
- Input bridge
Name->VLAN aware->Bridge ports->Advanced->VLAN IDs, and clickCreate
2.3 Bind VLAN tags¶
- Click
Create->Linux VLAN
we need to first open the trunk for the network port and obtain the VLAN ID
- Input vlan
Name, and confirmVLAN Tag, then clickCreate
VLAN Tag = VLAN ID(switch config)
2.4 Create sub-bridge¶
- Click
Create->Linux Bridge
- Input sub bridge
Name->Bridge ports->Comment
Please input
Bridge portswith step2.3VLANname
- Confirm bridge and vlan config, and click
Apply Configuration
3. APT config(optional)¶
3.1 Import certificate¶
- Upload wistron CA certificate to PVE server
- Import certificate to system
- Change pve repository
Change repository file name
Replace
URIsto local ATP repository, andComponents name
sed -i 's|https://enterprise.proxmox.com|https://wzs-yum.wistron.com/proxmox|g' pve-no-subscription.sources
sed -i 's|pve-enterprise|pve-no-subscription|g' pve-no-subscription.sources
- Change debian repository
Replace
URIsto local APT repository
sed -i 's|http://deb.debian.org|https://wzs-yum.wistron.com|g' debian.sources
sed -i 's|http://security.debian.org|https://wzs-yum.wistron.com|g' debian.sources
- Change ceph repository
Replace
URIsto local APT repository, andComponents name
sed -i 's|https://enterprise.proxmox.com|https://wzs-yum.wistron.com/proxmox|g' ceph.sources
sed -i 's|enterprise|no-subscription|g' ceph.sources
3.2 APT update¶
If use Internet source list, please confirm your server can access Internet
4. Cluster config¶
4.1 Create cluster¶
- Click
Datacenter->Cluster->Create Cluster
- Input
Cluster name, and selectCluster Network, then clickCreate
4.2 Join cluster¶
- Click
Join Information
- Click
Copy Informationto copy join cluster info
- Login need join cluster node, and click
Join Cluster
- Paste encoded cluster information, and input node1 login password
- Login cluster node and confirm cluster node status
🎉Optional: Create cluster with command
# excute create cluster command on primary node
pvecm create wzs-ceph-q
# add other nodes (excute add cluster command on other nodes)
pvecm add 10.xx.xx.xx (replace primary node ip)
# check cluster status
pvecm status
5. LDAPs config¶
5.1 Add realms¶
- Click
Datacenter->Realms->Add->LDAP Server
- Input LDAPS
generalinfo
Realm: wzs.wistron (Define your site domain name)
Base Domain Name: OU=WZS,DC=wzs,DC=wistron
User Attribute: sAMAccountName
Server: 10.41.20.10 (Your site dns IP)
Fallback Server: 10.41.20.20 (Second site dns IP, if have)
Mode: LDAPS
Comment: WZSCN (Define your login PVE display domain name)
- Switch to enter LDAPS
Sync Optionsinfo, then clickAdd
Bind User: wzsse@wzs.wistron (Account with traversal domain account permissions)
Bind Password: id password
Group Filter: |(CN=MZL3*)(CN=MG31*) (Define only department accounts that require PVE for synchronization)
5.2 Sync AD account¶
- Click
Realms->wzs.wistron->Sync
- Select sync
Scope, and clickSync
- Sync status check
- PVE user check
- PVE group check
- Create account sync job
click
Realms->Add
- Select the Realms that need to be synchronized and choose the preset schedule as needed
- Click
Create
5.3 User config¶
- Add user and role to PVE
Click
Datacenter->Permissions->Add
Assign access path
Assign
UserandRole






































