我已经设置了两个Vagrant虚拟机来模拟Percona XtraDB集群以满足我们的开发需求。 第一台虚拟机上网很好,一切正常。 但是,当我尝试在第二个虚拟机上启动Percona时,在请求状态转移时会出现错误。 这是我们在db1上得到的错误: rsync: failed to connect to 10.0.2.15: Connection refused (111) rsync error: error in socket IO (code 10) at clientserver.c(124) [sender=3.0.6] rsync returned code 10: 130416 17:19:07 [ERROR] WSREP: Failed to read from: wsrep_sst_rsync –role 'donor' –address '10.0.2.15:4444/rsync_sst' –auth '(null)' –socket '/var/lib/mysql/mysql.sock' –datadir '/var/lib/mysql/data/' –defaults-file '/etc/my.cnf' –gtid '684d0eda-a6e5-11e2-0800-75b8bb33fbfb:3' 130416 17:19:07 [Note] […]
我使用Ubuntu作为guest虚拟机运行vagrant,但是当Windows重新启动,我再次必须安装LAMP并configuration虚拟主机,并且所有的应用程序,如git,memcache再次。 如何在Windowsclosures时使用stream浪汉保存虚拟机的状态? 谢谢
在使用Mac OS X 10.8(Mountain Lion)运行VirtualBox / Vagrant时,无法安装GuestAdditions。 我以前没有用过VB和Vagrant,也没有用过Linux,所以寻找一些指导。 错误! 内核2.6.32-38-server的内核头文件无法在/lib/modules/2.6.32-38-server/build或/lib/modules/2.6.32-38-server/sourcefind。 错误可以在shell输出的底部find(见下) vagrant@lucid64:~$ sudo apt-get install dkms -y Reading package lists… Done Building dependency tree Reading state information… Done The following extra packages will be installed: fakeroot make patch Suggested packages: make-doc diffutils-doc The following NEW packages will be installed: dkms fakeroot make patch 0 upgraded, […]
几个月来,我一直在努力寻找最好的工作stream程,在推送到opsworks之前在本地构build和testing我的aws opsworks食谱。 经过很多停顿的尝试之后,我find了Mike Greiling的一篇博客文章,并且已经在一个适合我的环境中安顿下来了。 我想分享设置/configuration,因为有很多移动的部分。 我鼓励任何有专门针对opsworks食谱的自己的构build/testing环境的厨师,也可以在这里张贴答案 – 谢谢!!
我试图设置一个使用Virtualbox / Vagrant / Puppet的开发盒,目的是最终将所有的机器configuration到生产环境。 但是,这阻止了我现在前进。 我已经安装了Ubuntu的透明Windows 7。 当在Eclipse中启动一个debugging会话来连接到xdebug时,它会挂起57%(在eclipse中不能和xdebug进行通信时)。 这里是我的xdebug.ini,这里的设置出现在phpinfo()中。 xdebug.remote_enable=On xdebug.remote_handler=dbgp xdebug.remote_host=192.168.56.1 xdebug.remote_port=9000 我现在想知道这是否是端口转发的问题? 如果eclipse正在查看端口9000,它会在虚拟机上find端口9000吗? 任何帮助将不胜感激!
我只是用Vagrant在一个硬件上安装虚拟机。 我想用Puppet来configuration它们,然后尝试安装OpenStack。 我不知道,如果我理解这应该如何看待结束。 毕竟,在Linux下运行一台虚拟机之后,是否有可能在OpenStack的架构之下? ——————————- | VM with OS | ——————————- | NOVA | NOVA | NOVA | ——————————- | OpenStack | ——————————- | Node | Node | Node | ——————————- 更多细节: 在我的环境中节点只是虚拟机,但是我的问题涉及单独的硬件节点。 如果我们想象这个节点(Novas)放置在一个单独的机器上(例如,每个节点有4个内核),我可以在多个OpenStack节点上运行一台虚拟机吗? OpenStack的计算能力是否可以在一个虚拟分布式操作系统中聚合?
我正在尝试创build一个安装MariaDB的configuration文件,但它一直失败。 规定如下所示: sudo apt-get install -y software-properties-common sudo apt-key adv –recv-keys –keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db sudo add-apt-repository 'deb http://ftp.cc.uoc.gr/mirrors/mariadb/repo/10.0/ubuntu trusty main' apt-get update -y apt-get install -y mariadb-server 而我得到的错误是: ==> default: Preparing to unpack …/mariadb-server-10.0_10.0.17+maria-1~trusty_amd64.deb … ==> default: (B)00 [BLANK SPACES HERE] ==> default: Package configuration??????????????????????????????????????????????????????????????? Configuring mariadb-server-10.0 ?????????????????????????????????????????????????????????????????? While not mandatory, it is highly recommended […]
在我的“stream浪汉”文件中,我有这样一行: chef.add_recipe("php::module_apc") 但它给了我这个错误: [2013-01-11T22:14:53+00:00] INFO: Processing package[php-apc] action install (php::module_apc line 34) ================================================================================ Error executing action `install` on resource 'package[php-apc]' ================================================================================ Chef::Exceptions::Exec ———————- apt-get -q -y install php-apc=3.1.7-1 returned 100, expected 0 Resource Declaration: ——————— # In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/php/recipes/module_apc.rb 33: when "debian" 34: package "php-apc" do 35: action :install 36: end 37: end Compiled Resource: —————— […]
我用stream浪汉来创造我的发展虚拟现实。 我将vmdk导出到vdi,然后将vdi转换为img。 cd virtualbox_dir/test_vm VBoxManage clonehd test_vm.vmdk raw.vdi 0% ….. 100% qemu-img convert raw.vdi raw.img virsh create testvm.xml 但是我no bootable device 。 在我的XML中,启动设备被设置为hd 。 我基本上从现有的,运行的XMK复制。 我正在接手一名以前的实验室学生的这项工作,所以我不清楚他以前如何设法制作这个虚拟机。 任何想法可能会出错? 谢谢。 这是XML文件 <domain type='kvm'> <name>Test</name> <memory>4194304</memory> <currentMemory>4194304</currentMemory> <vcpu>2</vcpu> <os> <type arch='x86_64' machine='rhel5.4.0'>hvm</type> <boot dev='hd'/> </os> <features> <acpi/> <apic/> <pae/> </features> <clock offset='utc'> <timer name='pit' tickpolicy='delay'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> […]
这是继续问这里关于DHCP主机的唯一适配器的问题 我升级到vagrant 1.6.3和更新的Vagrantfile以下设置为多个适配器 # add additional adapter for inter machine networking dev.vm.network :private_network, :type => "dhcp", :adapter => "2", :netmask => "255.255.255.0" 它会通过创build适配器,但无法启动vm上的麦克风 Anadis-MacBook-Pro:full-stack-env anadi$ vagrant up Bringing machine 'full-stack-env' up with 'virtualbox' provider… ==> full-stack-env: Clearing any previously set forwarded ports… ==> full-stack-env: Clearing any previously set network interfaces… ==> full-stack-env: Preparing network interfaces […]