How to configure an Admin and Branch server for SLEPOS 11 SP3

First of all, you can use my SLEPOS scripts located at suse-toolbox (the ones starting with slepos) to perform the tasks described here without typing all these commands and in a easier way.

You should replace the parameters to the commands options with values you see fit. In this example, I use:

Configure Admin server

posInitAdminserver
posAdmin --query

Configure Branch server

Run posAdmin commands on the Admin server.

posAdmin --base o=myorg,c=ar --add --organizationalUnit --ou myou --description 'My description'
posAdmin --base cn=mybranch,ou=myou,o=myorg,c=ar --add --scServerContainer --cn server
posAdmin --base cn=server,cn=mybranch,ou=myou,o=myorg,c=ar --add --scBranchServer --cn bs
posAdmin --base cn=bs,cn=server,cn=mybranch,ou=myou,o=myorg,c=ar --add --scNetworkcard \
--scDevice eth0 --ipHostNumber 10.0.0.1

Note: 10.0.0.1 is Branch Server’s IP address.

posAdmin \
--base cn=bs,cn=server,cn=mybranch,ou=myou,o=myorg,c=ar \
--add --scService --cn dns --ipHostNumber 10.0.0.1 \
--scDnsName dns --scServiceName dns --scServiceStartScript named \
--scServiceStatus TRUE
posAdmin \
--base cn=bs,cn=server,cn=mybranch,ou=myou,o=myorg,c=ar \
--add --scService --cn dhcp --ipHostNumber 10.0.0.1 \
--scDnsName dhcp --scServiceName dhcp \
--scDhcpDynLeaseTime 300 --scDhcpFixedLeaseTime 14400 \
--scServiceStartScript dhcpd --scServiceStatus TRUE
posAdmin \
--base cn=bs,cn=server,cn=mybranch,ou=myou,o=myorg,c=ar \
--add --scService --cn tftp --ipHostNumber 10.0.0.1 \
--scDnsName tftp --scServiceName tftp \
--scServiceStartScript atftpd --scServiceStatus TRUE
posAdmin \
--base cn=bs,cn=server,cn=mybranch,ou=myou,o=myorg,c=ar \
--add --scService --cn posaswatch --ipHostNumber 10.0.0.1 \
--scDnsName posaswatch --scServiceName posASWatch \
--scServiceStartScript posASWatch --scServiceStatus TRUE
posAdmin \
--base cn=bs,cn=server,cn=mybranch,ou=myou,o=myorg,c=ar \
--add --scService --cn posleases --scDnsName posleases \
--ipHostNumber 10.0.0.1 --scServiceName posleases \
--scPosleasesTimeout 10 --scPosleasesChecktime 30 \
--scPosleasesMaxNotify 6 --scServiceStartScript posleases2ldap \
--scServiceStatus TRUE

Add a cash register

You can add a cash register object to LDAP in legacy mode or using roles.

Add POS Image object

registerImages --delta GraphicalImage.i686-3.1.5 --ldap /var/lib/SLEPOS/system/images/GraphicalImage-3.1.6/GraphicalImage.i686-3.1.6

Configure Branch Server - Manual installation

posInitBranchServer
possyncimages

Setup branch server image for offline installation

posAdmin --base cn=mybranch,ou=myou,o=myorg,c=ar --generate

OIF file is generated under /usr/share/SLEPOS/OIF. Example:

/usr/share/SLEPOS/OIF/mybranch.myou.myorg.ar.tgz

HOWTOs

Note: Always run posAdmin commands on the admin server.

posAdmin --remove --DN cn=cr-default,cn=global,o=myorg,c=ar
posInitBranchServer --chpasswd
kiwi --createpassword

linux32 kiwi –prepare ./graphical-default –root ./chroot/graphical-default linux32 kiwi –create ./chroot/graphical-default –destdir ./images/graphical-default ``` Also download the 32-bit repositories with the Subscription Management Tool (SMT) and update the config.xml file to reference them.