Lustre Intel: Adding a drive temperature chart (via IML Plugins)
Jump to navigation
Jump to search
IML Extensibility via Plugins
- Put in the scripts from the class
Quick Steps
chmod +x /usr/share/chroma-manager/manage.pyGet all the scripts from the Training Folder
[root@st15-iml1 bin]# ./storage_plugin.sh
Usage: ./storage_plugin.sh {please use one of the following options: validate stop start restart install }
[root@st15-iml1 bin]# ./storage_plugin.sh validate
Validating the storage plugin
/usr/share/chroma-manager/manage.py validate_storage_plugin /usr/share/chroma-local/storage_plugin/storage_plugin.py
Validating plugin 'storage_plugin'...
OK
----------------------------
[root@st15-iml1 bin]# ./storage_plugin.sh install
Creating the storage plugin configuration file for IML
cat /usr/share/chroma-local/storage_plugin/local_settings.py > /usr/share/chroma-manager/local_settings.py
chmod 755 /usr/share/chroma-manager/local_settings.py
cat /usr/share/chroma-manager/local_settings.py
import sys
from settings import INSTALLED_STORAGE_PLUGINS
sys.path.append('/usr/share/chroma-local/storage_plugin/')
INSTALLED_STORAGE_PLUGINS.append('storage_plugin')
----------------------------
rebooting the system- Refer to the Lab Session 06 IML Extensibly for the Steps in the GUI