vcenter-server-appliance-6-0-performance-charts-fail-to-load-with-the-error-performance-charts-service-returned-an-invalid-response-2118223

vCenter Server Appliance 6.0 performance charts fail to load with the error: Performance Charts service returned an invalid response (2118223)

If you encounter an error as mentioned in the blog title you´ll be surprised what the reason is. Warning Spoiler! IPv6 is disabled and the performance charts service needs IPv6 to run with the default configuration.

Within the log files you can find the following messages:

Performance Charts Service returns an invalid response.

and in the /var/log/vmware/perfcharts/wrapper.log file you can see entries similar to here:

  • jvm 1 | SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-bio-0:0:0:0:0:0:0:1-13080"]
  • jvm 1 | java.net.SocketException: Protocol family unavailable
  • jvm 1 | at java.net.PlainSocketImpl.socketBind(Native Method)
  • jvm 1 | at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
  • jvm 1 | at java.net.ServerSocket.bind(Unknown Source)jvm 1 | at java.net.ServerSocket.< init >(Unknown Source)

That happens because the IPv6 socket is not available. The performance charts by default use IPv6 for communication and will not use IPv4 unless configured to do so.

The solution is described in the VMware knowledge base article 2118223.

  • Disable IPv6 for the performance charts from the /usr/lib/vmware-perfcharts/wrapper/conf/wrapper.conf file.
  1. Open the vCenter Server console and log in as root.
  2. Type shell.set –enabled true and press Enter.
  3. Type shell and press Enter.
  4. Make a backup of the wrapper.conf file:cp /usr/lib/vmware-perfcharts/wrapper/conf/wrapper.conf /usr/lib/vmware-perfcharts/wrapper/conf/wrapper.conf.old
  5. Open /usr/lib/vmware-perfcharts/wrapper/conf/wrapper.conf with a text editor:vi /usr/lib/vmware-perfcharts/wrapper/conf/wrapper.conf
  6. Edit the line wrapper.java.additional.12=-Djava.net.preferIPv6Stack= to be false:For example:# Next three parameters are setting the garbage collBackector to ConcMarkSweep and are# enabling it to collect unused classes.wrapper.java.additional.9=-XX:+UseConcMarkSweepGCwrapper.java.additional.10=-XX:+CMSClassUnloadingEnabledwrapper.java.additional.11=-XX:+CMSPermGenSweepingEnabledwrapper.java.additional.12=-Djava.net.preferIPv6Stack=false
  7. Save the changes and close the file.
  8. Restart the performance chart service with these commands:_service-control –stop vmware-perfcharts_Then:service-control –start vmware-perfcharts
  9. Verify the service is running with this command:service-control –status vmware-perfcharts
  • Disable IPv6 for the performance charts from the /usr/lib/vmware-perfcharts//tc-instance/conf/server.xml file.
  1. Open the vCenter Server console and log in as root.
  2. Type shell.set –enabled true and press Enter.
  3. Type shell and press Enter.
  4. Make a backup of the server.xml file:cp /usr/lib/vmware-perfcharts//tc-instance/conf/server.xml /usr/lib/vmware-perfcharts//tc-instance/conf/server.xml.old
  5. Open /usr/lib/vmware-perfcharts//tc-instance/conf/server.xml file with a text editor:vi /usr/lib/vmware-perfcharts//tc-instance/conf/server.xml
  6. Remove the  section::<Connector address="::1"                   acceptCount="300"   maxThreads="300"                    connectionTimeout="20000"                      executor="tomcatThreadPool"                      maxKeepAliveRequests="15"                      port="${bio.http.port}"                      protocol="org.apache.coyote.http11.Http11Protocol"/>
  7. Save the changes and close the file.
  8. Restart the performance chart service with these commands:_service-control –stop vmware-perfcharts_Then:service-control –start vmware-perfcharts
  9. Verify the service is running with this command:service-control –status vmware-perfcharts

CNIL
Metrics and Logs

(formerly, Opvizor Performance Analyzer)

VMware vSphere & Cloud
PERFORMANCE MONITORING, LOG ANALYSIS, LICENSE COMPLIANCE!

Monitor and Analyze Performance and Log files:
Performance monitoring for your systems and applications with log analysis (tamperproof using immudb) and license compliance (RedHat, Oracle, SAP and more) in one virtual appliance!

Subscribe to Our Newsletter

Get the latest product updates, company news, and special offers delivered right to your inbox.

Subscribe to our newsletter

Use Case - Tamper-resistant Clinical Trials

Goal:

Blockchain PoCs were unsuccessful due to complexity and lack of developers.

Still the goal of data immutability as well as client verification is a crucial. Furthermore, the system needs to be easy to use and operate (allowing backup, maintenance windows aso.).

Implementation:

immudb is running in different datacenters across the globe. All clinical trial information is stored in immudb either as transactions or the pdf documents as a whole.

Having that single source of truth with versioned, timestamped, and cryptographically verifiable records, enables a whole new way of transparency and trust.

Use Case - Finance

Goal:

Store the source data, the decision and the rule base for financial support from governments timestamped, verifiable.

A very important functionality is the ability to compare the historic decision (based on the past rulebase) with the rulebase at a different date. Fully cryptographic verifiable Time Travel queries are required to be able to achieve that comparison.

Implementation:

While the source data, rulebase and the documented decision are stored in verifiable Blobs in immudb, the transaction is stored using the relational layer of immudb.

That allows the use of immudb’s time travel capabilities to retrieve verified historic data and recalculate with the most recent rulebase.

Use Case - eCommerce and NFT marketplace

Goal:

No matter if it’s an eCommerce platform or NFT marketplace, the goals are similar:

  • High amount of transactions (potentially millions a second)
  • Ability to read and write multiple records within one transaction
  • prevent overwrite or updates on transactions
  • comply with regulations (PCI, GDPR, …)


Implementation:

immudb is typically scaled out using Hyperscaler (i. e. AWS, Google Cloud, Microsoft Azure) distributed across the Globe. Auditors are also distributed to track the verification proof over time. Additionally, the shop or marketplace applications store immudb cryptographic state information. That high level of integrity and tamper-evidence while maintaining a very high transaction speed is key for companies to chose immudb.

Use Case - IoT Sensor Data

Goal:

IoT sensor data received by devices collecting environment data needs to be stored locally in a cryptographically verifiable manner until the data is transferred to a central datacenter. The data integrity needs to be verifiable at any given point in time and while in transit.

Implementation:

immudb runs embedded on the IoT device itself and is consistently audited by external probes. The data transfer to audit is minimal and works even with minimum bandwidth and unreliable connections.

Whenever the IoT devices are connected to a high bandwidth, the data transfer happens to a data center (large immudb deployment) and the source and destination date integrity is fully verified.

Use Case - DevOps Evidence

Goal:

CI/CD and application build logs need to be stored auditable and tamper-evident.
A very high Performance is required as the system should not slow down any build process.
Scalability is key as billions of artifacts are expected within the next years.
Next to a possibility of integrity validation, data needs to be retrievable by pipeline job id or digital asset checksum.

Implementation:

As part of the CI/CD audit functionality, data is stored within immudb using the Key/Value functionality. Key is either the CI/CD job id (i. e. Jenkins or GitLab) or the checksum of the resulting build or container image.

White Paper — Registration

We will also send you the research paper
via email.

CodeNotary — Webinar

White Paper — Registration

Please let us know where we can send the whitepaper on CodeNotary Trusted Software Supply Chain. 

Become a partner

Start Your Trial

Please enter contact information to receive an email with the virtual appliance download instructions.

Start Free Trial

Please enter contact information to receive an email with the free trial details.