Provisioning storage

Determine whether the available, unused storage is sufficient and provision it. For specifics, refer to your architecture document. The required minimums are as follows:
  • 50GB for /opt/zenoss_analytics. This is where the Analytics software is installed, and is also used as temporary storage by the ETL processes.
  • 500GB for /var/lib/mysql. This is where mySQL stores its data for both the data analytics database and the data warehouse.
  • 10GB for /tmp. This is used as temporary storage by both the Analytics ETL application and mySQL.
  1. Log in to the candidate host as root or as a user with superuser privileges.
  2. Display the available storage devices:
    lsblk --output=NAME,SIZE
  3. Compare the available storage with the amount required for an Analytics server, identify an appropriate partition, and then create the appropriate file system.
  4. For each type of storage that requires provisioning, identify an appropriate partition, and create and mount the appropriate file system.
    1. Identify the target primary partition for the file system to create.
    2. Create an EXT4 file system of the partition.
      mkfs -t ext4 <partition>
    3. Create the mount point for the file system.
      mkdir -p <filesystem path>

      For example, mkdir -p /opt/zenoss_analytics.

    4. Add an entry for the file system to the /etc/fstab file. Replace <partition> with the path of the partition from step b and the <filesystem path> from that used in the previous step:
      echo "<partition> <filesystem path> ext4 defaults 0 0" >> /etc/fstab
    5. Mount the file system, and then verify that it mounted correctly. Replace the <file system path> with the actual path.
      mount -a && mount | grep <filesystem path>