WebLM CLI operations

Last Updated : Jul 22, 2024 |
Note:

Any CLI user who is part of the gcliuser, and admin groups created at the time of deployment can execute the following commands:

#

Command

Parameters

Description

Usage

1.

changeIPFQDN

  • IP < new IP address for WebLM >

  • FQDN < new fully qualified domain name of WebLM >

  • GATEWAY < new gateway address for WebLM >

  • NETMASK < new netmask address for WebLM >

  • dns < new DNS address for WebLM >

  • SEARCH < new search list for DNS addresses >

Updates the IP address, FQDN, Gateway, Netmask, DNS, and the search list with the new value.

  • changeIPFQDN -IP < new IP address >

  • changeIPFQDN -FQDN < new fully qualified domain name >

  • changeIPFQDN -IP < new IP address > -GATEWAY < new gateway address for WebLM > -SEARCH < new search list for DNS addresses >

2.

configureNTP

< IP address of the NTP server >

Configures the NTP server details.

configureNTP < IP address of the NTP server >

Separate the IP addresses or the host names of the NTP servers with commas (,).

3.

configureTimeZone

< Time zone that you want to select >

Configures the time zone with the value that you select.

Select a time zone. For example, America/Denver

4.

WebLMPatchdeploy

< absolute path to the WebLM service pack, feature pack, or the software patch >

Installs the software patch, the service pack, or the feature pack for WebLM.

WebLMPatchdeploy <absolute path to home/admin/< WebLM FeaturepackName >

Note:

Copy the WebLM feature pack or patches that you install to /home/ admin/.

5.

weblm_password

Resets the WebLM password through CLI. Any CLI user who is part of the gcliuser and admin groups, created at the time of deployment can execute the command.

6.

configureTLS

  • -ENABLE_TLS_VERSIONS TLSv1.3

  • -ENABLE_TLS_VERSIONS TLSv1.2

  • -ENABLE_TLS_VERSIONS TLSv1.1

  • -ENABLE_TLS_VERSIONS TLSv1.0

Configures the TLS version.

Type one of the following options:

  • configureTLS -ENABLE_TLS_VERSIONS TLSv1.3

  • configureTLS -ENABLE_TLS_VERSIONS TLSv1.2

  • configureTLS -ENABLE_TLS_VERSIONS TLSv1.1

  • configureTLS -ENABLE_TLS_VERSIONS TLSv1.0

7.

collectLogs

Collects the WebLM logs in the /tmp/WebLM_Logs_DDMonYY_XXXXXXXXXXXXXXX.zip file.

8.

swversion

Verifies the WebLM software version.

9.

swversion -s

Verifies the WebLM software version and also displays information about the application name, profile, and deployment type.

swversion -s

Note:

The output varies based on the application deployment and the virtualization environment.

10.

WebLMBackup

<backup_location>

Performs the WebLM backup.

WebLMBackup <backup_location>

Note:

You can copy the backup files to a remote computer or to an external storage device.

11.

WebLMRestore

<Full path where the Backup files have been saved>

WebLM restores user, data, and license information from the backup based on the data available in the backup file.

WebLMRestore <Full path where the Backup files have been saved>

12.

configureCiphersList

  • 1: To view the configured cipher suites.

  • 2: To configure relaxed cipher suites.

  • 3: To configure strict cipher suites.

You can toggle between the Relaxed cipher suites or Strict cipher suites.

13.

weblmStart

Starts the WebLM Application server.

weblmStart

14.

weblmStatus

Checks the status of the WebLM Application server.

weblmStatus

15.

weblmStop

Stops the WebLM Application server.

weblmStop

16.

weblmRestart

Restarts the WebLM Application server.

weblmRestart

17.

manageWebLMCertificate

  • -display

  • -replace

  • -generateSelfSigned

Allows you to view a WebLM certificate, replace a WebLM certificate with a third-party certificate, and generate a self-signed WebLM certificate.

Type one of the following options:

  • manageWebLMCertificate -display

  • manageWebLMCertificate -replace -certpath <file> -password <password>

  • manageWebLMCertificate -generateSelfSigned

18.

manageCACertificates

  • -list

  • -add

  • -remove

Allows you to view, add, and delete CA imported certificates in the WebLM server truststore.

Type one of the following options:

  • manageCACertificates -list

  • manageCACertificates -add -certpath <file> -alias <alias>

  • manageCACertificates -remove -alias <alias>

19.

setWebLMClientAuth

  • 1: Displays existing WebLM client certificate authentication configuration.

  • 2: Enables WebLM client certificate authentication.

  • 3: Disables WebLM client certificate authentication.

Allows you to manage the client certificate authentication for WebLM port 52233.

Note:

From 10.1.3.3 onwards, the WebLM client certificate authentication configuration is ON by default and you need to setup WebLM client certificate for communication with WebLM server for licensing to work. You must disable client certificate authentication if you do not require it (WebLM client certificate for communication). You can re-enable it once the WebLM client certificate for communication is configured.

20

toggleOldWebLMClientCommunication

Run this utility as the following:

  • Type 1 to check the old WebLM client communication status

  • Type 2 to enable the old WebLM client communication status

  • Type 3 to disable the old WebLM client communication status

Note:

The user can enter the values specified above based on their usage.

This utility is used to check, enable, and disable the old WebLM client communication status with releases 10.1.3.1 and later. For the older WebLM client communication, the default status is ENABLED.

  • Type 1 to check the old WebLM client communication status.

  • Type 2 to enable the old WebLM client communication status.

  • Type 3 to disable the old WebLM client communication status.

If your input is 1 and the current status is enabled, the message
Old WebLM client communication status is ENABLED
is displayed.
If the current status is disabled, the message
Old WebLM client communication status is DISABLED
is displayed.
If your input is 2, the message
Old WebLM client communication is now ENABLED
is displayed.
If your input is 3, the message
Old WebLM client communication is now DISABLED
is displayed.