Skip to content

Install Memory Viewer

Download Memory Viewer

Download the Memory Viewer package from the MemVerge download site:

If the host has an Internet connection, use curl or wget to download the file directly on the target server.

For example:

$ wget https://memory-viewer-bucket.s3.amazonaws.com/releases/v1.3.0/Memory_Viewer_v1.3.0-20231007032931.bin

If the host does not have Internet access, download it and the dependency packages to a host that does, then transfer the packages to the target server.

Remove a Previous Memory Viewer Installation

Versions of Memory Viewer prior to 1.3.0 are incompatible and must be uninstalled before installing Memory Viewer 1.3.0.

RHEL/CentOS/Fedora:

$ sudo dnf erase mvmv

Ubuntu

$ sudo apt --purge autoremove mvmv

Install or Upgrade Memory Viewer

Install or Upgrade Memory Viewer using the self-extracting BIN package file.

$ sudo ./Memory_Viewer_v1.3.0.bin 

The usage information shows options to specify non-default values:

$ ./Memory_Viewer_v1.0.0-latest-20231003205729.bin --help
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing Memory Viewer  100%  
./Memory_Viewer_v1.0.0-latest-20231003205729.bin

Options:
    --install-path                Optional. Default is /opt/memverge. Specify CXL Memory Viewer install path
    --install=[SERVICE]           Optional.
                                  SERVICE='all', default, install both mmmgr and mmlet services
                                  SERVICE='management-host', install only mmmgr service on management-host
                                  SERVICE='compute-host', install only mmlet service on compute-host
    --mmmgr-port=[PORT]           Optional. Default port is 8080
    --mmlet-port=[PORT]           Optional. Default port is 8090
    --prometheus-port=[PORT]      Optional. Default port is 8091
    --grafana-port=[PORT]         Optional. Default port is 8092
    --help                        Print this help message

Installation Example:

$ sudo ./Memory_Viewer_v1.0.0-latest-20231003205729.bin 
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing Memory Viewer  100%  
./Memory_Viewer_v1.0.0-latest-20231003205729.bin
Start to install MemVerge CXL Memory Viewer...
Ready to install into "/opt/memverge"
Installing compute host components...
--> Installing mmlet service...
temp_file.tar.gz                       100%[===========================================================================>]   3.57M  --.-KB/s    in 0.05s   
--> Installing mmtier services...
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing Memverge Tiering Component Services  100%  
Created symlink /etc/systemd/system/mmtier.service.wants/mmtier_dm.service → /etc/systemd/system/mmtier_dm.service.
Created symlink /etc/systemd/system/mmtier.service.wants/mmtier_de.service → /etc/systemd/system/mmtier_de.service.
Created symlink /etc/systemd/system/mmtier.service.wants/mmtier_mp.service → /etc/systemd/system/mmtier_mp.service.
Created symlink /etc/systemd/system/multi-user.target.wants/mmtier.service → /etc/systemd/system/mmtier.service.
Starting mmlet service
Created symlink /etc/systemd/system/multi-user.target.wants/mmlet.service → /etc/systemd/system/mmlet.service.
mmlet is running
Installing management host components...
--> Installing mmmgr service...
temp_file.tar.gz                       100%[===========================================================================>]  90.48M  56.2MB/s    in 1.6s    
temp_file.tar.gz                       100%[===========================================================================>]  79.30M  92.2MB/s    in 0.9s    
temp_file.tar.gz                           [      <=>                                                                   ]   9.63M  8.54MB/s    in 1.1s    
Starting mmmgr service
Created symlink /etc/systemd/system/multi-user.target.wants/mmmgr.service → /etc/systemd/system/mmmgr.service.
mmmgr is running
Adding Compute Host to Management Host list ...
Install completed.
Successfully installed MemVerge CXL Memory Viewer to "/opt/memverge", see "/var/log/memverge/package_install.log" for details.