From c02aaa34a0f9c86c675cdeadd44f69e9bdfb7dd1 Mon Sep 17 00:00:00 2001 From: hemiao Date: Tue, 2 Sep 2025 15:34:11 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=94=9A=E7=82=B9?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kubeos/kubeos/kubeos_image_creation.md | 6 +- .../cloud/kubeos/kubeos/usage_instructions.md | 6 +- docs/zh/embedded/uniproton/uniproton_apis.md | 328 +++++++++--------- .../server/maintenance/aops/deploying_aops.md | 48 +-- 4 files changed, 194 insertions(+), 194 deletions(-) diff --git a/docs/zh/cloud/kubeos/kubeos/kubeos_image_creation.md b/docs/zh/cloud/kubeos/kubeos/kubeos_image_creation.md index ef33e989..12c74e3c 100644 --- a/docs/zh/cloud/kubeos/kubeos/kubeos_image_creation.md +++ b/docs/zh/cloud/kubeos/kubeos/kubeos_image_creation.md @@ -89,7 +89,7 @@ Options: | primary_groups | [可选项] 用户主组(默认为用户同名组) | | groups | [可选项] 用户附加组 | -**注意**:添加用户会默认创建用户同名组,配置用户附加组时,若组不存在会报错失败。若有特殊配置需求,用户可通过[chroot_script](#chroot_script)脚本自行实现。 +**注意**:添加用户会默认创建用户同名组,配置用户附加组时,若组不存在会报错失败。若有特殊配置需求,用户可通过[chroot_script](#chroot-script)脚本自行实现。 #### copy_files @@ -101,7 +101,7 @@ Options: | src | 源文件路径 | | create_dir | [可选项]拷贝前创建文件夹 | -**注意**:拷贝文件无法保留权限,如果需要特殊权限,可借助[chroot_script](#chroot_script)脚本自行实现。 +**注意**:拷贝文件无法保留权限,如果需要特殊权限,可借助[chroot_script](#chroot-script)脚本自行实现。 #### grub @@ -280,7 +280,7 @@ version = "v1" #### 使用示例 -* 首先需要修改```kbimg.toml```中```pxe_config```的配置,对相关参数进行配置,详细参数可见[参数说明](#pxe_config),ip目前仅支持ipv4,配置示例如下 +* 首先需要修改```kbimg.toml```中```pxe_config```的配置,对相关参数进行配置,详细参数可见[参数说明](#pxe-config),ip目前仅支持ipv4,配置示例如下 ```toml [pxe_config] diff --git a/docs/zh/cloud/kubeos/kubeos/usage_instructions.md b/docs/zh/cloud/kubeos/kubeos/usage_instructions.md index 1d95780b..8180c9c7 100644 --- a/docs/zh/cloud/kubeos/kubeos/usage_instructions.md +++ b/docs/zh/cloud/kubeos/kubeos/usage_instructions.md @@ -61,8 +61,8 @@ | clientcert | string | https双向认证时使用的客户端证书文件 | 仅在使用https双向认证时有效|mtls为true时必选 | | clientkey | string | https双向认证时使用的客户端公钥 | 仅在使用https双向认证时有效|mtls为true时必选 | | evictpodforce | bool | 升级/回退时是否强制驱逐pod | 需为 true 或者 false ,仅在升级或者回退时有效| 必选 | - | sysconfigs | / | 配置设置 | 1. “opstype=config”时只进行配置。
2.“opstype=upgrade/rollback”时,代表升级/回退后配置,即在升级/回退重启后进行配置,详细字段说明请见[配置(Settings)指导](#配置settings指导) | “opstype=config”时必选 | - | upgradeconfigs | / | 升级前配置设置 | 在升级或者回退时有效,在升级或者回退操作之前起效,详细字段说明请见[配置(Settings)指导](#配置settings指导)| 可选 | + | sysconfigs | / | 配置设置 | 1. “opstype=config”时只进行配置。
2.“opstype=upgrade/rollback”时,代表升级/回退后配置,即在升级/回退重启后进行配置,详细字段说明请见[配置(Settings)指导](#配置-settings-指导) | “opstype=config”时必选 | + | upgradeconfigs | / | 升级前配置设置 | 在升级或者回退时有效,在升级或者回退操作之前起效,详细字段说明请见[配置(Settings)指导](#配置-settings-指导)| 可选 | | nodeselector | string | 需要进行升级/配置/回滚操作的节点label | 用于只对具有某些特定label的节点而不是集群所有worker节点进行运维的场景,需要进行运维操作的节点需要包含key为upgrade.openeuler.org/node-selector的label,nodeselector为该label的value值。
注意事项:
1.此参数不配置时,或者配置为“no-label”时对没有upgrade.openeuler.org/node-selector的节点进行操作
2.此参数为“”时,对具有upgrade.openeuler.org/node-selector=“”的节点进行操作
3.如需忽略label,对所有节点进行操作,需指定此参数为all-label| 可选 | | timewindow | / | 升级/配置/回滚操作的时间窗口 |1.指定时间窗口时starttime和endtime都需指定,即二者需要同时为空或者同时不为空
2.starttime和endtime类型为string,需要为YYYY-MM-DD HH:MM:SS格式或者HH:MM:SS格式,且二者格式需一致
3.为HH:MM:SS格式时,starttime 小于endtime认为starttime是下一天的该时间
4.timewindow不配置时默认为不存在时间窗限制| 可选 | | timeinterval | int | 升级/配置/回滚操作每批次任务下发的时间间隔 |参数单位为秒,时间间隔为operator下发任务的时间间隔,如k8s集群繁忙无法立即响应operator请求,实际时间间隔可能会大于指定时间| 可选 | @@ -141,7 +141,7 @@ * 升级并且进行配置的示例如下: - * 以节点容器引擎为containerd为例,升级方式对配置无影响,upgradeconfigs在升级前起效,sysconfigs在升级后起效,配置参数说明请见[配置(Settings)指导](#配置settings指导)。 + * 以节点容器引擎为containerd为例,升级方式对配置无影响,upgradeconfigs在升级前起效,sysconfigs在升级后起效,配置参数说明请见[配置(Settings)指导](#配置-settings-指导)。 * 升级并且配置时opstype字段需为upgrade。 * upgradeconfig为升级之前执行的配置,sysconfigs为升级机器重启后执行的配置,用户可按需进行配置。 diff --git a/docs/zh/embedded/uniproton/uniproton_apis.md b/docs/zh/embedded/uniproton/uniproton_apis.md index 4de2c836..9fb67c60 100644 --- a/docs/zh/embedded/uniproton/uniproton_apis.md +++ b/docs/zh/embedded/uniproton/uniproton_apis.md @@ -880,164 +880,164 @@ PRT_HardBootInit 在 OS 启动时调用,在main函数前被调用,可以用 | 接口名 | 适配情况 | | :---: | :-----: | -| [pthread_atfork](#pthread_atfork) | 不支持 | -| [pthread_attr_destroy](#pthread_attr_destroy) | 支持 | -| [pthread_attr_getdetachstate](#pthread_attr_getdetachstate) | 支持 | -| [pthread_attr_getguardsize](#pthread_attr_getguardsize) | 不支持 | -| [pthread_attr_getinheritsched](#pthread_attr_getinheritsched) | 支持 | -| [pthread_attr_getschedparam](#pthread_attr_getschedparam) | 支持 | -| [pthread_attr_getschedpolicy](#pthread_attr_getschedpolicy) | 支持 | -| [pthread_attr_getscope](#pthread_attr_getscope) | 支持 | -| [pthread_attr_getstack](#pthread_attr_getstack) | 支持 | -| [pthread_attr_getstackaddr](#pthread_attr_getstackaddr) | 支持 | -| [pthread_attr_getstacksize](#pthread_attr_getstacksize) | 支持 | -| [pthread_attr_init](#pthread_attr_init) | 支持 | -| [pthread_attr_setdetachstate](#pthread_attr_setdetachstate) | 支持 | -| [pthread_attr_setguardsize](#pthread_attr_setguardsize) | 不支持 | -| [pthread_attr_setinheritsched](#pthread_attr_setinheritsched) | 支持 | -| [pthread_attr_setschedparam](#pthread_attr_setschedparam) | 部分支持 | -| [pthread_attr_setschedpolicy](#pthread_attr_setschedpolicy) | 部分支持 | -| [pthread_attr_setscope](#pthread_attr_setscope) | 部分支持 | -| [pthread_attr_setstack](#pthread_attr_setstack) | 支持 | -| [pthread_attr_setstackaddr](#pthread_attr_setstackaddr) | 支持 | -| [pthread_attr_setstacksize](#pthread_attr_setstacksize) | 支持 | -| [pthread_barrier_destroy](#pthread_barrier_destroy) | 支持 | -| [pthread_barrier_init](#pthread_barrier_init) | 部分支持 | -| [pthread_barrier_wait](#pthread_barrier_wait) | 支持 | -| [pthread_barrierattr_getpshared](#pthread_barrierattr_getpshared) | 支持 | -| [pthread_barrierattr_setpshared](#pthread_barrierattr_setpshared) | 部分支持 | -| [pthread_cancel](#pthread_cancel) | 支持 | -| [pthread_cond_broadcast](#pthread_cond_broadcast) | 支持 | -| [pthread_cond_destroy](#pthread_cond_destroy) | 支持 | -| [pthread_cond_init](#pthread_cond_init) | 支持 | -| [pthread_cond_signal](#pthread_cond_signal) | 支持 | -| [pthread_cond_timedwait](#pthread_cond_timedwait) | 支持 | -| [pthread_cond_wait](#pthread_cond_wait) | 支持 | -| [pthread_condattr_destroy](#pthread_condattr_destroy) | 支持 | -| [pthread_condattr_getclock](#pthread_condattr_getclock) | 支持 | -| [pthread_condattr_getpshared](#pthread_condattr_getpshared) | 支持 | -| [pthread_condattr_init](#pthread_condattr_init) | 支持 | -| [pthread_condattr_setclock](#pthread_condattr_setclock) | 部分支持 | -| [pthread_condattr_setpshared](#pthread_condattr_setpshared) | 部分支持 | -| [pthread_create](#pthread_create) | 支持 | -| [pthread_detach](#pthread_detach) | 支持 | -| [pthread_equal](#pthread_equal) | 支持 | -| [pthread_exit](#pthread_exit) | 支持 | -| [pthread_getcpuclockid](#pthread_getcpuclockid) | 不支持 | -| [pthread_getschedparam](#pthread_getschedparam) | 支持 | -| [pthread_getspecific](#pthread_getspecific) | 支持 | -| [pthread_join](#pthread_join) | 支持 | -| [pthread_key_create](#pthread_key_create) | 支持 | -| [pthread_key_delete](#pthread_key_delete) | 支持 | -| [pthread_kill](#pthread_kill) | 不支持 | -| [pthread_mutex_consistent](#pthread_mutex_consistent) | 不支持 | -| [pthread_mutex_destroy](#pthread_mutex_destroy) | 支持 | -| [pthread_mutex_getprioceiling](#pthread_mutex_getprioceiling) | 不支持 | -| [pthread_mutex_init](#pthread_mutex_init) | 支持 | -| [pthread_mutex_lock](#pthread_mutex_lock) | 支持 | -| [pthread_mutex_setprioceiling](#pthread_mutex_setprioceiling) | 不支持 | -| [pthread_mutex_timedlock](#pthread_mutex_timedlock) | 支持 | -| [pthread_mutex_trylock](#pthread_mutex_trylock) | 支持 | -| [pthread_mutex_unlock](#pthread_mutex_unlock) | 支持 | -| [pthread_mutexattr_destroy](#pthread_mutexattr_destroy) | 支持 | -| [pthread_mutexattr_getprioceiling](#pthread_mutexattr_getprioceiling) | 不支持 | -| [pthread_mutexattr_getprotocol](#pthread_mutexattr_getprotocol) | 支持 | -| [pthread_mutexattr_getpshared](#pthread_mutexattr_getpshared) | 部分支持 | -| [pthread_mutexattr_getrobust](#pthread_mutexattr_getrobust) | 部分支持 | -| [pthread_mutexattr_gettype](#pthread_mutexattr_gettype) | 支持 | -| [pthread_mutexattr_init](#pthread_mutexattr_init) | 支持 | -| [pthread_mutexattr_setprioceiling](#pthread_mutexattr_setprioceiling) | 不支持 | -| [pthread_mutexattr_setprotocol](#pthread_mutexattr_setprotocol) | 部分支持 | -| [pthread_mutexattr_setpshared](#pthread_mutexattr_setpshared) | 不支持 | -| [pthread_mutexattr_setrobust](#pthread_mutexattr_setrobust) | 部分支持 | -| [pthread_mutexattr_settype](#pthread_mutexattr_settype) | 支持 | -| [pthread_once](#pthread_once) | 部分支持 | -| [pthread_rwlock_destroy](#pthread_rwlock_destroy) | 支持 | -| [pthread_rwlock_init](#pthread_rwlock_init) | 支持 | -| [pthread_rwlock_rdlock](#pthread_rwlock_rdlock) | 支持 | -| [pthread_rwlock_timedrdlock](#pthread_rwlock_timedrdlock) | 支持 | -| [pthread_rwlock_timedwrlock](#pthread_rwlock_timedwrlock) | 支持 | -| [pthread_rwlock_tryrdlock](#pthread_rwlock_tryrdlock) | 支持 | -| [pthread_rwlock_trywrlock](#pthread_rwlock_trywrlock) | 支持 | -| [pthread_rwlock_unlock](#pthread_rwlock_unlock) | 支持 | -| [pthread_rwlock_wrlock](#pthread_rwlock_wrlock) | 支持 | -| [pthread_rwlockattr_destroy](#pthread_rwlockattr_destroy) | 不支持 | -| [pthread_rwlockattr_getpshared](#pthread_rwlockattr_getpshared) | 部分支持 | -| [pthread_rwlockattr_init](#pthread_rwlockattr_init) | 不支持 | -| [pthread_rwlockattr_setpshared](#pthread_rwlockattr_setpshared) | 部分支持 | -| [pthread_self](#pthread_self) | 支持 | -| [pthread_setcancelstate](#pthread_setcancelstate) | 支持 | -| [pthread_setcanceltype](#pthread_setcanceltype) | 支持 | -| [pthread_setschedparam](#pthread_setschedparam) | 部分支持 | -| [pthread_setschedprio](#pthread_setschedprio) | 支持 | -| [pthread_setspecific](#pthread_setspecific) | 支持 | -| [pthread_sigmask](#pthread_sigmask) | 不支持 | -| [pthread_spin_init](#pthread_spin_init) | 不支持 | -| [pthread_spin_destory](#pthread_spin_destory) | 不支持 | -| [pthread_spin_lock](#pthread_spin_lock) | 不支持 | -| [pthread_spin_trylock](#pthread_spin_trylock) | 不支持 | -| [pthread_spin_unlock](#pthread_spin_unlock) | 不支持 | -| [pthread_testcancel](#pthread_testcancel) | 支持 | -| [sem_close](#sem_close) | 支持 | -| [sem_destroy](#sem_destroy) | 支持 | -| [sem_getvalue](#sem_getvalue) | 支持 | -| [sem_init](#sem_init) | 支持 | -| [sem_open](#sem_open) | 支持 | -| [sem_post](#sem_post) | 支持 | -| [sem_timedwait](#sem_timedwait) | 支持 | -| [sem_trywait](#sem_trywait) | 支持 | -| [sem_unlink](#sem_unlink) | 部分支持 | -| [sem_wait](#sem_wait) | 支持 | -| [sched_yield](#sched_yield) | 支持 | -| [sched_get_priority_max](#sched_get_priority_max) | 支持 | -| [sched_get_priority_min](#sched_get_priority_min) | 支持 | +| [pthread_atfork](#pthread-atfork) | 不支持 | +| [pthread_attr_destroy](#pthread-attr-destroy) | 支持 | +| [pthread_attr_getdetachstate](#pthread-attr-getdetachstate) | 支持 | +| [pthread_attr_getguardsize](#pthread-attr-getguardsize) | 不支持 | +| [pthread_attr_getinheritsched](#pthread-attr-getinheritsched) | 支持 | +| [pthread_attr_getschedparam](#pthread-attr-getschedparam) | 支持 | +| [pthread_attr_getschedpolicy](#pthread-attr-getschedpolicy) | 支持 | +| [pthread_attr_getscope](#pthread-attr-getscope) | 支持 | +| [pthread_attr_getstack](#pthread-attr-getstack) | 支持 | +| [pthread_attr_getstackaddr](#pthread-attr-getstackaddr) | 支持 | +| [pthread_attr_getstacksize](#pthread-attr-getstacksize) | 支持 | +| [pthread_attr_init](#pthread-attr-init) | 支持 | +| [pthread_attr_setdetachstate](#pthread-attr-setdetachstate) | 支持 | +| [pthread_attr_setguardsize](#pthread-attr-setguardsize) | 不支持 | +| [pthread_attr_setinheritsched](#pthread-attr-setinheritsched) | 支持 | +| [pthread_attr_setschedparam](#pthread-attr-setschedparam) | 部分支持 | +| [pthread_attr_setschedpolicy](#pthread-attr-setschedpolicy) | 部分支持 | +| [pthread_attr_setscope](#pthread-attr-setscope) | 部分支持 | +| [pthread_attr_setstack](#pthread-attr-setstack) | 支持 | +| [pthread_attr_setstackaddr](#pthread-attr-setstackaddr) | 支持 | +| [pthread_attr_setstacksize](#pthread-attr-setstacksize) | 支持 | +| [pthread_barrier_destroy](#pthread-barrier-destroy) | 支持 | +| [pthread_barrier_init](#pthread-barrier-init) | 部分支持 | +| [pthread_barrier_wait](#pthread-barrier-wait) | 支持 | +| [pthread_barrierattr_getpshared](#pthread-barrierattr-getpshared) | 支持 | +| [pthread_barrierattr_setpshared](#pthread-barrierattr-setpshared) | 部分支持 | +| [pthread_cancel](#pthread-cancel) | 支持 | +| [pthread_cond_broadcast](#pthread-cond-broadcast) | 支持 | +| [pthread_cond_destroy](#pthread-cond-destroy) | 支持 | +| [pthread_cond_init](#pthread-cond-init) | 支持 | +| [pthread_cond_signal](#pthread-cond-signal) | 支持 | +| [pthread_cond_timedwait](#pthread-cond-timedwait) | 支持 | +| [pthread_cond_wait](#pthread-cond-wait) | 支持 | +| [pthread_condattr_destroy](#pthread-condattr-destroy) | 支持 | +| [pthread_condattr_getclock](#pthread-condattr-getclock) | 支持 | +| [pthread_condattr_getpshared](#pthread-condattr-getpshared) | 支持 | +| [pthread_condattr_init](#pthread-condattr-init) | 支持 | +| [pthread_condattr_setclock](#pthread-condattr-setclock) | 部分支持 | +| [pthread_condattr_setpshared](#pthread-condattr-setpshared) | 部分支持 | +| [pthread_create](#pthread-create) | 支持 | +| [pthread_detach](#pthread-detach) | 支持 | +| [pthread_equal](#pthread-equal) | 支持 | +| [pthread_exit](#pthread-exit) | 支持 | +| [pthread_getcpuclockid](#pthread-getcpuclockid) | 不支持 | +| [pthread_getschedparam](#pthread-getschedparam) | 支持 | +| [pthread_getspecific](#pthread-getspecific) | 支持 | +| [pthread_join](#pthread-join) | 支持 | +| [pthread_key_create](#pthread-key-create) | 支持 | +| [pthread_key_delete](#pthread-key-delete) | 支持 | +| [pthread_kill](#pthread-kill) | 不支持 | +| [pthread_mutex_consistent](#pthread-mutex-consistent) | 不支持 | +| [pthread_mutex_destroy](#pthread-mutex-destroy) | 支持 | +| [pthread_mutex_getprioceiling](#pthread-mutex-getprioceiling) | 不支持 | +| [pthread_mutex_init](#pthread-mutex-init) | 支持 | +| [pthread_mutex_lock](#pthread-mutex-lock) | 支持 | +| [pthread_mutex_setprioceiling](#pthread-mutex-setprioceiling) | 不支持 | +| [pthread_mutex_timedlock](#pthread-mutex-timedlock) | 支持 | +| [pthread_mutex_trylock](#pthread-mutex-trylock) | 支持 | +| [pthread_mutex_unlock](#pthread-mutex-unlock) | 支持 | +| [pthread_mutexattr_destroy](#pthread-mutexattr-destroy) | 支持 | +| [pthread_mutexattr_getprioceiling](#pthread-mutexattr-getprioceiling) | 不支持 | +| [pthread_mutexattr_getprotocol](#pthread-mutexattr-getprotocol) | 支持 | +| [pthread_mutexattr_getpshared](#pthread-mutexattr-getpshared) | 部分支持 | +| [pthread_mutexattr_getrobust](#pthread-mutexattr-getrobust) | 部分支持 | +| [pthread_mutexattr_gettype](#pthread-mutexattr-gettype) | 支持 | +| [pthread_mutexattr_init](#pthread-mutexattr-init) | 支持 | +| [pthread_mutexattr_setprioceiling](#pthread-mutexattr-setprioceiling) | 不支持 | +| [pthread_mutexattr_setprotocol](#pthread-mutexattr-setprotocol) | 部分支持 | +| [pthread_mutexattr_setpshared](#pthread-mutexattr-setpshared) | 不支持 | +| [pthread_mutexattr_setrobust](#pthread-mutexattr-setrobust) | 部分支持 | +| [pthread_mutexattr_settype](#pthread-mutexattr-settype) | 支持 | +| [pthread_once](#pthread-once) | 部分支持 | +| [pthread_rwlock_destroy](#pthread-rwlock-destroy) | 支持 | +| [pthread_rwlock_init](#pthread-rwlock-init) | 支持 | +| [pthread_rwlock_rdlock](#pthread-rwlock-rdlock) | 支持 | +| [pthread_rwlock_timedrdlock](#pthread-rwlock-timedrdlock) | 支持 | +| [pthread_rwlock_timedwrlock](#pthread-rwlock-timedwrlock) | 支持 | +| [pthread_rwlock_tryrdlock](#pthread-rwlock-tryrdlock) | 支持 | +| [pthread_rwlock_trywrlock](#pthread-rwlock-trywrlock) | 支持 | +| [pthread_rwlock_unlock](#pthread-rwlock-unlock) | 支持 | +| [pthread_rwlock_wrlock](#pthread-rwlock-wrlock) | 支持 | +| [pthread_rwlockattr_destroy](#pthread-rwlockattr-destroy) | 不支持 | +| [pthread_rwlockattr_getpshared](#pthread-rwlockattr-getpshared) | 部分支持 | +| [pthread_rwlockattr_init](#pthread-rwlockattr-init) | 不支持 | +| [pthread_rwlockattr_setpshared](#pthread-rwlockattr-setpshared) | 部分支持 | +| [pthread_self](#pthread-self) | 支持 | +| [pthread_setcancelstate](#pthread-setcancelstate) | 支持 | +| [pthread_setcanceltype](#pthread-setcanceltype) | 支持 | +| [pthread_setschedparam](#pthread-setschedparam) | 部分支持 | +| [pthread_setschedprio](#pthread-setschedprio) | 支持 | +| [pthread_setspecific](#pthread-setspecific) | 支持 | +| [pthread_sigmask](#pthread-sigmask) | 不支持 | +| [pthread_spin_init](#pthread-spin-init) | 不支持 | +| [pthread_spin_destory](#pthread-spin-destory) | 不支持 | +| [pthread_spin_lock](#pthread-spin-lock) | 不支持 | +| [pthread_spin_trylock](#pthread-spin-trylock) | 不支持 | +| [pthread_spin_unlock](#pthread-spin-unlock) | 不支持 | +| [pthread_testcancel](#pthread-testcancel) | 支持 | +| [sem_close](#sem-close) | 支持 | +| [sem_destroy](#sem-destroy) | 支持 | +| [sem_getvalue](#sem-getvalue) | 支持 | +| [sem_init](#sem-init) | 支持 | +| [sem_open](#sem-open) | 支持 | +| [sem_post](#sem-post) | 支持 | +| [sem_timedwait](#sem-timedwait) | 支持 | +| [sem_trywait](#sem-trywait) | 支持 | +| [sem_unlink](#sem-unlink) | 部分支持 | +| [sem_wait](#sem-wait) | 支持 | +| [sched_yield](#sched-yield) | 支持 | +| [sched_get_priority_max](#sched-get-priority-max) | 支持 | +| [sched_get_priority_min](#sched-get-priority-min) | 支持 | | [asctime](#asctime) | 支持 | -| [asctime_r](#asctime_r) | 支持 | +| [asctime_r](#asctime-r) | 支持 | | [clock](#clock) | 支持 | -| [clock_getcpuclockid](#clock_getcpuclockid) | 部分支持 | -| [clock_getres](#clock_getres) | 部分支持 | -| [clock_gettime](#clock_gettime) | 支持 | -| [clock_nanosleep](#clock_nanosleep) | 部分支持 | -| [clock_settime](#clock_settime) | 支持 | +| [clock_getcpuclockid](#clock-getcpuclockid) | 部分支持 | +| [clock_getres](#clock-getres) | 部分支持 | +| [clock_gettime](#clock-gettime) | 支持 | +| [clock_nanosleep](#clock-nanosleep) | 部分支持 | +| [clock_settime](#clock-settime) | 支持 | | [ctime](#ctime) | 支持 | -| [ctime_r](#ctime_r) | 支持 | +| [ctime_r](#ctime-r) | 支持 | | [difftime](#difftime) | 支持 | | [getdate](#getdate) | 不支持 | | [gettimeofday](#gettimeofday) | 支持 | | [gmtime](#gmtime) | 支持 | -| [gmtime_r](#gmtime_r) | 支持 | +| [gmtime_r](#gmtime-r) | 支持 | | [localtime](#localtime) | 支持 | -| [localtime_r](#localtime_r) | 支持 | +| [localtime_r](#localtime-r) | 支持 | | [mktime](#mktime) | 支持 | | [nanosleep](#nanosleep) | 支持 | | [strftime](#strftime) | 不支持 | -| [strftime_l](#strftime_l) | 不支持 | +| [strftime_l](#strftime-l) | 不支持 | | [strptime](#strptime) | 支持 | | [time](#time) | 支持 | -| [timer_create](#timer_create) | 支持 | -| [timer_delete](#timer_delete) | 支持 | -| [timer_getoverrun](#timer_getoverrun) | 支持 | -| [timer_gettime](#timer_gettime) | 支持 | -| [timer_settime](#timer_settime) | 支持 | +| [timer_create](#timer-create) | 支持 | +| [timer_delete](#timer-delete) | 支持 | +| [timer_getoverrun](#timer-getoverrun) | 支持 | +| [timer_gettime](#timer-gettime) | 支持 | +| [timer_settime](#timer-settime) | 支持 | | [times](#times) | 支持 | -| [timespec_get](#timespec_get) | 支持 | +| [timespec_get](#timespec-get) | 支持 | | [utime](#utime) | 不支持 | | [wcsftime](#wcsftime) | 不支持 | -| [wcsftime_l](#wcsftime_l) | 不支持 | +| [wcsftime_l](#wcsftime-l) | 不支持 | | [malloc](#malloc) | 支持 | | [free](#free) | 支持 | | [memalign](#memalign) | 支持 | | [realloc](#realloc) | 支持 | -| [malloc_usable_size](#malloc_usable_size) | 支持 | -| [aligned_alloc](#aligned_alloc) | 支持 | +| [malloc_usable_size](#malloc-usable-size) | 支持 | +| [aligned_alloc](#aligned-alloc) | 支持 | | [reallocarray](#reallocarray) | 支持 | | [calloc](#calloc) | 支持 | -| [posix_memalign](#posix_memalign) | 支持 | +| [posix_memalign](#posix-memalign) | 支持 | | [abort](#abort) | 支持 | -| [_Exit](#_Exit) | 支持 | +| [_Exit](#exit) | 支持 | | [atexit](#atexit) | 支持 | -| [quick_exit](#quick_exit) | 支持 | -| [at_quick_exit](#at_quick_exit) | 支持 | +| [quick_exit](#quick-exit) | 支持 | +| [at_quick_exit](#at-quick-exit) | 支持 | | [assert](#assert) | 支持 | | [div](#div) | 支持 | | [ldiv](#ldiv) | 支持 | @@ -3462,29 +3462,29 @@ errno: | 接口名 | 适配情况 | | :---: | :-----: | -| [cnd_broadcast](#cnd_broadcast) | 支持 | -| [cnd_destroy](#cnd_destroy) | 支持 | -| [cnd_init](#cnd_init) | 支持 | -| [cnd_signal](#cnd_signal) | 支持 | -| [cnd_timedwait](#cnd_timedwait) | 支持 | -| [cnd_wait](#cnd_wait) | 支持 | -| [mtx_destroy](#mtx_destroy) | 支持 | -| [mtx_init](#mtx_init) | 支持 | -| [mtx_lock](#mtx_lock) | 支持 | -| [mtx_timedlock](#mtx_timedlock) | 支持 | -| [mtx_trylock](#mtx_trylock) | 支持 | -| [thrd_create](#thrd_create) | 支持 | -| [thrd_current](#thrd_current) | 支持 | -| [thrd_detach](#thrd_detach) | 支持 | -| [thrd_equal](#thrd_equal) | 支持 | -| [thrd_exit](#thrd_exit) | 支持 | -| [thrd_join](#thrd_join) | 支持 | -| [thrd_sleep](#thrd_sleep) | 支持 | -| [thrd_yield](#thrd_yield) | 支持 | -| [tss_create](#tss_create) | 支持 | -| [tss_delete](#tss_delete) | 支持 | -| [tss_get](#tss_get) | 支持 | -| [tss_set](#tss_set) | 支持 | +| [cnd_broadcast](#cnd-broadcast) | 支持 | +| [cnd_destroy](#cnd-destroy) | 支持 | +| [cnd_init](#cnd-init) | 支持 | +| [cnd_signal](#cnd-signal) | 支持 | +| [cnd_timedwait](#cnd-timedwait) | 支持 | +| [cnd_wait](#cnd-wait) | 支持 | +| [mtx_destroy](#mtx-destroy) | 支持 | +| [mtx_init](#mtx-init) | 支持 | +| [mtx_lock](#mtx-lock) | 支持 | +| [mtx_timedlock](#mtx-timedlock) | 支持 | +| [mtx_trylock](#mtx-trylock) | 支持 | +| [thrd_create](#thrd-create) | 支持 | +| [thrd_current](#thrd-current) | 支持 | +| [thrd_detach](#thrd-detach) | 支持 | +| [thrd_equal](#thrd-equal) | 支持 | +| [thrd_exit](#thrd-exit) | 支持 | +| [thrd_join](#thrd-join) | 支持 | +| [thrd_sleep](#thrd-sleep) | 支持 | +| [thrd_yield](#thrd-yield) | 支持 | +| [tss_create](#tss-create) | 支持 | +| [tss_delete](#tss-delete) | 支持 | +| [tss_get](#tss-get) | 支持 | +| [tss_set](#tss-set) | 支持 | ### 条件变量管理 @@ -3770,13 +3770,13 @@ tss_set() 函数应将线程特定的 value 与通过先前调用 tss_create() | 接口名 | 适配情况 | | :---: | :-----: | -| [pthread_getattr_default_np](#pthread_getattr_default_np) | 支持 | -| [pthread_getattr_np](#pthread_getattr_np) | 支持 | -| [pthread_getname_np](#pthread_getattr_np) | 支持 | -| [pthread_setattr_default_np](#pthread_setattr_default_np) | 支持 | -| [pthread_setname_np](#pthread_setname_np) | 支持 | -| [pthread_timedjoin_np](#pthread_timedjoin_np) | 支持 | -| [pthread_tryjoin_np](#pthread_tryjoin_np) | 支持 | +| [pthread_getattr_default_np](#pthread-getattr-default-np) | 支持 | +| [pthread_getattr_np](#pthread-getattr-np) | 支持 | +| [pthread_getname_np](#pthread-getattr-np) | 支持 | +| [pthread_setattr_default_np](#pthread-setattr-default-np) | 支持 | +| [pthread_setname_np](#pthread-setname-np) | 支持 | +| [pthread_timedjoin_np](#pthread-timedjoin-np) | 支持 | +| [pthread_tryjoin_np](#pthread-tryjoin-np) | 支持 | | [ftime](#ftime) | 支持 | | [timegm](#timegm) | 支持 | diff --git a/docs/zh/server/maintenance/aops/deploying_aops.md b/docs/zh/server/maintenance/aops/deploying_aops.md index 9f8f9f38..a71c23fb 100644 --- a/docs/zh/server/maintenance/aops/deploying_aops.md +++ b/docs/zh/server/maintenance/aops/deploying_aops.md @@ -17,7 +17,7 @@ A-Ops是用于提升主机整体安全性的服务,通过资产管理、漏洞 # 二、部署环境要求 -建议采用4台openEuler 22.03-LTS-SP4 机器部署,其中3台用于配置服务端,1台用于纳管(aops服务纳管的主机),**且repo中需要配置update源**([FAQ:配置update源](#Q6、配置update源)),具体用途以及部署方案如下: +建议采用4台openEuler 22.03-LTS-SP4 机器部署,其中3台用于配置服务端,1台用于纳管(aops服务纳管的主机),**且repo中需要配置update源**([FAQ:配置update源](#q6、配置update源)),具体用途以及部署方案如下: + 机器A:部署mysql、redis、elasticsearch等,主要提供数据服务支持,建议内存8G+。 + 机器B:部署A-Ops的资产管理zeus服务+前端展示服务,提供完整的业务功能支持,建议内存6G+。 @@ -257,7 +257,7 @@ ip=192.168.1.3 // 此处ip修改为部署apollo服务的真实ip(建议apollo port=11116 ``` -> **mysql数据库设置为密码模式**,请参阅[FAQ:密码模式下mysql服务配置链接字符串](#Q5、mysql设置为密码模式) +> **mysql数据库设置为密码模式**,请参阅[FAQ:密码模式下mysql服务配置链接字符串](#q5、mysql设置为密码模式) + 启动aops-zeus服务 @@ -265,9 +265,9 @@ port=11116 systemctl start aops-zeus ``` -**注意:服务启动前请确保已 [初始化aops-zeus数据库](#3125-初始化aops-zeus数据库)** +**注意:服务启动前请确保已 [初始化aops-zeus数据库](#_3-1-2-5、-初始化aops-zeus数据库)** -> zeus服务启动失败,且报错内容包含mysql数据库连接失败,请排查是否设置mysql密码,如果是请参阅[FAQ:密码模式下mysql服务启动失败](#Q5、mysql设置为密码模式) +> zeus服务启动失败,且报错内容包含mysql数据库连接失败,请排查是否设置mysql密码,如果是请参阅[FAQ:密码模式下mysql服务启动失败](#q5、mysql设置为密码模式) #### 3.1.2.5、 初始化aops-zeus数据库 @@ -280,9 +280,9 @@ bash aops-basedatabase.sh init zeus **注意:在未安装aops-tools工具包时,也可获取sql脚本通过mysql加载的方式初始化(sql脚本路径:/opt/aops/database/zeus.sql)** -[FAQ:密码模式下mysql数据库初始化](#Q5、mysql设置为密码模式) +[FAQ:密码模式下mysql数据库初始化](#q5、mysql设置为密码模式) -[FAQ:/opt/aops/scripts/deploy目录不存在](#Q7、/opt/aops/scripts/deploy目录不存在) +[FAQ:/opt/aops/scripts/deploy目录不存在](#q7、-opt-aops-scripts-deploy目录不存在) #### 3.1.2.6、 部署aops-hermes @@ -334,7 +334,7 @@ systemctl start aops-hermes ## 3.2、 漏洞管理 -CVE管理模块在[资产管理](#31-资产管理)模块的基础上实现,在部署CVE管理模块前须完成[资产管理](#31-资产管理)模块的部署,然后再部署aops-apollo。 +CVE管理模块在[资产管理](#_3-1、-资产管理)模块的基础上实现,在部署CVE管理模块前须完成[资产管理](#_3-1、-资产管理)模块的部署,然后再部署aops-apollo。 数据服务部分aops-apollo服务的运行需要**mysql、elasticsearch、redis**数据库的支持。 @@ -347,7 +347,7 @@ CVE管理模块在[资产管理](#31-资产管理)模块的基础上实现,在 ### 3.2.2、 部署步骤 -[部署步骤](#312部署步骤) +[部署步骤](#_3-1-2、部署步骤) #### 3.2.2.1、 部署elasticsearch @@ -488,7 +488,7 @@ gevent=100 ``` -> **mysql数据库设置为密码模式**,请参阅[密码模式下mysql服务配置链接字符串](#Q5、mysql设置为密码模式) +> **mysql数据库设置为密码模式**,请参阅[密码模式下mysql服务配置链接字符串](#q5、mysql设置为密码模式) + 启动aops-apollo服务 @@ -496,9 +496,9 @@ gevent=100 systemctl start aops-apollo ``` -**注意:服务启动前请确保已 [初始化aops-apollo数据库](#3223初始化aops-apollo数据库)** +**注意:服务启动前请确保已 [初始化aops-apollo数据库](#_3-2-2-3、初始化aops-apollo数据库)** -> apollo服务启动失败,且报错内容包含mysql数据库连接失败,请排查是否设置mysql密码,如果是请参阅[密码模式下mysql服务启动失败](#Q5、mysql设置为密码模式) +> apollo服务启动失败,且报错内容包含mysql数据库连接失败,请排查是否设置mysql密码,如果是请参阅[密码模式下mysql服务启动失败](#q5、mysql设置为密码模式) #### 3.2.2.3、初始化aops-apollo数据库 @@ -511,13 +511,13 @@ bash aops-basedatabase.sh init apollo **注意:在未安装aops-tools工具包时,也可获取sql脚本通过mysql加载的方式初始化(sql脚本路径:/opt/aops/database/apollo.sql)** -[FAQ:密码模式下mysql数据库初始化](#Q5、mysql设置为密码模式) +[FAQ:密码模式下mysql数据库初始化](#q5、mysql设置为密码模式) -[FAQ:/opt/aops/scripts/deploy目录不存在](#Q7、/opt/aops/scripts/deploy目录不存在) +[FAQ:/opt/aops/scripts/deploy目录不存在](#q7、-opt-aops-scripts-deploy目录不存在) ## 3.3、 配置溯源 -A-Ops配置溯源在机器管理的基础上依赖gala-ragdoll实现,同样在部署gala-ragdoll服务之前,须完成[资产管理](#31-资产管理)部分的部署。 +A-Ops配置溯源在机器管理的基础上依赖gala-ragdoll实现,同样在部署gala-ragdoll服务之前,须完成[资产管理](#_3-1、-资产管理)部分的部署。 ### 3.3.1、 节点信息 @@ -527,7 +527,7 @@ A-Ops配置溯源在机器管理的基础上依赖gala-ragdoll实现,同样在 ### 3.3.2、 部署步骤 -[部署步骤](#312部署步骤) +[部署步骤](#_3-2-2、-部署步骤) #### 3.3.2.1、 部署gala-ragdoll @@ -578,7 +578,7 @@ systemctl start gala-ragdoll ## 3.4、 异常检测 -异常检测模块依赖[机器管理](#31-资产管理)服务,故在部署异常检测功能前须完成[机器管理](#31-资产管理)模块部署,然后再部署aops-diana。 +异常检测模块依赖[机器管理](#_3-1、-资产管理)服务,故在部署异常检测功能前须完成[机器管理](#_3-1、-资产管理)模块部署,然后再部署aops-diana。 基于分布式部署考虑,aops-diana服务需在机器A与机器B同时部署,分别扮演消息队列中的生产者与消费者角色。 @@ -594,9 +594,9 @@ systemctl start gala-ragdoll ### 3.4.2、 部署步骤 -[部署步骤](#312部署步骤) +[部署步骤](#_3-1-2、部署步骤) -[部署elasticsearch](#3221-部署elasticsearch) +[部署elasticsearch](#_3-2-2-1、-部署elasticsearch) #### 3.4.2.1、 部署kafka @@ -736,7 +736,7 @@ processes=2 threads=2 ``` -> **mysql数据库设置为密码模式**,请参阅[FAQ:密码模式下mysql服务配置链接字符串](#Q5、mysql设置为密码模式) +> **mysql数据库设置为密码模式**,请参阅[FAQ:密码模式下mysql服务配置链接字符串](#q5、mysql设置为密码模式) (2)机器B中diana以**configurable**模式启动,**扮演kafka消息队列中的生产者角色**,aops-hermes中关于aops-diana的端口配置以该机器ip与端口为准,配置文件需修改部分如下所示: @@ -808,7 +808,7 @@ processes=2 threads=2 ``` -> **mysql数据库设置为密码模式**,请参阅[FAQ:密码模式下mysql服务配置链接字符串](#Q5、mysql设置为密码模式) +> **mysql数据库设置为密码模式**,请参阅[FAQ:密码模式下mysql服务配置链接字符串](#q5、mysql设置为密码模式) + 启动aops-diana服务 @@ -816,9 +816,9 @@ threads=2 systemctl start aops-diana ``` -**注意:服务启动前请确保已 [初始化aops-diana数据库](#3423初始化aops-diana数据库)** +**注意:服务启动前请确保已 [初始化aops-diana数据库](#_3-4-2-3、初始化aops-diana数据库)** -> diana服务启动失败,且报错内容包含mysql数据库连接失败,请排查是否设置mysql密码,如果是请参阅[FAQ:密码模式下mysql服务启动失败](#Q5、mysql设置为密码模式) +> diana服务启动失败,且报错内容包含mysql数据库连接失败,请排查是否设置mysql密码,如果是请参阅[FAQ:密码模式下mysql服务启动失败](#q5、mysql设置为密码模式) #### 3.4.2.3、初始化aops-diana数据库 @@ -831,9 +831,9 @@ bash aops-basedatabase.sh init diana **注意:在未安装aops-tools工具包时,也可获取sql脚本通过mysql加载的方式初始化(sql脚本路径:/opt/aops/database/diana.sql)** -[FAQ:密码模式下mysql数据库初始化](#Q5、mysql设置为密码模式) +[FAQ:密码模式下mysql数据库初始化](#q5、mysql设置为密码模式) -[FAQ:/opt/aops/scripts/deploy目录不存在](#Q7、/opt/aops/scripts/deploy目录不存在) +[FAQ:/opt/aops/scripts/deploy目录不存在](#q7、-opt-aops-scripts-deploy目录不存在) ## 3.5、客户端安装 -- Gitee From 91da89de0ac04d05da037e9c1dbf87080f9da018 Mon Sep 17 00:00:00 2001 From: hemiao Date: Wed, 3 Sep 2025 14:24:46 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zh/openeuler_22.03_lts_upgrade_and_downgrade_guide.md | 0 .../zh/openeuler_driver_development_specifications.md | 0 .../zh}/openeuler_embedded_22.03_release_notes.md | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename docs/zh/server/installation_upgrade/upgrade/openEuler_22.03_lts_upgrade_and_downgrade_guide.md => archive/zh/openeuler_22.03_lts_upgrade_and_downgrade_guide.md (100%) rename docs/zh/server/development/driver_development_specifications/openEuler_driver_development_specifications.md => archive/zh/openeuler_driver_development_specifications.md (100%) rename {docs/zh/embedded/openeuler_embedded => archive/zh}/openeuler_embedded_22.03_release_notes.md (100%) diff --git a/docs/zh/server/installation_upgrade/upgrade/openEuler_22.03_lts_upgrade_and_downgrade_guide.md b/archive/zh/openeuler_22.03_lts_upgrade_and_downgrade_guide.md similarity index 100% rename from docs/zh/server/installation_upgrade/upgrade/openEuler_22.03_lts_upgrade_and_downgrade_guide.md rename to archive/zh/openeuler_22.03_lts_upgrade_and_downgrade_guide.md diff --git a/docs/zh/server/development/driver_development_specifications/openEuler_driver_development_specifications.md b/archive/zh/openeuler_driver_development_specifications.md similarity index 100% rename from docs/zh/server/development/driver_development_specifications/openEuler_driver_development_specifications.md rename to archive/zh/openeuler_driver_development_specifications.md diff --git a/docs/zh/embedded/openeuler_embedded/openeuler_embedded_22.03_release_notes.md b/archive/zh/openeuler_embedded_22.03_release_notes.md similarity index 100% rename from docs/zh/embedded/openeuler_embedded/openeuler_embedded_22.03_release_notes.md rename to archive/zh/openeuler_embedded_22.03_release_notes.md -- Gitee From ac25adeb8015970804437063f1105a2d05e06270 Mon Sep 17 00:00:00 2001 From: hemiao Date: Wed, 3 Sep 2025 14:25:42 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../openeuler_embedded}/openeuler_embedded_22.03_release_notes.md | 0 .../openeuler_driver_development_specifications.md | 0 .../upgrade}/openeuler_22.03_lts_upgrade_and_downgrade_guide.md | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename {archive/zh => docs/zh/embedded/openeuler_embedded}/openeuler_embedded_22.03_release_notes.md (100%) rename {archive/zh => docs/zh/server/development/driver_development_specifications}/openeuler_driver_development_specifications.md (100%) rename {archive/zh => docs/zh/server/installation_upgrade/upgrade}/openeuler_22.03_lts_upgrade_and_downgrade_guide.md (100%) diff --git a/archive/zh/openeuler_embedded_22.03_release_notes.md b/docs/zh/embedded/openeuler_embedded/openeuler_embedded_22.03_release_notes.md similarity index 100% rename from archive/zh/openeuler_embedded_22.03_release_notes.md rename to docs/zh/embedded/openeuler_embedded/openeuler_embedded_22.03_release_notes.md diff --git a/archive/zh/openeuler_driver_development_specifications.md b/docs/zh/server/development/driver_development_specifications/openeuler_driver_development_specifications.md similarity index 100% rename from archive/zh/openeuler_driver_development_specifications.md rename to docs/zh/server/development/driver_development_specifications/openeuler_driver_development_specifications.md diff --git a/archive/zh/openeuler_22.03_lts_upgrade_and_downgrade_guide.md b/docs/zh/server/installation_upgrade/upgrade/openeuler_22.03_lts_upgrade_and_downgrade_guide.md similarity index 100% rename from archive/zh/openeuler_22.03_lts_upgrade_and_downgrade_guide.md rename to docs/zh/server/installation_upgrade/upgrade/openeuler_22.03_lts_upgrade_and_downgrade_guide.md -- Gitee