[英]Marklogic Scaling down in EC2 using cloud formation Template
Currently i am using the Marklogic cloud formation template ( https://marklogic-db-template-releases.s3-us-west-2.amazonaws.com/10.0-latest/mlcluster-vpc.template ) given by Marklogic itself and launched a cluster (3 nodes in 1 zone) and later I was trying to get familiar with scaling up and scaling down.目前我正在使用 Marklogic 本身提供并启动的 Marklogic 云形成模板 ( https://marklogic-db-template-releases.s3-us-west-2.amazonaws.com/10.0-latest/mlcluster-vpc.template )一个集群(1 个区域中的 3 个节点),后来我试图熟悉扩大和缩小规模。 For Scaling up I updated my cloud formation stack to 4 which brought up another host and created 2 new databases after scaling up.
为了扩大规模,我将我的云形成堆栈更新为 4,这在扩大规模后启动了另一台主机并创建了 2 个新数据库。 I want to scale down the Marklogic to 3 nodes again from cloud formation but i am seeing an error when I try to scale it down.
我想从云形成中再次将 Marklogic 缩小到 3 个节点,但是当我尝试缩小它时我看到了一个错误。
Went through the https://docs.marklogic.com/8.0/guide/ec2/managing#id_34435 where it says to remove the forest which exist in the host before scaling it down.浏览https://docs.marklogic.com/8.0/guide/ec2/managing#id_34435 ,它说在缩小主机之前删除主机中存在的林。 Any suggestion how to scale down without loosing on data using cloud formation would be great.
任何关于如何在不使用云形成丢失数据的情况下缩小规模的建议都会很棒。 Thanks in advance.
提前致谢。
Update:更新:
Error Received: Received response status [FAILED] from custom resource. Message returned: Scaling down the number of nodes per zone by updating the stack is not recommended. Please manually remove unused.network interface
收到错误:收到
[FAILED] from custom resource. Message returned: Scaling down the number of nodes per zone by updating the stack is not recommended. Please manually remove unused.network interface
[FAILED] from custom resource. Message returned: Scaling down the number of nodes per zone by updating the stack is not recommended. Please manually remove unused.network interface
I think the error message quite clearly states that what you're trying to do is not recommended and since the functionality is calling a custom resource, presumably, the functionality just isn't implemented.我认为错误消息非常清楚地表明不建议您尝试执行的操作,并且由于该功能正在调用自定义资源,因此可能只是未实现该功能。
SO you've got the option to create your own custom resource and use that in order to perform the downscaling or to follow the recommendation and downscale manually.因此,您可以选择创建自己的自定义资源并使用它来执行缩减或遵循建议并手动缩减。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.