INCREASE THE LVM (LOGICAL VOLUME MANAGER) STORAGE AREA
search cancel

INCREASE THE LVM (LOGICAL VOLUME MANAGER) STORAGE AREA

book

Article ID: 137813

calendar_today

Updated On:

Products

Mainframe Operational Intelligence

Issue/Introduction

In order to execute the increase of the area storage for MOI LVMs is it necessary to stop the Docker processes?

 

Environment

OS :                 Linux x86_64
Release :        2.0
Component : MF OPERATIONAL INTELLIGENCE

Cause

-

Resolution

In order for the new storage to be used, the MOI microservices should be shut down and restarted. 

Here are the instructions for accomplishing that requirement:

docker ps –a

Capture the LVM space allocations to compare to after the additional drives are added:

df -h

Normally you should shut down the microservices prior to adding the drive space using the commands below:

cd /opt/moi

docker ps -a

bin/plex shutdown --bg=wait 

(This command will take a few minutes to complete)

Check to make sure all containers are not started and cleanup if it is necessary:

docker ps -a 

(This command should return no docker containers list)

If any docker containers are still listed then run the following command to clean them up:

docker rm -f $( docker ps -a -q)

Now you would add the additional drives to increase the LVM storage allocations via the ISPF panels.

 

Restart appliance:

cd /opt/moi

bin/plex startup --bg=wait

Check containers for healthy status and no exits by repeating the command below every 5 minutes or so.

This process should complete within one hour.

docker ps -a

Additional Information

Further reading:

LVM entry in Wikipedia:  Logical Volume Manager (Linux)  

Docker commands:  docker  

TSO ISPF:  What is ISPF?  

CA MOI:  Mainframe Operational Intelligence (MOI) 2.1