Installieren
Instanz erstellen
- Melden Sie sich bei Compute Cloud@Customer oder Private Cloud Appliance in Ihrem Mandanten an.
- Klicken Sie im Dashboard auf Compute.
- Erstellen Sie eine neue Instanz.
- Führen Sie im Fenster Instanz erstellen die folgenden Schritte aus:
- Geben Sie einen Instanznamen ein.
- Wählen Sie ein entsprechendes Compartment mit Zugriff auf die Endpunkte aus.
- Wählen Sie im Abschnitt Quellimage den Quelltyp als Plattformimage aus.
- Wählen Sie in der Dropdown-Liste der Spalte BS-Version in der Zeile des Oracle Linux-Betriebssystems die Option 7,9 aus.
- Stellen Sie die VM als flexible Ausprägung mit 4 CPUs, 48 GB Arbeitsspeicher und einer Boot-Volume-Größe von 150 GB bereit.
- Schalten Sie das Netzwerk ein, und stellen Sie es bereit, sodass die VM vollständigen Zugriff auf beide Endpunktnetzwerke hat. In unserem Fall handelt es sich um ein externes Netzwerk in einem gemeinsamen Internetgateway-VCN, und wir fordern die Zuweisung einer öffentlichen IP an.
- Nachdem Sie das Networking bereitgestellt haben, geben Sie einen Hostnamen an, laden Sie die Public Keys für
ssh
hoch, und erstellen Sie die Instanz. - Nachdem das Provisioning der Instanz abgeschlossen ist und als
Running
markiert ist, melden Sie sich mitssh
an, laden Sie RMM herunter, und konfigurieren Sie sie.Hinweis:
Fügen Sie dem RMM-Server ein Block-Volume zur temporären Speicherung hinzu. Erstellen Sie in diesem Beispiel eine 1 TB-Blockspeichereinheit, und hängen Sie sie an. - Nachdem das Volume erstellt und bereitgestellt wurde, ordnen Sie es der Instanz zu. Sie müssen ihn nicht mounten.
RMM installieren
Sie können RMM unter Oracle Linux 7.9 installieren. Sie können es jedoch auf jedem RHEL-basierten 7 ausführen. X-Instanz. Sie müssen zuerst eine Oracle Linux 7.9-Instanz auf Compute Cloud@Customer erstellen.
Führen Sie die folgenden Schritte aus, um RMM zu installieren:
- Melden Sie sich an, sobald die VM hochgefahren und gestartet ist.
- Laden Sie die Installationsprogrammdatei im Format
rackware-<VERSION>-x86_64.sh
herunter. Stellen Sie sicher, dass diese Datei die Ausführung zulässt. Wenn nicht, ändern Sie sie mitchmod 755
. Auf Plattformen, auf denen solche Angebote nicht verfügbar sind, stellt Rackware eine Installationsdatei bereit.[opc@rmm ~]$ scp myself@source.example.com:/nfs/rackware/rackware-v7.4.3.17-x86_64.sh . myself@source.example.com's password: rackware-v7.4.3.17-x86_64.sh 100% 5409MB 40.2MB/s 02:14 [opc@rmm ~]$ ls -l rackware-v7.4.3.17-x86_64.sh -rwxr-xr-x. 1 opc opc 5671832853 Dec 17 22:04 rackware-v7.4.3.17-x86_64.sh [opc@rmm ~]$ chmod 755 !$ chmod 755 rackware-v7.4.3.17-x86_64.sh [opc@rmm ~]$ ls -l total 5538900 -rwxr-xr-x. 1 opc opc 5671832853 Dec 17 22:04 rackware-v7.4.3.17-x86_64.sh [opc@rmm ~]$
- Führen Sie das Installationsprogramm aus, indem Sie als Benutzer
root
den folgenden Befehl ausführen:root@ovh-rmm01:[~]# ./rackware-<VERSION>-x86_64.sh Verifying archive integrity...
- Sie können die EULA und die Microsoft-Lizenzen lesen und akzeptieren, indem Sie Ja eingeben.Die RMM-Software ist von verschiedenen Bibliotheken und Dienstprogrammen abhängig. Das Installationsprogramm prüft diese Abhängigkeiten und installiert alle fehlenden automatisch. Die einfachste und sicherste Option, um sicherzustellen, dass sich alle richtigen Pakete auf dem Server befinden, besteht darin, vor dem Ausführen des Installationsprogramms temporären Zugriff auf das Internet für den Server zu haben. Insbesondere sollten die Ports 80 und 443 in abgehender Richtung auf RMM und Firewalls geöffnet sein. Dieser Schritt verwendet den Standardmanager für Distributionspakete und erfordert Internetzugang.
Der Internetzugriff kann sofort nach der Installation deaktiviert werden.
[opc@rmm ~]$ sudo -s [root@rmm opc]# ./rackware-v7.4.3.17-x86_64.sh Verifying archive integrity... All good. Uncompressing RackWare Software Package........... You must accept the terms of the license agreement to install and use this software. END-USER LICENSE AGREEMENT FOR RACKWARE. <some text deleted for clarity> upon you in addition to the terms of this EULA or any other agreement you have with RackWare. Please type 'yes' then [enter] to accept the terms of the license agreement, or simply press [enter] to abort installation. Enter your acceptance: yes Beginning installation ... You must accept the terms of the license agreement to install and use this software. MICROSOFT SOFTWARE LICENSE TERMS <deleted for clarity> Please type 'yes' then [enter] to accept the terms of the license agreement, or simply press [enter] to abort installation. Enter your acceptance: yes Beginning installation ... Checking the free space under /opt...Done Checking the free space under /srv...Done Checking the free space under /tmp...Done Installing RackWare Software Package. Please wait this may take several minutes . . .
- Befolgen Sie die Prompts mit den Standardwerten yes.
perl-CGI
EPEL package installation
Modify iptables
- Laden Sie das automatische Provisioning von ISO für Linux vCenter herunter.
Download ISO for linux vcenter autoprovision (Y/N) [N]: Manually download iso for templateless autoprovisioning. Please download systemrescecd-x86-5.2.2.iso from: https://souceforge.net/projects/systemrescuecd/files/sysresccd-x86/5.2.2/systemrescuecd-x86-5.2.2iso/download and place it in /opt/iso/
Diese Datei ist erforderlich, wenn Linux-Rechner automatisch in einer vCenter bereitgestellt werden. Wenn Sie RMM für das automatische Provisioning von Linux-Rechnern in einer vCenter verwenden möchten, antworten Sie mit Y. Übernehmen Sie die Standardeinstellung N.
- Log Rotate verwaltet die Synchronisierungsjoblogs für eine festgelegte Anzahl von Tagen. Der Standardwert ist 15 Tage, kann jedoch je nach Länge des Projekts festgelegt werden.
Configuring iscsi target Warning: Could not load preferences file /root/.targetcli/prefs.bin. Parameter auto_save_on_exit is now 'false'. Configure: iscsitarget: Done. Configuring logrotate Number of days log files are retained [15]? [15]:
- Wenn Sie das RMM-Hub-Feature nicht verwenden, akzeptieren Sie den Standardwert N für diese Eingabeaufforderung.
- Wenn Sie zur Eingabe des RMM-GUI-Typs aufgefordert werden, wählen Sie [L] (Standard) für RMM Lite aus.Geben Sie ein Kennwort für den Benutzer
admin
ein, das der Standardbenutzer für die GUI ist, und bestätigen Sie es.Select GUI type: RackWare Management Module [R] RMM Lite [L] Hybrid Cloud Management Platform [H] Self Service Portal (Softlayer) [S] Self Service Portal (Azure) [Z] [L]: L Installed RMM Lite GUI. Creating mainbox file: File exists Changing passowrd for user admin. New passwork: Retype new password: passwd: allauthentication tokens updated successfully. Configuring http web servicer Changing permission of /opt/rackware/www/cgi-bin/ to executable Saving original config Generating a 2048 bit RSA private key …...+++ ….….….….….….….….…....+++ writing new private key to '/opt/rackware/www/certificates/RackWare_SSL.key' –--- Note: Forwarding request to 'systemctl enable httpd.service'. Stopping: httpd … Done. * stopped: httpd Starting: httpd … Done. * running: httpd[199979] Configure: httpd: Done.
- RMM fordert Benutzer auf, eine Passphrase einzugeben, um die integrierte CMDB mit 128-Bit-AES zu verschlüsseln.
Changing password for user admin. New password: Retype new password: passwd: all authentication tokens updated successfully. Please enter your secret passphrase. This passphrase will be used to encrypt all sensitive information stored in the cmdb. Please re-enter your secret passphrase for validation.
- Konfigurieren eines Speicher-Pools mit ZFS. Rackware verwendet unformatierte oder nicht partitionierte Blockgeräte, die an RMM angeschlossen sind, um seinen Speicherpool mit ZFS zu konfigurieren. Der RMM-Speicherpool mit ZFS kann jederzeit mit dem Befehl
rwadm zfs configure
neu konfiguriert werden.ZFS is currently not installed on this system Proceeding with ZFS installation... Configuring ZFS compression RMM... Installing ZFS packages, please be patient as this may take a while... <intermediate text deleted for clarity> Existing devices in the system which can be added to RMM Storage Pool are: ===================================================================== | EXISTING DEVICES | ===================================================================== /dev/sda (in-use) /dev/sda1 (in-use) /dev/sda2 (in-use) /dev/sda3 (in-use) /dev/sdb (free) ===================================================================== Please make sure you have all below criteria met before continuing further: * You have at least one disk/partition/volume free which can be added to RMM storage pool/volume. * Old images WILL NOT have Sync Backup and Data Retention features. User will have to re-capture images to avail those features. [A]dd disks, [R]emove disks or [F]inished [F]: A You have 3 chance(s) to enter a valid device. Check by executing "parted -l" Warning: Device will get formatted after adding to RMM Storage pool. Enter device name/path to be configured as RMM Storage pool. [ONE AT A TIME]: /dev/sdb ===================================================================== Please make sure you have all below criteria met before continuing further: <Intermediate text deleted for clarity> Final Configuration: ===================================================================== | RMM STORAGE POOL | ===================================================================== Pool Name : "rwzpool" Total Size : 1016G Pool Free : 1016G RMM Storage Pool Compression Algorithm: "lz4" ===================================================================== Configuring samba service... Note: Forwarding request to 'systemctl enable smb.service'. Created symlink from /etc/systemd/system/multi-user.target.wants/smb.service to /usr/lib/systemd/system/smb.service. Note: Forwarding request to 'systemctl enable nmb.service'. Created symlink from /etc/systemd/system/multi-user.target.wants/nmb.service to /usr/lib/systemd/system/nmb.service.
Hinweis:
Der RMM-Speicherpool mit ZFS kann jederzeit mit dem Befehlrwadm zfs configure
neu konfiguriert werden. - Konfigurieren Sie Netzwerkschnittstellen, wenn Sie zur Eingabe der Schnittstellen aufgefordert werden, auf denen RMM horcht. Fügen Sie jede der Schnittstellen hinzu, die RMM zur Kommunikation mit den Quellhosts verwendet.
Configuring Rackware Management Module (rmm) Done. Configure: rmm: configure listening interfaces: Available: ens3 Selected: none [A]dd, [R]emove interfaces for rmm to listen on, or [F]inished [F]:A Enter interface name, or 'all' [all]: all Available: ens3 Selected: ens3 [A]dd, [R]emove interfaces for rmm to listen on, or [F]inished [F]: F Configure: rmm: listening on: ens3 :: 172.20.0.48
- Nach Abschluss der Netzwerkkonfiguration konfigurieren Sie NTP. OCI, Compute Cloud@Customer und die Private Cloud Appliance X9-2 haben NTP-Services unter IP-Adresse 169.254.169.254 integriert. Dieser Service ist redundant, sodass Sie nur den einzelnen NTP-Server einrichten müssen. Wenn Sie NTP-Dienste in Ihrem Rechenzentrum nutzen möchten, können Sie diese hier bereitstellen. Damit das RMM ordnungsgemäß erstellt wird, muss das RMM Zugriff auf einen NTP-Server haben, es sei denn, eine professionelle Servicelizenz ist installiert. Der Standardwert N für diese Eingabeaufforderung bedeutet, dass das RMM als NTP-Server den Standardwert
pool.ntp.org
verwendet. Wenn Sie den NTP-Server konfigurieren (geben Sie an der Eingabeaufforderung Y ein), müssen Sie auch den Namen des NTP-Servers angeben, den RMM verwenden soll. Wenn der von RMM verwendete NTP-Server von RMM aus nicht erreichbar ist, wird die Lizenz von RMM vorübergehend deaktiviert, und RMM wird nicht angezeigt.Do you want to configure NTP SERVER? This can be skipped in case of PS License type [N]: Y RMM requires to communicate with the NTP Server to sync system time. Anytime RMM cannot access the NTP Server, the license would be invalidated. For that either some NTP daemon needs to be configured or NTP Server needs to be provided here. Do you want to setup custom NTP Server? Default is pool.ntp.org and requires internet access (Y/N) [N]: Y Enter NTP Server [pool.ntp.org]: 169.254.169.254 Configure : rmm: configure NAT IPs for the rmm host: Configured: none [A]dd, [R]emove NAT IP, or [F]inished [F]: F
Hinweis:
Es ist üblich, immer einen, drei oder mehr NTP-Server bereitzustellen, niemals nur zwei. - In der nächsten Eingabeaufforderung wird gefragt, ob eine NAT-IP hinzugefügt werden muss. Sofern nicht anderweitig von Rackware angewiesen, übernehmen Sie den Standardwert [F].
Configure : rmm: configure NAT IPs for the rmm host: Configured: none [A]dd, [R]emove NAT IP, or [F]inished [F]: F Creating sudoers file for GUI. Stopping: rmm ... Done. * stopped: rmm License not found in /etc/rackware/. Generating the preinstall file PreInstall file generated at /etc/rackware/rwlicense_preinstall_1702860496. Please email this file to licensing@rackwareinc.com to get the license. Configure: rmm: creating default options file ... Done. Configure: rmm: Done. WARNING: No license file found for rmm. Cannot start RMM Process. Skipping loopback device limit configuration ... Configure: systemd/journal: Done. Configure: SSL configurations... SSL configuration complete. Reboot required for changes to take effect. Do you want to reboot now [Y/n]? [Y]:
- Starten Sie den Server nach der Installation neu, damit die Installation abgeschlossen ist.
Post installation, the server will need to be rebooted once for the installation to complete. Enter Y and wait for the system to reboot. Do you want to reboot now [Y/n]? [Y]: Shutdown scheduled for Mon 2023-12-18 00:51:15 GMT, use 'shutdown -c' to cancel. Broadcast message from root@rmm (Mon 2023-12-18 00:50:15 GMT): Rebooting... The system is going down for reboot at Mon 2023-12-18 00:51:15 GMT! [root@rmm opc]#
RMM-Lizenz angeben
Der RMM-Service wird erst gestartet, wenn eine gültige Lizenz unter /etc/rackware
erteilt wurde.
- Bei einer Neuinstallation werden folgende Meldungen angezeigt:
License not found in /etc/rackware/. Generating the preinstall file. Preinstall file generated at /etc/rackware/rwlicense_preinstall_xxxxxxxx. Please email this file to licensing@rackwareinc.com to get the license.
- Legen Sie die Lizenzdatei nach Erhalt der Lizenz von Rackware unter
/etc/rackware
ab. - Sie können jetzt
'** rwadm start rackware'**
ausführen.