Hello Bro,

1. Installed one VM with all in one setup.
2. Dumped the dbs (mongo and mysql).
3. Stopped the db services and made this VM as App server.

NB: Note the version of MongoDB server and MySQL server.

4. Setup another VM for db, install the versions of DB's found from the
last step.
5. Restore the DB's here.
6. Configure the DB's so that users can access from the remote App server.

Now its time to make modifications in the configuration files of App
server, so that edxapp can communicate.
If you check the mysql database, you can see some users there. Actually
these users are used for App and DB communication.

7. Modify the host, passwords field in the lms.auth.json file. As i said
earlier, there are few file in etc dir which are also required to modified
like xqueue and so on.

Once the modifications are made you can restart supervisor services. You
can watch the logs to find if there requires more modifications
/edx/var/log/lms/edx.log.

This is how I made it. May be you can install without the all in one
option. Am not so sure about that.

Tricks : During the installation of openedx all in one installation, there
is a step where you can create encrypted passwords for DB users. I created
a script to automatically create the users with encrypted passwords file.
So before dumping the DB, i ran the script to create the users. After that
i dumped the dbs and restored it. The only thing left was to modify the
config files in edxapp. I have also made a small script for that too.
Actually creating the script made my job very easy.

It took like more than a month for me to sort the things. But openedx is
clearly an open source code. You just needs to figure it out.

Hope you have got a fair idea to how to deal with it.

Let me know if you need any more info.

Thanks,
J


On Wed, Mar 20, 2019 at 7:12 AM DoWon Kim <[email protected]> wrote:

> JITHIN SHA, thank you for your reply..!
> How did you separate the edx service and db(mysql, mongoDB)?
> Did you separate the edx from the installation?
> Or did you work to separate the DBs after installation?
> Can you tell me how you separated them?
> Please help me with my troubles.
>
> 2019년 3월 19일 화요일 오후 11시 21분 36초 UTC+9, JITHIN SHA 님의 말:
>>
>> Hello Bro,
>>
>> Myself Jithin, have tried openedx as part of a client requirement. Am
>> sharing what i know about the setup.
>>
>> Basically the openedx is provided with all in one installation, either in
>> native installation or devstack. If you want to separate lms and cms, its
>> possible but you have to do it yourself. I have separated openedx as app
>> server and db servers.
>>
>> App includes cms and lms - it also has some other services like nginx,
>> rabbitmq, elasticsearch , supervisor and so on.
>> DB has just the DBs ( mongodb and mysql )
>>
>> All the lms and cms configurations are done on the lms.env.json,
>> lms.auth.json and similarly cms as well.
>> Also there is few configurations inside the etc dir of edx.
>>
>> All you can get from the official document is how to play with the all in
>> one setup. Based on that you have to assume and sort out the rest based on
>> your requirement.
>>
>> Hope you got a fair idea of the stuffs.
>>
>> NB: Request to openedx experts : Please correct me, if am wrong in
>> anything.
>>
>> Thanks
>> J
>>
>>
>>
>> On Tue, Mar 19, 2019 at 6:25 PM DoWon Kim <[email protected]> wrote:
>>
>>> Hello, I am Do Won Kim who lives in Korea.
>>>
>>> I am writing because I have a question about open edx. I want to install
>>> lms and cms of edx on different servers.
>>>
>>> So I searched the web countless times, but I couldn't find the answer.
>>>
>>> Is there a manual that can be installed separately for lms and cms?
>>>
>>> If there is a solution, please reply. Or, I'd appreciate it if you could
>>> send me a reference document related to this.
>>>
>>> Thank you, and have a nice day.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "General Open edX discussion" group.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/edx-code/7bbbc3b3-2095-4821-97c0-a928db7d2d9b%40googlegroups.com
>>> <https://groups.google.com/d/msgid/edx-code/7bbbc3b3-2095-4821-97c0-a928db7d2d9b%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> --
>> JITHINSHA
>> ജിതിന്‍ഷാ കെ എസ്
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "General Open edX discussion" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/edx-code/973517e3-0163-49e8-a88b-b8cfcf98ccf4%40googlegroups.com
> <https://groups.google.com/d/msgid/edx-code/973517e3-0163-49e8-a88b-b8cfcf98ccf4%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
JITHINSHA
ജിതിന്‍ഷാ കെ എസ്

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/CANtXGwf8gEcsjA-CPrCpagRLf0evjuf8LoCTwbV3SH_pDcJQkw%40mail.gmail.com.

Reply via email to