Crowd Test environment Setup
Asked by vivuu:

We are in process to replicate crowd prod which is running behind a reverse proxy to another test server with same configuration should be reflect here.  

version 2.11.1, windows 2012, MSSQL DB.


Answers:
author: vivuu
body: ![crowd window.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/9588iBEB0925EEAAF1FA4/image-size/large?v=v2&px=999 "crowd window.PNG")

We are not getting proper window for crowd after the migration.please help us

comments: author: Marcin Kempa
body: Hi [@vivuu](/t5/user/viewprofilepage/user-id/379048)

It looks like you are running into similar problem as described [here](https://community.atlassian.com/t5/Crowd-questions/Crowd-UI-Server-is-not-rendering-only-appears-as-text/qaq-p/667640?utm_source=atlcomm&utm_medium=email&utm_campaign=immediate_general_question&utm_content=topic).

The root cause of this problem may be [CWD-4968](https://jira.atlassian.com/browse/CWD-4968) or [CWD-4999](https://jira.atlassian.com/browse/CWD-4999) depending on what changed operating system or Java.

Please use the workaround as described in [CWD-4968](https://jira.atlassian.com/browse/CWD-4968)

Best Regards,

Marcin Kempa


author: vivuu
body: It Worked,

Thanks a lot for fixing the issue..

Now we may need assistance here.

<br />

We have migrated all our applications, Crowd, Jira, Bitbucket, Confluence to Test environment.

But , The application integration to Crowd and between applications how can make to Test Configuration for these applications, without affecting PROD


author: AnnWorley
body: I understand you need a guide for replicating your Production Crowd server in a Test environment. I hope it is to test an upgrade. :)

We have an article on how to create a test environment for Crowd:

[Migrating Crowd Between Servers](https://confluence.atlassian.com/crowd0212/migrating-crowd-between-servers-935372589.html)

Please review it and let us know any questions that arise. We are happy to answer.

comments: author: vivuu
body: We follwed the below steps and getting error.

1)Installed fresh instance of crowd in test environment.  
2) Copied the Crowd home directory to the Test Environment  
3) restord the Prod DB in Test SQlDB  
3) Edited the crowd.config .xml to point the test DB  
4?) Restarted the Crowd service.

<br />

But we are getting below error

"HTTP Status 404 - /crowd

type Status report

message /crowd

description The requested resource is not available.

Apache Tomcat/7.0.69"


author: vivuu
body: Now Our Prod setup-Crowd-2.11.1 in Windows server and it should be migrated to linux machine in another domain with a different url .

<br />

currently in windows the atlassin application are running behind reverse proxy and for authentication we are using crowd internal directory ?

So please let us know what are the steps need to be implemented for data migration to new instance in the linux (windows to linux )

using MSSQl DB in both environment


author: vivuu
body: We have migrated all our applications, Crowd, Jira, Bitbucket, Confluence to Test environment from Prod Servers.(By application data and DB data store to Test environment)

<br />

But , The application integration to Test Crowd and between Test applications how can make to Test Configuration for these applications, without affecting PROD

1)Test Crowd Should authenticate all test environment applications (Currently test crowd containing map with Prod application IP Addresses)

2)How The integration Between These applications in test environment can be replaced to Test application integration by removing PROD links

Since Production Data are copied and DB are restored, Now test applications will be having old trace with the production instances. How to revert it with test instances and what are the files need to be edited for enabling the integration

comments: author: AnnWorley
body: To make the Crowd instance "talk" to the test applications, please set up the test applications as described on this page: [Adding an Application](https://confluence.atlassian.com/crowd/adding-an-application-18579591.html)

Likewise, the Applications menu in Crowd is where you would remove the Production applications.

You will also need to [add a directory](https://confluence.atlassian.com/crowd/adding-a-directory-18579549.html) to the Crowd test instance and [map it to the applications](https://confluence.atlassian.com/crowd/mapping-a-directory-to-an-application-18579599.html).


author: Marcin Kempa
body: Hi [@vivuu](/t5/user/viewprofilepage/user-id/379048),

Is there anything in particular you would like to ask about this replication?

In general Crowd does not actively connect to applications connected to it, so the test replica should not affect your working production environment.

Once you have your testing environment, I encourage you to try the newest Crowd 3.0.1 version on it.

Best Regards,

Marcin Kempa

comments: author: vivuu
body: We need your kind assistance to get step by step guidance to create test environment from the PROD Crowd