New MultiTenant - At runtime

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

New MultiTenant - At runtime

pankaj
Hi All,

We followed steps given in below link for multi tenant and it was quite helpful.

https://cwiki.apache.org/confluence/display/OFBIZ/Multitenancy+support#Multitenancysupport-Settingtheecommerceapp.touseanspecificTenantDatabase

But Tenant Data loading and other configuration setting is managed by some configuration files and not managed through database, so that if any new Tenant is added or we need to load any custom data for any tenant we need not to stop server.

I request for suggestions how to create Tenant dynamically i.e without restarting the server.


With Regards,
Pankaj
Reply | Threaded
Open this post in threaded view
|

Re: New MultiTenant - At runtime

Pierre Smits
Hi Pankaj,

In a production environment you don't want to stop the server(s) in order
to get another tenant instantiated.

We have solved this by using a separate instantiation of the code as an
administration client to do the tenant creation and the custom data loading
for that client.

Regards,

Pierre

2012/7/12 pankaj <[hidden email]>

> Hi All,
>
> We followed steps given in below link for multi tenant and it was quite
> helpful.
>
>
> https://cwiki.apache.org/confluence/display/OFBIZ/Multitenancy+support#Multitenancysupport-Settingtheecommerceapp.touseanspecificTenantDatabase
>
> But Tenant Data loading and other configuration setting is managed by some
> configuration files and not managed through database, so that if any new
> Tenant is added or we need to load any custom data for any tenant we need
> not to stop server.
>
> I request for suggestions how to create Tenant dynamically i.e without
> restarting the server.
>
>
> With Regards,
> Pankaj
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/New-MultiTenant-At-runtime-tp4634716.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: New MultiTenant - At runtime

Ankit Jain-2
In reply to this post by pankaj
Please ask these questions on User Mailing List ([hidden email])
so others will also get answer if they looking for the same question.
Developer Mailing list is for developers discussion.

Regards,
Ankit Jain




On Thu, Jul 12, 2012 at 10:18 AM, pankaj <[hidden email]> wrote:

> Hi All,
>
> We followed steps given in below link for multi tenant and it was quite
> helpful.
>
>
> https://cwiki.apache.org/confluence/display/OFBIZ/Multitenancy+support#Multitenancysupport-Settingtheecommerceapp.touseanspecificTenantDatabase
>
> But Tenant Data loading and other configuration setting is managed by some
> configuration files and not managed through database, so that if any new
> Tenant is added or we need to load any custom data for any tenant we need
> not to stop server.
>
> I request for suggestions how to create Tenant dynamically i.e without
> restarting the server.
>
>
> With Regards,
> Pankaj
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/New-MultiTenant-At-runtime-tp4634716.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: New MultiTenant - At runtime

pankaj
In reply to this post by Pierre Smits
Hi Pierre,

Thanks for your inputs.
Can you be more elaborate on this with example.
I am unable to understand the suggestions given.

With Regards,
pankaj