ws_ipo-readiness-preparing-for-increased-scrutiny
- 格式:pdf
- 大小:915.43 KB
- 文档页数:22


OpenShift Container Platform 4.10
虚拟化
OpenShift Virtualization 安装、使用和发行注记
Last Updated: 2023-10-18OpenShift Container Platform 4.10 虚拟化
OpenShift Virtualization 安装、使用和发行注记法律通告
Copyright © 2023 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative CommonsAttribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA isavailable at/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you mustprovide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert,Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift,Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United Statesand other countries.
第 4-1 课:常见问题之 - 集群 RED 与 YELLOW
当你已经熟悉系统原理,在集群遇到故障的时候仍然需要花一些时间进行定位,在我们处理过的问题中,有很多是重复性的问题,我们将这些问题进行了汇总,目的是让运维同学可以根据错误类型找到现有的解决方案,快速解决问题。
因此本文分享在我们运维过程中遇到的一些比较通用的问题,希望可以给读者借鉴和参考。
1. 原理与诊断
集群 RED 和 YELLOW 是 Elasticsearch 集群最常见的问题之一,无论 RED 还是 YELLOW,原因只有一个:有部分分片没有分配。
如果有一个以上的主分片没有被分配,集群以及相关索引被标记为 RED 状态,如果所有主分片都已成功分配,有部分副分片没有被分配,集群以及相关索引被标记为 YELLOW 状态。 对于集群 RED 或 YELLOW 的问题诊断推荐使用 Cluster Allocation Explain API,该 API 可以给出造成分片未分配的具体原因。例如,如下请求可以返回第一个未分配的分片的具体原因:
GET /_cluster/allocation/explain
也可以只查看特定分片未分配的原因:
GET /_cluster/allocation/explain
{
"index": "myindex",
"shard": 0,
"primary": true
}
引用一个官网的例子,API 的返回信息如下:
{
"index" : "idx", "shard" : 0,
"primary" : true,
"current_state" : "unassigned",
"unassigned_info" : {
"reason" : "INDEX_CREATED",
"at" : "2017-01-04T18:08:16.600Z",
Troubleshooting Strategies for CloudStack InstallationsKirk KosinskiEscalation EngineerCitrix Systems@kirkkosinski
Agenda●Network Troubleshooting–VLANs, Security Groups–Hosts, Virtual Routers–VMs, Templates●Log Analysis–Files, keywords–Examples
Network Troubleshooting
VLAN Issues●Symptoms–Switch misconfiguration●All VLANs trunked by default? Or denied?–Router problems–Bad or mislabeled cabling
More VLAN Issues●Hypervisor problems–NIC drivers–Bonding–Open vSwitch–VLAN Scalability
Security Groups●KVM●XenServer / XCP–Switch backend–CSP●vSphere...
“Host” Connectivity●Hypervisors●System VMs ●Secondary Storage–Alert status is normal
Virtual Router (domR)●Dnsmasq●HAProxy●Password resets●User- and Meta-data
Templates●eth0, or is it eth1? Or maybe p192p1?●“sysprep” for Windows, your own solution for Linux●Prepare in CloudStack environment?●Can't “import” them?
关于折腾WSA(Windows的安卓⼦系统)过程
关于折腾WSA(Windows的安卓⼦系统)的过程今天听群⾥好兄弟说Windows 11 的安卓⼦系统可以⽤了就花了⼀中午折腾了⼀下1.虚拟机的安装和设置下个Windows11镜像丢进VM开个虚拟机内存要给到8G,在创建完虚拟机后要在虚拟机设置⾥打开选项,启⽤访问控制,再回到硬件界⾯添加TPM(前提是物理机的主板⽀持TPM,⽆TPM暂不清楚)
2. 虚拟机系统配置⾸先激活系统,然后进到Windows更新中启⽤Windows预览体验计划(预览体验计划需要微软账号,建议登录账号后再激活)
这⾥的预览成员设置可以选Bata,我这⾥选了Dev
选择之后就回到Windows更新界⾯⼿动更新下载预览更新
在下载的时候可以把Hyper-V也⼀起安装,这个可以⾃⾏百度(
3.安装包的下载
4.安装WSA由于⽬前微软暂时没有把AOSP直接塞进Windows11,所以要⼿动安装安装之前要在设置中把地区改为美国
把之前下好的压缩包解压得到两个⽂件复制⽂件夹路径然后同时按下Windows+X键选择Windows终端(管理员)
进到该⽬录下(这⾥subsystem会和Windows的关键字冲突,就换⼀个名字)
⾸先要安装Microsoft.UI.xaml(笔者第⼀次安装的时候⼀直报错提⽰Photo未停⽌运⾏,这个时候可以直接按Win键找到Photo右键选择应⽤设置,往下拉就能看到终⽌)Add-AppxPackage .\Microsoft.UI.Xaml.2.6_2.62108.18004.0_x64__8wekyb3d8bbwe.Appx然后再安装WSAAdd-AppxPackage .\MicrosoftCorporationII.WindowsSubsystemForAndroid_1.7.32815.0_neutral___8wekyb3d8bbwe.Msixbundle安装完成之后按下win键就可以看到WSA的软件已经安装完成