# SLES upgrade dilemma

**URL:** <https://forums.suse.com/t/sles-upgrade-dilemma/34080>\
**Category:** SLES Updates\
**Created:** [June 18, 2019, 1:43am UTC](https://forums.suse.com/t/sles-upgrade-dilemma/34080 "2019-06-18T01:43:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevenau1](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@stevenau1](https://forums.suse.com/u/stevenau1)\
**Post date:** [June 18, 2019, 1:43am UTC](https://forums.suse.com/t/sles-upgrade-dilemma/34080/1 "2019-06-18T01:43:08Z")

</div>

Hi guys

Will be migrating some SLES11 physical hosts to vmâs in the near future and Iâm wondering what is the best approach. Upgrading the OS is also required. Have considered the following options

1. migrate as is. Then upgrade to SLES12SP4 once on vmâs. Like this idea, have the safety of vm snapshots in case of upgrade issues. Can upgrade to SLES15 at a later date.

2. build new SLES15 vmâs and migrate data. Read itâs better to build new vm rather than upgrading but this brings in a lot of potential issues with OS settings like application tuning, security settings, local accounts etc as something may be missed.

These are mission critical servers so canât afford mishaps.

All suggestions appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![KEVIN1](https://avatars.discourse-cdn.com/v4/letter/k/a9adbd/32.png) [@KEVIN1](https://forums.suse.com/u/KEVIN1)\
**Post date:** [June 18, 2019, 2:51am UTC](https://forums.suse.com/t/sles-upgrade-dilemma/34080/2 "2019-06-18T02:51:41Z")

</div>

[QUOTE=stevenau1;57920]Hi guys

Will be migrating some SLES11 physical hosts to vmâs in the near future and Iâm wondering what is the best approach. Upgrading the OS is also required. Have considered the following options

1. migrate as is. Then upgrade to SLES12SP4 once on vmâs. Like this idea, have the safety of vm snapshots in case of upgrade issues. Can upgrade to SLES15 at a later date.

2. build new SLES15 vmâs and migrate data. Read itâs better to build new vm rather than upgrading but this brings in a lot of potential issues with OS settings like application tuning, security settings, local accounts etc as something may be missed.

These are mission critical servers so canât afford mishaps.

All suggestions appreciated.

Thanks[/QUOTE]

Hi and welcome to the SUSE forums.

I prefer your option #2 and here’s why:

[LIST]  
[_]Your option #1 would require as much work to get SLES 12 SP4 installed as it would to get SLES 15 installed (option #2), then you would still have to upgrade to SLES 15.  
[_]When you upgrade an existing system, it’s important that the upgrade doesn’t break anything. When new features involve major architectural changes it may be too complex or too risky to attempt a retrofit on a production server so the upgrade may not upgrade a specific feature and continue to use what is already installed. If you have been doing in-place upgrades over many versions you may have a number of old features left in place from long ago.  
[_]Option two will create a new install giving you access to all new features.  
[_]You have the option to make configuration changes you couldn’t do on a production system: file systems, partition sizes, etc.  
[\*]Your original server continues to function while you install and test your new VM(s), and, should your cut over encounter issues, the old physical server is still available for a quick fallback.  
[/LIST]

---

<div class="post-metadata">

**Author:** ![stevenau1](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@stevenau1](https://forums.suse.com/u/stevenau1)\
**Post date:** [June 18, 2019, 2:24pm UTC](https://forums.suse.com/t/sles-upgrade-dilemma/34080/3 "2019-06-18T14:24:32Z")

</div>

Hi Kevin  
That approach does make a lot of sense. Might as well go through the pain once rather than twice and have the system setup the way you want it.  
Thanks

---

<div class="post-metadata">

**Author:** ![stevenau1](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@stevenau1](https://forums.suse.com/u/stevenau1)\
**Post date:** [June 22, 2019, 4:52am UTC](https://forums.suse.com/t/sles-upgrade-dilemma/34080/4 "2019-06-22T04:52:19Z")

</div>

Another question I have regarding upgrades in SLES.  
What fail safe âback outâ methods are the most common when performing OS upgrades?

In AIX I can use the rootvg unmirror disk concept to quickly boot back to my pre upgrade version in case of problems.

Some of my VMâs are huge so cannot perform snapshot backups. Using rear restore is too drastic and not without its own occasional issues so what âsimpleâ method can I use to guarantee fast fail back when encountering OS upgrade issues??

Thank you

---

<div class="post-metadata">

**Author:** ![Andreas1](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@Andreas1](https://forums.suse.com/u/Andreas1)\
**Post date:** [June 22, 2019, 6:31pm UTC](https://forums.suse.com/t/sles-upgrade-dilemma/34080/5 "2019-06-22T18:31:15Z")

</div>

The root partition “/” (where operating system and all programs are installed) should be a XFS or BTRFS file system. The root partition is not really big, so a full backup and restore is not a big time consuming job:

XFS =\> xfsdump/xfsrestore:  
[https://forums.suse.com/showthread.php?13764-I-am-on-Dual-Boot!-Will-this-work&p=57862#post57862](https://forums.suse.com/showthread.php?13764-I-am-on-Dual-Boot!-Will-this-work&p=57862#post57862)

BTRFS =\> System Recovery and Snapshot Management with Snapper  
[https://forums.suse.com/showthread.php?13734-Anyone-tried-to-patch-a-SLES-15-like-a-transaction-server&p=57836#post57836](https://forums.suse.com/showthread.php?13734-Anyone-tried-to-patch-a-SLES-15-like-a-transaction-server&p=57836#post57836)

Or use a dedicated vm snapshot for the root partition. Big updates should be tested on a test server before deliver to a production server…
