Command-line interface options
For an on-premises installation of XenMobile Server, you can access the CLI options at any time 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. Following is the top-level menu for the CLI.
Following are samples of the Configuration Menu and the settings displayed for each option.
 Listener Ports
Following are samples of the Clustering Menu and the settings displayed for each option.
 Show Cluster Status
 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.
 Cluster member white list
 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.
 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 reboot that node.
From the System Menu, you can display or set system-level information, restart or shut down the server, or access Advanced Settings.
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.
 Advanced Settings
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.
Following are samples of the Troubleshooting Menu and the settings displayed for each option.
 Network Utilities
 Support Bundle
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:
Verify the FTP logon details.
a. In a web browser, open https://citrix.sharefile.com.
b. Click Personal Settings and then click Advanced connections.
c. In FTP Server information, for User name, verify that an alphanumeric user ID appears, along with the default Subdomain/username details.
- 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.
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.
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.
On the far right, click the plus sign (+) icon, click Create Folder and then enter a name for the folder.
In the XenMobile Server CLI, on the Main Menu, select Troubleshooting > Support Bundle. Then, on the Support Bundle Menu, select Generate Support Bundle.
If existing support bundle, when prompted, type y to override the bundle.
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 citrix.sharefileftp.com.
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.
You can view the uploaded support bundle in the shared folder you created in ShareFile.
For more information about ShareFile FTP, see this Citrix Support Knowledge Center article.