[StarCluster] stopping the cluster makes dismounts all EBS volumes

MacMullan, Hugh hughmac at wharton.upenn.edu
Thu Sep 18 10:52:58 EDT 2014


Hi Ramon:

I had no idea that that StarCluster was doing that. It seems like the default behavior should be to leave any drives 'attached', and maybe have an option for the 'stop' command to detach if desired. The workaround is to use the AWS CLI to stop the cluster:

aws ec2 stop-instances --instance-ids $(for ID in $(starcluster lc hughmac 2>/dev/null | grep -e "^ *node[0-9][0-9][0-9]" -e "^ *master" | awk '{print $3}'); do echo -n "$ID "; done)

Then when you 'starcluster start mycluster' it retains the attachments and mounts (if in /etc/fstab).

Cheers,
-Hugh

From: starcluster-bounces at mit.edu [mailto:starcluster-bounces at mit.edu] On Behalf Of Ramon Ramirez-Linan
Sent: Thursday, September 18, 2014 10:22 AM
To: starcluster at mit.edu
Subject: [StarCluster] stopping the cluster makes dismounts all EBS volumes

Hi,

I have a cluster based on a custom AMI. The AMI has 2 EBS, the root one and a 1TB one.
So each node in the cluster has this 1TB EBS volume with custom data that is not shared.

The problem is that whenever I stopped the cluster with starcluster stop mycluster it dismounts the 1TB volumes and when i resume the cluster with starcluster start -x mycluster it doesnt mount the 1TB volume back.

Is there a way to tell Starcluster not to dismount the EBS when stopping?

Thanks

Ramon


[logo]
Navteca
Ramon Ramirez-Linan
C: 301.789.9139
O: 202.505.1553
www.navteca.com<http://www.navteca.com/>

6301 Ivy Lane, Greenbelt, MD 20770
Suite 700

[script]
[https://s3.amazonaws.com/www.navteca.com/img/certified.png]  [https://s3.amazonaws.com/www.navteca.com/img/CCC_LOGO_OFFICIAL.jpeg]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/starcluster/attachments/20140918/b34ad42a/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2508 bytes
Desc: image001.jpg
Url : http://mailman.mit.edu/pipermail/starcluster/attachments/20140918/b34ad42a/attachment-0002.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 2271 bytes
Desc: image002.jpg
Url : http://mailman.mit.edu/pipermail/starcluster/attachments/20140918/b34ad42a/attachment-0003.jpg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 5925 bytes
Desc: image003.png
Url : http://mailman.mit.edu/pipermail/starcluster/attachments/20140918/b34ad42a/attachment-0001.png


More information about the StarCluster mailing list