# Is there an easy way to move OoD to a new server?

**URL:** <https://discourse.openondemand.org/t/is-there-an-easy-way-to-move-ood-to-a-new-server/2975>\
**Category:** Get Help\
**Created:** [September 20, 2023, 2:12pm UTC](https://discourse.openondemand.org/t/is-there-an-easy-way-to-move-ood-to-a-new-server/2975 "2023-09-20T14:12:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![maestro7879](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/maestro7879/32/1865_2.png) [@maestro7879](https://discourse.openondemand.org/u/maestro7879)\
**Post date:** [September 20, 2023, 2:12pm UTC](https://discourse.openondemand.org/t/is-there-an-easy-way-to-move-ood-to-a-new-server/2975/1 "2023-09-20T14:12:48Z")

</div>

There is a requirement I have to use the latest AMI in AWS which requires a rebuild each time of OoD. Is there a script that already exists that would assist in this move?

Is there a different way to create another server that replicates the current server ? Failover ?

Thanks!

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [September 20, 2023, 2:32pm UTC](https://discourse.openondemand.org/t/is-there-an-easy-way-to-move-ood-to-a-new-server/2975/2 "2023-09-20T14:32:28Z")

</div>

Sounds like you need some automation. We have support for both Ansible and puppet for installing and configuring OOD.

You’re not requesting a new RPM to be built every time you need a new machine right?

---

<div class="post-metadata">

**Author:** ![maestro7879](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/maestro7879/32/1865_2.png) [@maestro7879](https://discourse.openondemand.org/u/maestro7879)\
**Post date:** [September 20, 2023, 2:54pm UTC](https://discourse.openondemand.org/t/is-there-an-easy-way-to-move-ood-to-a-new-server/2975/3 "2023-09-20T14:54:31Z")

</div>

Correct, no new RPM each time.  
Yes on the automation. Generally I use AWS launch templates and have the script run on build, pulling necessary files from S3.

Thanks

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [September 20, 2023, 3:01pm UTC](https://discourse.openondemand.org/t/is-there-an-easy-way-to-move-ood-to-a-new-server/2975/4 "2023-09-20T15:01:35Z")

</div>

Yea I’m not super familiar with AWS outside of ansible. I’ve used ansible to provision & configure cloud resources a bunch but never AWS launch templates.

In any case - seems like ansible (and the `osc.open_ondemand` role specifically) is what you want.

> **[Ansible Galaxy](https://galaxy.ansible.com/osc/open_ondemand)**
>
> Jump start your automation project with great content from the Ansible community

and

> **[GitHub - OSC/ood-ansible: An ansible playbook for Open Ondemand](https://github.com/OSC/ood-ansible)**
>
> An ansible playbook for Open Ondemand. Contribute to OSC/ood-ansible development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![maestro7879](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/maestro7879/32/1865_2.png) [@maestro7879](https://discourse.openondemand.org/u/maestro7879)\
**Post date:** [September 20, 2023, 3:08pm UTC](https://discourse.openondemand.org/t/is-there-an-easy-way-to-move-ood-to-a-new-server/2975/5 "2023-09-20T15:08:27Z")

</div>

Perfect. Thank you this is very helpful.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [March 18, 2024, 3:09pm UTC](https://discourse.openondemand.org/t/is-there-an-easy-way-to-move-ood-to-a-new-server/2975/6 "2024-03-18T15:09:22Z")

</div>

Closed on March 18, 2024, 3:09pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
