Avatar of tonyjoewalker
tonyjoewalker
 asked on

Citrix xenapp 6.5 Discovery Fails after moving servers between Data Centers

Hi

I have a simple Citrix Xenapp 6.5 setup - one vm web server, one vm SQL server, and two physical app servers.  After migrating the entire package from one data center to another, I can't get a successful discovery in AppCenter.  Nothing shows up under citrix Resources\XenApp.

I can rdp to all servers, can ping between them, and DNS is working.

I thought that at first it was because all the sql services were stopped, but I got them all running and rebooted everything in the farm and still no discovery.

The web interface is up and I can log in with no problems and can even open a couple of the apps that are running on the app servers.

The web on sql servers were migrated and online for about a month before the app servers because of physically shipping them across the country.

Not sure where to go from here.  Any help is appreciated.  Thanks!

Tony
CitrixWindows Server 2008

Avatar of undefined
Last Comment
Matt V

8/22/2022 - Mon
Matt V

Did you change the IPs when you moved them?
tonyjoewalker

ASKER
yes, all the IP addresses had to change.  Is there something I need to update in the app center?
ASKER CERTIFIED SOLUTION
Matt V

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Sekar Chinnakannu

hope you followed above steps

Changing citrix servers IP address no issues, but make sure you have configured the WI server and other servers settings with server name not with IP address.

To Change IP for a citrix server
- Stop the IMA service & set to manual
- Change the IP Address
- Reboot the server
- Verify that other servers and clients able to ping
- Restart the IMA service and then set the IMA Service to automatic

You have to add new IP in web interface if you are using IP.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
tonyjoewalker

ASKER
Hi

I stopped the IMA, ran the dsmaint recreatelhc on the web server and one of the app servers.  The IMA service would not start, so I rebooted everything.  IMA service still would not start so I rebooted the SQL server.  Still won't start.  Attached are the error messages.  

The last one is the most telling.  Not sure how to check the creds it's using as its been a long time since I had to administer this.  Thanks!

Tony
citrixErrors.docx
Matt V

Did you configure the SQL server connection as IP or hostname?

Check that the correct settings are in C:\Program Files (x86)\Citrix\Independent Management Architecture\mf20.dsn

[ODBC]
DRIVER=SQL Server
DATABASE=citrix_ds
APP=Citrix IMA
UID=citrixuser
SERVER=SQLSERVER\SQLINSTANCE

Also verify that the account the IMA service is running as is not locked out.
tonyjoewalker

ASKER
Hi

the dsn is configured with hostname and ping returns the correct IP.  the current dsn file has the correct server and database name.  My dsn shows

Server=servername

should I change it to server=servername\sqlinstance?  The database= line is the correct db name.

I used notepad to edit mf20.dsn to change server=servername to server=servername\sqlinstance but got the same error as in the attachment.

The service account is a local admin and a SQL sysadmin.  I tried using my domain admin account with the dsmaint config to change the user name and password and it didn't connect either.

I've been trying to run dsmaint config  /user:username /pwd:password /dsn:dsnfilename as in the attachment but it won't take.  

using lockout.exe is seems every time I run the dsmaint config the bad password count goes up one.  I copied and pasted the password out of the cmd window and changed the password again in AD.  So I created a new SA and am running the sql services under that account but still won't connect with dsmaint config...

sorry if this is kind of rambling...
citrixerror2.png
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
tonyjoewalker

ASKER
so close.  the solution was to use the full path for the dsn file location:

dsmaint config /user:domain\username /pwd:password /dsn:"C:\Program Files (x86)\Citrix\Independent Management Architecture\mf20.dsn"

Thank you for your help.
tonyjoewalker

ASKER
Thank you!
Matt V

Sweet, glad you got it working!
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23