You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@fineract.apache.org by ramesh padmanabhan <ra...@gmail.com> on 2018/01/01 01:06:51 UTC

Trying to run Fineract CN in the cloud

Hi Team,

Let me clarify what I am trying to do with more details and also update you
on where I am with this effort:

Goal:

- *What I have accomplished*: build and run Mifos I/O : local deployment(on
my MAC)


What I am currently trying:
- *Trying to build and run the Mifos I/O demo server in the Cloud*,
following instructions as per this document
https://cwiki.apache.org/confluence/display/FINERACT/How+to+build+Fineract+CN

*Environment: AWS instance : Large(2 cpu+ 8GB)*
Upgrading to this larger instance appears to have eliminated some of the
build errors I was seeing earlier.

However, I see 2 issues that I need help with:
- The build completes with these errors:

<The following modules failed to build: test-accounting-portfolio >
*Question*: Why does this module fail in the cloud instance but *not on my
local MAC*(same memory size)

- When  I execute the java command, I get an error
java *-Ddemoserver.provision=true* -jar demo-server-0.1.0-BUILD-SNAPSHOT.jar

If I execute 'java -jar demo-server-0.1.0-BUILD-SNAPSHOT.jar'
this works.....

*Question*: why does the -Ddemoserver.provision=true work on my local
machine but not on the AWS instance ?


*- Related Question:*
Does anyone know how I can launch a web client(Chrome) on AWS ? I could not
find easy to follow instructions anywhere on the web.
I understand I need Chrome in order to run the user interface....(from npm
i)

Questions: Running in the Cloud(still to do)
- I understand that 'demo server' cannot be used for production. However, I
am just trying to get a working set going here.
- I understand that the built in Cassandra/mySQL etc in the current image
cannot scale for production usage and that I need to modify the yams files
to separate instances... I still need to get to these


Would appreciate help on any of these questions I have posted here......

Thanks
Ramesh

Re: Trying to run Fineract CN in the cloud

Posted by Myrle Krantz <my...@apache.org>.
Happy New Year Ramesh!

None of these modules are currently built in the cloud in any environment
that I know of. Deployment in the cloud, and building in the cloud are two
different things.

Typically a CI process would build each one individually as triggered by a
pull request. But to do that, we’d need, in the first step, to get build
snapshot artifacts into an artifactory so that dependant artifacts can be
built. I haven’t put in the time yet to figure out how other projects at
Apache do this. (Ie which artifactory? And how to make sure private builds
don’t accidentally end up there?) If you’d like to help move us towards CI,
I’m sure we’d all very much appreciate it if you could help solve the
artifactory problem.

Thank you Ramesh,
Myrle

On Mon 1. Jan 2018 at 04:45 ramesh padmanabhan <ra...@gmail.com>
wrote:

> I was using the Amazon Linux AMI not Ubuntu......looks like there are
> dependencies based on the Operating system.... I had a different module
> fail:'test-accounting-portfolio'.
>
>
> On Sun, Dec 31, 2017 at 6:53 PM, Simon Matthews <si...@dreamstartlabs.com>
> wrote:
>
>> Ramesh,
>>
>> what Linux distribution are you running? Ubuntu?
>>
>> I have run into a problem with one of the Javascript modules (node-sass,
>> if I recall correctly) on Ubuntu. This appears to be a known problem with
>> the module.
>>
>> Perhaps the Fineract CN team should find an alternative to using this
>> module?
>>
>> Simon
>>
> On Sun, Dec 31, 2017 at 5:06 PM, ramesh padmanabhan <
>> ramesh.padman2@gmail.com> wrote:
>>
> Hi Team,
>>>
>>> Let me clarify what I am trying to do with more details and also update
>>> you on where I am with this effort:
>>>
>>> Goal:
>>>
>>> - *What I have accomplished*: build and run Mifos I/O : local
>>> deployment(on my MAC)
>>>
>>
>>>
>>> What I am currently trying:
>>> - *Trying to build and run the Mifos I/O demo server in the Cloud*,
>>> following instructions as per this document
>>>
>>> https://cwiki.apache.org/confluence/display/FINERACT/How+to+build+Fineract+CN
>>>
>>> *Environment: AWS instance : Large(2 cpu+ 8GB)*
>>> Upgrading to this larger instance appears to have eliminated some of the
>>> build errors I was seeing earlier.
>>>
>>> However, I see 2 issues that I need help with:
>>> - The build completes with these errors:
>>>
>>> <The following modules failed to build: test-accounting-portfolio >
>>>
>> *Question*: Why does this module fail in the cloud instance but *not on
>>> my local MAC*(same memory size)
>>>
>>
>>> - When  I execute the java command, I get an error
>>>
>> java *-Ddemoserver.provision=true* -jar
>>> demo-server-0.1.0-BUILD-SNAPSHOT.jar
>>>
>>
>>> If I execute 'java -jar demo-server-0.1.0-BUILD-SNAPSHOT.jar'
>>> this works.....
>>>
>>> *Question*: why does the -Ddemoserver.provision=true work on my local
>>> machine but not on the AWS instance ?
>>>
>>>
>>> *- Related Question:*
>>>
>> Does anyone know how I can launch a web client(Chrome) on AWS ? I could
>>> not find easy to follow instructions anywhere on the web.
>>> I understand I need Chrome in order to run the user interface....(from
>>> npm i)
>>>
>>> Questions: Running in the Cloud(still to do)
>>> - I understand that 'demo server' cannot be used for production.
>>> However, I am just trying to get a working set going here.
>>> - I understand that the built in Cassandra/mySQL etc in the current
>>> image cannot scale for production usage and that I need to modify the yams
>>> files to separate instances... I still need to get to these
>>>
>>>
>>> Would appreciate help on any of these questions I have posted here......
>>>
>>> Thanks
>>> Ramesh
>>>
>>>
>>>

Re: Trying to run Fineract CN in the cloud

Posted by ramesh padmanabhan <ra...@gmail.com>.
I was using the Amazon Linux AMI not Ubuntu......looks like there are
dependencies based on the Operating system.... I had a different module
fail:'test-accounting-portfolio'.


On Sun, Dec 31, 2017 at 6:53 PM, Simon Matthews <si...@dreamstartlabs.com>
wrote:

> Ramesh,
>
> what Linux distribution are you running? Ubuntu?
>
> I have run into a problem with one of the Javascript modules (node-sass,
> if I recall correctly) on Ubuntu. This appears to be a known problem with
> the module.
>
> Perhaps the Fineract CN team should find an alternative to using this
> module?
>
> Simon
>
> On Sun, Dec 31, 2017 at 5:06 PM, ramesh padmanabhan <
> ramesh.padman2@gmail.com> wrote:
>
>> Hi Team,
>>
>> Let me clarify what I am trying to do with more details and also update
>> you on where I am with this effort:
>>
>> Goal:
>>
>> - *What I have accomplished*: build and run Mifos I/O : local
>> deployment(on my MAC)
>>
>>
>> What I am currently trying:
>> - *Trying to build and run the Mifos I/O demo server in the Cloud*,
>> following instructions as per this document
>> https://cwiki.apache.org/confluence/display/FINERACT/How+to+
>> build+Fineract+CN
>>
>> *Environment: AWS instance : Large(2 cpu+ 8GB)*
>> Upgrading to this larger instance appears to have eliminated some of the
>> build errors I was seeing earlier.
>>
>> However, I see 2 issues that I need help with:
>> - The build completes with these errors:
>>
>> <The following modules failed to build: test-accounting-portfolio >
>> *Question*: Why does this module fail in the cloud instance but *not on
>> my local MAC*(same memory size)
>>
>> - When  I execute the java command, I get an error
>> java *-Ddemoserver.provision=true* -jar demo-server-0.1.0-BUILD-SNAPSH
>> OT.jar
>>
>> If I execute 'java -jar demo-server-0.1.0-BUILD-SNAPSHOT.jar'
>> this works.....
>>
>> *Question*: why does the -Ddemoserver.provision=true work on my local
>> machine but not on the AWS instance ?
>>
>>
>> *- Related Question:*
>> Does anyone know how I can launch a web client(Chrome) on AWS ? I could
>> not find easy to follow instructions anywhere on the web.
>> I understand I need Chrome in order to run the user interface....(from
>> npm i)
>>
>> Questions: Running in the Cloud(still to do)
>> - I understand that 'demo server' cannot be used for production. However,
>> I am just trying to get a working set going here.
>> - I understand that the built in Cassandra/mySQL etc in the current image
>> cannot scale for production usage and that I need to modify the yams files
>> to separate instances... I still need to get to these
>>
>>
>> Would appreciate help on any of these questions I have posted here......
>>
>> Thanks
>> Ramesh
>>
>>
>>
>

Re: Trying to run Fineract CN in the cloud

Posted by ramesh padmanabhan <ra...@gmail.com>.
I was using the Amazon Linux AMI not Ubuntu......looks like there are
dependencies based on the Operating system.... I had a different module
fail:'test-accounting-portfolio'.


On Sun, Dec 31, 2017 at 6:53 PM, Simon Matthews <si...@dreamstartlabs.com>
wrote:

> Ramesh,
>
> what Linux distribution are you running? Ubuntu?
>
> I have run into a problem with one of the Javascript modules (node-sass,
> if I recall correctly) on Ubuntu. This appears to be a known problem with
> the module.
>
> Perhaps the Fineract CN team should find an alternative to using this
> module?
>
> Simon
>
> On Sun, Dec 31, 2017 at 5:06 PM, ramesh padmanabhan <
> ramesh.padman2@gmail.com> wrote:
>
>> Hi Team,
>>
>> Let me clarify what I am trying to do with more details and also update
>> you on where I am with this effort:
>>
>> Goal:
>>
>> - *What I have accomplished*: build and run Mifos I/O : local
>> deployment(on my MAC)
>>
>>
>> What I am currently trying:
>> - *Trying to build and run the Mifos I/O demo server in the Cloud*,
>> following instructions as per this document
>> https://cwiki.apache.org/confluence/display/FINERACT/How+to+
>> build+Fineract+CN
>>
>> *Environment: AWS instance : Large(2 cpu+ 8GB)*
>> Upgrading to this larger instance appears to have eliminated some of the
>> build errors I was seeing earlier.
>>
>> However, I see 2 issues that I need help with:
>> - The build completes with these errors:
>>
>> <The following modules failed to build: test-accounting-portfolio >
>> *Question*: Why does this module fail in the cloud instance but *not on
>> my local MAC*(same memory size)
>>
>> - When  I execute the java command, I get an error
>> java *-Ddemoserver.provision=true* -jar demo-server-0.1.0-BUILD-SNAPSH
>> OT.jar
>>
>> If I execute 'java -jar demo-server-0.1.0-BUILD-SNAPSHOT.jar'
>> this works.....
>>
>> *Question*: why does the -Ddemoserver.provision=true work on my local
>> machine but not on the AWS instance ?
>>
>>
>> *- Related Question:*
>> Does anyone know how I can launch a web client(Chrome) on AWS ? I could
>> not find easy to follow instructions anywhere on the web.
>> I understand I need Chrome in order to run the user interface....(from
>> npm i)
>>
>> Questions: Running in the Cloud(still to do)
>> - I understand that 'demo server' cannot be used for production. However,
>> I am just trying to get a working set going here.
>> - I understand that the built in Cassandra/mySQL etc in the current image
>> cannot scale for production usage and that I need to modify the yams files
>> to separate instances... I still need to get to these
>>
>>
>> Would appreciate help on any of these questions I have posted here......
>>
>> Thanks
>> Ramesh
>>
>>
>>
>

Re: Trying to run Fineract CN in the cloud

Posted by Simon Matthews <si...@dreamstartlabs.com>.
Ramesh,

what Linux distribution are you running? Ubuntu?

I have run into a problem with one of the Javascript modules (node-sass, if
I recall correctly) on Ubuntu. This appears to be a known problem with the
module.

Perhaps the Fineract CN team should find an alternative to using this
module?

Simon

On Sun, Dec 31, 2017 at 5:06 PM, ramesh padmanabhan <
ramesh.padman2@gmail.com> wrote:

> Hi Team,
>
> Let me clarify what I am trying to do with more details and also update
> you on where I am with this effort:
>
> Goal:
>
> - *What I have accomplished*: build and run Mifos I/O : local
> deployment(on my MAC)
>
>
> What I am currently trying:
> - *Trying to build and run the Mifos I/O demo server in the Cloud*,
> following instructions as per this document
> https://cwiki.apache.org/confluence/display/FINERACT/
> How+to+build+Fineract+CN
>
> *Environment: AWS instance : Large(2 cpu+ 8GB)*
> Upgrading to this larger instance appears to have eliminated some of the
> build errors I was seeing earlier.
>
> However, I see 2 issues that I need help with:
> - The build completes with these errors:
>
> <The following modules failed to build: test-accounting-portfolio >
> *Question*: Why does this module fail in the cloud instance but *not on
> my local MAC*(same memory size)
>
> - When  I execute the java command, I get an error
> java *-Ddemoserver.provision=true* -jar demo-server-0.1.0-BUILD-
> SNAPSHOT.jar
>
> If I execute 'java -jar demo-server-0.1.0-BUILD-SNAPSHOT.jar'
> this works.....
>
> *Question*: why does the -Ddemoserver.provision=true work on my local
> machine but not on the AWS instance ?
>
>
> *- Related Question:*
> Does anyone know how I can launch a web client(Chrome) on AWS ? I could
> not find easy to follow instructions anywhere on the web.
> I understand I need Chrome in order to run the user interface....(from npm
> i)
>
> Questions: Running in the Cloud(still to do)
> - I understand that 'demo server' cannot be used for production. However,
> I am just trying to get a working set going here.
> - I understand that the built in Cassandra/mySQL etc in the current image
> cannot scale for production usage and that I need to modify the yams files
> to separate instances... I still need to get to these
>
>
> Would appreciate help on any of these questions I have posted here......
>
> Thanks
> Ramesh
>
>
>

Re: Trying to run Fineract CN in the cloud

Posted by Simon Matthews <si...@dreamstartlabs.com>.
Ramesh,

what Linux distribution are you running? Ubuntu?

I have run into a problem with one of the Javascript modules (node-sass, if
I recall correctly) on Ubuntu. This appears to be a known problem with the
module.

Perhaps the Fineract CN team should find an alternative to using this
module?

Simon

On Sun, Dec 31, 2017 at 5:06 PM, ramesh padmanabhan <
ramesh.padman2@gmail.com> wrote:

> Hi Team,
>
> Let me clarify what I am trying to do with more details and also update
> you on where I am with this effort:
>
> Goal:
>
> - *What I have accomplished*: build and run Mifos I/O : local
> deployment(on my MAC)
>
>
> What I am currently trying:
> - *Trying to build and run the Mifos I/O demo server in the Cloud*,
> following instructions as per this document
> https://cwiki.apache.org/confluence/display/FINERACT/
> How+to+build+Fineract+CN
>
> *Environment: AWS instance : Large(2 cpu+ 8GB)*
> Upgrading to this larger instance appears to have eliminated some of the
> build errors I was seeing earlier.
>
> However, I see 2 issues that I need help with:
> - The build completes with these errors:
>
> <The following modules failed to build: test-accounting-portfolio >
> *Question*: Why does this module fail in the cloud instance but *not on
> my local MAC*(same memory size)
>
> - When  I execute the java command, I get an error
> java *-Ddemoserver.provision=true* -jar demo-server-0.1.0-BUILD-
> SNAPSHOT.jar
>
> If I execute 'java -jar demo-server-0.1.0-BUILD-SNAPSHOT.jar'
> this works.....
>
> *Question*: why does the -Ddemoserver.provision=true work on my local
> machine but not on the AWS instance ?
>
>
> *- Related Question:*
> Does anyone know how I can launch a web client(Chrome) on AWS ? I could
> not find easy to follow instructions anywhere on the web.
> I understand I need Chrome in order to run the user interface....(from npm
> i)
>
> Questions: Running in the Cloud(still to do)
> - I understand that 'demo server' cannot be used for production. However,
> I am just trying to get a working set going here.
> - I understand that the built in Cassandra/mySQL etc in the current image
> cannot scale for production usage and that I need to modify the yams files
> to separate instances... I still need to get to these
>
>
> Would appreciate help on any of these questions I have posted here......
>
> Thanks
> Ramesh
>
>
>