Product Documentation

Configuración de la agrupación en clústeres

Feb 08, 2017

In XenMobile versions earlier than version 10, you configured Device Manager as a cluster and App Controller as a high availability pair. XenMobile 10 integrated XenMobile 9 Device Manager and App Controller. As of version 10, high availability is no longer applicable to XenMobile. To configure clustering, therefore, you need to configure the following two load balancing virtual IP addresses on NetScaler. 

  • Mobile device management (MDM) load balancing virtual IP address: An MDM load balancing virtual IP address is required to communicate with the XenMobile nodes that are configured in a cluster. This load balancing is done in SSL Bridge mode.
  • Mobile app management (MAM) load balancing virtual IP address: MAM load balancing virtual IP addresses are required for NetScaler Gateway to communicate with XenMobile nodes that are configured in a cluster. In XenMobile 10, by default, all traffic from NetScaler Gateway routes to the load balancing virtual IP address on port 8443.
The fully qualified domain name (FQDN) of the MDM load balancing virtual IP address and the MAM load balancing virtual IP addresses are the same as the enrollment FQDN, which is the FQDN of the XenMobile server.

The procedures in this article explain the method of creating a new XenMobile virtual machine (VM) and joining the new VM to an existing VM, thereby creating a cluster setup.

Prerequisites

  • You have fully configured the required XenMobile node.
  • One public IP address for MDM load balancer.
  • One private IP address, in a range defined by RFC 1918, for MAM load balancer.
  • Server certificates.
  • One free IP for NetScaler Gateway virtual IP address.

For reference architectural diagrams for XenMobile 10.x in clustered configurations, see Architecture.

Installing the XenMobile Cluster Nodes

Based on the number of nodes you require, you create new XenMobile VMs. You point the new VMs to the same database and provide the same PKI certificate passwords.

  1. Open the command-line console of the new VM and enter the new password for the administrator account.



  2. Provide the network configuration details as shown in the following figure.



  3. If you want to use the default password for data protection, type y; or, type n and enter a new password.



  4. If you want to use FIPS, type y; or, type n.



  5. Configure the database so that you point to same database that the earlier fully configured VM pointed to. You will see the message: Database already exists.



  6. Enter the same passwords for the certificates that you provided for the first VM.



    After you have entered the password, the initial configuration on second node will complete.



  7. When the configuration is complete, the server restarts and the logon dialog box appears.



    Note: The logon dialog box is identical to the logon dialog box of the first VM. The match is a way for you to confirm that both VMs are using the same database server.
  8. Use the fully qualified domain name (FQDN) of XenMobile to open the XenMobile console in a web browser.

9.  In the XenMobile console, click the wrench icon in the upper-right corner of the console.

localized image

The Support page opens.

10. Under Advanced, click Cluster Information.  

localized image

All of the information about the cluster, including cluster member, device connection information, tasks, and so on, appear. The new node is now a member of the cluster.

localized image

You can add other nodes by following the same steps. The first cluster added to the node has a Role of OLDEST. Clusters added after that will show a Role of NONE or null.

To configure load balancing for the XenMobile cluster in NetScaler

After you add the required nodes as members of the XenMobile cluster, you need to load balance the nodes to be able to access the clusters. Load balancing is done by running XenMobile Wizard available in NetScaler 10.5.x. You can following the steps in this procedure to load balance XenMobile by running the wizard.

  1. Log on to NetScaler.



  2. On the Configuration tab, click XenMobile and then click Get Started.



  3. Select the Access through NetScaler Gateway check box and the Load Balance XenMobile Servers check box and then click Continue.



  4. Enter the IP address for NetScaler Gateway and then click Continue.



  5. Bind the server certificate to the NetScaler Gateway virtual IP address by doing one of the following and then click Continue.
    • In Use existing certificate, choose the server certificate from the list.
    • Click the Install Certificate tab to upload a new server certificate.



  6. Enter the Authentication server details and then click Continue.



    Note: Make sure the Server Logon Name Attribute is same as you provided in the XenMobile LDAP configuration.
  7. Under XenMobile settings, enter the Load Balancing FQDN for MAM and then click Continue.



    Note: Make sure the FQDN of the MAM load balancing virtual IP address and the FQDN of XenMobile are the same.
  8. If you want to use SSL Bridge mode (HTTPS), select HTTPS communication to XenMobile Server. However, if you want to use SSL offload, select HTTP communication to XenMobile Server, as shown in the preceding figure. For the purposes of this article, the choice is SSL Bridge mode (HTTPS).
  9. Bind the server certificate for the MAM load balancing virtual IP address and then click Continue.

  10. Under XenMobile Servers, click Add Server to add the XenMobile nodes.



  11. Enter the IP address of the XenMobile node and then click Add.



  12. Repeat steps 10 and 11 to add additional XenMobile nodes that are part of the XenMobile cluster. You will see all the XenMobile nodes that you have added. Click Continue.



  13. Click Load Balance Device Manager Servers to continue with the MDM load balancing configuration.

  14. Enter the IP address to be used for MDM load balancing IP address and then click Continue.



  15. Once you see the XenMobile nodes in the list, click Continue and then click Done to finish the process.



    You will see the virtual IP address status on the XenMobile page.



  16. To confirm if the virtual IP addresses are up and running, click the Configuration tab and then navigate to Traffic Management > Load Balancing > Virtual Servers.



    You will also see that the DNS entry in NetScaler points to the MAM load balancing virtual IP address.