Skip to content

Commit c3cf4c6

Browse files
committed
Add Branch Server 4.3 to 5.1 migration guide
1 parent 68f7cf2 commit c3cf4c6

File tree

6 files changed

+107
-7
lines changed

6 files changed

+107
-7
lines changed

modules/ROOT/pages/_partials/entities.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
:kickstart: Kickstart
2222
:productname:
2323
:productproxy: {productname} Proxy
24+
:productbranch: {productname} Branch Server Proxy
2425
:susemgr: SUSE Manager
2526
:smr: for Retail
2627
:uyuni: Uyuni
@@ -87,6 +88,7 @@
8788
:question: icon:question[role="gray"]
8889
:star: icon:asterisk[role="none"]
8990
:salt: Salt
91+
:saltboot: Saltboot
9092
:trad: Traditional
9193
:snippet: `../../modules/ROOT/pages/snippets/`
9294

modules/installation-and-upgrade/pages/container-deployment/mlm/migrations/proxy/proxy-mlm-43-51.adoc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,23 @@ This section describes migrating from Proxy 4.3 using the [command]``mgrpxy`` to
1616

1717
[IMPORTANT]
1818
====
19-
An in-place migration from {productname} 4.3 to {productnumber} is unsupported.
20-
The host operating system has changed from {sles} 15 SP4 to {sl-micro} {microversion} or {sles} {bci-mlm}.
19+
An in-place migration from {productname} 4.3 to {productnumber} will change the host operating system from {sles} 15 SP4 to {sl-micro} {microversion} or {sles} {bci-mlm}.
20+
====
2121

22+
[IMPORTANT]
23+
====
2224
The traditional contact protocol is no longer supported in {productname} 5.0 and later.
2325
Before migrating from {productname} 4.3 to {productnumber}, any existing traditional clients including the traditional proxies must be migrated to {salt}.
2426
2527
For more information about migrating to {salt} clients, see https://documentation.suse.com/suma/4.3/en/suse-manager/client-configuration/contact-methods-migrate-traditional.html
2628
====
2729

30+
== Migration workflow overview
31+
32+
//TODO add workflow picture
33+
34+
== Backup existing {productproxy} data
35+
2836

2937

3038
== Deploy a New {productname} Proxy
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
[[retail-migration-from-43]]
2+
= Migrating from {productbranch} 4.3
3+
:revdate: 2025-11-12
4+
:page-revdate: {revdate}
5+
6+
This guide describes a procedure how to migrate one or more {productbranch} Servers from {susemgr} Branch Server 4.3 to the {productbranch} 5.1
7+
8+
== Overview
9+
10+
* Synchronize {productbranch} channels
11+
* Backup existing {productname} {smr} 4.3 Branch Server Proxy
12+
* Validate branch objects were created
13+
* Migrate Branch Server Proxy host
14+
* Validate proxy functionality
15+
16+
== Backup existing {productbranch} 4.3
17+
18+
{productname} {smr} 5.1.2 includes automated backup-migration procedure for both kinds of {productproxy} variants. This procedure collects all required data and uploads them to the {productname} Server. For {productbranch} this tool also creates and migrates {saltboot} related entities.
19+
20+
There are multiple ways how to initiate {productbranch} 4.3 migration:
21+
22+
* API call [literal]``mgrctl api post proxy.backup id=$proxyid``
23+
* {salt} call [literal]``salt $proxy proxy.backup``
24+
25+
[IMPORTANT]
26+
====
27+
{productbranch} can still be used after backup step as before, however because some formulas were disabled by the backup/migration step, next highstate or image-sync state application will not work properly.
28+
29+
Migrate the server host as soon as possible after backup step is performed.
30+
====
31+
32+
== Validate branch objects were created for migrated branches
33+
34+
Backup/migration step will create new Saltboot objects:
35+
36+
- [literal]``Saltboot Group`` formula with settings from the original formulas is assigned to the branch group.
37+
- New cobbler profile is created for the branch group:
38+
+
39+
[code]
40+
====
41+
# mgrctl exec -- cobbler profile report --name $branchid:S:$orgid:$orgname
42+
====
43+
- New cobbler systems are created for all assigned terminals:
44+
+
45+
[code]
46+
====
47+
# mgrctl exec -- cobbler system find --kernel-options "MINION_ID_PREFIX=$branchid"
48+
====
49+
50+
== Migrate {productbranch} host
51+
52+
Create and use AutoYAST profiles to migrate or reinstall proxy host.
53+
54+
=== Prepare autoinstallation distribution based on {sles} 15 SP7
55+
56+
- Download or obtain {sles} 15 SP7 installation ISO to the server host
57+
- Use [literal]``mgradm distribution copy $path_to_the_iso`` to copy installation files to the container
58+
- Register the autoinstallation distribution, see see xref:client-configuration:autoinst-distributions.adoc[].
59+
60+
=== Prepare autoinstallation profile
61+
62+
For more information, see xref:client-configuration:autoinst-profiles.adoc[].
63+
64+
- Create an autoinstallation profile based previously created distribution.
65+
As a profile use profile provided at https://github.com/SUSE/manager-build-profiles/blob/master/AutoYaST/SUSE%20Multi-Linux%20Manager%20Proxy/MLM_RBS-51-SLES-Upgrade.xml
66+
- Once profile is created, switch to [menuitem]``Variables`` tab and fill in required variables:
67+
+
68+
[code]
69+
====
70+
org='organization_id'
71+
distrotree='autoinstallation_distribution_label_from_previous_step'
72+
channel_prefix='clm_channel_prefix' or blank for SCC channels
73+
registration_key='activation_key_for_post_upgrade'
74+
====
75+
- In tab [menuitem]``Autoinstallation File`` you can see complete rendered profile for additional inspection
76+
77+
=== Provision autoinstallation of the proxy
78+
79+
Schedule an autoinstallation on the old {susemgr} Branch Server 4.3 using the profile created in previous step.
80+
81+
- Use Web UI interface [menuitem]``Provisioning`` tab at the [menuitem]``System`` view of migrating branch server
82+
// TODO add API call option
83+
84+
== Validate proxy functionality
85+
86+
After migration is finished and salt is started first time, backed up proxy configuration is automatically deployed during [literal]``Hardware refresh`` step.
87+
88+
After finishing all onboarding steps, validate required proxy functionality

modules/retail/pages/retail-components.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ You can use default settings for formulas, or edit them to make them more specif
9292

9393
For more information about formulas, see xref:retail:retail-formulas-intro.adoc[].
9494

95+
=== Cobbler
9596

97+
{productname} {smr} uses Cobbler to manage and prepare boot configuration for the POS terminals.
9698

9799
=== {saltboot}
98100

modules/retail/pages/retail-install-setup.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ After POS image is successfully built and inspected by {productname}, you can va
5959
----
6060
mgrctl exec cobbler distro list
6161
----
62-
. Your POS image should be listed with organization number before image name
62+
. Your POS image should be listed with an organization name appended after it.
6363

6464
== Branch Identification
6565

66-
For every branch server choose [systemitem]``branch id``.
66+
For every branch server choose its [systemitem]``branch id``.
6767

6868
As a [systemitem]``branch id`` select any alphanumerical string with up to 64 characters.
6969

@@ -94,7 +94,7 @@ Navigate to menu:Systems[System Groups] and click btn:[Create System Group].
9494

9595
For more information about system groups, see xref:reference:systems/system-groups.adoc[].
9696

97-
During terminal bootstrap terminal automatically joins:
97+
During terminal bootstrap, terminal automatically joins:
9898

9999
- branch system group based on received [systemitem]``branch_id``. This will make branch group formulas available to the terminal.
100100
- HWType group based on SMBios information received from terminal. This will make {saltboot} partitioning pillar available to the terminal.
@@ -156,7 +156,7 @@ For this to work [systemitem]``DHCP`` service for the network terminal is connec
156156
next-server <IP address of branch server proxy>;
157157
}
158158
else {
159-
filename "pxelinux.0";
159+
filename "grub/grub.0";
160160
next-server <IP address of branch server proxy>;
161161
}
162162
}

modules/retail/pages/retail-network-arch.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ In this configuration, external routers provide DHCP and DNS services to the bra
5151
image::retail_external_network.png[scaledwidth=60%]
5252

5353

54-
=== Dedicated Network Architecture (using 4.3 branch server)
54+
=== Dedicated Network Architecture
5555
The branch servers are in the same network as the {productname} Server, and terminals use an isolated branch network.
5656
In this configuration, the branch servers are in the corporate network, and provide all DHCP, DNS, PXE, HTTP and TFTP services to the terminals in the branch networks.
5757

0 commit comments

Comments
 (0)