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界面上点来点去

原文地址:https://www.cnblogs.com/createyuan/p/10830991.html