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

eSight V300R010C00 Maintenance Guide 08

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).
Virtual Resource Management

Virtual Resource Management

sync_alarm_period.xml

Function

The configuration file is used for setting the synchronization period in virtual alarm polling mode.

Path

eSight installation directory/AppBase/momgr/com.huawei.esight.nemgr.virtual/repository/extension/sync_alarm_period.xml

Description
Table 9-149 Configuration items in sync_alarm_period.xml

Parameter

Description

Setting

Effective Mode

<param name="syncAlarmMinPeriod">300</param>

Indicates the synchronization period in alarm polling mode.

Data type: integer

Value range: non-negative integer

Default value: 300

Restart

Precautions

Do not modify the configuration file unless necessary.

Configuration Example
<param name="syncAlarmMinPeriod">300</param>

virtual.http.param.xml

Function

The virtual.http.param.xml file is used to configure southbound HTTPS parameters for FusionSphere and FusionCompute virtual resources in eSight. Theses parameters include the maximum number of connections, socket timeout duration, and connection timeout duration. The default configurations in this configuration file are applicable to most cases. You are not advised to modify this file.

Path

eSight installation directory/AppBase/etc/virtual/virtual.http.param.xml

Description
Table 9-150 Parameters in virtual.http.param.xml

Parameter

Description

Setting

Effective Mode

httpExecutor

For southbound configurations, the type parameter is used to identify various cloud platform types and cannot be modified.

Data type: character string

Value range: FusionCompute and FusionSphere

Restart

httpExecutor>maxConn

Indicates the maximum number of connections.

Data type: integer

Value range: 1–20

Default value: 10

Unit: none

Restart

httpExecutor>socketTimeout

Indicates the socket timeout duration.

Data type: integer

Value range: 3000–300000

Default value: 60000

Unit: ms

Restart

httpExecutor>connTimeout

Indicates the connection timeout duration.

Data type: integer

Value range: 1000–180000

Default value: 6000

Unit: ms

Restart

Configuration Example
<?xml version="1.0" encoding="UTF-8"?>
<!--
    maxConn:[1, 20]
    socketTimeout:[3000, 300000]
    connTimeout:[1000, 180000]
-->
<httpExecutors>
    <httpExecutor type="FusionCompute">
        <maxConn>10</maxConn>
        <socketTimeout>60000</socketTimeout>
        <connTimeout>6000</connTimeout>
    </httpExecutor>
    <httpExecutor type="FusionSphere">
        <maxConn>10</maxConn>
        <socketTimeout>60000</socketTimeout>
        <connTimeout>6000</connTimeout>
    </httpExecutor>
</httpExecutors>

pm_export.xml

Function

The pm_export.xml configuration file is used to configure the export policies for the northbound function of virtual resource historical performance. Resource types, indicator groups, and indicators can be configured. The default configuration of the configuration file does not support the export of any performance data. That is, the configuration file contains only the file header and root node.

Path

eSight installation directory/AppBase/etc/virtual/pm_export.xml

Description
Table 9-151 Parameters in pm_export.xml

Parameter

Description

Setting

Effective Mode

resourceType

Indicates the resource type.

Data type: character string

Value range: character string that adheres to the naming convention

Real time

measUnit

Indicates the indicator group.

Data type: character string

Value range: character string that adheres to the naming convention

Real time

measType

Indicates the indicator.

Data type: character string

Value range: character string that adheres to the naming convention

Real time

The configuration file supports three configuration modes:

<?xml version="1.0" encoding="UTF-8"?>
<indexes>
    <!-- Method 1: Report all indicators of a resource type. -->
    <index resourceType="resourceType1" all="true"></index>

    <!-- Method 2: Report all indicators in an indicator group of a resource type. -->
    <index resourceType="resourceType2">
         <measUnit  key="scalartest2" all="true"></measUnit>
    </index>

    <!-- Method 3: Report a specified indicator. -->
    <index resourceType="resourceType3">
         <measUnit  key="measUnitKey">
             <measType key="measTypeKey1"/>
             <measType key="measTypeKey2"/>
         </measUnit>
    </index>

</indexes>

ResourceType: resource type. The value cannot be empty. If the resource type is empty or invalid, data related to the resource type is not exported. For example, VM indicates that the resource type is the virtual machine. One or more resource types can be configured in the configuration file.

all: indicates whether to export all indicators of a resource type or all indicators in an indicator group of a resource type. This attribute is optional. The options include true and false. If this attribute is set to true, the sub-node configuration is invalid. That is, all indicators of a resource type or all indicators in an indicator group of a resource type are exported. The default value is false.

measUnit: indicator group. The key attribute is the indicator group name, which cannot be empty. If the attribute is empty or invalid, data of the indicator group is not exported. One or more indicator groups can be configured in the configuration file. (Currently, the VM supports only the indicator group VmPerfStat, indicating the historical performance statistics of the VM.)

measType: indicator. The key attribute is the indicator name, which cannot be empty. If the attribute is empty or invalid, the indicator data is not exported. One or more indicators can be configured in the configuration file. The following table describes the supported indicators.

Performance Indicators Supported by Virtual Resources
Table 9-152

Resource Type

Indicator Group

Indicator

Indicator Description

Unit

VM

VmPerfStat

CpuUsage

Indicates the CPU utilization.

%

MemUsage

Indicates the memory utilization.

%

NetOutputSpeed

Indicates the NIC outbound speed.

B/s

NetInputSpeed

Indicates the NIC inbound speed.

B/s

NetSpeed

Indicates the average network bandwidth.

B/s

DiskIoInputSpeed

Indicates the disk write speed.

B/s

DiskIoOutputSpeed

Indicates the disk read speed.

B/s

DiskUsage

Indicates the disk utilization.

%

DiskIoInputDelay

Indicates the disk write latency.

B/s

DiskIoOutputDelay

Indicates the disk read latency.

B/s

DiskIoWriteFrequency

Indicates the disk write frequency.

request/s

DiskIoReadFrequency

Indicates the disk read frequency.

request/s

Host

HostPerfStat

CpuReserve

Indicates the reserved CPU proportion.

%

CpuUsage

Indicates the CPU utilization.

%

MemReserve

Indicates the reserved memory proportion.

%

MemUsage

Indicates the memory utilization.

%

DiskUsage

Indicates the disk utilization.

%

NetOutputSpeed

Indicates the network outbound speed.

B/s

NetInputSpeed

Indicates the network inbound speed.

B/s

DiskIoInputSpeed

Indicates the disk write speed.

B/s

DiskIoOutputSpeed

Indicates the disk read speed.

B/s

VirDuCpuUsage

Indicates the CPU utilization in the virtualization domain.

%

VirDuMemUsage

Indicates the memory utilization in the virtualization domain.

%

MgrDuCpuUsage

Indicates the CPU utilization in the management domain.

%

MgrDuMemUsage

Indicates the memory utilization in the management domain.

%

NetOutPkgSpeed

Indicates the NIC outbound packet speed.

packet/s

NetInPkgSpeed

Indicates the NIC inbound packet speed.

packet/s

NetOutBandwidthUsage

Indicates the NIC inbound bandwidth utilization.

%

NetInBandwidthUsage

Indicates the NIC outbound bandwidth utilization.

%

UsedMemorySize

Indicates the used memory.

MB

FreeMemorySize

Indicates the available memory.

MB

Cluster

ClusterPerfStat

CpuReserve

Indicates the reserved CPU proportion.

%

CpuUsage

Indicates the CPU utilization.

%

MemUsage

Indicates the memory utilization.

%

MemReserve

Indicates the reserved CPU proportion.

%

NumVMotion

Indicates the number of Vmotions.

number/period

NumSVMotion

Indicates the number of Storage vMotions.

number/period

BackendStore

BackendStorePerfStat

BackendStorageUsage

Indicates the storage utilization.

%

Port

HostPortPerfStat

SendByteRate

Indicates the byte sending rate of the port.

B/s

ReceiveByteRate

Indicates the byte receiving rate of the port.

B/s

ReceivePackageRate

Indicates the packet receiving rate of the port.

packet/s

SendPackageRate

Indicates the packet sending rate of the port.

packet/s

Indicators Supported by Different NEs

Currently, the FusionSphere, FusionCompute, and vCenter Server devices do not support all indicators of the same indicator group. Y indicates that the indicator is supported, while N indicates that the indicator is not supported. If an unsupported indicator is configured in the configuration file, the value of the indicator is empty by default.

Table 9-153

Resource Type

Indicator Group

Indicator

FusionSphere

FusionCompute

vCenter Server

VM

VmPerfStat

CpuUsage

Y

Y

Y

MemUsage

Y

Y

Y

NetOutputSpeed

Y

Y

Y

NetInputSpeed

Y

Y

Y

NetSpeed

N

Y

Y

DiskIoInputSpeed

Y

Y

Y

DiskIoOutputSpeed

Y

Y

Y

DiskUsage

Y

Y

N

DiskIoInputDelay

N

Y

Y

DiskIoOutputDelay

N

Y

Y

DiskIoWriteFrequency

Y

N

N

DiskIoReadFrequency

Y

N

N

Host

HostPerfStat

CpuReserve

N

Y

Y

CpuUsage

Y

Y

Y

MemReserve

N

Y

Y

MemUsage

Y

Y

Y

DiskUsage

Y

Y

N

NetOutputSpeed

Y

Y

Y

NetInputSpeed

Y

Y

Y

DiskIoInputSpeed

Y

Y

Y

DiskIoOutputSpeed

Y

Y

Y

VirDuCpuUsage

N

Y

N

VirDuMemUsage

N

Y

N

MgrDuCpuUsage

N

Y

N

MgrDuMemUsage

N

Y

N

NetOutPkgSpeed

Y

N

N

NetInPkgSpeed

Y

N

N

NetOutBandwidthUsage

Y

N

N

NetInBandwidthUsage

Y

N

N

UsedMemorySize

Y

N

N

FreeMemorySize

Y

N

N

Cluster

ClusterPerfStat

CpuReserve

N

N

Y

CpuUsage

N

Y

Y

MemUsage

N

N

Y

MemReserve

N

Y

Y

NumVMotion

N

N

Y

NumSVMotion

N

N

Y

BackendStore

BackendStorePerfStat

BackendStorageUsage

Y

N

N

Port

HostPortPerfStat

SendByteRate

Y

N

N

ReceiveByteRate

Y

N

N

ReceivePackageRate

Y

N

N

SendPackageRate

Y

N

N

Configuration Example

Example 1:

<?xml version="1.0" encoding="UTF-8"?>
<indexes>
    <index resourceType="VM" all="true"></index>

    <index resourceType="Host" all="true"></index>

    <index resourceType="Cluster">
        <measUnit key="ClusterPerfStat" all="true"></measUnit>
    </index>

    <index resourceType="BackendStore">
        <measUnit key="BackendStorePerfStat">
            <measType key="BackendStorageUsage"/>
        </measUnit>
    </index>

    <index resourceType="Port">
        <measUnit key="HostPortPerfStat">
            <measType key="SendByteRate"/>
            <measType key="ReceiveByteRate"/>
            <measType key="ReceivePackageRate"/>
            <measType key="SendPackageRate"/>
        </measUnit>
    </index>
</indexes>

Example 2:

<?xml version="1.0" encoding="UTF-8"?>
<indexes>
    <index resourceType="VM">
        <measUnit key="VmPerfStat" >
            <measType key="CpuUsage"/>
            <measType key="MemUsage"/>
            <measType key="NetOutputSpeed"/>
            <measType key="NetInputSpeed"/>
            <measType key="NetSpeed"/>
            <measType key="DiskIoInputSpeed"/>
            <measType key="DiskIoOutputSpeed"/>
            <measType key="DiskUsage"/>
            <measType key="DiskIoInputDelay"/>
            <measType key="DiskIoOutputDelay"/>
            <measType key="DiskIoWriteFrequency"/>
            <measType key="DiskIoReadFrequency"/>
        </measUnit>
    </index>

    <index resourceType="Host">
        <measUnit key="HostPerfStat">
            <measType key="CpuReserve"/>
            <measType key="CpuUsage"/>
            <measType key="MemReserve"/>
            <measType key="MemUsage"/>
            <measType key="DiskUsage"/>
            <measType key="NetOutputSpeed"/>
            <measType key="NetInputSpeed"/>
            <measType key="DiskIoInputSpeed"/>
            <measType key="DiskIoOutputSpeed"/>
            <measType key="VirDuCpuUsage"/>
            <measType key="VirDuMemUsage"/>
            <measType key="MgrDuCpuUsage"/>
            <measType key="MgrDuMemUsage"/>
            <measType key="NetOutPkgSpeed"/>
            <measType key="NetInPkgSpeed"/>
            <measType key="NetOutBandwidthUsage"/>
            <measType key="NetInBandwidthUsage"/>
            <measType key="UsedMemorySize"/>
            <measType key="FreeMemorySize"/>
        </measUnit>
    </index>

    <index resourceType="Cluster">
        <measUnit key="ClusterPerfStat">
            <measType key="CpuReserve"/>
            <measType key="CpuUsage"/>
            <measType key="MemUsage"/>
            <measType key="MemReserve"/>
            <measType key="NumVMotion"/>
            <measType key="NumSVMotion"/>
        </measUnit>
    </index>

    <index resourceType="BackendStore">
        <measUnit key="BackendStorePerfStat">
            <measType key="BackendStorageUsage"/>
        </measUnit>
    </index>

    <index resourceType="Port">
        <measUnit key="HostPortPerfStat">
            <measType key="SendByteRate"/>
            <measType key="ReceiveByteRate"/>
            <measType key="ReceivePackageRate"/>
            <measType key="SendPackageRate"/>
        </measUnit>
    </index>
</indexes> 
NOTE:

In example 2, mode 3 is used to configure the resource type, indicator group, and indicator supported by the current eSight virtual resources.

nbi_cbb_virtual.xml

Function

The configuration file configures the policy for saving northbound performance data of virtual resources.

Path

eSight installation directory/AppBase/etc/esight.nbi.cbb/nbi_cbb_virtual.xml

Description
Table 9-154 Parameters in nbi_cbb_virtual.xml

Parameter

Description

Setting

Effective Mode

businessId

Unique ID of a service.

Data type: character string

Value range: The parameter value cannot be changed.

N/A

dirName

Path for storing northbound performance files.

Data type: character string

Value range: The parameter value cannot be changed.

N/A

period

Polling period for deleting northbound performance files.

Data type: integer

Value range: The parameter value cannot be changed.

Unit: second

N/A

scope

Duration for storing northbound performance files.

Data type: integer

Value range: 1–168

Default value: 24

Unit: hour

Restart

deleteMode

Mode for deleting northbound performance files.

Data type: character string

Value range: The parameter value cannot be changed.

N/A

Precautions

Do not modify the configuration file unless necessary.

Configuration Example
<?xml version="1.0" encoding="UTF-8"?>
<policies>
	<policy businessId="virtual">
		  <dirName>VirtualPmFiles</dirName>
		  <period>3600</period>
		  <scope>24</scope>
		  <deleteMode>fileTime</deleteMode>
	</policy>
</policies>

virtual.system.properties

Function

The configuration file is used to set virtual resource system parameters.

Path

eSight installation directory/AppBase/etc/virtual/virtual.system.properties

Description
Table 9-155 Parameters in virtual.system.properties

Parameter

Description

Setting

Effective Mode

esight_host_ip

Indicates the eSight IP address for subscribing to virtual resource change notifications.

Data type: character string

Value range: The parameter value cannot be changed.

N/A

tls_version

Indicates the supported TLS protocol.

Data type: character string

Default value: TLSv1.2

Value range: TLSv1.2,TLSv1.1, TLSv1.2, and TLSv1.1

Restart

Precautions

Do not modify the configuration file unless necessary.

Configuration Example
esight_host_ip=10.136.249.190
tls_version=TLSv1.2,TLSv1.1
Translation
Download
Updated: 2019-08-03

Document ID: EDOC1100044373

Views: 26820

Downloads: 86

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next