Skip to content

Installing MongoRock on AWS #1611

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mayankverma opened this issue Apr 23, 2016 · 3 comments
Closed

Installing MongoRock on AWS #1611

mayankverma opened this issue Apr 23, 2016 · 3 comments

Comments

@mayankverma
Copy link

I am trying to install MongoRock on AWS by following instructions included here.
https://github.com/ParsePlatform/parse-server/wiki/MongoRocks

When I try to configure storage and use the command

"sudo mdadm —create /dev/md0 --level=stripe /dev/xvdb /dev/xvdc", I get error:
mdadm: An option must be given to set the mode before a second device
(/dev/md0) is listed

When I add double dash (-) to create,
"sudo mdadm **--**create /dev/md0 --level=stripe /dev/xvdb /dev/xvdc", I still get same error
mdadm: An option must be given to set the mode before a second device
(/dev/md0) is listed

And after some googling, seems like "--raid-devices" is missing... so I added that
"sudo mdadm --create /dev/md0 --level=stripe --raid-devices=2 /dev/xvdb /dev/xvdc" and get this error.
mdadm: cannot open /dev/xvdb: No such file or directory

Anyone here has been successfully able to install mongoRock on aws?
Any help is appreciated... :)

@flovilmart
Copy link
Contributor

flovilmart commented Apr 24, 2016

Are those drives mounted? I see in the provisioning instructions that the command line should create ephemeral storages on /dev/sdb and /dev/sdc. Maybe they are mounted on those paths.

@mayankverma
Copy link
Author

ya for some reason it didnt.. I had to manually create the instance and add them...it worked after that.. 👍

@flovilmart
Copy link
Contributor

flovilmart commented Apr 24, 2016

alright then! glad you made it work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants