All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wido den Hollander <wido@widodh.nl>
To: Tommi Virtanen <tv@inktank.com>
Cc: Calvin Morrow <calvin.morrow@gmail.com>,
	ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: [PATCH] docs: Add CloudStack documentation
Date: Wed, 05 Sep 2012 19:05:47 +0200	[thread overview]
Message-ID: <5047866B.80102@widodh.nl> (raw)
In-Reply-To: <CADvuQRGsRQ2AYM7ceaQiR-F+7J1P1TR-_AXfPLWHznYetkhoog@mail.gmail.com>



On 09/05/2012 06:14 PM, Tommi Virtanen wrote:
> On Wed, Sep 5, 2012 at 8:28 AM, Wido den Hollander <wido@widodh.nl> 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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

  reply	other threads:[~2012-09-05 17:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-08 21:51 [PATCH] docs: Add CloudStack documentation Wido den Hollander
2012-09-04 23:49 ` Sage Weil
2012-09-05 15:21 ` Calvin Morrow
2012-09-05 15:28   ` Wido den Hollander
2012-09-05 15:42     ` Sage Weil
2012-09-05 16:14     ` Tommi Virtanen
2012-09-05 17:05       ` Wido den Hollander [this message]
2012-09-05 18:22         ` Tommi Virtanen
2012-09-05 22:39           ` Wido den Hollander
2012-09-05 22:52             ` Tommi Virtanen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5047866B.80102@widodh.nl \
    --to=wido@widodh.nl \
    --cc=calvin.morrow@gmail.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=tv@inktank.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.