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.
- Log in to the candidate host as root or as a user with superuser privileges.
Display the available storage devices:
- Compare the available storage with the amount required for an Analytics server, identify an appropriate partition, and then create the appropriate file system.
For each type of storage that requires provisioning, identify an appropriate partition,
and create and mount the appropriate file system.
Identify the target primary partition for the file system to create.
Create an EXT4 file system of the partition.
mkfs -t ext4 <partition>
Create the mount point for the file system.
mkdir -p <filesystem path>
For example, mkdir -p /opt/zenoss_analytics.
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
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>
- Identify the target primary partition for the file system to create.