pve三種操作方式



pve三種操作方式

==========================================================
api方式

https://192.168.1.4:8006/pve-docs/api-viewer/index.html

api一種是html格式,另一種是json格式
https://192.168.1.4:8006/api2/html
https://192.168.1.4:8006/api2/json/storage/


==========================================================
cli方式
root@cu-pve04:/etc/pve# pvesh get /storage/
file /etc/pve/storage.cfg line 4 (section 'local') - ignore config line: cephfs: kycfs
file /etc/pve/storage.cfg line 5 (section 'local') - unable to parse value of 'path': duplicate attribute
file /etc/pve/storage.cfg line 6 (section 'local') - unable to parse value of 'content': duplicate attribute
┌─────────┐
│ storage │
├─────────┤
│ kycrbd │
├─────────┤
│ local │
└─────────┘

root@cu-pve04:/etc/pve# pvesh get /
┌─────────┐
│ subdir │
├─────────┤
│ access │
├─────────┤
│ cluster │
├─────────┤
│ nodes │
├─────────┤
│ pools │
├─────────┤
│ storage │
├─────────┤
│ version │
└─────────┘


===========================================================
gui方式
在web界面上點來點去


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM