-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 02/12/13 09:10, John Arbash Meinel wrote:
> On 2013-12-02 13:01, James Page wrote:
>> Morning folks
> 
>> so far I have requests for:
> 
>> mongo (default shell)
> 
>> mongoexport (used in new juju backup plugin)
> 
>> mongodump/mongorestore (useful)
> 
>> I'm keen we don't bloat out the 'server' package to much - the 
>> binaries are quite large due to the requirement to statically
>> link v8.
> 
>> Which of these is core to the function of juju, and which are 
>> useful for debugging?  Please also that the mongodb-clients
>> package will still be available in universe so you will always be
>> able to get any of the client tools that way as well (I'll
>> probably keep those packages maintained to the latest point
>> release for the released series).
> 
> Is mongodump/mongorestore going to be in the mongodb-client or 
> mongodb-server?

Currently I was just planning a juju-mongodb package; however we could
split things that need to be on the client end of juju into a
juju-mongodb-clients package.

> How is this going to relate if we have to release a custom version
> of MongoDB (2.6 instead of 2.4).

Yeah - that is tricky; that's why I was asking what do we need, rather
than what is nice to have; I would suspect that mongo shell is
probably forward compatible for example but that would not be nice if
it wasn't.

> The only thing we actively use on a regular basis (AFAIK) is
> mongos and mongod. However, if we set up regular backup process,
> then we'll need one of mongodump or mongoexport (I don't know what
> the difference is between them). And obviously dump isn't very
> useful if you can't restore, though at the point you are restoring
> is a reasonable time to create new tools.
> 
> I don't fully understand the difference from mongoexport vs
> mongodump (it looks like dump generates a binary snapshot
> compatible with restore, while export/import generate text
> representations of the data.)
> 
> I'd *really* like us to stick with *one* of them as the
> recommended method for backing up the content.

+1 - we can add them all but it bloats out a bit.

> At which point, mongos, monogod and mongoexport/mongodump become 
> critical for the regular operation of the system (assuming we set
> up backups as a regular process), and then mongo, 
> mongoimport/mongorestore become tools that you install when you
> want to inspect/restore/probe/etc.
> 
> If you're happier splitting them, I'm personally fine with that. I 
> *am* a bit concerned about them being split and then we bump the 
> version of juju-mongodb and then we end up without the
> corresponding tools available.

Installed sizes (taken from saucy which has the same v8 embedding):

- -rwxr-xr-x 1 root root 7.2M Sep  5 15:30 /usr/bin/mongo
- -rwxr-xr-x 1 root root  13M Sep  5 15:30 /usr/bin/mongodump
- -rwxr-xr-x 1 root root  13M Sep  5 15:30 /usr/bin/mongoexport
- -rwxr-xr-x 1 root root  13M Sep  5 15:30 /usr/bin/mongoimport
- -rwxr-xr-x 1 root root  13M Sep  5 15:30 /usr/bin/mongorestore

Expect about ~50% compression;

- -- 
James Page
Technical Lead
Ubuntu Server Team
james.p...@canonical.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSnGGZAAoJEL/srsug59jDjBcP+gNXfsVb29GqxlK9iICokbRO
8+zUueVR7BNf9CP10+p0xDcPRQPsiUZ7WTkqqvdXXtu/Mu3Y1OWIxLTidwz5DlBm
Mi+oTebFDfd4oKiJHCC1GGoXs0wUioumjE++qfIafl1cV1YkbmxClewS6OczDf9I
IsdzadFrArhmEwcyNUtDuAk4d2jJDy7s0ijYutFqNihWpGYE0aqG268Hk8lS6Ik3
+OftTOa7rDfH6F8Dd7/YACRPH6iYmwbyaNJrIzWmobWIkVvSp4RRVpsSQAUR3EMi
Vu2oT0ipg+ySYL7ZsCYtqHkZbKh+Ft/p4ZBi03TzHj4aHBmmehgXxTKEglX+MRN5
7nOnLmNd5VSqu8Ur85P/E+FWB01eUUh8FL4nA4j1SXwwlf10YE4iFf/MVRBJBK5k
LC7XZ0KqPjO3dcahCWfzg1fcRtXiEOBOXtiXsZu6WwyjRQq5UoHsh44yDeP5U4Kl
g8xIYK0t1qmgYFzQPQnzoR4fGYPnVECgdfDA0kuC/1lxZJ4XEsK+Wis7rWFU6Ny7
rKj0S+6QHseg49WVYIpwRU98/2YWvG/clrCXVSv1cJQx0OevRLImN42GFJldZMLk
PxRzsOzSommTng6jgXmLb89JCk4yegnRX8OrOLxVljWhaYPbiI1DfDhjIcukz6Vl
gSGKQdNUoS5jgHH7LF6X
=0AjE
-----END PGP SIGNATURE-----

-- 
Juju-dev mailing list
Juju-dev@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev

Reply via email to