SYSTEMS/HPCM

[HPCM] 외부 이미지 가져오기

CRAY KOREA Blog 2022. 11. 28. 14:22

- MLDE 내용 참고

 

Export

# cm image capture -i hpe-mlde-login-0.17.15-rhel-8.5 -n <node name>
# tar -C /opt/clmgr/image/images --numeric-owner --xattrs --acls -cpvzf hpe-mlde-login-0.17.15-rhel-8.5.tar.gz hpe-mlde-login-0.17.15-rhel-8.5

 

Import

# tar -C /opt/clmgr/image/images --xattrs --acls --xattrs-include=* -zpxvf hpe-mlde-master-0.17.15-rhel-8.5.tar.gz
# cm image create -i hpe-mlde-master-0.17.15-rhel-8.5 --use-existing
# cm node provision -i hpe-mlde-master-0.17.15-rhel-8.5 -n master --force-disk /dev/sda --wipe-disk