-
We're using instance storage for my SO2 manager/search and search nodes, and am getting to point where we need to upgrade our instance sizes. AWS recommends to attach an EBS disk and rsync your data over. Am curious, has anyone done this? Curious if I'm thinking about this correctly...
Is that all there is to it? Most curious about when I bring the server back up, containers will try to start and probably fail. Don't see that there is a way to disable containers on startup, so was curious if this will cause problems because the backed-up data won't be there yet. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
If you are using the official AMI then you will need to move all of /nsm. I would recommend setting salt to disabled and reboot. sudo systemctl disable salt-minion Once you restart mount your new EBS volume that you are planning on copying data over to and you should be fine. If you have just mounted /nsm/elasticsearch on ephemeral then your above instructions should be fine. I would still disable salt and reboot so it doesn't fire it up during the copy. After you are happy with your new instance enable salt-minion again and start the service. |
Beta Was this translation helpful? Give feedback.
If you are using the official AMI then you will need to move all of /nsm. I would recommend setting salt to disabled and reboot.
sudo systemctl disable salt-minion
Once you restart mount your new EBS volume that you are planning on copying data over to and you should be fine. If you have just mounted /nsm/elasticsearch on ephemeral then your above instructions should be fine. I would still disable salt and reboot so it doesn't fire it up during the copy.
After you are happy with your new instance enable salt-minion again and start the service.