Expanding database size¶
Depending on the volume of NetFlow data that will be forwarded to the Plixer Scrutinizer virtual appliance, it may be necessary to allocate additional storage space for its database.
This process is divided into several tasks:
Adding a hard drive to the Plixer Scrutinizer virtual machine
Power off the Plixer Scrutinizer VM by either logging in and issuing the
sudo shutdown -h now
command or using the VMware Tools power menu.Right-click on the virtual machine and select Edit Settings…
Click Add New Device and select Hard Disk from the dropdown.
Expand the New Hard disk settings, and select the type of Disk Provisioning and adjust the disk capacity before clicking OK.
Right-click the Plixer Scrutinizer virtual machine and power it on.
Once the hard drive has been added, it will need to be set up for use by the Plixer Scrutinizer virtual appliance.
Configuring Plixer Scrutinizer to use the new drive
Log in to the Plixer Scrutinizer virtual appliance as the
plixer
user.Launch the interactive scrut_util by entering the following at the prompt:
[plixer@scrutinizer ~]$ scrut_util
At the
SCRUTINIZER>
prompt, entershow diskpace
to view the current size of the database mounted on/var/db
and then useshow partitions
to view the available disks.Still at the
SCRUTINIZER>
prompty, issueset partitions <new_partition>
to make the added hard drive available to the Plixer Scrutinizer virtual appliance.When prompted, select whether or not you have a backup of your data.
Wait for the operation to complete automatically before proceeding to the next task.
Verifying the new filesystem size
To confirm that the new hard drive has been successfully added, enter the show diskspace
command again at the the SCRUTINIZER>
prompt. The new size of the database should reflect the additional space added with the new hard disk.