Expanding storage¶
Follow the steps below to extend a volume on a Plixer ML Engine appliance.
Add/attach a new hard disk to the hardware appliance or VM, and then restart the machine.
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.
Log in or SSH to the host using the credentials
plixer:plixer
.Determine the device name of the new disk (usually
/dev/sdb
):lsblk
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 andVOLUME
is one of the following:root
- root partitionsibyl
- 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.