Installation/Setup (Production system)
Install the main server
- Install the orthos2 package:
$ zypper install orthos2
- Enter the correct server name to the nginx server conf:
In
/etc/nginx/conf.d/orthos2_nginx.confreplace127.0.0.1in theserver_namedirective with the fqdn of the orthos2 server
Deploy code to database
orthos-admin migrate
Install fixtures (push data to database; optional):
In case you want to load data from another orthos instance where you previously dumped data tables:
orthos-admin loaddata "dump.json"
- Create a superuser
orthos-admin createsuperuser
- Create html files from templates
orthos-admin collectstatic
- start all services
systemctl enable --now nginx systemctl enable --now orthos2.service systemctl enable --now orthos2_taskmanager
Setup a Cobbler Server
Setting up a Cobbler server is important to be able to manage the DHCP and DNS of a network. Power operations of systems are managed through Cobbler as well.
Install Cobbler:
zypper in cobblerModify the following settings and adjust them to your network:
bind_mastermanage_dhcpmanage_dhcp_v4manage_dhcp_v6manage_dnsmanage_forward_zonesmanage_reverse_zonesmanage_tftpdnext_server_v4next_server_v6scm_track_*server
Start the Cobbler server:
systemctl enable --now cobblerdGenerate the networked bootloaders:
cobbler mkloadersRun an initial synchronization:
cobbler sync
Note
How you manage the Cobbler Distros and Profiles to make them available is specifc to your Orthos 2 instance. SUSE is using the Cobbler Terraform Provider along with an internal GitLab CI pipeline to provision Cobbler Distros and Profiles.
Optional: Setup cscreen server
The Domain feature of “cscreen” server (github.com/openSUSE/cscreen) requires the manual setup of a cscreen server. Follow these steps to ensure that Orthos can regenerate the configuration:
Install cscreen (openSUSE
zypper in cscreen)Install the cscreen sudoers configuration .. code-block:
%_cscreen ALL= NOPASSWD: /usr/bin/systemctl restart cscreend.service
Setup passwordless SSH keys between the
orthos(Orthos server) to the_cscreenuser (console server).Enable and start the systemd service for cscreen
systemctl enable --now cscreend.service