Post-deployment verification and management
This topic describes how to verify a node after deployment and provides information about ongoing node maintenance.
Verify the results
Log on to the Ant Privacy-Preserving Computation Platform.
In the navigation pane on the left, choose My Subscriptions > Privacy-Preserving Computation Nodes.
On the Privacy-Preserving Computation Nodes page, confirm that the node status is Active. This status indicates that the node is deployed.
NoteIf the node status is Inactive, see Install and deploy a node to configure the node network.
Node O&M
This section describes common commands for node maintenance, the data upload path, log descriptions, temporary file cleanup rules, and how to enable ShangMi (SM) cryptographic algorithms. SM algorithms are commercial cryptographic algorithms certified by the China State Cryptography Administration.
Common commands
The following are common commands for node maintenance:
Start or update a service
docker-compose up -d
Stop a service
docker-compose down
Restart a service
docker-compose restart
View containers
docker ps
View the logs of a specific container
docker logs -f ${CONTAINER}Note${CONTAINER} is the container name.
Data upload path
You can upload the project samples to the ${WORKING_DIR} path. This path is defined in the .env file and represents the current directory.
${WORKING_DIR}/agent/data/dataset
Log descriptions
The following are descriptions of the relevant logs.
nueva
├── agent
│ ├── data --Data files
│ ├── images --Application images
│ ├── lib
│ ├── logs --Application process log output
│ └── stdout --Application process standard output
└── gateway
├── conf
│ └── server.key --Organization private key
└── logs
├── access-in.log --Ingress log
├── error.log --Error log
├── informer.log
├── internal.log --Internal/Egress log
├── prometheus.log
└── zipkin.log
Temporary file cleanup rules
The following table describes the cleanup rules for temporary files.
Type |
Directory |
Cleanup cycle |
Notes |
|---|---|---|---|
Agent logs |
|
Files are scrolled every 512 MB. Each file is retained for a maximum of 15 days. |
- |
Gateway logs |
|
Logs are scrolled daily. Logs older than two days are compressed using Gzip. The logs from the last 30 days are retained. |
- |
App logs |
|
|
The file permissions for all app logs are set to allow deletion by the others user group. You can run the |
App stdout and App stderr redirection files |
|
|
- |
App input files, output files, training data, and more |
|
The framework and app are not responsible for deletion. You must delete these files manually. |
- |
App core dump files |
|
|
The path for core dump files is |
Set SM algorithms
In the .env file, you can manually enable or disable SM algorithms by modifying the TLS_PROTOCOLS configuration.