xenserver添加的存储找不到磁盘镜盘问题
HI ALL 国庆快乐。 求助:公司机房出现故障,原来的ISCSI存储它无法连接了,我重新上载了一下,添加 成功,但是发现容量是有1T占用了,600GB左右,但是在xenserver上却无法看到 虚拟机的磁盘镜像,比如root- DATA-这样的磁盘,点了下rescan面板下,显 示 the vdi is not available 这是怎么回事,为何变空掉,如何解决,谢谢
RE: Advanced networking CloudStack 4.3
Morning Jeremy Some more detail of your infrastructure would be helpful such as total number of NICs (I assume you have two), whether your storage (on eth 1) is only Primary Storage and if so where your Secondary Storage will be located (and which NIC will access it) etc CloudStack maps its Physical Networks to a Bridge, and a Bridge is mapped to either a single Interface or a Bond - see http://wiki.centos.org/TipsAndTricks/BondingInterfaces for more info Recommended Bonding Modes when LACP is not available on the switch stack are Mode1 for Management and Storage Mode 6 For Guest and Public IF you want both Networks where the VMs are behind a Virtual Router, and you also want VMs with a real Public IP directly connected to the Internet, then you want to use standard Advanced Networking, and not Advanced with Security Groups. System VMs recycling are a sign that when they are booting they cannot communicate with either the Management Server or the 'Internal' DNS Servers or they cannot PING the Public Gateway. This is often caused by the KVM Traffic Labels not being set to the appropriate Bridge Name for each type of CloudStack Traffic (Management, Guest and Public). Note the CloudStack 'Storage' is optional, and only really required if you have a NIC (or pair of NICs bonded) which you want to use specifically for Secondary Storage Traffic, otherwise the SSVM will simply use its Management Interface to access the NFS Sec Storage. It looks like you have the following NIC Allocations eth 0 - Public eth 1 - Management eth 2 - Primary Storage Therefore you need to create Bridge for each one such as eth 0 = cloudbr0, eth 1 = cloudbr1 etc and when adding the Zone, set the traffic labels to Management - cloudbr1 Guest - cloudbr0 Public - cloudbr0 (yes the same as public as the physical NIC will handle both) Storage - Optional and probably not used if your NFS Storage is accessible from eth 1 Note: You do not tell cloudstack which NIC to use for Primary Storage, your hypervisor works this out based in the CIDR of the Primary Storage You will then create 'Isolated' networks for VMs to sit behind a Virtual Router, and Shared Networks with an IP schema in the available Public IP range for VMs requiring direct Internet Public IPs etc Check out these links for more info http://www.youtube.com/watch?v=wzEZomU4FrM http://www.slideshare.net/ShapeBlue/introduction-to-cloudstack-43-networking http://shapeblue.com/cloudstack/understanding-cloudstacks-physical-networking-architecture/ http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/ Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.com -Original Message- From: Jeremy Peterson [mailto:jpeter...@acentek.net] Sent: 02 October 2014 22:16 To: users@cloudstack.apache.org Subject: Advanced networking CloudStack 4.3 Good afternoon all or morning depending where you are, Truly looking for some help. This question has probably been asked a hundred times but I cannot find a good resource for it. I am looking to deploy CloudStack using KVM on centos 6.5 using ISCSI multipath hence the reason for CLVM. I want advanced networking because I've using CLVM as primary storage. I want to offer virtual routers with public IP's and be able to deploy VM's with a public IP directly attached. If that's not possible that's ok. When I deploy advanced networking do I choose security groups or not? Now I've done it both ways and had issues with each. If there is a good way to do it let me know because I can't find it. My SSVM and console VM's have recycled 100's of times. I've had issues where my SSVM is trying to bridge on eth2 where eth2 is my management NIC on the hypervisor. Currently I sit at a clean install of cloudstack-management and my cloudstack-agent is stopped on my two kvm hosts. My storage is on eth1 and public is on cloudbr0 which is bridged off eth0. Jeremy Peterson Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design Buildhttp://shapeblue.com/iaas-cloud-design-and-build// CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/ CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/ CloudStack Infrastructure Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape
Cloudstack 4.3.0, Setup VPN but can not connect
Hi. Anybody can tell why we can not connect to VPN. We just getting TIMED OUT and thats it. It seems that some firewall on cloudstack should be open. Maybe we need to open additional ports in FIREWALL so it works. Any help is appreciated! Ar cieņu, Aldis Gerhards valdes loceklis GSM:(+371) 27 812 777 Fakss: (+371) 67 387 397 E-pasts:aldis.gerha...@hostnet.lv Web:http://www.hostnet.lv Twitter:http://www.twitter.com/hostnetlv Hostnet Virtuālie serveri (VPS) - Izmēģini VPS par brīvu veselu nedēļu! Pakalpojums tiek nodrošināts tikai ar jaudīgiem oriģināliem DELL serveriem
Re: Cloudstack 4.3.0, Setup VPN but can not connect
This is remote access VPN from a laptop (I.e., PPTP/L2TP/IPSEC). Ports are opened. Is your laptop behind NAT? What OS (version?) From: Aldis Gerhards al...@hostnet.lvmailto:al...@hostnet.lv Reply-To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org users@cloudstack.apache.orgmailto:users@cloudstack.apache.org Date: Friday, October 3, 2014 at 8:28 AM To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org users@cloudstack.apache.orgmailto:users@cloudstack.apache.org Subject: Cloudstack 4.3.0, Setup VPN but can not connect Hi. Anybody can tell why we can not connect to VPN. We just getting TIMED OUT and thats it. It seems that some firewall on cloudstack should be open. Maybe we need to open additional ports in FIREWALL so it works. Any help is appreciated! Ar cie?u, Aldis Gerhards valdes loceklis GSM:(+371) 27 812 777 Fakss: (+371) 67 387 397 E-pasts: aldis.gerha...@hostnet.lvmailto:aldis.gerha...@hostnet.lv Web:http://www.hostnet.lvhttp://www.hostnet.lv/ Twitter:http://www.twitter.com/hostnetlv [cid:D3732396-E164-4DEC-88DD-51C6C0D67949] Hostnet Virtu?lie serveri (VPS) - Izm??ini VPS par br?vu veselu ned??u! Pakalpojums tiek nodrošin?ts tikai ar jaud?giem ori?in?liem DELL serveriem
ACTION Required from Cloud Operators [realhostip]: Your users may lose console access to their CloudStack VMs soon!
Hi The realhostip.com DNS resolver will be turned off imminently. This is the default resolver used by the Console in releases 4.2 and below to resolve the IP of the console proxy VM. Once the DNS resolver is turned off, IF YOU HAVE NOT taken action to not replace the default, console access will not work. See these blog posts: https://blogs.apache.org/cloudstack/entry/realhostip_service_is_being_retir ed https://blogs.apache.org/cloudstack/entry/cloudstack_s_realhostip_service_t o http://shapeblue.com/cloudstack/retirement-of-the-realhostip-com-service/ Please avoid inconvenience to your users and make the required changes immediately. ‹ Chiradeep
system capacity not updating
I set some new over provisioning values, stopped all running instances, and restarted the management service. When I logged back in, the system capacity has not changed. All instances are stopped, yet the dashboard still reports the same resource usage as before I shut them down. How do I refresh this information?
Do primary and secondary storage must be served by different servers ?
I need some clarifications regarding primary and secondary storage devices. From following document, http://cloudstack-installation.readthedocs.org/en/latest/hypervisor/xenserver.html In section Separate Storage Network for XenServer (Optional)”, it states, I quote: For the separate storage network to work correctly, it must be the only interface that can ping the primary storage device’s IP address. For example, if eth0 is the management network NIC, ping -I eth0 primary storage device IP must fail. In all deployments, secondary storage devices must be pingable from the management network NIC or bond. If a secondary storage device has been placed on the storage network, it must also be pingable via the storage network NIC or bond on the hosts as well. In my case, since both primary and secondary storage are from the same NetApp filer, just two different volumes, so those two sentences highlighted red above can’t possibly be true at the same time ! As it is now, I can ping my filer from storage bond, as well as from management bond on xen hypervisor. Does this mean my primary and secondary storage volumes can not be served by the same filer ? Thanks for your help in advance. Yiping
ACS 4.4 XenServer 6.2 how to upgrade to ACS 4.4.1
I have a testing cluster running 4.4.1 with NFS as primary and secondary storage working perfectly, I would like to upgrade my production cluster to ACS 4.4.1 from ACS 4.4, can I stop all services and run the cloudstack upgrade command ? is it that simple? -- Thanks for your support, Motty
upgraded to 4.4.1, management console is broken
I tried upgrading from 4.4.0 to 4.4.1 but now I get a 404 error when I try to access the management console. The localhost.2014-10-03.log shows this error: Caused by: java.io.IOException: Resource [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-api-4.4.1.jar!/META-INF/cloudstack/api-config/module.properties] and [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-api-4.4.0.jar!/META-INF/cloudstack/api-config/module.properties] do not appear to be the same resource, please ensure the name property is correct or that the module is not defined twice Where is this value defined? The full log can be viewed here: pastebin.com/nrdEsxZK I also noticed the error 4.4.0 KVM SystemVm template not found. Cannot upgrade system Vms. The URL for the system VM template in the 4.4.1 upgrade instructions is the same as the one I used when I installed 4.4.0 initially. Is there really a need to install the same template again?
Re: upgraded to 4.4.1, management console is broken
It looks like this is the root of the problem: 2014-10-03 13:44:47,131 DEBUG [c.c.u.d.Upgrade440to441] (main:null) Updating System Vm template IDs 2014-10-03 13:44:47,136 DEBUG [c.c.u.d.Upgrade440to441] (main:null) Updating LXC System Vms 2014-10-03 13:44:47,137 WARN [c.c.u.d.Upgrade440to441] (main:null) 4.4.0 LXC SystemVm template not found. LXC hypervisor is not used, so not failing upgrade 2014-10-03 13:44:47,138 DEBUG [c.c.u.d.Upgrade440to441] (main:null) Updating KVM System Vms 2014-10-03 13:44:47,141 ERROR [c.c.u.DatabaseUpgradeChecker] (main:null) Unable to upgrade the database com.cloud.utils.exception.CloudRuntimeException: 4.4.0 KVM SystemVm template not found. Cannot upgrade system Vms Any ideas about how I can fix this? I had a 4.4.0 KVM SystemVm template prior to the upgrade. On Fri, Oct 3, 2014 at 1:39 PM, Ian Young iyo...@ratespecial.com wrote: I tried upgrading from 4.4.0 to 4.4.1 but now I get a 404 error when I try to access the management console. The localhost.2014-10-03.log shows this error: Caused by: java.io.IOException: Resource [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-api-4.4.1.jar!/META-INF/cloudstack/api-config/module.properties] and [jar:file:/usr/share/cloudstack-management/webapps/client/WEB-INF/lib/cloud-api-4.4.0.jar!/META-INF/cloudstack/api-config/module.properties] do not appear to be the same resource, please ensure the name property is correct or that the module is not defined twice Where is this value defined? The full log can be viewed here: pastebin.com/nrdEsxZK I also noticed the error 4.4.0 KVM SystemVm template not found. Cannot upgrade system Vms. The URL for the system VM template in the 4.4.1 upgrade instructions is the same as the one I used when I installed 4.4.0 initially. Is there really a need to install the same template again?
Re: ACS 4.4 XenServer 6.2 how to upgrade to ACS 4.4.1
I recently upgraded to 4.4.1 and overall upgrade is easy but I dont think you can upgrade it with such a simple command since it involves intalling (preseeding) sys template and manually changing settings from mysql tables to reflect this change. If your distro is repo based, you manually need to change setting from 4.3 to 4.4 in your cloudstack repo file and also 4.4 upgrades your java to 1.7 and I think they fixed few major bugs recently and sys template is upgraded to 64 bit if I m not mistaken (with debian 7 I believe). Most problems are resolved with 4.4.1 update and on our system with xenserver working fine. If you are using it in production env. then I would wait couple of months to upgrade to 4.4.1 and this version is more sophisticated then previous versions. It seems to be more complete,predictable and more robust and I really appriciate for those new features and bug fixes. I would suggest reading documentation for 4.4 upgrade depending on your version so there are some few things you have to complete before upgrading to 4.4.1... sam Sent from my iPhone On Oct 3, 2014, at 3:50 PM, motty cruz motty.c...@gmail.com wrote: I have a testing cluster running 4.4.1 with NFS as primary and secondary storage working perfectly, I would like to upgrade my production cluster to ACS 4.4.1 from ACS 4.4, can I stop all services and run the cloudstack upgrade command ? is it that simple? -- Thanks for your support, Motty