Halaman ini belum tersedia dalam bahasa lokal Anda. Kami berusaha keras untuk menambahkan lebih banyak versi bahasa. Terima kasih atas dukungan Anda.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Viewing O&M Logs

Updated on 2023-10-11 GMT+08:00

Introduction

If an exception occurs when you use a BCS instance, view the O&M logs to analyze and locate the fault for quick rectification. This section describes how to view the O&M logs of each BCS instance node in the CCE cluster on the frontend GUI and backend virtual machines (VMs).

Table 1 BCS instance logs

Component

Description

Log Path

baas-agent

Blockchain management run log

/var/paas/sys/log/baas-agent/baas-agent.log

/var/paas/sys/log/baas-agent/audit.log

peer

Peer run log

/var/paas/sys/log/baas-service/peer/audit.peer-******-*.log

/var/paas/sys/log/baas-service/peer/peer-******-*.trace

orderer

Orderer run log

/var/paas/sys/log/baas-service/orderer/audit.orderer-******-*.log

/var/paas/sys/log/baas-service/orderer/orderer-******-*-start.trace

/var/paas/sys/log/baas-service/orderer/orderer-******-*.trace

Viewing O&M Logs on a Backend VM

  1. On the CCE console, view and record the node name on the Workloads page.
  2. On the Instance Management page of the BCS console, locate the instance and choose More > Change Access Address to view the access address.

    Figure 1 Viewing the access address
    NOTE:

    The node where the BCS instance is deployed must be bound with an EIP.

  3. Log in to the VM corresponding to the access address, and view the O&M logs.

    Figure 2 Logging to the VM
    Enter the VM address (the access address obtained in 2) for Remote host, and enter the VM username for Specify username.
    1. Check baas-agent node logs.
      1. Run the following command to query the baas-agent node ID:
        docker ps|grep baas-agent
        Figure 3 Checking the baas-agent node ID
      2. Run the following command to query the baas-agent node logs:
        docker logs ID -f
        Figure 4 Checking the baas-agent node logs
    2. Check the logs of a peer node.
      1. Run the following command to query the peer node ID:
        docker ps|grep peer 
        Figure 5 Checking the peer ID
      2. Run the following command to query the peer node logs:
        docker logs -f ID  
        Figure 6 Checking the peer logs
    3. Check the logs of an orderer node.
      1. Run the following command to query the orderer ID:
        docker ps|grep orderer 
        Figure 7 Checking the orderer ID
      2. Run the following command to query the orderer logs:
        docker logs -f ID  
        Figure 8 Checking the orderer logs

Kami menggunakan cookie untuk meningkatkan kualitas situs kami dan pengalaman Anda. Dengan melanjutkan penelusuran di situs kami berarti Anda menerima kebijakan cookie kami. Cari tahu selengkapnya

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback