cloudstack4.11 centos7 installation documentation

centos 7.x cloudstack 4.11 Tip: In the production environment, it is recommended to use ceph block storage as the main storage. The test here uses nfs main storage. components 172.16.19.116 cloudstack-management nfs,mysql,cloudstack-management 172.16.19.170 cloudstack-agent kvm, cloudstack-agent td> Prepare network segment: 172.16.17.50-100 255.255.252.0 172.16.16.1 ###cloudstack-management 1. Basic system configuration #hostnamectl set-hostname cloudstack-management //Install ntp #yum install […]

Monitor system performance and resources using Linux’s dstat command

Use the Linux dstat command to monitor system performance and resources In Linux systems, understanding the system’s performance and resource usage is critical for effective management and troubleshooting. dstat is a feature-rich command line tool that provides real-time monitoring and statistics of system performance and resources. This article will introduce how to use the dstat […]

Linux hardware time (RTC time), system time (UTC time, Universal time), local time (Local time), time zone (Time zone) and daylight saving time (DST) analysis

Article directory Understand time: hardware time, system time (UTC time), local time, time zone and daylight saving time 1. Hardware time (RTC time) 1.1 Introduction to hardware time 1.2 How to use hardware time 2. System time (UTC time) (Universal time) 2.1 Introduction to system time 2.2 UTC time 3. Local time 3.1 Introduction to […]

mybatis-plus optimization-rewriteBatchedStatements improves rapidly

mysql official document:rewriteBatchedStatements related introduction Next, we use the WWW method to understand rewriteBatchedStatements 1. What is it? rewriteBatchedStatements is a new setting parameter added in Mysql version 3.1.13. indicates whether to enable the batch update rewrite function. true means on, false means off (Default); Many articles on the Internet say that drivers of version […]

Android Jetpack understands SavedStateHandle

jetpack library understands SavedStateHandle Function Cooperate with ViewModel to restore the related state data of ViewModel from the destruction and reconstruction of Activity. We know that when Activity is destroyed and rebuilt by the Android system, the onSaveInstanceState and onRestoreInstanceState methods will be called. This method is invisible to ViewModel. SavedStateHandle fills in Clear this […]

SpringCloudStreamkafka failed to receive jsonarray string

Article directory scene phenomenon Introduction to Spring Cloud Stream Problem solving Scene phenomena As a message queue, Kafka serves as a channel for front-end device data to be consumed by the back-end, and is also consumed by multiple different microservices. A service establishes a socket message with the front-end edge computing device, receives real-time traffic […]

SpringCloudStream+RocketMQ transaction message configuration

The version used in this article spring-cloud-stream 3.2.6 rocketmq-client 4.9.4 spring-cloud-starter-stream-rocketmq 2021.0.5.0 1. Dependency import <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-starter-stream-rocketmq</artifactId> </dependency> This version no longer requires the introduction of rocketmq-spring-boot-starter dependency This version of stream does not support the @EnableBinding annotation, and this version of rocketmq does not support the txProducerGroup parameter. 2. Writing producers 1. Write […]

SpringCloudStream simply integrates RocketMQ and transaction messages

Spring Cloud Stream integrated messaging system Introduction ? Spring Cloud Stream is a framework that unifies the message middleware programming model, shields the differences in the underlying message middleware, reduces learning costs and switching costs, and its core is to further encapsulate the message middleware. The official definition of Spring Cloud Stream is a framework […]