Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
I have Dev and Prod in the same cluster.
After I develop an app in dev node, the app is published to Prod from QMC. (shares the same storage for the app)
After that I set up an reload task in qmc for the new published app.
When the reload happens, the task uses the resources of Prod node, in other words, the task runs on the prod node.
Is there a way, to allow the task to run on Dev node? Once I am satisfied on the reload time / performance etc., I should be able to run the task in Prod node.
How can I achieve it?
Thanks
Hi Bastien,
Just this question came to my mind.
What would be the downside of having DEV and PROD in the same cluster?
Can you please let me know when you have a chance?
Thanks
Hello,
I would say that you need to be particularly careful with the setup in such cluster especially around security and access. If for example you don't want certain user to be able to access to certain DEV resources and only access to PROD resources. This is obviously not something you would face if the two environments are physically separated in two different cluster. However I still recommend this type of setup as it makes the workflow and administration of the platform way easier and is perfect to provide self service development to your users.
The other point you may want to consider is to have an additional "test" environment to test any infrastructure changes such as system configuration, upgrade, patch,... Obviously this is not something you can "test" in DEV before PROD as the two are running on the same cluster.
Hope this make sense!
Definitely makes sense. Good points Bastien. Thanks.
HI Bastien,
When we have this type of Architecture (Dev and Prod on same cluster), as you know, we have Work space and streams on Prod.
When logged on to dev hub - we can see work, published folders and underneath we can see all the streams on prod
Similarly when logged on to Prod hub - we can see work, published folders and underneath we can see all the streams on prod
Question is : When an app is published from work to stream on prod, does the app should have 2 copies in the App folder. Our app folder is an n/w drive but I can see just one copy of the app.
Won't there be multiple copies, one for work space and another one for prod stream. Can you please shed some light on this?
Thanks
Hello!
Great question and the answer is yes and no. It depends on which action you are doing (A simple publish or a Publish and Replace). What's important to remember is that these actions of publishing application happen at a logical level (an update in the database) and not a physical level meaning nothing happens at storage level.
Basically when developing an application here is the typical workflow:
You can observe this behavior by following this workflow and observing the AppID for your applications. In your storage folder, each app is names after there AppIDs.
Hope this clarify things!
Great, Thanks much Bastien. This clarifies.