Installare

Creare un'istanza RMM per installare RMM e quindi fornire le informazioni sulla licenza. Il software RMM viene eseguito su qualsiasi sistema operativo Linux 7.x basato su RHEL. RMM ha elenchi di marketplace su cloud importanti come OCI in cui puoi distribuire l'istanza con un solo clic.

Creare un'istanza

Per creare un'istanza RMM, effettuare le operazioni riportate di seguito.
  1. Esegui il login a Compute Cloud@Customer o Private Cloud Appliance nella tua tenancy.
  2. Nel dashboard, fare clic su Computazione.
  3. Creare una nuova istanza.
  4. Nella finestra Crea istanza, effettuare le operazioni riportate di seguito.
    1. Immettere un nome istanza.
    2. Selezionare un compartimento appropriato con accesso agli endpoint.
    3. Nella sezione Immagine di origine, selezionare Tipo di origine come Immagine piattaforma.
    4. Nell'elenco a discesa della colonna Versione sistema operativo, nella riga del sistema operativo Oracle Linux, selezionare 7.9.
  5. Eseguire il provisioning della VM come forma flessibile con 4 CPU, 48 GB di memoria e una dimensione del volume di avvio di 150 GB.
  6. Accedere ed eseguire il provisioning della rete in modo che la VM disponga dell'accesso completo a entrambe le reti di endpoint. Nel nostro caso, si tratta di una rete esterna su una VCN del gateway Internet condiviso e chiediamo l'assegnazione di un IP rivolto al pubblico.
  7. Una volta eseguito il provisioning della rete, fornire un nomehost, caricare le chiavi pubbliche per ssh e creare l'istanza.
  8. Una volta completato il provisioning dell'istanza e contrassegnato come Running, eseguire il login utilizzando ssh, scaricare e configurare RMM.

    Nota

    Aggiungere un volume a blocchi al server RMM per lo storage temporaneo. Per questo esempio, creare e collegare un'unità di storage a blocchi da 1 TB.
  9. Una volta creato ed eseguito il provisioning del volume, collegarlo all'istanza. Non è necessario installarlo.

Installa RMM

L'installazione di RMM su un'installazione esistente è supportata ed è il meccanismo di installazione di una nuova versione. In questo caso ci sarà un CMDB esistente, e per impostazione predefinita il processo di installazione conserva tali informazioni. Dopo l'installazione, tutte le risorse esistenti continuano a risiedere nel CMDB.

È possibile installare RMM su Oracle Linux 7.9. Tuttavia, è possibile eseguirlo su qualsiasi RHEL-based 7. istanza X. È innanzitutto necessario creare un'istanza di Oracle Linux 7.9 in Compute Cloud@Customer.

Per installare RMM, effettuare le operazioni riportate di seguito.

  1. Una volta che la VM è attiva e in esecuzione, effettua il login.
  2. Scaricare il file del programma di installazione con il formato rackware-<VERSION>-x86_64.sh. Assicurarsi che questo file consenta l'esecuzione. In caso contrario, modificarlo utilizzando chmod 755. Nelle piattaforme in cui tali elenchi non sono disponibili, Rackware fornisce un file di installazione.
    [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 ~]$
  3. Eseguire il programma di installazione eseguendo il seguente comando come utente root:
    root@ovh-rmm01:[~]# ./rackware-<VERSION>-x86_64.sh
    Verifying archive integrity...
  4. Leggere e accettare l'accordo di licenza EULA e le licenze Microsoft immettendo .
    Il software RMM dipende da varie librerie e utility. Il programma di installazione verifica la presenza di queste dipendenze e installa automaticamente le dipendenze mancanti. L'opzione più semplice e sicura per garantire che tutti i pacchetti corretti siano sul server è quella di avere accesso temporaneo a Internet per il server prima di eseguire il programma di installazione. In particolare, le porte 80 e 443 devono essere aperte in direzione di uscita su RMM e su qualsiasi firewall. Questo passo utilizza il gestore di pacchetti di distribuzione standard e richiede l'accesso a Internet.

    L'accesso a Internet può essere disabilitato immediatamente dopo l'installazione.

    [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 . . .
  5. Rispondere ai prompt con i valori predefiniti, .
    1. perl-CGI
    2. EPEL package installation
    3. Modify iptables
  6. Scarica ISO per il provisioning automatico di Linux vCenter.
    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/

    Questo file è necessario quando si esegue il provisioning automatico dei computer Linux in un file vCenter. Se si prevede di utilizzare RMM per eseguire il provisioning automatico dei computer Linux in un file vCenter, rispondere Y. Altrimenti, accettare il valore predefinito N.

  7. Log Rotate gestisce i log dei job di sincronizzazione per un determinato numero di giorni. L'impostazione predefinita è 15 giorni, ma può essere impostata in base alla lunghezza del progetto.
    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]:
  8. A meno che non si utilizzi la funzione RMM-Hub, accettare il valore predefinito N per questo prompt.
  9. Quando viene richiesto il tipo di GUI RMM, selezionare [L] (predefinito) per RMM Lite.
    Immettere e confermare una password per l'utente admin, che è l'utente predefinito per la GUI.
    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.
  10. RMM richiede agli utenti di immettere una passphrase per cifrare il CMDB integrato utilizzando l'AES a 128 bit.
    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.
  11. Configurare un pool di memorizzazione utilizzando ZFS. Rackware utilizza dispositivi a blocchi non formattati o non partizionati collegati a RMM per configurare il pool di memorizzazione utilizzando ZFS. Il pool di memorizzazione RMM che utilizza ZFS può essere riconfigurato in qualsiasi momento utilizzando il comando rwadm zfs configure.
    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.

    Nota

    Il pool di memorizzazione RMM che utilizza ZFS può essere riconfigurato in qualsiasi momento utilizzando il comando rwadm zfs configure.
  12. Configurare le interfacce di rete quando viene richiesto di specificare le interfacce in cui RMM è in ascolto, aggiungere ciascuna delle interfacce utilizzate da RMM per comunicare con gli host di origine.
    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
  13. Una volta completata la configurazione di rete, configurare NTP. OCI, Compute Cloud@Customer e Private Cloud Appliance X9-2 hanno integrato servizi NTP all'indirizzo IP 169.254.169.254. Poiché questo servizio è ridondante, è necessario impostare solo il singolo server NTP. Se desideri utilizzare i servizi NTP all'interno del tuo data center, puoi fornirli qui. Affinché l'RMM venga installato correttamente, l'RMM deve avere accesso a un server NTP, a meno che non sia installata una licenza per i servizi professionali. Il valore predefinito N per questo prompt indica che RMM utilizzerà come server NTP l'impostazione predefinita pool.ntp.org. Se si sceglie di configurare il server NTP (immettere Y al prompt), è necessario fornire anche il nome del server NTP da utilizzare con RMM. Se il server NTP utilizzato da RMM non è raggiungibile da RMM, la licenza RMM verrà temporaneamente disabilitata e RMM non verrà attivata.
    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

    Nota

    È prassi comune fornire sempre uno, tre o più server NTP, mai solo due.
  14. Il prompt successivo chiede se è necessario aggiungere un IP NAT. Se non diversamente specificato da Rackware, accettare il valore predefinito [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]:
  15. Dopo l'installazione, effettuare il reboot del server per completare l'installazione.
    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]#

Fornisci licenza RMM

Il servizio RMM non inizia fino a quando non viene rilasciata una licenza valida sotto /etc/rackware.

  1. Per un'installazione iniziale, vengono visualizzati i messaggi indicati di seguito.
    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.
  2. Dopo aver ricevuto la licenza da Rackware, inserire il file di licenza in /etc/rackware.
  3. Ora è possibile eseguire '** rwadm start rackware'**.