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