Difference between revisions of "Bright:Node image management"

From Define Wiki
Jump to navigation Jump to search
(Created page with "Node images are all stored in: <syntaxhighlight> chroot /cm/images/xxx </syntaxhighlight> == Edit the list of files not to be synchronised == <syntaxhighlight> cmsh -c "category use default; set exclude...")
(No difference)

Revision as of 16:45, 16 January 2014

Node images are all stored in:

  chroot /cm/images/xxx

Edit the list of files not to be synchronised

  cmsh -c "category use default; set excludelistupdate; commit"

Sync an image without rebooting

[root@head-boston GPU-image]# cmsh
[head-boston]% device
[head-boston->device]% imageupdate -n gpu2 
Performing dry run (use synclog command to review result, then pass -w to perform real update)...
[head-boston->device]% 
Thu Jan 16 16:42:35 2014 [notice] head-boston: Provisioning started: sending head-boston:/cm/images/GPU-image to gpu2:/, mode UPDATE, dry run = yes, no data changes!
Thu Jan 16 16:42:40 2014 [notice] head-boston: Provisioning completed: sent head-boston:/cm/images/GPU-image to gpu2:/, mode UPDATE, dry run = yes, no data changes!
imageupdate -n gpu2 [ COMPLETED ]
[head-boston->device]% imageupdate -n gpu2 -w 
[head-boston->device]% 
Thu Jan 16 16:42:40 2014 [notice] head-boston: Provisioning started: sending head-boston:/cm/images/GPU-image to gpu2:/, mode UPDATE, dry run = no
[head-boston->device]% 
Thu Jan 16 16:42:45 2014 [notice] head-boston: Provisioning completed: sent head-boston:/cm/images/GPU-image to gpu2:/, mode UPDATE, dry run = no
imageupdate -n gpu2 -w [ COMPLETED ]