Configure SQL Server
For connections to SQL Server from an on-premises XenMobile Server, you can use any of the following drivers:
- The default driver
- jTDS
- Microsoft Java Database Connectivity (JDBC) driver
The jTDS driver is the default driver when you:
- Install XenMobile Server on-premises.
- Upgrade from a XenMobile Server that’s configured to use the jTDS driver.
For both drivers, XenMobile supports SQL Server authentication or Windows authentication. For those combinations of authentication and driver, SSL can be on or off.
When you use Windows authentication with the Microsoft JDBC driver, the driver uses integrated authentication with Kerberos. XenMobile contacts Kerberos to obtain the Kerberos Key Distribution Center (KDC) details. If the required details aren’t available, the XenMobile CLI prompts for the IP address of the Active Directory server.
To switch from the jTDS driver to the JDBC driver, SSH to all your XenMobile Server nodes and use the XenMobile CLI for configuration. The steps vary according to your current jTDS driver configuration, as follows.
Switch to Microsoft JDBC (SQL Server authentication)
To complete these steps, you need the SQL Server user name and password.
SSH to all XenMobile Server nodes.
In the XenMobile CLI main menu, type2to select theSystem Menu.
Type12to select Advanced Settings.
Type7to select Switch JDBC driver, and then typemfor Microsoft.
当职业mpted, typeyto choose SQL authentication and then type the SQL Server user name and password.
Repeat the steps for each XenMobile Server node.
Restart each XenMobile Server node.
切换到微软JDBC (SSL是关闭的;Windows身份验证entication)
To complete these steps, you need the Active Directory user name and password, the Kerberos KDC realm, and the KDC user name.
SSH to all XenMobile Server nodes.
In the XenMobile CLI main menu, type2to select theSystem Menu.
Type12to select Advanced Settings.
Type7to select Switch JDBC driver, and then typem.
当职业mpted whether to use SQL Server authentication, typen.
当职业mpted, type the Active Directory user name and password configured for the SQL server.
If XenMobile doesn’t auto-discover the Kerberos KDC realm, it prompts for the KDC details, including the SQL server FQDN.
当职业mpted whether to use SSL, typen. XenMobile saves the configuration. If XenMobile can’t save the configuration because of errors, it shows an error message and the details that you entered.
Repeat the steps for each XenMobile Server node.
Restart each XenMobile Server node.
To change the XenMobile database password
Follow this guidance to change the XenMobile database password, such as when Citrix Support directs you to make a password change.
If your SQL server uses Windows authentication, make database password changes in Windows Active Directory. Then, refresh the database administrator account on the database server to synchronize the password change. You can then change the password in XenMobile, as follows.
Important:
- Plan a scheduled maintenance window for changing the database password in XenMobile. A password change must occur during system downtime.
When you change the password, ensure that all XenMobile nodes are connected to the network. After you change the password, restart XenMobile.
If you don’t restart XenMobile after a password change, XenMobile goes into recovery mode. In that case, revert to the old password in SQL server, restart XenMobile, and change the password again.
Verify that all XenMobile Server nodes are running. For a clustered environment, bring up all nodes.
Block the incoming device traffic to XenMobile at the Citrix ADC load balancer by disabling the virtual server.
To change the database password in SQL server: Log in to the XenMobile CLI, navigate toConfiguration > Database, and enter the changed password when prompted:
Server []:
Port [1433]: 1433 Username [sa]: Password: <****> ChooseYto restart the server.
Repeat steps 3 and 4 for all the other nodes in the cluster.
Unblock the incoming device traffic by enabling the virtual server at the Citrix ADC load balancer.