记录关于Devops运维,虚拟化容器云计算,数据库,网络安全等各方面问题。
ESXI VMotion fails at 10% with a memory resource error (1006408) Symptoms VMotion fails at 10% Cannot power on virtual machineThe vmware.log file for the virtual machine that fails to migrate contains messages similar to:Jul 17 09:21:31.809: vmx| [msg.vmmonVMK.admitFailed] Could not power on VM : Admission check failed for memory resourceJul 17 09:21:31.809: vmx| Please refer to the VMware ESX Server Resource Management Guide for information on resource management settings.Jul 17 09:21:31.809: vmx| [msg.monitorLoop.createVMFailed] Failed to power on VM----------------------------------------Jul 17 09:21:31.825: vmx| Module MonitorLoop power on failed. Resolution The message Admission check failed for memory resource indicates that the destination host is unable to accept the virtual machine because of a resource constraint. You must check resource settings and change the settings if necessary: To check resource settings:From the Inventory pane in VMware Inf...
ESXI Vcenter Failed to power on VM "Admission check failed for memory resource"Posted by Mohammed Raffic on July 23, 2012 in Troubleshooting | 2977 Views When you try to power on the virtual machine in the ESXi host configured with the lower amount of RAM. Generally the ESXi host running in the lab environment. I got the below error when try to power on the virtual machine yesterday. “Failed to power on VM :Could not power on VM : Admission check failed for memory resource See the VMware ESX Resource Management Guide for information on resource management settings. Group vm.80740: Cannot admit VM: Memory admission check failed. Requested reservation: 25046 pages”It looks something that memory resource allocation problem. First I thought to check the resource pool settings But unfortunately, I am not using resource pools in my lab environment. After that I verified the memory information of the ESXi host in the configuration Tab -> Memory. Please refer the be...
Orabbix简介 Orabbix是设计用来为zabbix监控Oracle的数据库的插件,它提供多层次的监控,包括可用性和服务器性能的指标。 它提供了从众多Oracle实例采集的有效机制,进而提供此信息的监控和性能指标。然后,您可以利用的zabbix的报告功能为收集的所有数据,并提供分析。目前的发行版中包含了一组预先定义的模板,包括从初始部署报警和图形功能。然而,这些可以进行微调,以满足您额需求和数据/监控要求。Orabbix监控的内容 1、数据库版本 2、归档日志与生产趋势 3、触发器,表/过程命中率 4、逻辑IO性能 5、物理IO性能 6、PGA 7、SGA 8、共享池 9、Session 10、数据库大小 实验环境: 操作系统:centos6.5 服务端:192.168.0.119 客服端(数据库):192.168.0.110 服务端操作: 一、安装jre。(确保有Java的环境) 下载地址:http://www.oracle.com/technetwork/java/javase/downloa...
Centos Oracle 10g 系统巡查脚本比较简单,可以自行添加内容以下是详细命令: #!/bin/bash echo "You are logged in as `whoami`"; if [ `whoami` != root ]; then echo "Must be logged on as root to run this script." exit fi CHECK_DATE=`date +%F.txt` echo "Running script. at `date`" CHECK_REPORT_PATH=/data ls -d $CHECK_REPORT_PATH if [ $? -gt 0 ] then mkdir $CHECK_REPORT_PATH fi chmod -R 777 $CHECK_REPORT_PATH CURRENT_DIR=`pwd` echo "#################### Check Start ####################" #网络地址配置信息 echo "********主机IP地址********" >>$CHECK_REPORT_PATH/Report_$CHECK_DATE ifconfig|grep inet|grep -v 127.0.0.1|sed -n '/inet addr/s/^[^:]*:\([0-9.]\{7,15\}\) .*/\1/p' >>$CHECK_REPORT_PA...
使用 ionice 限制 Xen 虚拟机磁盘 IO作为 VPS 服务商我们需要保证每个 VPS 公平的使用 host(服务器)的资源,避免某个 VPS 因为程序死循环、挂起、滥用等因素 “拖累” 其他 VPS,如果出现这个情况如何临时限制这个 VPS 的磁盘 IO 呢?有个办法是通过通过修改每个虚拟机 CPU 权重的办法间接、不精确的限制 IO. 在 Linux 上限制资源(CPU、内存、IO 等)的通常办法是用 cgroups,不过今天介绍的 ionice 要更容易一些。首先找到哪个虚拟机(VPS)正在大量 IO(假设是 vps0001),找到这个虚拟机后用 xm list 查出这个虚拟机使用的 ID 号,然后用 ID 配上 blkback(blkback.24)找出这个虚拟机(通过 Xen 的 blkback 驱动)关联哪些硬盘(blkback.24.xvda 和 blkback.24.xvdb),以及所使用的进程号(25089 和 25090):# xm list vps0001
Name ID Mem(MiB) VCPUs State time(s)
vps0001 24 1024 2 -b---- 70030.7
# ps aux | grep blkback.24
root 7434 0.0 0.1 61172 768 pts/16 D+ 02:48 0:00 grep blkback.24
root 25089 0.0 0.0 0 0 ? ...
case share :R710 win2012 installed the Hyper-V role show:Event ID: 60 Issue On a computer with Windows Server 2012 or Windows 8 withHyper-V role installed or after upgrading from a previous version of Windowswith the Hyper-V role already installed, you may receive the following errormessage while starting a virtual machine: Virtual machine'VM_Name' could not be started because the hypervisor is not running (Virtualmachine ID ). The following actions may helpyou resolve the problem: Verify that the processor of the physical computer has a supported version of hardware-assisted virtualization. Verify that hardware-assisted virtualization and hardware-assisted data execution protection are enabled in the BIOS of the physical computer. (If you edit the BIOS to enable either setting, you must turn off the power to the physical computer and then turn it back on. Resetting the physical computer is not sufficient.) If you have made changes to the Boot Configuration ...
CentOS 7.1 安装分布式存储系统 Ceph关于 Ceph 的介绍网上一大堆,这里就不重复了。Sage Weil 读博士的时候开发了这套牛逼的分布式存储系统,最初是奔着高性能分布式文件系统去的,结果云计算风口一来,Ceph 重心转向了分布式块存储(Block Storage)和分布式对象存储(Object Storage),现在分布式文件系统 CephFS 还停在 beta 阶段。Ceph 现在是云计算、虚拟机部署的最火开源存储解决方案,据说有20%的 OpenStack 部署存储用的都是 Ceph 的 block storage.Ceph 提供3种存储方式:对象存储,块存储和文件系统,下图很好的展示了 Ceph 存储集群的架构:我们主要关心的是块存储,将在下半年慢慢把虚拟机后端存储从 SAN 过渡到 Ceph. 虽然还是 0.94 版本,Ceph 现在已经比较成熟了,有个同事已经在生产环境里运行 Ceph 了两年多,他曾遇到很多问题,但最终还是解决了,可见 Ceph 还是非常稳定和可靠的。硬件环境准备准备了6台机器,其中3台物理服务器做监控节点(mon: ceph-mon1, ceph-mon2, ceph-mon3),2台物理服务器做存储节点(osd: ceph-osd1, ceph-osd2),1台虚拟机做管理节点(adm: ceph-adm)。Ceph 要求必须是奇数个监控节点,而且最少3个(自己玩玩的话,1个也是可...
Understand QoS at OpenSwitch danny http://dannykim.me/danny/57771 2014.02.11 14:34:58 (*.193.128.184) 592 >>> Purpose This document helps us understand how QoS works in OpenVSwitch. This document can be used as a warming up before a good tutorial(URL is shown below at References) to create a floodlight module to handle QoS. >>> Reference - How to create QoS Service Module - man ovs-vsctl (Quality of Service (QoS) section) >>> Outline QoS is the service to differentiate delivery service. In some packets, it is delivered at high speed, but others can be delivered at lower speed. Based on my understanding, key essence of QoS at OpenVSwitch is to create queues with different speed, and put packets into different queues depending on QoS policy. This document does not handle all of them, but just taste how to configure OpenVSwitch for QoS. In detail. we just create a queue with low speed, and QoS use the queue. ...
Zabbix 安装及微信短信提醒Zabbix简介Zabbix 近几年得到了各大互联网公司的认可,当然第一点归功与它强大的监控功能,第二点免费开源也得到了广大用户的青睐。Zabbix 能将操作系统中的绝大部分指标进行监控,比如(CPU 负荷,内存使用,网络状况,端口监视,日志监视等等等等指标!)。监控指标的广度是一方面,它强大的功能特点也省去了很多的配置操作。Zabbix 功能特点:自动发现服务器和网络设备分布式监控网络,集中式管理(agent 、server 分开)监控指标模版丰富可灵活地分配用户权限系统各个指标的可视化展示和分析等等如何让 Zabbix 更加完美?虽然 Zabbix 在功能上非常强大,但是它在通知层面也并非十全十美:它现在的告警方式比较单一,默认支持邮件。相信很多运维工作者对短信的告警已经再熟悉不过了,甚至已经存在抵触的心理,但还是期望 Zabbix 可以支持短信。 Zabbix 支持的短信方式需要进行短信网关对接,复杂度较高。而且短信的告警并非是一个好的方式,虽然发送了告警信息,同样会存在疏漏的情况,而且这种情况发生的概率并不是很低。那么有效的告警方式、告警信息的到达率对运维同学具有很大的意义,相信也是小朋友们非常关注的。就算 Zabbix 监控的在全面...
最新评论