Skip to content

Commit 4ded668

Browse files
chore: update the setup guide
1 parent dc649b6 commit 4ded668

10 files changed

+150
-81
lines changed
44.4 KB
Loading
54.4 KB
Loading
210 KB
Loading
27.9 KB
Loading

images/setup_nextronInstaller.png

3.72 KB
Loading

images/setup_sc-backend.png

-15.6 KB
Binary file not shown.

images/setup_sc-backend_done.png

-5.67 KB
Binary file not shown.

images/setup_sc-frontend.png

-15.8 KB
Binary file not shown.

images/setup_sc-frontend_done.png

-5.46 KB
Binary file not shown.

setup/components.rst

+150-81
Original file line numberDiff line numberDiff line change
@@ -4,131 +4,200 @@ Installing the Components
44
=========================
55

66
This chapter will explain how to install the Security Center components
7-
on your server(s). We recommend to start with the Backend, though the
8-
order in which you install your components is not important.
7+
on your server(s). We recommend to start with the Backend, since the
8+
Frontend installation requires the configuration of the Backend.
99

1010
Please keep in mind that you can install the Frontend and Backend on
1111
two separate servers. For simplicity, we chose to install both services
12-
on the same server.
12+
on the same server. If you wish to install the Frontend and Backend on
13+
two separate servers, please see :ref:`setup/components:installing two seperate servers`.
1314

14-
If you also plan on installing both services on one server, make sure to
15-
remove the lock file and create a new motd-file after you installed your
16-
first service (Frontend or Backend). You can do this with the following
17-
commands:
15+
Install the ASGARD Security Center (All-in-one)
16+
-----------------------------------------------
1817

19-
.. code-block:: console
18+
The Nextron Universal Installer is a web based installer
19+
which will guide you through the installation of our
20+
ASGARD products. The Nextron Universal Installer will install
21+
**one** of the following products on your server (this manual
22+
focuses on the ``ASGARD Security Center (All-in-one)``):
2023

21-
nextron@security-center:~$ sudo rm /var/lib/nextron/installer/done
22-
nextron@security-center:~$ sudo touch /etc/update-motd.d/01-nextron-setup
24+
- ASGARD Management Center; alternatively if your license permits:
25+
26+
* ASGARD Broker
27+
* ASGARD Gatekeeper
28+
* ASGARD Lobby
2329

24-
.. warning::
25-
For the next steps internet connectivity is required.
30+
- ASGARD Analysis Cockpit; alternatively:
31+
32+
* Elasticsearch Cluster Node for ASGARD Analysis Cockpit
2633

27-
Installing the Security Center Backend
28-
--------------------------------------
34+
- ASGARD Security Center, in the following variants:
2935

30-
After the base installation of your server is completed, we can install the
31-
backend application. To do this, connect to the server via SSH or use your
32-
hypervisor's web console, and run the following command:
36+
* ASGARD Security Center (Backend Only)
37+
* ASGARD Security Center (Frontend Only)
38+
* ASGARD Security Center (All-in-one, unrecommended)
3339

34-
.. code-block:: console
40+
.. note::
41+
You can only install one product on one server, since the
42+
products are not designed to coexist on the same server.
43+
The exception being the ASGARD Security Center (All-in-one).
44+
45+
The installation takes roughly between 5-15 minutes, depending
46+
on your internet connection and the server you are installing
47+
the product on.
48+
49+
If you encounter problems during your installation, please see
50+
:ref:`setup/components:diagnostic pack` for further instructions.
3551

36-
nextron@security-center:~$ sudo nextronInstaller -seccenter-backend
52+
Requirements
53+
~~~~~~~~~~~~
3754

38-
.. figure:: ../images/setup_sc-backend.png
39-
:alt: Installing the Security Center Backend
55+
The installation of the ASGARD Management Center requires
56+
the following:
57+
58+
- A valid license file for the ASGARD Security Center
59+
- A configured FQDN (with some exceptions, see :ref:`setup/components:valid fqdn`)
60+
- Internet access during installation (see :ref:`setup/components:connectivity check`)
61+
- Every Server must have a valid and resolvable FQDN (see :ref:`setup/network:network configuration`)
62+
63+
Installation
64+
~~~~~~~~~~~~
65+
66+
After the ISO installer is finished with the setup,
67+
you will be greeted at the console login prompt with
68+
the following message:
69+
70+
.. figure:: ../images/setup_nextronInstaller.png
71+
:alt: Login prompt ASGARD Server
72+
73+
Follow the instructions and navigate to the webpage
74+
displayed on your console. You will most likely get
75+
a browser warning when you connect the first time to
76+
the page. This is due to the page using a self signed
77+
certificate, since it will only be used to install the
78+
ASGARD Security Center. You can safely ignore this
79+
warning and proceed to the page.
4080

41-
After the installation is done, you will see the following message:
81+
You will be greeted with a small introduction as to what
82+
the Nextron Universal Installer is and what it does. After
83+
you click ``Next``, you will be presented with the landing
84+
page of the Nextron Universal Installer.
4285

43-
.. figure:: ../images/setup_sc-backend_done.png
44-
:alt: Finished the Installation of Security Center Backend
86+
.. figure:: ../images/setup_nextronInstaller-landing.png
87+
:alt: landing page of the Universal Installer
4588

46-
You can now check if the service was installed successfully.
89+
Enter the Installation Code from the terminal and click
90+
``Next``. The Installer will now guide you through the
91+
installation.
4792

48-
.. code-block:: console
49-
50-
nextron@gatekeeper:~$ systemctl status securitycenter-model.service
51-
52-
The status of the service should be ``active (running)``.
93+
Connectivity Check
94+
~~~~~~~~~~~~~~~~~~
5395

54-
Installing the Security Center Frontend
55-
---------------------------------------
96+
The Nextron Universal Installer will try to connect to our
97+
update server in order to download all the necessary packages
98+
once the installation starts. Make sure you can reach the
99+
update servers (see :ref:`requirements/network:internet`).
56100

57-
After you have installed your Backend, we can install the frontend application.
58-
To do this, connect to the server via SSH or use your hypervisor's web console,
59-
and run the following command:
101+
Please configure your proxy settings if you are behind a
102+
proxy (see :ref:`setup/components:proxy and ntp settings`).
60103

61-
.. code-block:: console
104+
Valid FQDN
105+
~~~~~~~~~~
62106

63-
nextron@security-center:~$ sudo nextronInstaller -seccenter-frontend
107+
The Nextron Universal Installer will prompt you to verify the
108+
FQDN which you configured during the installation of the base
109+
system (see :ref:`setup/network:network configuration`). This
110+
is needed in order for your ASGARD Components to communicate via
111+
a HTTPs connection with each other. If there is a mismatch of
112+
FQDNs your components will not be able to communicate with each
113+
other.
64114

65-
.. figure:: ../images/setup_sc-frontend.png
66-
:alt: Installing the Security Center Backend
115+
If the displayed FQDN is not correct, you can change it by
116+
clicking on the ``View FQDN Change Instructions`` button.
117+
This will open a dialog with instructions on how to change
118+
the FQDN of your server. Once you have changed the FQDN,
119+
you can continue with the installation.
67120

68-
After the installation is done, you will see the following message:
121+
.. figure:: ../images/setup_nextronInstaller-fqdn.png
122+
:alt: FQDN Verification of the Universal Installer
69123

70-
.. figure:: ../images/setup_sc-frontend_done.png
71-
:alt: Finished the Installation of Security Center Backend
124+
Proxy and NTP Settings
125+
~~~~~~~~~~~~~~~~~~~~~~
72126

73-
You can now check if the service was installed successfully.
127+
If you need to configure a proxy or change the NTP settings
128+
of your system, you can do so by clicking on the ``Settings``
129+
button in the left menu of the Nextron Universal Installer.
74130

75-
.. code-block:: console
76-
77-
nextron@gatekeeper:~$ systemctl status securitycenter.service
131+
.. figure:: ../images/setup_nextronInstaller-settings.png
132+
:alt: Settings of the Universal Installer
78133

79-
You will see that the service is in a ``failed/exited`` state. This will
80-
change once we configured our Frontend. To do this, we can copy the the configuration
81-
for our Backend into the directory of our Frontend.
134+
If you configured a proxy during the ISO installation, those
135+
settings will be carried over into the Universal Installer.
136+
The settings will also be carried over into your ASGARD
137+
Security Center. The same goes for NTP.
82138

83-
On a single system installation, run the following command:
139+
Diagnostic Pack
140+
~~~~~~~~~~~~~~~
84141

85-
.. code-block:: console
142+
In case of errors or problems during the installation, you can
143+
download a diagnostic pack by navigating to the ``Diagnostics``
144+
tab in the left menu of the Nextron Universal Installer. Click
145+
on the ``Download Diagnostic Pack`` button to download the
146+
diagnostic pack. You can then send the diagnostic pack to our
147+
support team for further analysis.
86148

87-
nextron@security-center:~$ sudo cp /etc/nextron/securitycenter-model/model.config /etc/nextron/securitycenter/model.config
88-
nextron@security-center:~$ sudo chown securitycenter: /etc/nextron/securitycenter/model.config
149+
.. figure:: ../images/setup_nextronInstaller-diagnostics.png
150+
:alt: Diagnostics of the Universal Installer
89151

90-
On a multi system installation, you have to copy the model.config file
91-
from one server to another. You can use the built in tools of linux to
92-
accomplish this.
152+
Installing two seperate servers
153+
-------------------------------
93154

94-
After the file has been copied, make sure that the permissions are
95-
correctly set:
155+
If you wish to separate the Frontend and Backend of the ASGARD
156+
Security Center, you can do so by installing the Backend on one
157+
server and the Frontend on another server. Simply choose one of
158+
the options during the ``Select Product`` stage of the Nextron
159+
Universal Installer.
96160

97-
.. code-block:: console
161+
.. hint::
162+
You have to start with the installation of the Backend, since
163+
the Frontend needs the configuration of the Backend to work
164+
properly.
98165

99-
nextron@security-center:~$ sudo ls -l /etc/nextron/securitycenter/model.config
100-
-rw------- 1 securitycenter securitycenter 7587 Jul 19 10:15 /etc/nextron/securitycenter/model.config
166+
ASGARD Security Center (Backend Only)
167+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101168

102-
If somehow the permissions and owner are incorrect, use the following commands
103-
to fix the issue:
169+
After the Nextron Universal Installer finished the installation of
170+
the ASGARD Security Center Backend, you have to download the configuration
171+
file from it (``model.config``). You can do this by connecting to the
172+
server via SSH. The file can be found in the following directory:
104173

105-
.. code-block:: console
174+
``/etc/asgard-security-center-backend/model.config``
106175

107-
nextron@security-center:~$ sudo chmod 600 /etc/nextron/securitycenter/model.config
108-
nextron@security-center:~$ sudo chown securitycenter: /etc/nextron/securitycenter/model.config
176+
You can now start with the installation of the Frontend.
109177

110-
You can now restart the Security Center Frontend service:
178+
You can also check if the service of the Backend was installed successfully.
111179

112180
.. code-block:: console
181+
182+
nextron@gatekeeper:~$ systemctl status asgard-security-center-backend.service
183+
184+
The status of the service should be ``active (running)``.
113185

114-
nextron@security-center:~$ sudo systemctl restart securitycenter.service
115-
nextron@security-center:~$ sudo systemctl status securitycenter.service
116-
117-
If the status of the service is ``active (running)``, the installation is finished.
118-
119-
You can log into the frontend via ``https://<FQDN>`` and into the backend via
186+
The Backend is running on TCP port 8443. You can now log into the Backend via
120187
``https://<FQDN>:8443``.
121188

122-
Product Updates
123-
---------------
189+
ASGARD Security Center (Frontend Only)
190+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
124191

125-
Neither the frontend nor the backend feature an update option through
126-
the web based GUI. In order to update both products login to each
127-
product and type:
192+
During the installation of the ASGARD Security Center Frontend, you will
193+
be prompted to upload the configuration file of the Backend. Use the file
194+
(``model.config``) you downloaded earlier from the Backend. Once the installation
195+
is finished, you can check if the service was installed successfully.
128196

129197
.. code-block:: console
130198
131-
nextron@security-center:~$ sudo apt update && sudo apt dist-upgrade
199+
nextron@security-center:~$ systemctl status asgard-security-center-frontend.service
132200
133-
.. note::
134-
Make sure you always update both products at the same time
201+
If the status of the service is ``active (running)``, the installation is finished.
202+
203+
You can now log into the frontend via ``https://<FQDN>``.

0 commit comments

Comments
 (0)