E2E Connectivity: VMware - Resize Policy Manager VM disk Space

Resumen: This article explains offers information about policy manager updating the VM configuration to meet system requirement to update to its latest version (5.18 and above)

Este artículo se aplica a Este artículo no se aplica a Este artículo no está vinculado a ningún producto específico. No se identifican todas las versiones del producto en este artículo.

Instrucciones

Resize VM disk Space

 

Steps:

 
  1. Access the Vcenter and find the VM where you want to expand the hard disk space, CPU core and RAMs as illustrated below.

Accessing the VCenter


 
  1. Go to Actions -> Power offPower off action
 
  1. Once Powered off. Go to Actions -> Edit Settings ->
Then increase the CPU* to 4, Memory* to 8 GB & Hard disk 1* to 120 GB as shown in the below screenshot.

BEFORE:

:Before CPU config




AFTER:

After CPU config

Note: Kindly delete old snapshots to allow the changes in the Hard disk size.
  1. Click OK
  2. Power On the VM
Powering on VM
  1. SSH Login to the VM which you increase the HDD, CPU & RAM with root credentials.

SSH login
  1. Run the following command to check the updated disk size

lsblk -o NAME,SIZE
lsblk -o NAME,SIZE
 

How to resize the partition inside the docker

 

Steps:

 
  1. Run the following commands to check the current allocation for each partition:
  
df -h
df -h
 
  1. Stop the docker service by running the command systemctl stop docker

systemctl stop docker
 
  1. Unmount the docker volume partition by running the command umount /var/lib/docker

umount /var/lib/docker
 
  1. Run the following command to list the block devices and their partition -> lsblk

lsblk
 
  1. Run the following commands in a series of input to resize the partition as highlighted in the below screenshot
  • parted
  • print
  • resize 2 120G
  • Ignore
  • quit

parted print resize 2 120G Ignore quit
 
  1. Reboot the VM using command -> reboot

reboot
 
  1. Once reboot successful again SSH login to the Policy Manager VM.
 
  1. Run the following command to resize the physical volume.
 
sudo pvresize /dev/sda2

sudo pvresize /dev/sda2
 
  1. Run the following command to allocate the 100% of available physical volume to logical volume for /var/lib/docker

sudo lvextend -r -l +100%FREE /dev/mapper/pmVG-LVvar_lib_docker
sudo lvextend -r -l +100%FREE /dev/mapper/pmVG-LVvar_lib_docker
 
 
  1. Run the following command to check the updated volume for /var/lib/docker

df -h
df -h
 
  1. On successful resize of the volume start the docker service by giving the below command

systemctl start docker
systemctl start docker
 
  1. Finally check for the container is up and running successfully and access the web UI as before.

docker ps
docker ps

 
 
 

Productos afectados

Secure Connect Gateway, Secure Connect Gateway - Virtual Edition
Propiedades del artículo
Número del artículo: 000219355
Tipo de artículo: How To
Última modificación: 16 jul 2024
Versión:  5
Encuentre respuestas a sus preguntas de otros usuarios de Dell
Servicios de soporte
Compruebe si el dispositivo está cubierto por los servicios de soporte.