Set Up the SUSE Manager for Retail Environment with shared network between terminals, branch servers and SUSE Manager
To set up the SUSE Manager for Retail environment, you will need to have already installed and configured:
-
SUSE Manager for Retail Server
-
one or more SUSE Manager for Retail branch server proxies
-
one or more POS images built
1. Assumptions
This guide works only with non-containerized SUSE Manager for Retail branch proxy 4.3 |
In this example we consider architecture with shared network between POS terminals, branch server and SUSE Manager where branch server provides only PXE configuration and images.
In this example we provide salt
on kernel command line option and ftp
in pillar for Saltboot service discovery.
We assume to have one regular branch server with salt minion id branch1.mystore.com
, which is equal to the branch server fully qualified domain name, and branch id B0001
.
As a terminal we assume to have one terminal with hardware manufacturer TerminalOEM
and model T1000
.
For POS image we assume to have one with name POS_Image_JeOS7
.
There is already existing external DHCP and DNS service. DHCP service is correctly configured to PXE boot from branch server.
2. Create required system groups
Follow guide システムグループ to create the system groups:
-
TERMINALS
-
HWType:TerminalOEM-T1000
-
B0001
First group is generic optional group for collecting all POS terminals. Second group is hardware type group for our POS terminal. Third group is mandatory branch group.s
For more information about Saltboot groups, see Set Up the SUSE Manager for Retail Environment.
3. Assign and configure formulas
We assign following formulas to the branch server:
-
Branch Network
-
Pxe
-
Tftpd
-
Select the
Formulas
tab for the systembranch1.mystore.com
-
You should see list of formulas in
Configuration
sub-tab -
In displayed list select
Branch Network
-
In displayed list select
Pxe
-
In displayed list select
Tftpd
-
Save assigned formulas by clicking Save in top right corner
-
Select Branch Network formula from branch server formula list
-
Unselect
Dedicated Nic
check-box because we are not using dedicated network -
Keep the rest with default values
-
In
Terminal Naming and Identification
section editBranch Identification
and set it to our branch idB0001
-
Save the formula
-
Select Pxe formula from branch server formula list
-
At the end of
Kernel Command Line Parameters
appendMASTER=branch1.mystore.com
-
Keep the rest with default values
-
Save the formula
-
Select Tftpd formula from branch server formula list
-
Set
Internal Network Address
to0.0.0.0
, this way tftp will be listening on any IPv4 -
Set
TFTP base directory
to/srv/saltboot
-
Save the formula
Next two formulas are group formulas. Make sure you are editing those formulas in their respective groups. Group formulas are visible as assigned also on system level, but editing them will create system specific setting instead of group setting. |
Assign Saltboot Group
formula to the B0001
group and Saltboot
formula to the HWType:TerminalOEM-T1000
group.
-
Navigate to
-
Select group
`B0001
, which is our branch group -
Select the
Formulas
tab once in group details -
You should see list of formulas in
Configuration
sub-tab -
In displayed list select
Saltboot Group
-
Save assigned formulas by clicking Save in the top right corner
-
Select Saltboot Group formula from
B0001
group formula list -
Set
Image download server
tobranch1.mystore.com
-
Unselect
Branch server is containerized proxy
because this is not containerized proxy -
Save the formula
-
Navigate to
-
Select group
HWType:TerminalOEM-T1000
, which is our hardware type group -
Select the
Formulas
tab once in group details -
You should see list of formulas in
Configuration
sub-tab -
In displayed list select
Saltboot
-
Save assigned formulas by clicking Save in top right corner
-
Select Saltboot formula from
HWType:TerminalOEM-T1000
group formula list -
Set
Disk Symbolic ID
toDisk1
-
Set
Device Type
toDISK
-
Set
Disk Device
to*
-
Set
Partition table type
togpt
-
Click + to add a partition
-
Set
Partition Symbolic ID
top1
-
Set
Partition Size (MiB)
to512
-
Set
Device Mount Point
to/boot/efi
-
Set
Filesystem Format
tovfat
-
Set
Partition Flags
toboot
-
-
Click + to add a partition
-
Set
Partition Symbolic ID
top2
-
Set
Device Mount Point
to/
-
Set
OS Image to Deploy
toPOS_Image_JeOS7
-
-
Save the formula
After all procedures are done, apply highstate on the branch server.
4. Synchronize images
After highstate is applied, we proceed with synchronizing images as usual with apply image-sync
state.
Terminal can now be started and will be automatically provisioned, pending salt key acceptance.