搜索""的结果
在Linux下开启硬盘DMA 注意:/sbin/hdparm命令不支持SATA硬盘。 Linux下的32位I/O和DMA默认是关闭的。如果用的是16位I/O的话,就无法充分发挥电脑的性能。 如果要打开32位I/O和DMA,就需要以root身份进行设置。为了降低因出错而重启系统对文件系统的损害,最好以单用户模式进行。首先,使用下面的命令检查硬盘驱动器的当前I/O情况:[root@anima lwg]# /sbin/hdparm -t /dev/hda/dev/hda: Timing buffered disk reads: 8 MB in 3.31 seconds = 2.42 MB/sec[root@anima lwg]# 如果要显示当前I/O、DMA设置,可以分别使用下面的命令:[root@anima lwg]# /sbin/hdparm -c /dev/hda (显示当前I/O设置)/dev/hda: IO_support = 0 (default 16-bit)[root@anima lwg]# /sbin/hdparm -d /dev/hda (显示当前DMA设置)/dev/hda: using_dma = 0 (off)[root@anima lwg]# 通过上面的命令,已经知道现在32位I/O和DMA是关闭的,可以分别用下面的命令将其打开:[root@anima lwg]# /sbin/hdparm -c 1 /dev/hda &n...
6.4.10. PIF commandsCommands for working with PIFs (objects representing the physical network interfaces).The PIF objects can be listed with the standard object listing command (xe pif-list), and the parameters manipulated with the standard parameter commands. See Section 6.3.2, “Low-level param commands” for details.PIF parametersPIFs have the following parameters:Parameter NameDescriptionTypeuuidThe unique identifier/object reference for the PIFread onlydevicemachine-readable name of the interface (for example, eth0)read onlyMACthe MAC address of the PIFread onlyphysicalIf true, the PIF points to an actual physical network interfaceread onlycurrently-attachedIs the PIF currently attached on this host? true or falseread onlyMTUMaximum Transmission Unit of the PIF in bytes.read onlyVLANVLAN tag for all traffic passing through this interface; -1 indicates no VLAN tag is assignedread onlybond-master-ofThe UUID of the bond this PIF is the master of (if any)read onlybond-slave...
今天测试xenserver 5.6sp2时,发现有个VM,启动不了,VM名称 :vip03-226此VM,添加2个虚拟硬盘,一个命令:vip03-sys-266,一个命令:vip03-data-266启动VM时报错:The VDI is not available解决方法: 连接到xenserver console 控制台执行以下命令: xe-toolstack-restart 然后重启VM 。正常 了xenserver启动VM报错:The VDI is not available Xenserver 服务器里面的VM,只要出现 报错:The VDI is not available 首先检查系统日志文件是不是占满空间了。此时对存储进行查看命令都会死掉。比如: vgdisplay,vgscan,lvscan ,lvdisplay,xe sr-scan 都会没法正常执行然后删除日志文件。再试几次xe-toolstack-restart一直不能正常对VM进行操作。那就慢慢试,多执行几次命令,就会正常了。
iQQ 基于WebQQ3.0协议Java开发 跨平台QQ客户端 一支LINUX新秀iQQ 使用Java语言跨平台开发,基于腾讯WebQQ 3.0网络协议。可以使用于Java所支持的各种平台上运行。作者基于Linux(Ubuntu 12.04)系统,使用IDE NetBeans?开发,以源代码公开方式贡献给各个程序爱好者,希望可以一起开发此项目。<img src=""<br />" id="aimg_2505886" alt="1.jpg" title="1.jpg">运行界面群聊天界面:从使用的情况来看,目前这款程序还处于开发状态非正式版,里面有很多功能都是无法使用(如无法修改群设置等),也会有一些问题(程序偶尔卡住、群用户列表加载不出来)等等。但这是QQ for Linux 的又一新力军,希望大家能够关注、鼓励此类应用,同时呼吁有兴趣的 Java 开发者可以参与iQQ 的开发!iQQ安装使用iQQ使用Java语言开发,运行时需要安装Java运行环境。如果系统已经安装好Java运行时,直接点击run.sh方可运行iQQ或者iQQ.jar右键使用Java Runtime进行运行。如没有安装Java 环境,那么你可以通过以下命令安装:sudo apt-get install openjdk-6-jre Fedora 用户:yum install java-1.7.0-openjdk软件主页:http://code.google.com/p...
xenserver 断电开机 显示 no interface configures在环境中因为停电导致xenserver出现故障,问题如下:[root@xs01 ~]# xe pool-listThe server failed to handle your request, due to an internal error. The given message may give details useful for debugging the problem.message: INTERNAL_ERROR: [ Connection failed: connection refused. ][root@xs01 ~]# xe host-listThe server failed to handle your request, due to an internal error. The given message may give details useful for debugging the problem.message: INTERNAL_ERROR: [ Connection failed: connection refused. ]这个时候因为master已经是down的状态导致无法ping通master主机,如果你直接通过键盘鼠标显示器连接到Xenserver Master主机仍无法做任何操作 这一点你可能会想重启host主机是否就OK了,您可能会幸运的通过重启来解决,但是更多时候是无效的,这个时候您通过console连接到slave xsconsole网卡丢失,没有显示IP地址等信息等,Xenserver并没有您想的那么脆弱,vm仍在运行: 您可以在slave 机器上运行:#xe host-is-in-emergency-mode如果返...
How to Add Additional Physical NICs to XenServer Document ID: CTX121615 / Created On: 2010-12-22 / Updated On: 2010-12-22 Average Rating:<img src=""<br />" class="artdataimg" title="3" alt="3"> (15 ratings) View products this document applies to SummaryYou just added an additional Physical Network Interface Card (NIC) to the XenServer, but it does not show up in the XenCenter. Below is the procedure for how to add additional physical NICs to the XenServer.RequirementYou must make sure that the NIC(s) is on the Hardware compatibility List (HCL) hcl.xensource.com. If it is on the list then XenServer is supporting the NIC(s). In some cases, even though it is not on the list, the NIC might work, but when you encounter problems, Citrix Technical Support Engineers will do their best to help you, but there is no escalation path.ProcedureTo get the NIC to ...
deepin 或unbuntu linux 安装VM tool 提示找不到C header 文件解决方法:sudo apt-get install linux-headers-generic
潘多拉网吧防火墙 1.0 双线破解 最近网络老有点问题,朋友说是攻击,具体也不知道是不是攻击造成,网上找到了一个免费的网吧防火墙(潘多拉网吧防火墙www.chinawb.net),可惜不支持双线,试用了几天单线还行,尤其是高级规则感觉很黄很暴力,不过没双线是很郁闷的事情。凭借多年ros的管理经验,决定分析一把这个号称能防攻击的免费防火墙。看看究竟是个啥原理。 安装好系统以后居然没有root密码,还好到官方客服那里要到了密码 "qwe123",要不就xxx不多废话,下面是破解过程。步骤一、设置网络接口这是我的接口图,网通ip是58.19.111.108 网关是58.19.111.1 电信的ip是58.49.1.222 网关是58.49.1.1 步骤二、查看当前路由这个是设置了两个wan口后的路由表,可以在图中看出路由表明显的有问题,两个路由表都指向了网关,这肯定出不去了。既然有问题那我们就来修改一下 步骤三、修改路由表默认ip是通过电信出去,所以要删除到网通的路由 route delete default...
ESXi 5.0设置时间服务器时间是非常关键的。虚拟机宿主的时间更重要了。设置时间的时候一定要把硬件时间按照UTC时间设定,而不要设置成本地时间。类Unix系统会自动根据时区设置将硬件事件转化系统设置的时区的时间。这和家用的Windows机不同,Windows直接把硬件时钟堪称系统当前时区的时间。 ESXi 5.0开始其本身不支持时区设置,ESXi永远按照UTC设置,地理位置等设置不影响事件。 对于VMware Hypervisor vShpere (formerly named ESXi),来说对时间是比较容易的。只需要在vSphere Client中选中需要对时的ESXi Server并设置自动对时即可。 通过配置标签–软件–时间配置–属性 打开时间配置窗口。 在时间配置窗口–选项按钮,出现NTP进程设置。 按需设置即可,推荐设置成与主机一起启动和停止。 在NTP进程设置中添加NTP服务器。建议添加多个。 根据客户端提示重新启动NTP服务。等着时间对好吧,时间可能会有十来分钟。 中国地区可以使用的时间服务器: 2.cn.pool.ntp.org 3.asia.pool.ntp.org 2.asia.pool.ntp.org 相关话题:其他地区的NTP服务器或者想寻找更多时间服务器请访问:http://www.pool.ntp.org/en/如果你有自己的时间服务器也可以加入的这个列表中。如果你使用E...
HowTo: Find ESX Server UUID aka Host IDRecently I had a need to find the Host ID / UUID of an ESX server for some maintenance tasks. However it was not nearly as easy as I thought it would be. After googling around for a bit, I found a link that said I could use the following URL:https://<ESX HOST IP>/mob/?moid=ha-host&doPath=hardware.systemInfo
最新评论