将同一台机器添加到differentnet juju模型


0

Ubuntu:18.04 MAAS:2.4.2 juju:2.5.4

如何将同一台机器同时添加到不同型号?可能吗?

juju models 输出:

Model    Cloud/Region  Type  Status     Machines  Cores  Access  Last 
model1   maas-iaas     maas  available  3         19     admin   just now
model2   maas-iaas     maas  available  0         -      admin   41 second

因此,我为模型1分配了3台物理计算机,如何与模型2共享同一台计算机?

Answers:


0

是的,应该有可能。从控制器内部,您可以简单地在同一“云”上创建另一个模型。

我假设您已经使用以下方法进行引导:

$ juju bootstrap mymaas c-1 # mymaas is the name of the MAAS cloud, 
                            # c-1 is the name of the controller 

现在,您已经建立了两个模型。

$ juju models
Controller: c-1

Model        Cloud/Region   # ...
controller   mymaas         # ...
default      mymaas         # ...

您应该能够立即将模型添加到该云:

$ juju add-model model2

model2 应该在同一硬件上共存。

$ juju models
Controller: c-1

Model        Cloud/Region   # ...
controller   mymaas         # ...
default      mymaas         # ...
model2       mymaas         # ...

1
我更新了问题,请参阅说明!
拉斯汀
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.