Create a client image
When a stateless client first mounts or connects to a WEKA cluster, it downloads containers and builds drivers, taking 30 seconds to several minutes, based on the environment. For conventional machines, this is acceptable, occurring only once.
However, in scenarios with frequent client re-imaging or launching new cloud instances, the operation duration may become impractical, raising concerns about delays in downloading containers and building drivers.
This client image creation procedure is effective in on-premises environments, using the Bright Cluster Manager tool, and is also used to prepare templates for cloud-based instances (AWS AMIs).
After a major WEKA cluster release upgrade, this procedure must be repeated using the new release.
Considerations for diskless clients are not addressed in this procedure.
Procedure
Provision a standard and unmodified (vanilla) instance or container.
Install a WEKA client. Perform one of the following options:
Remove the machine identifier file:
rm /opt/weka/data/agent/machine-identifier
Stop the weka-agent service:
service weka-agent stop
Optional: If you used the tarball, remove it and the unzipped directory.
Create the image of the WEKA client using the method that is preferred for your environment.
If you use the Bright Cluster Manager's
grabimage
command, exclude/opt/weka/*
from theimageupdate
command.In AWS, create an AMI from Amazon EC2 instance.
Related information
Bright Cluster Manager Administrator Guide
Create an AMI from an Amazon EC2 Instance
Related topics