No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionServer Tools 2.0 uREST User Guide 16

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Setting VNC Information

Setting VNC Information

Function

Set VNC information.

Format

./urest -H HOST -p PORT -U USERNAME -P PASSWORD setvnc -S {False,True} -K {en,jp} -to TIMEOUT -P PASSWORD -R [{Rule1,Rule2,Rule3} [{Rule1,Rule2,Rule3} ...]]

Parameters

Parameter

Description

Value

HOST

iBMC IP address or domain name. It is a mandatory parameter. If an IPv6 address is used, the IPv6 address must be included in square brackets, such as [1001::1001].

-

PORT

Port number. The default value is 443. It is an optional parameter.

Enter the port number if the default value 443 is not used.

USERNAME

iBMC user name. It is a mandatory parameter.

-

PASSWORD

Password of the iBMC user. It is a mandatory parameter.

-

-S {False,True}

SSL encryption enabling status. It is an optional parameter.

  • True: Enable encryption.
  • False: Disable encryption.

-K {en,jp}

Keyboard layout. It is an optional parameter.

  • en: American keyboard
  • jp: Japanese keyboard

TIMEOUT

Session timeout period. It is an optional parameter.

0 to 480

PASSWORD

VNC password. It is an optional parameter.

If the complexity check function is disabled, the password can be set to any value consisting of 1 to 8 characters. If the complexity check function is enabled, the password must consist of 8 characters and meet complexity requirements.

-R [{Rule1,Rule2,Rule3} [{Rule1,Rule2,Rule3} ...]]

Login rule. It is an optional parameter.

Range: Rule1, Rule2, and Rule3

The value can be one rule, two rules, or three rules, such as Rule1, Rule2 Rule3, or Rule1 Rule2 Rule3.

Usage Guidelines

This function applies only to FusionServer V5 servers and TaiShan V2 servers.

Example

Obtain help information.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** setvnc -h 
usage: urest setvnc [-h] [-S {False,True}] [-K {en,jp}] [-to TIMEOUT] 
                         [-P PASSWORD] 
                         [-R [{Rule1,Rule2,Rule3} [{Rule1,Rule2,Rule3} ...]]] 

optional arguments: 
  -h, --help            show this help message and exit 
  -S {False,True}       SSL encryption 
  -K {en,jp}            keyboard layout 
  -to TIMEOUT           timeout period (min) 
  -P PASSWORD           password 
  -R [{Rule1,Rule2,Rule3} [{Rule1,Rule2,Rule3} ...]] 
                        login rule, example: -R Rule1 Rule3

Set VNC information.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** setvnc -K en -to 200 
Success: successfully completed request

Query VNC information.

[root@localhost bin]# ./urest -H 10.10.10.10 -U ****** -P ****** getvnc 

PasswordValidityDays          : 65535 
KeyboardLayout                : en 
SessionTimeoutMinutes         : 200 
SSLEncryptionEnabled          : True 
MaximumNumberOfSessions       : 5 
NumberOfActivatedSessions     : 0 
Password                      : None 
SessionMode                   : None 
LoginRule                     :
Translation
Download
Updated: 2020-02-13

Document ID: EDOC1000176182

Views: 120128

Downloads: 587

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next