On 09/05/2012 06:14 PM, Tommi Virtanen wrote:
On Wed, Sep 5, 2012 at 8:28 AM, Wido den Hollander <wido@xxxxxxxxx> wrote:
You can only specify one monitor in CloudStack, but your cluster can have
multiple.
This is due to the internals of CloudStack. It stores storage pools in a URI
format, like: rbd://admin:secret@1.2.3.4/rbd
You know, for a custom scheme like "rbd:", any generic URI parser has
no business dictating what's allowed and what's not. Just don't use
"//" and you're not forced to follow those rules.
For example, rbd:?id=admin&secret=s3kr1t&mon=1.2.3.4&mon=5.6.7.8&pool=rbd
is perfectly legal.
Whether some Java library fails to implement generic URIs is another concern..
It is indeed a Java library in this case:
http://docs.oracle.com/javase/6/docs/api/java/net/URI.html
But Sage's suggestion about using Round-Robin DNS seems great as well.
Didn't know that was supported.
Wido
http://tools.ietf.org/html/rfc3986#section-3
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html