Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Add_workflow_for_techpubs
AUTH1UserResourceIdentifier{userKey=8a00a0c86ca23f8a016cd6ed6fe90013, userName='null'}
REV5UserResourceIdentifier{userKey=8a00a0c85b2726c2015b58aa779d0003, userName='null'}
REV6UserResourceIdentifier{userKey=8a00a0c85b2726c2015b58aa779d0003, userName='null'}
REV3UserResourceIdentifier{userKey=8a00a0c85b2726c2015b58aa779d0003, userName='null'}
REV1UserResourceIdentifier{userKey=8a00a0c8664c0be0016687d83fdb0025, userName='null'}

Info
titleNote

You can perform Perform the following steps using an SSH client such as PuTTY.

Configuring Storage for 
Spacevars
0product
 and Docker

This section will provide provides an example to configure a raw block device and mount it at /var/lib/docker/ which is where the location to store all 

Spacevars
0product
and Docker data is stored in from 
Spacevars
0product
 release 15.3.1 and later versionsonwards.

The example provided here will provision an XFS file system which is supported by both CentOS and Ubuntu. Other file systems such as EXT4 may be used at the discretion of the operator of the 

Spacevars
0product
system. However, their configuration is considered outside of the scope of this guide. The below commands should be applicable to either CentOS or Ubuntu and are meant only as a general guide since most environments will have unique configurations. 

If you would like assistance, don't hesitate to reach out to our Customer Support at https://ribboncommunications.com/services/support-servicesContact Global Product Support for assistance.

Create a new filesystem file system at /var/lib/docker/ and mount it persistently on the host:

  1. Validate that you have a Verify enough free disk to use. Hereexists before proceeding. In the example below, the additional free disk space is under nvme0n1.

    Code Block
    lsblk

    Image Modified

  2. Create the filesystem file system using the following command:

    Code Block
    mkfs.xfs /dev/$device


    Tip
    titleTip

    Replace $device with the name of your actual device in all the following commands. Examples are provided for the reference system. 

    for For example: 

    Code Block
    mkfs.xfs /dev/nvme0n1

  3. Create the mount point for Docker using the following command:

    Code Block
    mkdir -p /var/lib/docker/

  4. Mount the new filesystem file system at /var/lib/docker/:

    Code Block
    mount /dev/$device /var/lib/docker/

    for For example: 

    Code Block
    mount /dev/nvme0n1 /var/lib/docker/
    Image Modified
  5. Update /etc/fstab to ensure the changes persist are still present after a reboot: 

    Code Block
    echo "/dev/$device /var/lib/docker xfs    defaults,noatime  1   1" >> /etc/fstab
    for

    For example:

    Code Block
    echo "/dev/nvme0n1 /var/lib/docker xfs    defaults,noatime  1   1" >> /etc/fstab

  6. Please pause here and

    Before continuing, ensure your system is up-to-date, and

    also to

    validate

    the persistence of

    the storage configuration settings are accurate.

    Assuming

     Assuming that there are no other production applications running on this server, execute the following command: 

    Code Block
    apt-get update -y && reboot (Ubuntu) 

    
    yum update -y && reboot (CentOS)

  7. Validate that the storage configuration persisted settings are accurate after the reboot , using the following command:

    Code Block
    df -h

Pagebreak