本站用于记录日常工作内容,虚拟化云计算,系统运维,数据库DBA,网络与安全。
xenserver 5.6sp2 原来主板有问题,后更换其它型号主板。由于网卡MAC地址变化,导致xenserver 系统中识别 pif 时有两个。[root@xenserver-athuktwo ~]# xe pif-list uuid ( RO)                  : 7e46a808-dd91-c531-385e-56c1be1479eb                 device ( RO): eth0    currently-attached ( RO): true                  VLAN ( RO): -1          network-uuid ( RO): a916933c-a244-ee36-6bc0-e8660defcc09uuid ( RO)                  : 2fd0a0c4-d54f-e190-ef49-7370d4ed5e9f                device ( RO): eth0    currently-attached ( RO...
在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进行操作。那就慢慢试,多执行几次命令,就会正常了。
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 ...
 
0
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
vSphere命令行接口:使用vCLI管理ESXi   【IT168技术】多数管理员使用vSphere Client管理VMware ESXi基础设施。如果你习惯使用命令行的话,那么vSphere命令行接口提供了强大的ESXi管理功能。  下载并安装vCLI  可以在VMware的官方网站系在vSphere命令行接口(vCLI)并在Windows和Linux工作站上安装。使用vCLI并不需要额外购买许可,但是需要使用帐号登录到VMware官方网站才能下载该软件。完成下载后,就可以开始安装了。  在安装vCLI时,会将所有可用的命令拷贝到管理工作站上。这些命令位于C:\Program Files\VMware\VMware vSphere CLI\bin目录下。需要注意的是这个目录并未包括在Windows的PATH环境变量当中,你可以将C:\Program  Files\VMware\VMware vSphere CLI\bin目录添加到PATH环境变量当中,这样就能够更轻松地运行在该目录下的命令了。  首先,选择开始—>控制面板—>系统及安全—>系统—>高级。然后,选择环境变量。编辑PATH环境变量,在末尾添加C:\Program Files\VMware\VMware vSphere CLI/bin。现在就能够直接在命令行下运行vCLI命令了,不必再先切换到vCLI命令所在的目录了。为了使环境变量配置生效,可能需要先注销然后再重新登录。  ...
您所在的组无权查看该日志
    总共58页,当前第50页 | 页数:
  1. 40
  2. 41
  3. 42
  4. 43
  5. 44
  6. 45
  7. 46
  8. 47
  9. 48
  10. 49
  11. 50
  12. 51
  13. 52
  14. 53
  15. 54
  16. 55
  17. 56
  18. 57
  19. 58