In order to execute the increase of the area storage for MOI LVMs is it necessary to stop the Docker processes?
OS : Linux x86_64
Release : 2.0
Component : MF OPERATIONAL INTELLIGENCE
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
Further
reading:
LVM entry in Wikipedia
https://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)
https://docs.docker.com/v17.09/engine/reference/commandline/cli/
https://www.ibm.com/support/knowledgecenter/zosbasics/com.ibm.zos.zconcepts/zconc_whatisispf.htm