Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 1.85 KB

存储测试.md

File metadata and controls

52 lines (40 loc) · 1.85 KB

--添加主存储

http://192.168.150.16:8900/client/api?command=createStoragePool &zoneid=7e34afc4-61a4-49ee-8858-70522df42abe &podId=4ee1d013-12a6-4da2-b1f1-ac347955d2bd &clusterid=60571fc0-3586-43af-b4e9-329e068568ab &name=111 &url=nfs://192.168.150.3/aaa/bbb &tags=aa &response=json &sessionkey=INI%2FIyJRWSHSiz0SuO555uZHY6Q%3D&_=1379906790347

--添加二级存储 http://192.168.150.16:8080/client/api?command=addSecondaryStorage &zoneId=47afc991-cf8b-4804-9929-cbff1b39639c &url=nfs%3A%2F%2F192.168.1.22%2Faa%2Fbb &response=json &sessionkey=INI%2FIyJRWSHSiz0SuO555uZHY6Q%3D&_=1379907548240

http://192.168.150.16:8080/client/api?command=deleteHost &id=a0a331fb-5c95-4801-b2d0-8dc22de87667 &response=json &sessionkey=INI%2FIyJRWSHSiz0SuO555uZHY6Q%3D&_=1379908556475

autotest: puppet,chef,zabbix

paas: cloudfoudry,openshift stackto,appfog,mopass

iaas: cloudstack openstack openflow sheepdog

middelware + runtime

取消维护模式 http://192.168.150.16:8080/client/api?command=cancelStorageMaintenance&id=52796d66-c57a-32a7-b4e9-f65345ca8b5e&response=json&sessionkey=I%2FItBGs2vtIzjuYbLpXWLV%2F9%2BOs%3D&_=1379924944568

启用维护模式 http://192.168.150.16:8080/client/api?command=enableStorageMaintenance&id=52796d66-c57a-32a7-b4e9-f65345ca8b5e&response=json&sessionkey=I%2FItBGs2vtIzjuYbLpXWLV%2F9%2BOs%3D&_=1379925383708

查询异步命令工作状态 http://192.168.150.16:8080/client/api?command=queryAsyncJobResult&jobId=f26df7e8-d5a9-4a50-99c8-c64ad3c9f7d5&response=json&sessionkey=I%2FItBGs2vtIzjuYbLpXWLV%2F9%2BOs%3D&_=1379924947673 http://192.168.150.16:8900/client/api?command=queryAsyncJobResult&jobId=57b2d7bb-7595-4c92-82f9-43bae3808679&response=json

删除存储 http://192.168.150.16:8080/client/api?command=deleteStoragePool&id=52796d66-c57a-32a7-b4e9-f65345ca8b5e&forced=true&response=json&sessionkey=I%2FItBGs2vtIzjuYbLpXWLV%2F9%2BOs%3D&_=1379925596756