Message from discussion
Deploy a replica Set via mongodb.conf
Received: by 10.236.139.51 with SMTP id b39mr28130768yhj.3.1351720280900;
Wed, 31 Oct 2012 14:51:20 -0700 (PDT)
X-BeenThere: mongodb-user@googlegroups.com
Received: by 10.236.198.39 with SMTP id u27ls3070158yhn.6.gmail; Wed, 31 Oct
2012 14:50:59 -0700 (PDT)
Received: by 10.236.79.7 with SMTP id h7mr3805035yhe.2.1351720259108;
Wed, 31 Oct 2012 14:50:59 -0700 (PDT)
Date: Wed, 31 Oct 2012 14:50:58 -0700 (PDT)
From: Tim <tim.a.zimmerm...@googlemail.com>
To: mongodb-user@googlegroups.com
Message-Id: <3bd49e43-1749-4fcd-b2cc-156593691b45@googlegroups.com>
In-Reply-To: <24113b84-e4d0-4a84-9230-9e9516dc4515@googlegroups.com>
References: <24113b84-e4d0-4a84-9230-9e9516dc4515@googlegroups.com>
Subject: Re: Deploy a replica Set via mongodb.conf
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_1004_7197534.1351720258779"
------=_Part_1004_7197534.1351720258779
Content-Type: multipart/alternative;
boundary="----=_Part_1005_5231361.1351720258779"
------=_Part_1005_5231361.1351720258779
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
edit:
my current conf file looks like:
port = 27017
fork = true
dbpath = /data/db/
replSet = replica1
I'm missing that command that tells the prim node on which host/port to get
the replica members
Am Dienstag, 30. Oktober 2012 15:49:45 UTC+1 schrieb Tim:
>
> Hello,
>
> I deployed a replica set (later a sharding set) due to the shell commands
> like it is descriped in:
> http://docs.mongodb.org/manual/tutorial/deploy-replica-set/
>
> I would like to store all that information I inserted manually in the
> mongodb.conf -
>
> I have 5 Server. Lets say: s2,s3,s4,s5 and s6
> with:
>
> s2: mongos - / config server where "sharding is running"
>
> s3: 1 master process replicaset1 ; 1 arbiter for replicaset 2
> s4: 1 slave process replicaset1
>
>
> s5: 1 master process replicaset2 ; 1 arbiter for replicaset 1
> s6: 1 slave process replicaset2
>
> Later, there shall be a sharding set that consist of replicaset1 and
> replicaset2.
>
> Question: How to modify the mongodb.conf (or multiple mongodb.conf???) in
> order to get such a use case?
>
> (I think I have to define multiple processes, different ports, different
> folders to store information,.... - like the manually way...)
>
> best regards,
> tim
>
------=_Part_1005_5231361.1351720258779
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
edit:<br>my current conf file looks like:<br>port =3D 27017<br>fork =3D tru=
e<br>dbpath =3D /data/db/ <br>replSet =3D replica1<br><br>I'm m=
issing that command that tells the prim node on which host/port to get the =
replica members<br><br>Am Dienstag, 30. Oktober 2012 15:49:45 UTC+1 schrieb=
Tim:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8e=
x;border-left: 1px #ccc solid;padding-left: 1ex;">Hello,<br><br>I deployed =
a replica set (later a sharding set) due to the shell commands like it is d=
escriped in:<br><a wrc-processed=3D"pending" href=3D"http://docs.mongodb.or=
g/manual/tutorial/deploy-replica-set/" target=3D"_blank">http://docs.mongod=
b.org/<wbr>manual/tutorial/deploy-<wbr>replica-set/</a><span onmouseout=3D"=
cancel =3D false; window.setTimeout(WRCHideContent, 1000); clearTimeout(sho=
wTimer);" onmouseover=3D" var self =3D this; showTimer =3D window.setTimeou=
t(function(){WRCShowContent({'rating':{'value':-1,'weight':-1},'flags':{'sh=
opping':null,'social':null,'news':null,'it':null,'corporate':null,'pornogra=
phy':null,'violence':null,'gambling':null,'drugs':null,'illegal':null},'sin=
gle':true,'ttl':null}, self.className)},600);" class=3D"wrc0" style=3D"padd=
ing-right: 16px; width: 16px; height: 16px;"></span><br><br>I would like to=
store all that information I inserted manually in the mongodb.conf - <br><=
br>I have 5 Server. Lets say: s2,s3,s4,s5 and s6<br>with:<br><br>s2: mongos=
- / config server where "sharding is running"<br><br>s3: 1 master process =
replicaset1 ; 1 arbiter for replicaset 2<br>s4: 1 slave process repli=
caset1 <br><br><br>s5: 1 master process replicaset2 ; 1 arbiter for r=
eplicaset 1<br>s6: 1 slave process replicaset2<br><br>Later, there shall be=
a sharding set that consist of replicaset1 and replicaset2. <br><br>Questi=
on: How to modify the mongodb.conf (or multiple mongodb.conf???) in order t=
o get such a use case?<br><br>(I think I have to define multiple processes,=
different ports, different folders to store information,.... - like the ma=
nually way...)<br><br>best regards,<br>tim<br></blockquote>
------=_Part_1005_5231361.1351720258779--
------=_Part_1004_7197534.1351720258779--