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

ON THE LVM (LOGICAL VOLUME MANAGER) STORAGE AREA INCREASE

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


https://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)


Docker commands

 

https://docs.docker.com/v17.09/engine/reference/commandline/cli/ 

 

TSO ISPF


https://www.ibm.com/support/knowledgecenter/zosbasics/com.ibm.zos.zconcepts/zconc_whatisispf.htm 


CA MOI

 

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-mainframe-software/intelligent-operations/ca-mainframe-operational-intelligence/2-0-04.html