Expanding storage

Follow the steps below to extend a volume on a Plixer ML Engine appliance.

  1. Add/attach a new hard disk to the hardware appliance or VM, and then restart the machine.

  2. Navigate to Admin > Resources > ML Engines in the web interface and wait for the engine’s deployment status to switch to Deployed.

    Note

    The ML engine can take up to 30 minutes to fully restart when under heavy load. Refresh the ML Engines page every few minutes until the engine is shown as Deployed.

  3. Log in or SSH to the host using the credentials plixer:plixer.

  4. Determine the device name of the new disk (usually /dev/sdb):

    lsblk
    
  5. Extend the volume that requires additional disk space:

    /home/plixer/ml/tools/mladmin.sh --extend <DEVICE> <VOLUME>
    

    Where DEVICE is the device name of the new disk and VOLUME is one of the following:

    • root - root partition

    • sibyl - models partition (/SibylData)

    • db - database partition (/var/db)

    • zookeepers - Kafka ZooKeeper partition (/var/kafka/zookeepers)

    • brokers - Kafka brokers partition (/var/kafka/brokers)

When done, the selected partition will be extended by the full capacity of the newly added disk.