CEPH filesystem development
 help / color / mirror / Atom feed
From: Prithiv M <PMohan0@walmartlabs.com>
To: "majordomo@vger.kernel.org" <majordomo@vger.kernel.org>
Cc: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Reg: Ceph Federated Gateway - Primary & Sec Region in one node
Date: Fri, 2 Jan 2015 05:15:53 +0000	[thread overview]
Message-ID: <D0CC275F.17192%prithiv@walmartlabs.com> (raw)

Hi,

i have already posted this question in various ceph users group but I haven't got an answer yet. I am trying to install ceph federated gateway setup with two regions - Master and Secondary with two zones each(primary and sec), all in one node. I am getting an error “region map does not specify master region." while creating user for secondary region. I have specified different ports for different zones.

Is it possible to install ceph in this setup. If not, why.

JSON FILE FOR MASTER REGION
—————————————————————


{ "name": "us",
  "api_name": "us",
  "is_master": "true",
  "endpoints": [
        "http:\/\/fqdn:80\/"],
  "master_zone": "us-east",
  "zones": [
        { "name": "us-east",
          "endpoints": [
                "http:\/\/fqdn:80\/"],
          "log_meta": "true",
          "log_data": "true"},
        { "name": "us-west",
          "endpoints": [
                "http:\/\/fqdn:81\/"],
          "log_meta": "true",
          "log_data": "true"}],
  "placement_targets": [
   {
     "name": "default-placement",
     "tags": []
   }
  ],
  "default_placement": "default-placement”}



JSON FILE FOR SEC REGION
———————————————————

{ "name": "eu",
  "api_name": "eu",
  "is_master": "false",
  "endpoints": [
        "http:\/\/fqdn:82\/"],
  "master_zone": "eu-east",
  "zones": [
        { "name": "eu-east",
          "endpoints": [
                "http:\/\/fqdn:82\/"],
          "log_meta": "true",
          "log_data": "true"},
        { "name": "eu-west",
          "endpoints": [
                "http:\/\/fqdn:83\/"],
          "log_meta": "true",
          "log_data": "true"}],
  "placement_targets": [
   {
     "name": "default-placement",
     "tags": []
   }
  ],
  "default_placement": "default-placement"}

Cheers
Prithiv
--
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:[~2015-01-02  6:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=D0CC275F.17192%prithiv@walmartlabs.com \
    --to=pmohan0@walmartlabs.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=majordomo@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox