Yes option 1 would be clean and easier to handle. In addition to this we might need to un-mount the volume(s) when the instance is shutting down.
On Tue, Jan 7, 2014 at 4:10 AM, Lakmal Warusawithana <[email protected]>wrote: > > > > On Tue, Jan 7, 2014 at 12:29 PM, Udara Liyanage <[email protected]> wrote: > >> Hi, >> >> I was in the process of implementing $subject for Stratos. I was able to >> attach a volume in Amazon EC2. Though the volume is attached, currently we >> have to mount the volume manually. Following are the solutions that I am >> thinking of now. >> >> 1) send the volume disk name via payload so within the agent shell script >> we can manually mount the volume. >> 2) find a way of mounting using jclouds >> 2) find a way to automatically mount from the IAAS side. >> >> I think 1) is possible. Any better suggestions appreciated? >> > > +1 for 1. > > >> >> >> -- >> Udara Liyanage >> Software Engineer >> WSO2, Inc.: http://wso2.com >> lean. enterprise. middleware >> >> web: http://udaraliyanage.wordpress.com >> phone: +94 71 443 6897 >> > > > > -- > Lakmal Warusawithana > Software Architect; WSO2 Inc. > Mobile : +94714289692 > Blog : http://lakmalsview.blogspot.com/ > >
