通过REST API在所有主机上安装数据存储
+1
你好
我能够通过REST API创建一个存储池和一个容器,但是我找不到将容器安装在所有主机(ESXI)上的参数。
我的请求 :
{“ name”:“ mycontainer”,“ storegepoolid”:“ 777”“ CompressionEnabled”:true,}
我已经测试过将参数“ NFSWHitelist”添加:[“ ESXI1”,ESXI2“,“ ESXI3”)使用ESXI的IP,但不起作用。
也许参数mappedremotecontainers(java.util.map,可选),但我没有找到有关此的文档。
你有一个主意吗?
谢谢
阿尔本
我能够通过REST API创建一个存储池和一个容器,但是我找不到将容器安装在所有主机(ESXI)上的参数。
我的请求 :
{“ name”:“ mycontainer”,“ storegepoolid”:“ 777”“ CompressionEnabled”:true,}
我已经测试过将参数“ NFSWHitelist”添加:[“ ESXI1”,ESXI2“,“ ESXI3”)使用ESXI的IP,但不起作用。
也许参数mappedremotecontainers(java.util.map,可选),但我没有找到有关此的文档。
你有一个主意吗?
谢谢
阿尔本
该主题已关闭以供评论
+1
你好,
经过一些测试,我发现了帖子
/容器/datastores/add_datastore
{ “ contain name”:“ string”, “ datastoreName”:“字符串”, “ nodeids”:[ “细绳” ],, “ nodeuuids”:[ “细绳” ],, “ readonly”:false, “目标路径”:“字符串” }
阿尔本
经过一些测试,我发现了帖子
/容器/datastores/add_datastore
{ “ contain name”:“ string”, “ datastoreName”:“字符串”, “ nodeids”:[ “细绳” ],, “ nodeuuids”:[ “细绳” ],, “ readonly”:false, “目标路径”:“字符串” }
阿尔本
Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">