Command-line interface options

For an on-premises installation of XenMobile Server, you can access the CLI options as follows:

  • From the hypervisor on which you installed XenMobile: In your hypervisor, select the imported XenMobile virtual machine, start the command prompt view, and log on to your administrator account for XenMobile. For details, see the documentation for your hypervisor.
  • If SSH is enabled in your firewall, by using SSH: Log on to your administrator account for XenMobile.

You can perform various configuration and troubleshooting tasks using the CLI. The following figure shows the top-level menu for the CLI.

Image of command-line options

Configuration options

Following are samples of the Configuration Menu and the settings displayed for each option.

Image of command-line options

[1] Network

Image of command-line options

[2] Firewall

Image of command-line options

[3] Database

Image of command-line options

[4] Listener Ports

Image of command-line options

Clustering options

Following are samples of the Clustering Menu and the settings displayed for each option.

Image of command-line options

[1] Show Cluster Status

Image of command-line options

[2] Enable/Disable cluster

When you choose to enable clustering, the following message appears:

To enable real-time communication between cluster members, please open port 80 using the Firewall menu option in CLI menu. Also configure Access white list under Firewall settings for restricted access.

When you choose to disable clustering, the following message appears:

You have chosen to disable clustering. Access to port 80 is not needed. Please disable it.

[3] Cluster member white list

Image of command-line options

[4] Enable or disable SSL offload

When you select to enable or disable SSL offloading, the following message appears:

Enabling SSL offload opens port 80 for everyone. Please configure Access white list under Firewall settings for restricted access.

[5] Display Hazelcast Cluster

When you select to display the Hazelcast Cluster, the following options appear:

Hazelcast Cluster Members:

[IP addresses listed]


If a configured node is not part of the cluster, please restart that node.

System options

From the System Menu, you can display or set system-level information, restart or shut down the server, or access Advanced Settings.

Image of command-line options

Set NTP Server enables you to specify NTP server information. If you have time zone issues when syncing XenMobile time with a hypervisor, you can avoid the issues by pointing XenMobile to an NTP server. Restart all cluster servers after changing this option.

You can also check the disk space by viewing the [5] Display System Disk Usage menu item.

[12] Advanced Settings

Image of command-line options

SSL protocols options default to all allowed protocols. After the prompt New SSL protocols to enable, type the protocols you want to enable. XenMobile disables any protocols that you don’t include in your response. For example: To disable TLSv1, type TLSv1.2,TLSv1.1 and then type y to restart XenMobile Server.

Server Tuning options include the server connection timeout, maximum connections (by port), and maximum threads (by port).

Switch JDBC driver options are jTDS and Microsoft JDBC. The default driver is jTDS. For information about switching to the Microsoft JDBC driver, see SQL Server drivers.

Troubleshooting options

Following are samples of the Troubleshooting Menu and the settings displayed for each option.

Image of command-line options

[1] Network Utilities

Image of command-line options

[2] Logs

Image of command-line options

[3] Support Bundle

Image of command-line options

To upload a support bundle by using ShareFile as the FTP site

Before you initiate the upload of a support bundle, configure the following prerequisites on ShareFile:

  1. Verify the FTP logon details.

    a. In a web browser, open

    b. Click Personal Settings and then click Advanced connections.

    Image of ShareFile personal settings

    Image of ShareFile advanced connections

    c. In FTP Server information, for User name, verify that an alphanumeric user ID appears, along with the default Subdomain/username details.

    Image of ShareFile FTP configuration


    • Because you are uploading a file from XenMobile, which is a Linux CLI-based FTP client you cannot enter backslash () and at sign (@) characters, as part of your user name.
    • If you don’t see the alphanumeric user ID, you can request this user ID from your ShareFile admin or ShareFile support.
  2. Verify that the ShareFile server is enabled for FTP communication along with FTPS. Ideally, ShareFile admins allow a user account to be opened for FTP communication. Sometimes, however, only FTPS communication is allowed.

    A user with administrator rights can verify and enable this setting by clicking Settings,Admin Settings, Advanced Preferences and then Enable ShareFile Tools. In External Apps, FTP Access, the Enable check box should be selected.

    Image of the ShareFile enable check box

  3. Create a shared folder for the FTP client to use as a directory for file upload. Click Home, click Folders and then click Personal Folders.

  4. On the far right, click the plus sign (+) icon, click Create Folder and then enter a name for the folder.

    Image of ShareFile shared folder dialog box

  5. In the XenMobile Server CLI, on the Main Menu, select Troubleshooting > Support Bundle. Then, on the Support Bundle Menu, select Generate Support Bundle.

    Image of command-line options


    If existing support bundle, when prompted, type y to override the bundle.

  6. Upload the support bundle to the FTP server:

    a. Select Upload Support Bundle by using FTP.

    b. When prompted to Enter remote host, type your FTP server name. When ShareFile is used as FTP server, type your company name followed by Sharefile FTP site name. For example

    c. When prompted to Enter remote user name, type the alphanumeric user ID.

    d. When prompted to Enter remote user password, enter your password.

    e. When prompted to Enter remote directory, enter the shared folder name you created in ShareFile and then press Enter.

    Image of FTP upload commands

You can view the uploaded support bundle in the shared folder you created in ShareFile.

Image of FTP upload commands

For more information about ShareFile FTP, see this Citrix Support Knowledge Center article.

To check the disk space

You can check the system disk space in the CLI as follows:

  1. On the main menu, select the System menu.
  2. In the System menu, select the Display System Disk Usage option.

    The file system information appears.

    Image of the disk space results