记录关于Devops运维,虚拟化容器云计算,数据库,网络安全等各方面问题。
Xenserver中将一台Server加入到Pool的条件 1.基本环境a)与master Server的CPUs一定要相同(厂商\型号\功能);b)相同的XS安装光盘和相同的Patch以及软件;2.本身a)时间一定要相同(建议使用NTP)b)没有创建任何shared storage,VMs3.同一个Pool最多支持16台Server4.强制将Server加入到Pool中Resouce pool configuration-->Join resource pool (forced)
Xenserver实际案例问题分享  1.不能删除POOL里面的虚拟机,如何解决?选中不能删除的虚拟机所在的物理机,在console下输入#xe host-forget uuid=uuid的信息使用#xe host-list查看New:使用如下命令 xe sr-forget uuid= ,删除DVD,Localstorage,其它设备查看虚拟机详细信息 xe vm-list params=all/(name-label,uuid,networks)关闭虚拟机 xe vm-shutdown uuid=<vm_uuid>ext3-fs error (device xvda2) in start_transaction: journal has aborted关闭halted/running虚拟机 xe vm-reset-powerstate force=true vm=uuid删除虚拟机 xe vm-destroy uuid=<vm_uuid>2.增加LVM根分区容量?fdisk /dev/xvdaCommand (m for help): dPartition number (1-4): 2Command (m for help): nprimary partition (1-4) pPartition number (1-4): 2First cylinder (14-701, default 14):Last cylinder or +size or +sizeM or +sizeK (14-701, default 701):Command (m for help): tPartition number (1-4): 2Hex code (type L to list codes): 8eCommand (m for help): wpvresize -v /dev/xvda2 重新识别卷大小lvextend -l +100%FREE /dev/VolGroup00/LogVol00 拓展卷利用所有空...
Fedora17上安装oVirt Engine 3.1 ovirt engine 3.1已经release了,尝试在F17上安装了一下,也不那么顺利,主要是因为对jboss不熟悉。几天下来,终于搞定了,把大概的步骤记录下:1. 配置ovirt engine的repo# cd /etc/yum.repos.d/# wget http://www.ovirt.org/releases/3.1/rpm/Fedora/17/ovirt-engine.repo2. 安装ovirt engine# yum install ovirt-engine-3.13. 设置ovirt, 这一步必须保证selinux是enforcing的。# engine-setup4. 最后的workaround, 非常重要,要不然ovirt engine起不来。# ln -s /usr/share/java/jboss-jaxr-1.0-api.jar /usr/share/jboss-as/modules/javax/xml/registry/api/main/jboss-jaxr-1.0-api.jar# ln -s /usr/share/java/xmlsec.jar /usr/share/jboss-as/modules/org/apache/santuario/xmlsec/main/xmlsec.jar# systemctl restart ovirt-engine.service
Linux NFS 服务启动报错.writing fd to kernel failed: errno 111 (Connection refused) rpc.nfsd: unable to set any sockets for nfsd Linux NFS 服务启动报错.writing fd to kernel failed: errno 111 (Connection refused)                                                    rpc.nfsd: unable to set any sockets for nfsd                                                         &n...
ڵȨ鿴־
QOMO Linux 4 编译 kernel-3.6.6 成功首先下载 kernel-3.6.6#wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.6.6.tar.bz2#cp linux-3.6.6.tar.bz2 /usr/src#cd /usr/src#tar -jxvf linux-3.6.6.tar.bz2#make menuconfig#make&&make modules_install#cp arch/x86/boot/bzImage /boot/vmlinuz-linux-3.6.6#mkinitcpio -k 3.6.6 -g /boot/initramfs-linux-3.6.6.img#cp System.map /boot/System-3.6.6.map最后添加 启动项,#yum install os-prober#grub-mkconfig -o /boot/grub/grub.cfg系统会自行添加启动项。
在默认情况下,Xen Server不允许利用yum自动安装GCC,这让我们在服务器上安装、编译一些程序的时候很麻烦!有没什么方法能安装?By default CentOS base repositories won’t be configured on XenServer. To compile and install nagios/bacula or any other app on server you might end up searching for compiler tools like gcc etc.Here is a simple way to enable base repo and install gcc on your XenServer.yum --enablerepo=base install gccThis will enable the base repository and pull the required packages for gcc.
XenServer yum gcc 通过yum 安装软件。Here’s how I did it, and the resulting RPM’s.Fuse is already included in XenServer 6.0, so all we really need to do is install the compiler.  In order to get the compiler I folowed instructions found on the Citrix XenServer forums.  Log into your XenServer and run the following:# cd /etc/yum.repos.d # mv CentOS-Base.repo CentOS-Base.repo-old # mv CentOS-Base.repo.orig CentOS-Base.repo # yum install gcc make automake
GlusterFS 3.2.6 for XenServer 6.0I’ve been wanting to test GlusterFS running natively under XenServer for quite some time. In order to do so, I needed to compile GlusterFS specifically for XenServer 6.0.  I wouldn’t do this on a production server.Here’s how I did it, and the resulting RPM’s.Compiling GlusterFSFuse is already included in XenServer 6.0, so all we really need to do is install the compiler.  In order to get the compiler I folowed instructions found on the Citrix XenServer forums.  Log into your XenServer and run the following:# cd /etc/yum.repos.d # mv CentOS-Base.repo CentOS-Base.repo-old # mv CentOS-Base.repo.orig CentOS-Base.repo # yum install gcc make automakeOnce the compiler is installed use wget to fetch the latest GlusterFS source.  Do not untar and ungzip the archive.  We’ll also install some support utilities needed for compiling.  They are not needed for installing.# wget http://download.gluster.com/pub/gluster/glusterfs/LA...
Subject:[Xen-devel] [PATCH] Allow full domain name display with xentopFrom:Charles Arnold (carn...@novell.com)Date:Dec 2, 2009 8:17:07 amList:com.xensource.lists.xen-develAttachments:xentop-show-full-name.patch - 2kAdd a '-f' option to xentop to allow the full domain name to be displayed. Thisis the original behavior which can cause the display to be unaligned. Customershave requested this because only the trailing characters of their domain namesare unique and therefore cannot be distinguished when the display is limited toa 10 character width.Signed-off-by: Charles Arnold <carn...@novell.com>diff -r 176b4c8e2c4b tools/xenstat/xentop/xentop.c--- a/tools/xenstat/xentop/xentop.c Wed Dec 02 13:45:35 2009 +0000+++ b/tools/xenstat/xentop/xentop.c Wed Dec 02 08:46:46 2009 -0700@@ -203,6 +203,7 @@ int show_networks = 0; int show_networks = 0; int show_vbds = 0; int repeat_header = 0;+int show_full_name = 0; #define PROMPT_VAL_LEN 80 char *prompt = NULL; char prompt_val[PRO...
    总共268页,当前第214页 | 页数:
  1. 204
  2. 205
  3. 206
  4. 207
  5. 208
  6. 209
  7. 210
  8. 211
  9. 212
  10. 213
  11. 214
  12. 215
  13. 216
  14. 217
  15. 218
  16. 219
  17. 220
  18. 221
  19. 222
  20. 223
  21. 224