In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Image download address: https://www.proxmox.com/en/downloads
Illustration of the installation process:
1 、
2 、
3 、
4 、
5 、
6 、
7 、
8 、
9. Log in to the console on the browser WEB
Log in to ssh to check the following version:
Here we still create a cluster of three nodes (PVE1-PVE3192.168.26.210-212). The other nodes are installed in the same way.
Still need to update the source and system under the configuration (seems to be the same and pay attention to version differences)
Rm-f / etc/apt/sources.list.d/pve-enterprise.list
Echo "deb http://download.proxmox.com/debian/pve stretch pve-no-subscription" > / etc/apt/sources.list.d/pve-install-repo.list
Wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg-O / etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
Apt update & & apt dist-upgrade
If you want to upload the ISO mirror, the default location is shown:
Start creating a pve cluster:
Execute on pve1:
Pvecm create bd-data-center
Execute on pve2:
Root@pve2:~# pvecm add 192.168.26.210
Note that you need to enter a password for communication authentication.
Execute on the same PVE3:
Root@pve3:~# pvecm add 192.168.26.210
Check the cluster status at this time: the execution effect is the same on any node (show the effect of execution on two nodes)
Log in to the WEB console to check the effect:
Then install the CEPH storage (install each of the three nodes)
Initialize the ceph cluster network segment: pveceph init-- network 192.168.26.0
At this point, the command to check the CEPH status will report an error: pveceph status
Each node creates ceph cluster storage Mon monitoring:
Pveceph createmon
Root@pve2:~# pveceph createmon
Root@pve3:~# pveceph createmon
Check the CEPH status at this time:
Ansible, look at each node, in fact, it is all the same.
To create mgr, all three nodes need to be executed
Pveceph createmgr # this node prompt already exists
View the cluster status of WEB console at this time:
Creating Ceph OSDs
Create Ceph OSDs storage (three nodes do the same)
Root@pve1:~# pveceph createosd / dev/sdb
Immediately after execution on PVE1, take a look at the WEB console to see the state changes at this time.
Changes in disk and configuration information on PVE1
Similarly, the other two nodes execute
Root@pve2:~# pveceph createosd / dev/sdb
Root@pve3:~#pveceph createosd / dev/sdb
Create ceph cluster storage resource pool ceph osd pool create [resource pool name] 128 128
Root@pve1:~# ceph osd pool create datacenter 128 128
# add RBD cluster storage
# View rbd cluster storage configuration information (same for any node in the cluster)
Root@pve1:~# cat / etc/pve/storage.cfg
Effect before creation:
The effect after creation:
Add Resource Pool: dbdata,iscpool,idcpool
HA group creation: ISCVM,IDCVM
Create a virtual server:
The solution to the error encountered is:
Root@pve1:~# ceph health detail
Error reporting solution: ceph osd pool application enable datacenter rbd
Cloning cannot be performed in the highly available state, otherwise an error will occur and the virtual machine will be locked and cannot be deleted directly.
Cannot delete:
After unlocking with the command, you can delete the virtual machine.
Root@pve2:~# qm destroy 101
VM is locked (clone)
Root@pve2:~# qm unlock 101
Root@pve2:~# qm destroy 101
Removing image: 1% complete...
Removing image: 2% complete...
Remove the highly available state and then clone:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.