云服务器内容精选

  • OS_THREADS 提供当前节点下所有线程的状态信息,如表1所示。 表1 OS_THREADS字段 名称 类型 描述 node_name text 当前节点的名称。 pid bigint 当前节点进程中正在运行的线程号。 lwpid integer 与pid对应的轻量级线程号。 thread_name text 与pid对应的线程名称。 creation_time timestamp with time zone 与pid对应的线程创建的时间。 父主题: OS
  • GLOBAL_OS_THREADS 提供整个集群中所有正常节点下的线程状态信息,如表1所示。 表1 GLOBAL_OS_THREADS字段 名称 类型 描述 node_name text 当前节点的名称。 pid bigint 当前节点进程中正在运行的线程号。 lwpid integer 与pid对应的轻量级线程号。 thread_name text 与pid对应的线程名称。 creation_time timestamp with time zone 与pid对应的线程创建的时间。 父主题: OS
  • GLOBAL_OS_RUNTIME 提供整个集群中所有正常节点下的操作系统运行状态信息,如表1所示。 表1 GLOBAL_OS_RUNTIME字段 名称 类型 描述 node_name name 节点名称。 id integer 编号。 name text 操作系统运行状态名称。 value numeric 操作系统运行状态值。 comments text 操作系统运行状态注释。 cumulative boolean 操作系统运行状态的值是否为累加值。 父主题: OS
  • OS_THREADS 提供当前节点下所有线程的状态信息,如表1所示。 表1 OS_THREADS字段 名称 类型 描述 node_name text 当前节点的名称。 pid bigint 当前节点进程中正在运行的线程号。 lwpid integer 与pid对应的轻量级线程号。 thread_name text 与pid对应的线程名称。 creation_time timestamp with time zone 与pid对应的线程创建的时间。 父主题: OS
  • GLOBAL_OS_THREADS 提供数据库中所有正常节点下的线程状态信息,如表1所示。 表1 GLOBAL_OS_THREADS字段 名称 类型 描述 node_name text 节点名称。 pid bigint 当前节点进程中正在运行的线程号。 lwpid integer 与pid对应的轻量级线程号。 thread_name text 与pid对应的线程名称。 creation_time timestamp with time zone 与pid对应的线程创建的时间。 父主题: OS
  • GLOBAL_OS_RUNTIME 提供数据库中所有正常节点下的操作系统运行状态信息,如表1所示。 表1 GLOBAL_OS_RUNTIME字段 名称 类型 描述 node_name name 节点名称。 id integer 编号。 name text 操作系统运行状态名称。 value numeric 操作系统运行状态值。 comments text 操作系统运行状态注释。 cumulative boolean 操作系统运行状态的值是否为累加值。 父主题: OS
  • GLOBAL_OS_THREADS 提供整个集群中所有正常节点下的线程状态信息。 表1 GLOBAL_OS_THREADS字段 名称 类型 描述 node_name text 当前节点的名称。 pid bigint 当前节点进程中正在运行的线程号。 lwpid integer 与pid对应的轻量级线程号。 thread_name text 与pid对应的线程名称。 creation_time timestamp with time zone 与pid对应的线程创建的时间。 父主题: OS
  • GLOBAL_OS_RUNTIME 提供整个集群中所有正常节点下的操作系统运行状态信息。 表1 GLOBAL_OS_RUNTIME字段 名称 类型 描述 node_name name 节点名称。 id integer 编号。 name text 操作系统运行状态名称。 value numeric 操作系统运行状态值。 comments text 操作系统运行状态注释。 cumulative boolean 操作系统运行状态的值是否为累加值。 父主题: OS
  • GLOBAL_OS_RUNTIME 提供数据库中所有正常节点下的操作系统运行状态信息。 表1 GLOBAL_OS_RUNTIME字段 名称 类型 描述 node_name name 节点名称。 id integer 编号。 name text 操作系统运行状态名称。 value numeric 操作系统运行状态值。 comments text 操作系统运行状态注释。 cumulative boolean 操作系统运行状态的值是否为累加值。 父主题: OS
  • GLOBAL_OS_THREADS 提供数据库中所有正常节点下的线程状态信息。 表1 GLOBAL_OS_THREADS字段 名称 类型 描述 node_name text 节点名称。 pid bigint 当前节点进程中正在运行的线程号。 lwpid integer 与pid对应的轻量级线程号。 thread_name text 与pid对应的线程名称。 creation_time timestamp with time zone 与pid对应的线程创建的时间。 父主题: OS
  • OS_THREADS 提供当前节点下所有线程的状态信息。 表1 OS_THREADS字段 名称 类型 描述 node_name text 数据库进程名称。 pid bigint 数据库进程中正在运行的线程号。 lwpid integer 与pid对应的轻量级线程号。 thread_name text 与pid对应的线程名称。 creation_time timestamp with time zone 与pid对应的线程创建的时间。 父主题: OS
  • 安全更新概述 本节主要介绍如何使用yum或dnf命令查询并安装Huawei Cloud EulerOS中的安全更新。 各版本对yum和dnf命令的支持情况不同,本节以yum命令为例介绍。 dnf作为yum的替代者,提供更好的性能,dnf和yum命令的使用方法相同。 Huawei Cloud EulerOS 2.0及之后版本支持yum和dnf命令。 Huawei Cloud EulerOS 2.0之前版本仅支持yum命令。 父主题: 对HCE OS进行安全更新
  • 附录:conf配置文件说明 本节简介conf配置文件重要的字段。 #rpm lists for os migration[rpm_lists]#origin system must need rpmsbaserpms_list = "basesystem initscripts hce-logos plymouth grub2 grubby" //系统迁移依赖的RPM包#old rpm and default conflict rpms //迁移过程中,原系统可能存在的冲突包oldrpms_list = centos-backgrounds centos-release-cr desktop-backgrounds-basic \centos-release-advanced-virtualization centos-release-ansible26 centos-release-ansible-27 \centos-release-ansible-28 centos-release-ansible-29 centos-release-azure \centos-release-ceph-jewel centos-release-ceph-luminous centos-release-ceph-nautilus \centos-release-ceph-octopus centos-release-configmanagement centos-release-dotnet centos-release-fdio \centos-release-gluster40 centos-release-gluster41 centos-release-gluster5 \centos-release-gluster6 centos-release-gluster7 centos-release-gluster8 \centos-release-gluster-legacy centos-release-messaging centos-release-nfs-ganesha28 \centos-release-nfs-ganesha30 centos-release-nfv-common \centos-release-nfv-openvswitch centos-release-openshift-origin centos-release-openstack-queens \centos-release-openstack-rocky centos-release-openstack-stein centos-release-openstack-train \centos-release-openstack-ussuri centos-release-opstools centos-release-ovirt42 centos-release-ovirt43 \centos-release-ovirt44 centos-release-paas-common centos-release-qemu-ev centos-release-qpid-proton \centos-release-rabbitmq-38 centos-release-samba411 centos-release-samba412 \centos-release-scl centos-release-scl-rh centos-release-storage-common \centos-release-virt-common centos-release-xen centos-release-xen-410 \centos-release-xen-412 centos-release-xen-46 centos-release-xen-48 centos-release-xen-common \python3-syspurpose python-oauth sl-logos yum-rhn-plugin centos-indexhtml \libreport-centos libreport-web libreport-plugin-mantisbt libreport-plugin-rhtsupport \libreport hunspell-en-US hunspell-en policycoreutils-gui libcanberra-gtk2 cups \NetworkManager-libreswan-gnome plymouth-graphics-libs avahi cups-lpd pinentry-qt \librsvg2-devel libcanberra-gtk3 gnome-themes-standard wodim gsettings-desktop-schemas-devel \avahi-ui-gtk3 freerdp-libs pulseaudio-utils gstreamer1-plugins-bad-free-gtk ghostscript-cups \setools-console libxkbcommon-x11 cups plymouth-plugin-two-step pulseaudio-module-x11 ImageMagick-c++ \cups-devel policycoreutils-sandbox PackageKit-gstreamer-plugin gtk3-immodule-xim avahi-glib avahi-autoipd \mesa-libGLES foomatic libcanberra-devel plymouth-plugin-label PackageKit-gtk3-module colord avahi-gobject \pinentry-qt4 avahi-ui-gtk3 plymouth-plugin-two-step ghostscript-cups ImageMagick-perl firewall-config \plymouth-plugin-label redhat-redhat-lsb-corelsb vim-X11 dbus-x11 pulseaudio PackageKit-command-not-found libproxy-mozjs \pinentry-gtk nm-connection-editor gtk2-immodule-xim wireshark-gnome pulseaudio-module-bluetooth pidgin-sipe freerdp kmod-kvdo \redhat-lsb-core#The following list contains the same symbol as centos/redhatdstrpms_list = "hce-release hce-repos"[log_conf]# migration tool log common dirmigrate_common_dir = "/var/log/migrate-tool/" //日志存放路径# migration tool classification log dirmigrate_classification_dir = %(migrate_common_dir)s/centos2hce1/#iso as yum source link[repo_info]base_yum_url =https://repo.huaweicloud.com/hce/1.1/os/x86_64/ //基础yum源路径,用于检查网络状态#iso as yum sourcerepostr_hce1_1 = //提供迁移模式的源路径[base]name=hceversionbaseurl=https://repo.huaweicloud.com/hce/1.1/os/x86_64/ //基础yum源路径,用于获取RPM包gpgcheck=0enabled=1gpgkey=#released updates[updates]name=hce1_updatesbaseurl=gpgcheck=0enabled=0gpgkey=#additional packages that may be useful[extras]name=hce1_extrasbaseurl=gpgcheck=0enabled=0gpgkey=# plus packages provided by Huawei Linux dev team[plus]name=hce1_plusbaseurl=gpgcheck=0enabled=0gpgkey= 父主题: 将操作系统迁移至HCE OS 1.1