Articles of xen

networking路由多倍公网ip?

我使用Xen Virtualization我的虚拟机,一切都正确的桥模式。 我可以为每个虚拟机分配一个公共Internet IP。 我想为我的虚拟机有一个VLAN ,我正在考虑改用vif-route模式。 所以,问题是:我可以拥有一个VLAN,并同时将不同的公共IP分配给我的VM吗? 谢谢

Xen路由模式:启动失败

当Xen以路由模式configuration时,由于脚本hotplugpath.sh丢失,重新启动xend失败。 ~ # /etc/init.d/xend restart Restarting Xen daemons: xend/etc/xen/scripts/network-route: line 20: /etc/xen/scripts/hotplugpath.sh: No such file or directory /etc/xen/scripts/network-route: line 28: /proc/sys/net/ipv4/conf/eth/proxy_arp: No such file or directory /etc/xen/scripts/network-route: line 20: /etc/xen/scripts/hotplugpath.sh: No such file or directory /etc/xen/scripts/network-route: line 28: /proc/sys/net/ipv4/conf/eth/proxy_arp: No such file or directory xend/etc/xen/scripts/network-route: line 20: /etc/xen/scripts/hotplugpath.sh: No such file or directory /etc/xen/scripts/network-route: line […]

Xen PV Linux机器始终保持“b”状态。 切勿改为“r”

我很好奇,如果这是在Xen下虚拟机的预期状态。 我已经build立了两台机器,它们的状态仍然是-b—-并且似乎从未移动到r—- -Domain-0所在的位置。 Name ID Mem VCPUs State Time(s) Domain-0 0 5788 6 r—– 5870.5 kirk 3 1024 1 -b—- 20.2 picard 2 1024 1 -b—- 1987.8 如果我安慰任何一个,我可以login。如果我SSH的任一它也可以。 从我可以告诉这两台机器运行良好,似乎无法弄清楚为什么他们不“准备好”。

保存加载的内核模块

我在命令行中执行了以下操作: modprobe ipt_LOG modprobe ipt_multiport modprobe ipt_state modprobe ipt_limit modprobe ipt_recent modprobe ipt_owner modprobe iptable_nat modprobe tun/tap modprobe iptable_nat modprobe ipt_MASQUERADE modprobe ipt_POSTROUTING 我如何让内核使用,并重新启动这些模块备份?

EBS卷上的mkfs.xfs作为AWS上的非root用户

我已经build立了一个udev规则来附加一个特定的EBS卷属于一个用户,这是有效的。 卷连接后,设备节点上的权限如下: brw-rw—- 1 myuser myuser 202, 240 Feb 4 20:21 /dev/xvdp 但是当我尝试运行mkfs -t xfs /dev/xvdp出现错误: mkfs.xfs: error – cannot set blocksize 512 on block device /dev/xvdp: Permission denied 如果我以root用户身份运行该命令,则成功,如果将文件系统types更改为ext4,操作也会成功。 什么额外的权限,我需要给设备,所以我的用户可以格式化它没有sudo ? 或者这可能是一个Xen或xfs的错误? 我正在运行亚马逊linux: Linux version 3.2.36-1.46.amzn1.x86_64 (mockbuild@gobi-build-31003) (gcc version 4.6.2 20111027 (Red Hat 4.6.2-2) (GCC) ) #1 SMP Mon Jan 14 04:42:23 UTC 2013

使用XenServer VM启动Clonezilla

我正在尝试将基于RHEL的服务器迁移到Citrix XenServer(5.6)VM。 我的计划是使用Clonezilla LIVE CD,我曾经有过很好的克隆物理到物理的东西。 所以我已经创build了物理服务器的映像。 为了简单起见,我在XenCenter中创build了一个新的虚拟机,具有1个单CPU和1Gb内存 – 将在以后投入更多资源。 不过在还原部分,我可以在新虚拟机上启动Clonezilla,并且可以在启动屏幕上selectClonezilla的不同模式。 但是我从来没有成功通过第一个启animation面。 ISO位于networking共享中。 现在我已经尝试了不同版本的Clonezilla,默认Debian和基于替代Ubuntu的amd64和i486版本。 共有4个ISO。 a)clonezilla-live-2.1.0-26-amd64:在下面停下来,之后闪烁的马车 [2.808077] Refined TSC clocksource calibration: 2666.841 Mhz [2.808108] Switching to clocksource tsp b)clonezilla-live-2.1.0-26-i486:用黑屏停止 c)clonezilla-live-20130226-quantal-amd64:用白色屏幕停止 d)clonezilla-live-20130226-quantal-i386:用白色屏幕停止

如何重置root密码在Xen中托pipe的CentOS(domU)?

需要帮助重置XEN中的猜测操作系统( domU )CentOS的根密码。 我已经试图去grub,但它不显示或可能使用不同的grub(pygrub)。 提前致谢。

在Debian 6.0.4 Xen上使用pygrub引导Ubuntu 12.10 guest

我试图从Debian 6.0.4和Xen-4.0运行Ubuntu 12.10。 我意识到,pygrub可能无法parsingmenu.lst(我将symlinked menu.lst到/ boot中的grub.cfg),并以此configuration结束: # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # menuentry 'Ubuntu' –class ubuntu –class gnu-linux –class gnu –class os { insmod gzio insmod ext2 search –no-floppy –fs-uuid –set=root 7098a9fb-df7a-4e37-841d-73641c6b79c5 loopback loop0 /sdd set […]

无法在不重新启动的情况下更改虚拟化centos安装date/时间

我有一个专门的networking服务器,运行centos Xen虚拟化,并在虚拟机上安装了centos。 我没有访问父服务器,我只能操纵我完全控制的虚拟机。 我没有任何东西,但操纵虚拟机上的date/时间的问题。 现在的主要问题是在我的服务器上运行的时间比“正常”运行速度快一点。 我估计,每24小时它会超前一分钟。 这是不好的,因为我有脚本需要在特定的时间运行,他们正在运行几分钟。 到目前为止,我发现的唯一“修复”是重启服务器,但是我不想每天晚上都重新启动以修复时间! 这是我所尝试的: 1)手动设置时间: root@host [~]# date Mon May 13 06:52:22 WAKT 2013 root@host [~]# date 051306492013 Mon May 13 06:49:00 WAKT 2013 root@host [~]# date Mon May 13 06:52:54 WAKT 2013 date和时间在set命令之后反映在屏幕上,但是当我在一秒钟之后运行date命令时,它返回到date“实际”。 如果我重新启动服务器,时间将被正确重置,但我正在尝试避免此重新启动。 2)我正在阅读关于设置可能帮助我的硬件时钟,但我无法做出任何改变或做任何事情,我相信这是因为我在一个VM: root@host [~]# /sbin/hwclock –show Cannot access the Hardware Clock via any known method. Use […]

Grub找不到Xen多引导文件

我正在使用LVM的软件RAID 0运行Debian Wheezy。 我试图让Xen工作,但grub拒绝引导。 我按照这里的说明安装了Xen: http : //wiki.debian.org/Xen 到达后 multiboot /boot/xen-4.1-amd64.gz placeholder dom0_mem=4096M 我明白了 error: couldn't open file 其次是 error: you need to load the multiboot kernel first 这个文件没有问题。 这里是Xen的grub.cfg条目: menuentry 'Debian GNU/Linux, with Xen 4.1-amd64 and Linux 3.2.0-4-amd64' –class debian –class gnu-linux –class gnu –class os –class xen { insmod raid insmod mdraid1x insmod […]