XenMobile

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.

Command-line options

Configuration options

Following are samples of theConfiguration Menuand the settings displayed for each option.

Command-line options

[1] Network

Command-line options

[2] Firewall

Command-line options

[3] Database

Command-line options

[4] Listener Ports

Command-line options

Clustering options

Following are samples of theClustering Menuand the settings displayed for each option.

Command-line options

[1] Show Cluster Status

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.

集群membe [3]r white list

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]

Note:

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

System options

From theSystem Menu, you can display or set system-level information, restart, or shut down the server, or accessAdvanced Settings.

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 Usagemenu item.

About shutting down server nodes

When you shut down a single server node in a cluster, other nodes can generally handle the workload if they meet the requirements documented inScalability and performance. The impact can vary depending on how many nodes are down at the same time, the total number of users, and how long the nodes are down.

  • Users can still access Secure Hub and the store.
  • Users can still access and launch deployed managed apps, if an available node can handle the number of users. Connections might be slower, resulting in slower device check-ins.
  • Device policies continue to work unless all nodes are down. Depending on resources and number of devices, policies might deploy more slowly.

[12] Advanced Settings

Command-line options

SSL protocolsoptions default to all allowed protocols. After the promptNew 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, typeTLSv1.2,TLSv1.1and then typeyto restart XenMobile Server.

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

Switch JDBC driveroptions arejTDSandMicrosoftJDBC. The default driver is jTDS. For information about switching to the Microsoft JDBC driver, seeSQL Server drivers.

Troubleshooting options

Following are samples of theTroubleshooting Menuand the settings displayed for each option.

Command-line options

[1] Network Utilities

Command-line options

[2] Logs

Command-line options

[3] Support Bundle

Command-line options

[4] Disk Usage

Command-line options

To upload a support bundle by using Citrix Files as the FTP site

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

  1. Verify the FTP logon details.

    a. In a web browser, openhttps://citrix.sharefile.com.

    b. ClickPersonal Settingsand then clickAdvanced connections.

    Citrix Files personal settings

    Citrix Files advanced connections

    c。在FTP服务器信息,用户名,verify that an alphanumeric user ID appears, along with the default Subdomain/username details.

    Citrix Files FTP configuration

    Notes:

    • The file you are uploading from XenMobile is a Linux CLI-based FTP client. As a result, 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 Content Collaboration admin or Content Collaboration support.
  2. Verify that the Citrix Files server is enabled for FTP communication along with FTPS. Ideally, Content Collaboration 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 clickingSettings,Admin Settings,Advanced Preferencesand thenEnable ShareFile Tools.InExternal Apps,FTP Access, verify that theEnablecheck box is selected.

    The Citrix Files enable check box

  3. Create a shared folder for the FTP client to use as a directory for file uploads. ClickHome, clickFolders, and then clickPersonal Folders.

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

    Citrix Files shared folder dialog box

  5. In the XenMobile Server CLI, on theMain Menu, selectTroubleshooting > Support Bundle. Then, on theSupport Bundle Menu, selectGenerate Support Bundle.

    Command-line options

    Note:

    If a support bundle exists, when prompted, typeyto override the bundle.

  6. Upload the support bundle to the FTP server:

    a. SelectUpload Support Bundle by using FTP.

    b.Enter remote host:When prompted, type your FTP server name. When Citrix Files is used as FTP server, type your company name followed by Citrix Files FTP site name. For example citrix.sharefileftp.com.

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

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

    e.Enter remote directory:When prompted, enter the shared folder name you created in Citrix Files and then pressEnter.

    FTP upload commands

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

FTP upload commands

For more information about Citrix Files FTP, see thisCitrix 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 theSystemmenu.
  2. In theSystemmenu, select theDisplay System Disk Usageoption.

    The file system information appears.

    The disk space results

To perform self-service disk cleanup

You can clean up the disk in the CLI as follows:

  1. On theTroubleshooting Menu, selectDisk Usage. TheDisk Usage Menuhas the following options:Disk Usage Menu

  2. Type 1 to list the core dump file and support bundles file types. If there no files exist, you get the following message:No core dump and support bundles found.

  3. Type 2 to clean the scanned core dump file and support bundle file.

Command-line interface options