Hi Master,
I want to know how to make one link "Https://app.com/w_cloud " to connect to db server 1 when user choose db server 1 and connect to db server 2 when user choose db server2.
I will create a screen for selection of which db server to connect before user enter login id and password. So, it will be only one link, https://app.com/w_cloud, and connect to choosen db server. My question is what other thing i need to configure beside setting two cahces in the project.(one is default, another cache) see picture attached.
The purpose, is to be able to let the user to use another db server when current db server is down.
Please advice. Thank you.
Thanks but my current application is connecting to two data source in one profile. When i connect to db server 1, inside my application will connect to two data source to get data. In our environment, we will have one server for production, another server for backup when disaster happened.
So, in power server project there, in the database section, i created two db profile, one called Default, another called m_ST2(see attachment).
In database connection profile named "Default", has two cache, one i named as "Default" connecting to M_VN database, with d_xxx data source, second cache is Default1 connecting to same M_VN db, with different data source, that is d_xxx_g (See attachment )
I have second database connection profile named "M_ST2", also has two cache, one i named as "M_ST2" connecting to "M_ST2" database, with d_xxx data source, second cache is "M_ST2_2" connecting to same M_ST2 db, with different data source, that is d_xxx_g (See attachment)
So, now when user click connect to server 1/production server , i want it to use profile Default. And if user click connect to server 2/backup server, i want it to use profile M_ST2. Can you guide me how to do that? i think the one you mentioned above is referring to different data source.
THanks. Currently, in my application, i have two transaction objects, sqlca for datasource 1, n_trlogged for another datasource 2. This two datasource are reside in one database server.
In business requirement, the application will be connecting to different database server(lets call it, database server A or database server B) bi-weekly. Both database server having the same two datasouce(we replicated daily). My question is how to build one URL, connecting to database server A on week 1 and the following week ,connect to database server B without need to build and redeploy the URL again with new database profile.
Hope i dnt confused you. Please see attachment earlier for sample.