설치

RMM 인스턴스를 생성하여 RMM을 설치한 다음 라이센스 정보를 제공합니다. RMM 소프트웨어는 RHEL 기반 7.x Linux 운영 체제에서 실행됩니다. RMM은 OCI와 같은 주요 클라우드에서 한 번의 클릭으로 인스턴스를 배포할 수 있는 마켓플레이스 목록을 제공합니다.

인스턴스 생성

다음 단계에 따라 RMM 인스턴스를 생성합니다.
  1. 테넌시에서 Compute Cloud@Customer 또는 Private Cloud Appliance에 로그인합니다.
  2. 대시보드에서 컴퓨트를 누릅니다.
  3. 새 인스턴스 생성.
  4. 인스턴스 생성 창에서 다음을 수행합니다.
    1. 인스턴스 이름을 입력하십시오.
    2. 끝점에 액세스할 수 있는 적절한 구획을 선택합니다.
    3. 소스 이미지 섹션에서 소스 유형플랫폼 이미지로 선택합니다.
    4. OS 버전 열의 드롭다운 목록에서 Oracle Linux 운영체제 행에 있는 7.9를 선택합니다.
  5. CPU 4개, 메모리 48GB 및 부팅 볼륨 크기가 150GB인 가변 구성으로 VM을 프로비전합니다.
  6. VM이 두 끝점 네트워크에 대한 전체 액세스 권한을 가지도록 네트워킹을 이동하고 프로비전합니다. 이 경우 공유 인터넷 게이트웨이 VCN의 외부 네트워크이며 공용 IP 할당을 요청합니다.
  7. 네트워킹을 프로비저닝하고 호스트 이름을 제공하고 ssh에 대한 공용 키를 업로드하고 인스턴스를 생성합니다.
  8. 인스턴스가 프로비저닝을 완료하고 Running로 표시되면 ssh를 사용하여 로그인하고 RMM을 다운로드 및 구성합니다.

    주:

    임시 저장을 위해 RMM 서버에 블록 볼륨을 추가합니다. 이 예에서는 1TB 블록 스토리지 장치를 만들고 연결합니다.
  9. 볼륨이 생성되고 프로비저닝되면 인스턴스에 연결합니다. 마운트할 필요가 없습니다.

RMM 설치

기존 설치를 통해 RMM 설치가 지원되며 새 버전 설치 방식입니다. 이 경우 기존 CMDB가 있으며 기본적으로 설치 프로세스는 해당 정보를 유지합니다. 설치 후에는 모든 기존 리소스가 CMDB에 계속 상주합니다.

Oracle Linux 7.9에 RMM을 설치할 수 있습니다. 그러나 RHEL 기반 7에서 실행할 수 있습니다. X 인스턴스 먼저 Compute Cloud@CustomerOracle Linux 7.9 인스턴스를 생성해야 합니다.

RMM을 설치하려면 다음과 같이 하십시오.

  1. VM이 작동되어 실행되면 로그인합니다.
  2. rackware-<VERSION>-x86_64.sh 형식의 설치 프로그램 파일을 다운로드합니다. 이 파일의 실행이 허용되는지 확인합니다. 그렇지 않은 경우 chmod 755를 사용하여 수정합니다. 이러한 목록을 사용할 수 없는 플랫폼에서는 Rackware가 설치 파일을 제공합니다.
    [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. root 사용자로 다음 명령을 실행하여 설치 프로그램을 실행합니다.
    root@ovh-rmm01:[~]# ./rackware-<VERSION>-x86_64.sh
    Verifying archive integrity...
  4. yes를 입력하여 EULA 및 Microsoft 라이센스를 읽고 동의합니다.
    RMM 소프트웨어는 다양한 라이브러리 및 유틸리티에 종속됩니다. 설치 프로그램은 이러한 종속성을 확인하고 누락된 항목을 자동으로 설치합니다. 모든 올바른 패키지가 서버에 있는지 확인하는 가장 간단하고 안전한 옵션은 설치 프로그램을 실행하기 전에 서버에 대한 인터넷에 임시로 액세스하는 것입니다. 특히 포트 80 및 443은 RMM 및 방화벽의 아웃바운드 방향으로 열려 있어야 합니다. 이 단계에서는 표준 배포 패키지 관리자를 사용하며 인터넷에 액세스해야 합니다.

    설치 후 즉시 인터넷 액세스를 비활성화할 수 있습니다.

    [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. 프롬프트에 기본값 yes로 응답합니다.
    1. perl-CGI
    2. EPEL package installation
    3. Modify iptables
  6. Linux용 ISO 다운로드 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/

    이 파일은 Linux 시스템을 vCenter로 자동 프로비전할 때 필요합니다. RMM을 사용하여 Linux 시스템을 vCenter에 자동 프로비저닝하려는 경우 Y로 응답합니다. 그렇지 않으면 기본값인 N을 그대로 사용합니다.

  7. Log Rotate는 설정된 일 수 동안 동기화 작업 로그를 유지 관리합니다. 기본값은 15일이지만 프로젝트 길이에 따라 설정할 수 있습니다.
    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. RMM-Hub 기능을 사용하지 않는 경우 이 프롬프트에 대해 기본값 N을 적용합니다.
  9. RMM GUI 유형을 묻는 메시지가 표시되면 RMM Lite에 대해 [L](기본값)을 선택합니다.
    admin 사용자에 대한 암호(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은 사용자에게 문장암호를 입력하여 128비트 AES를 사용하여 온보드 CMDB를 암호화하도록 요청합니다.
    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. ZFS를 사용하여 저장소 풀을 구성합니다. Rackware는 RMM에 연결된 포맷되지 않은 블록 장치 또는 분할되지 않은 블록 장치를 사용하여 ZFS를 사용하여 저장소 풀을 구성합니다. ZFS를 사용하는 RMM 저장소 풀은 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.

    주:

    ZFS를 사용하는 RMM 저장소 풀은 rwadm ZFS configure 명령을 사용하여 언제든지 재구성할 수 있습니다.
  12. RMM이 수신하는 인터페이스를 묻는 메시지가 표시되면 네트워크 인터페이스 구성, RMM이 소스 호스트와 통신하는 데 사용하는 각 인터페이스를 추가합니다.
    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. 네트워크 구성이 완료되면 NTP를 구성합니다. OCI, Compute Cloud@CustomerPrivate Cloud Appliance X9-2는 IP 주소 169.254.169.254에서 NTP 서비스를 내장했습니다. 이 서비스는 중복되므로 단일 NTP 서버만 설정하면 됩니다. 데이터 센터 내에서 NTP 서비스를 사용하려는 경우 여기에 제공할 수 있습니다. RMM이 제대로 작동하려면 전문 서비스 라이센스가 설치되지 않은 경우 RMM이 NTP 서버에 액세스할 수 있어야 합니다. 이 프롬프트에 대한 기본값인 N은 RMM이 NTP 서버로 기본값인 pool.ntp.org를 사용함을 의미합니다. NTP 서버를 구성하도록 선택한 경우(프롬프트에 Y 입력) RMM이 사용할 NTP 서버의 이름도 제공해야 합니다. RMM에서 사용 중인 NTP 서버에 연결할 수 없는 경우 RMM의 라이센스가 일시적으로 사용 안함으로 설정되고 RMM이 표시되지 않습니다.
    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

    주:

    항상 둘이 아닌 하나, 세 개 이상의 NTP 서버를 제공하는 것이 일반적입니다.
  14. 다음 프롬프트는 NAT IP를 추가해야 하는지 여부를 묻습니다. Rackware에서 별도로 지시하지 않는 한 기본값 [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. 설치 후 설치를 완료하려면 서버를 재부트합니다.
    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 라이센스 제공

유효한 라이센스가 /etc/rackware 아래에 배치될 때까지 RMM 서비스가 시작되지 않습니다.

  1. 초기 설치의 경우 다음 메시지가 표시됩니다.
    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. Rackware에서 라이센스를 받은 후 라이센스 파일을 /etc/rackware 아래에 놓습니다.
  3. 이제 '** rwadm start rackware'**를 실행할 수 있습니다.