Re: Unable to resolve releases.ubuntu.com or connection refused
On 01.05.2014 11:28, sandeep khandekar wrote: Dear All, Hello Why do I get the following error in Register ISO Unable to resolve releases.ubuntu.com how to solve these. It looks like there is a DNS resolution problem. Try to log in via SSH on to your secondary storage VM and see if you can ping/access releases.ubuntu.com from there. My settings secstorage.allowedinternal sites is set to 10.4.6.17 system.vm.use.localstorage is set to true If you are trying to register the ISO as Admin then the allowedinternal setting doesn't really matter in my experience. Previously I was able to upload, am I missing any iptable configuration or ??? Which log file to refer for errors? You need to do more troubleshooting, please go through: https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting Are you able to register other ISOs or templates at all? -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Cloudstack ceph primary storage
On 30.04.2014 09:09, Ignazio Cassano wrote: Many many thanks . Do you know anythings about integration also with glustuer block device (libgfapi) ? It works with 4.3 but you need to patch it manually, proper support is coming in v4.4. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: KVM - Migration of CLVM volumes to another primary storage fail
On 28.04.2014 23:58, Salvatore Sciacco wrote: Hello Lucian, did you have any chance to try to reproduce my setup? :-) Best, Sorry Salvatore, have not had the time to do it, I'll try to make some time today and test. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Custom realHost app
On 28.04.2014 17:59, Rafael Weingartner wrote: Hi folks, I am trying to create my own realHost DNS server. I followed the instructions from here: http://www.nux.ro/archive/2014/03/Run_your_own_realhostip.html thanks NUX ;) The app is up and running, however, I am struggling to make it work with my DNS server that is ran by the VR. How could I add it to be a nameserver to DNSMASQ in the VR, in toder to answer the queries X-X-X-X.realhost.internal? I mean, the DNSMASQ will forward any request that it receives to the first nameserver, I could make my realHost as the first one, but it just solves the internal names. Is there any way to force DNSMASQ to try to solve the name with the following nameserver from its config when the name is not found on the nameserver that it tried first? I think dnsmasq will read and serve contents from /etc/hosts (check the config), so if you add all your records there dnsmasq should resolve them. HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Custom realHost app
On 28.04.2014 17:59, Rafael Weingartner wrote: Hi folks, I am trying to create my own realHost DNS server. I followed the instructions from here: http://www.nux.ro/archive/2014/03/Run_your_own_realhostip.html thanks NUX ;) The app is up and running, however, I am struggling to make it work with my DNS server that is ran by the VR. How could I add it to be a nameserver to DNSMASQ in the VR, in toder to answer the queries X-X-X-X.realhost.internal? I mean, the DNSMASQ will forward any request that it receives to the first nameserver, I could make my realHost as the first one, but it just solves the internal names. Is there any way to force DNSMASQ to try to solve the name with the following nameserver from its config when the name is not found on the nameserver that it tried first? Or you can forward realhost.internal to the app, see for example http://pyther.net/2010/12/dns-conditional-forwarding-dnsmasq/ -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Cloudstack with iscsi storage
On 25.04.2014 01:11, rammohan ganapavarapu wrote: Nux, Thanks for the explanation, in case of clvm, what will be the ip field of primary storage? Same as kvm host up? In case of CLVM you will not input any IP. You must configure CLVM manually on the hosts, then add Primary Storage in Cloudstack which will ask for a LVM Volume Group which you will need to create in advance. HTH -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Cloudstack with iscsi storage
On 25.04.2014 17:59, rammohan ganapavarapu wrote: Do i have to create gfs or extfs on that lvm or i can just present logical vol itself (/dev/mapper/vg01_vol01)? You need to configure CLVM, check for tutorials on the web. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Cloudstack with iscsi storage
On 25.04.2014 00:40, rammohan ganapavarapu wrote: One more question, if i have a NAS and i have presented raw LUN to all my kvm hosts using iscsi, do i still need to setup clvm or can i just use iscsi target and cloudstack will use it as primary storage? I am getting confused with this clvm/shared mount, in cloudstack 4.3 for kvm hyperviser do i really need to setup clvm or shared mount? instead can i directly give storage device ip for primary storage configuration of course all my kvm hosts can talk to storage and can see iscsi LUN? Hello, CLVM is a way of using a network block device (eg iSCSI LUN) in a cluster-aware manner so you don't end up having multiple nodes using the same LVM volumes or updating LVM metadata and corrupting it. What it does is makes all nodes aware of the fact that the volume group on top of that LUN is used on multiple machines and the cluster software must be consulted before using it to make sure it's not used elsewhere. Shared Mount is a powerful option that enables you to use a filesystem that can be shared between nodes, e.g. you can take the above LUN and instead of formatting as CLVM you can put OCFS2 or GFS2 on top of it and use it like a clustered filesystem. Be advised this will probably be more complex to set up than CLVM and also less performant. Another example of using Shared Mount is mounting a GlusterFS volume as data stor, or CephFS, or XtreemFS or pretty much any network/cluster filesystem out there, if KVM can run off a qcow2 file off it then it's good enough for Cloudstack. How you would do it in practice is very simple: - on all hypervisors mount the desired filesystem/mounpoint in a path, e.g. /mnt/glusterfs, make sure it's writable etc - add the Primary Storage as Shared Mount point and when asked about the path input /mnt/glusterfs HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: KVM - Migration of CLVM volumes to another primary storage fail
On 20.04.2014 10:57, Salvatore Sciacco wrote: ACS version: 4.2.1 Hypervisors: KVM Storage pool type: CLVM Since we upgraded from 4.1 to 4.2.1 moving volumes to a different primary storage pool fail. I've enabled debug on the agents side and I think there is a problem with the format type conversion Volume on database has format QCOW2 these are the parameters for the first step (CLVM - NFS): srcTO:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:cda46430-52d7-4bf0-b0c2-adfc78dd011c,volumeType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:655d6965-b3f3-4118-a970-d50cf6afc365,id:211,poolType:CLVM,host:localhost,path:/FC10KY1,port:0}},name:ROOT-4450,size:5368709120,path:39a25daf-23a1-4b65-99ac-fb98469ac197,volumeId:5937,vmName:i-402-4450-VM,accountId:402,format:QCOW2,id:5937,hypervisorType:KVM}} destTO:{org.apache.cloudstack.storage.to.VolumeObjectTO:{uuid:cda46430-52d7-4bf0-b0c2-adfc78dd011c,volumeType:ROOT,dataStore:{com.cloud.agent.api.to.NfsTO:{_url:nfs:// 192.168.11.6/home/a1iwstack ,_role:Image}},name:ROOT-4450,size:5368709120,path:volumes/402/5937,volumeId:5937,vmName:i-402-4450-VM,accountId:402,format:QCOW2,id:5937,hypervisorType:KVM}} Those commads are translated into the agent: DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Executing: qemu-img info /dev/FC10KY1/39a25daf-23a1-4b65-99ac-fb98469ac197 DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Execution is successful. DEBUG [utils.script.Script] (agentRequest-Handler-1:null) Executing: */bin/bash -c cp -f /dev/FC10KY1/39a25daf-23a1-4b65-99ac-fb98469ac197 /mnt/b8311c72-fe75-3832-98fc-975445028a12/5c713376-c418-478c-8a31-89c4181cb48e.qcow2* With the result that the output file isn't a qcow2 file but a raw partition, which in turn make the next step fail. (NFS - CLVM) It looks like a bug, qemu-img convert should be used instead of cp -f, among others. Do you mind opening an issue in https://issues.apache.org/jira ? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: KVM - Migration of CLVM volumes to another primary storage fail
On 20.04.2014 13:24, Salvatore Sciacco wrote: 2014-04-20 12:31 GMT+02:00 Nux! n...@li.nux.ro: It looks like a bug, qemu-img convert should be used instead of cp -f, among others. I suppose that some code was added to do a simple copy when format is the same, this wasn't the case with 4.1.1 version. Do you mind opening an issue in https://issues.apache.org/jira ? Already did :-) https://issues.apache.org/jira/browse/CLOUDSTACK-6462 Thanks S. Cool, I'll try to find out after the holidays if the problem exists in 4.3 as well and if yes, bug some people about it. Happy Easter :-) Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: unable to connect to /var/lib/libvirt/qemu/v-1-VM.agent
On 19.04.2014 13:12, Giri Prasad wrote: Hello All, I am trying to trying to setup cloudstack 4.3 on centos 6.5. After all the installation steps are over, and upon pressing the Launch button in the cloudstack gui, the following error comes out repeatedly. Any comments as to why is this happening? Hi, Is Selinux off or in permissive mode? Also, what does virsh dumpxml v-1-VM | grep agent say? -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: unable to connect to /var/lib/libvirt/qemu/v-1-VM.agent
On 19.04.2014 14:40, Giri Prasad wrote: I am trying to trying to setup cloudstack 4.3 on centos 6.5. After all the installation steps are over, and upon pressing the Launch button in the cloudstack gui, the following error comes out repeatedly. Any comments as to why is this happening? Hi, Is Selinux off or in permissive mode? Also, what does virsh dumpxml v-1-VM | grep agent say? Hi, Thanks for your comment. virsh dumpxml v-1-VM | grep agent source mode='bind' path='/var/lib/libvirt/qemu/v-1-VM.agent'/ SELINUX=permissive One thing that caught me by surprise - though the error does not indicate anything like this - is missing openssh-clients package installed. Can you make sure you have that installed? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: virtio-balloon on Cloudstack 4.2
On 18.04.2014 05:29, motty cruz wrote: I apologize for not being specific, Instances in CS boot with virtio-balloon but it does not work because VM only sees 2gb, when 8gb was assigned, so i manually disable virtio-balloon Sounds like you have memory over-provisioning enabled, you shouldn't need to disable virtio-balloon. That can be done, but as it's quite ugly (well, if you wipe virtio-balloon.ko from the template and from the template's initrd it should work). The best would be to disable memory over-provisioning or to upgrade to 4.3 and enable vm.memballoon.disable. See https://issues.apache.org/jira/browse/CLOUDSTACK-5968 and http://markmail.org/thread/5qgul6tsphrpeufz for some history. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Live migration failed to newly provisioned KVM host
On 18.04.2014 19:45, Indra Pramana wrote: Unable to migrate due to internal error Process exited while reading console log output: Supported machines are: pc Standard PC (alias of pc-1.0) pc-1.0 Standard PC (default) pc-0.14Standard PC pc-0.13Standard PC pc-0.12Standard PC pc-0.11Standard PC, qemu 0.11 pc-0.10Standard PC, qemu 0.10 isapc ISA-only PC What OS versions are you running and also what KVM versions, do you have anything extra enabled in the agent (eg a specific CPU type vs the generic KVM cpu)? Additionally do check https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/sect-Live_migration_and_RHEL_compatibility.html#Live_Migration_Compatibility -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Unable to ping System VMs
On 17.04.2014 22:30, Ana Paula de Sousa wrote: Hello, As I can't ping to the System VMs I also can't ssh to them. When I try this troubleshooting I receive the message: ssh: connect to host 169.254.0.** port 3922: No route to host Can you send the output of iptables-save and ebtables-save? Maybe put it in some pastebin. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Cloudstack with iscsi storage
On 18.04.2014 00:33, rammohan ganapavarapu wrote: Ilya, I am planning to use KVM as my hypervisor and CentOS6.4 please advice me. Ram Then you want to use CLVM. See http://www.slideshare.net/MarcusLSorensen/cloud-stack-clvm And upgrade to CentOS 6.5. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: virtio-balloon on Cloudstack 4.2
On 17.04.2014 23:21, motty cruz wrote: hello, I am still having issue with overprivision vritio-balloon is not working, the work around is to disabled virtio-balloon, how would i do so at boot: [root@doop01 ~]# ssh root@10.3.2.135 root@10.3.2.135's password: Last login: Thu Apr 17 15:19:08 2014 from doop01.sscsinc.com [root@doop02 ~]# lsmod Module Size Used by autofs426513 3 ipv6 317340 46 microcode 112685 0 virtio_balloon 4798 0 Thanks, I'm probably missing some information, but what exactly is the problem? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Ubuntu instances + cloud-init
On 15.04.2014 22:02, Rafael Weingartner wrote: If that one does not work, I can show you mine. I use Ubuntu 12.04 templates ;) Do show anyhow, don't be shy. :) Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: CloudStack-BIND dns integration
On 16.04.2014 17:05, Ihor Kravchuk wrote: Hi , I made a small python program that solves DNS integration issues between CloudStack VR's DNS service and BIND DNS. This program assumes that you are using one sub-domain per network(each network has own sub-domain) (IMHO the best way fro naming instances in CloudStack) How it works: This program runs on CloudStack management server and listen for the new vm deployment using CloudStack catalina.out log. On event (new host deployed) program calls CloudStack API and gets list of Networks and list of VM. Using theses lists and preconfigured domain settings it creates the zone file for BIND, push it to server and refresh BIND The source code for the event driven version on GitHub: https://github.com/IhorKravchuk/cloudstack_ingvar/ All parameters load from dns_builder.conf file and local and remote (from CloudStack mgmt server prospective) BIND DNS servers supported. Igor Pretty neat, but have you looked at this? https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/events.html It sounds like you are not using that facility which to me (non-dev) seems more elegant. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: /var/lib/libvirt/images the file system getting full issue
On 15.04.2014 04:34, Gurudatta Shinde wrote: Hi team , I am Linux/cloud Engineer working in Tomtom. We are facing an issue for our hypervisors for file system /var/lib/libvirt/images . This file system contains the Virtual image disks of guest running on Hypervisor. As we going on deploying Guests , it gets full. We are looking for a way how we can have to less space. So that we can manage them on host itself. Can anyone please help us out here ? Kindly let us know if need additional info to fix this problem. Hello, I imagine you are using thin-provisioned QCOW2 files, right? In this case there is not really much you can do. One thing that comes to mind is to use virt-sparsify on these files, but it requires the VMs to be shut down during operation. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
RE: /var/lib/libvirt/images the file system getting full issue
On 15.04.2014 11:35, Gurudatta Shinde wrote: Thanks a lot Lucian for your kind help. Yes you are right we are using thin-provisioned QCOW2 files. In that case what remedy we can use ? Thanks. -Guru Well, as I said you can try to use virt-sparsify on them, but it could be tricky. The easiest would be to just add more disk capacity. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: cloud.com instance manager
On 14.04.2014 16:48, Michael Phillips wrote: This tool is only useful to reset passwords for windows instances via the CS GUI correct? It certainly does that (re/setting passwords). I have not experimented with user scripts so not sure if it can do that as well. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: upgrading Cloudstack 4.2.1 to Cloudstack 4.3 KVM Advance zone
On 07.04.2014 17:02, motty cruz wrote: Hello All, I have couple of questions about upgrading Cloudstack 4.2.1 to Cloudstack 4.3, 1. I can't find the instructions for upgrading. 2. I have two VPN site-to-site connection, would those VPN connects remain online while upgrading? (my guest gateway is different than management gateway) Thanks Hello, The upgrade procedure is similar to the one from 4.2.0 to 4.2.1 for example. The RPMs are available here: http://cloudstack.apt-get.eu/rhel/4.3/ Obviously you will need to register a new system VM compatible with 4.3, you can download one from http://jenkins.buildacloud.org/view/4.3/job/cloudstack-4.3-systemvm/ I do not know what to advise regarding the VPN issue, maybe someone else has more experience with this aspect. There is one big gotcha in this version, RealhostIP has gone away, check https://blogs.apache.org/cloudstack/entry/realhostip_service_is_being_retired I'd strongly advise to perform an upgrade on a test setup initially and see how that goes. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: local storage ?
On 07.04.2014 17:47, Zack Payton wrote: Hi there, I have a KVM hypervisor with 8 locally attached drives. I would ideally like to add the 8 drives to a VM and allow them it to leverage all of the spindles simultaneously. Reading through the documentation, I don't see any obvious way to do this. The reason I seek a configuration of this type is because that is what is recommended for a host running the Kafka queueing service. Any assistance on this matter would be greatly appreciated. Thank you! Sincerely, Z Hi, I think the closest you can get to this with ACS is to make a raid10 and use that for local storage (/var/lib/libvirt) HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Snapshot exceptions on 4.2.1 with NFS and S3
On 02.04.2014 08:38, Thomas O'Dowd wrote: Anyway - decided to uninstall my package and install the 355 version that you were using. After installing I rebooted. I really didn't expect anything to change but Volume Snapshots now work! YEAH! Glad it works. I'd still recommend my approach, though, otherwise you're left running an old and probably insecure KVM. HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Snapshot exceptions on 4.2.1 with NFS and S3
On 27.03.2014 02:55, Thomas O'Dowd wrote: I remember this used to work on Cloudstack 4.2 when I was testing it with devcloud but with CloudPlatform 4.2.1 and KVM I can't get snapshots to work. Might be this http://www.nux.ro/archive/2014/01/Taking_KVM_volume_snapshots_with_Cloudstack_4_2_on_CentOS_6_5.html And update your OS. :) -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: help: any body maintaining cloud blogs...???
On 29.03.2014 19:40, raja sekhar wrote: hello guys, provide some material blogs to learn about apache cloud-stack ,apart from apache cloud-stack organization..please.. thanks regards, rajsekhar. Hello, If you googled seriously you would have found some sites. The following have many articles on ACS: http://shankerbalan.net/ http://shapeblue.com/blog/ HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: New Initial Setup Questions (THANK YOU in advance)
On 28.03.2014 15:33, Talk Jesus wrote: One more shot.how's the below for a decent, initial CS setup? Server #1 Purpose: CloudStack Control Panel Install (Management Server) Qty: 1 VM Machine (one production, one backup/HA) Cores: about 2-4 4GB RAM It's good; do note you can use both at the same time if you want, just put a load balancer in front of them. Server #2 Purpose: HV (CPU + Memory + Storage) Qty: 1 plus 1 for failover (HA) Dual Hexacore CPUs 128GB RAM 12 x 2TB SAS (or 6x1TB SSD) RAID10 Played with both SAS and SSD recently, SSD is just so much snappier go for it if you can afford it. Server #3 Purpose: Backup (NAS) Qty: 1 Dual Quad Core CPUs 16GB RAM 12 x 2TB SATA RAID10 Question: for server #2 (HV), the CPU example is 24 Cores total. So, technically speaking I can offer a max of 6 VM's with 4 CPU cores allowanced to each one, correct? Does CS allow overselling by any means on CPU/Memory? You can oversell CPU massively, everyone does, disk and memory are usually the bottlenecks. Overselling memory is trickier, if you want to sell VPS/public cloud I'd advise against it, memory is reasonably cheap. Am I missing anything from above initial hardware setup? The network is a very important bit of the setup. Make sure you have quality equipment and redundancy, there's a saying: your cloud is as good as your network. Ideally you should have separate and redundant (bonded) links for management, secondary storage and Internet uplink (public). Anyone have any high availability (HA) setup recommendations for all 3 servers? I mean does CS have an HA config option within its own management console or is HA something done manually outside the CS software, but within the o/s on the nodes? Cloudstack can and will perform HA if so instructed, it's built-in, you don't need to configure anything special in the HV. HA requires: - service offerings with HA enabled - shared storage for the above offerings, HA is not possible with local storage Good luck! Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
RE: New to CS, some prep questions
On 26.03.2014 15:57, Talk Jesus wrote: Yes I meant RAID10, not 1 :) Sorry about that. As for local storage, so you're local as in it's own dedicated server, outside the HV (CPU/Memory) server correct? No, local storage means the storage of the HV, your local HDD or array. So storage and compute all in one. HTH -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: CloudStack DR Approach (not HA)
On 26.03.2014 21:08, Geoff Higginbottom wrote: Simon, Agree completely, that's why we are working on bringing Zone HA to CloudStack, for both Enterprise Nd Public Cloud use cases - watch this space I'll be watching. I'm really curious which strategy will be used in the end. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: New to CS, some prep questions
On 26.03.2014 14:42, Talk Jesus wrote: I'd like to set up a public cloud for web hosting (cloud shared hosting, cloud vps, cloud servers) for a new venture. Hi, see below. Server #1 Purpose: CloudStack Control Panel Install (Management Server) Qty: 1 Dual Hexacore CPUs 32-64GB RAM 4 x 160GB SAS (RAID10) This is OVERKILL if you ask me. I'd go with smaller, multiple servers. I for one have a 2 (for HA) management servers in the form of VMs, 2 GB RAM each, they're mostly idle, even one would have been enough. Use this hardware for hypervisors. Server #2 Purpose: Hypervisors (Memory) (is it better to simply have a singular, beefed up CPU/Memory Management Server as above or separate from management node?) Qty: 1 or 2, plus 1 for failover Dual Hexacore CPUs 128GB RAM 2 x 160GB SATA RAID1 Sounds good. Judging by the small HDDs I imagine you are using a SAN/NAS for storage. It's better (IMHO) to have multiple management servers, see what I wrote above. Server #3 Purpose: Backup Server Qty: 1 Dual Hexacore CPUs 16GB RAM 12 x 2TB SAS RAID5 or RAID10 Looks perfect for Secondary Storage. With cloud hosting, what would the difference be between a cloud vps and cloud dedicated server? If I'm not mistaken, they're the same, except the allowance for a 'dedicated server' option would be much higher, right? Never heard of cloud vps before. No matter how you want to call them they are still virtual machines, these words are just marketing, nothing more. Everyone is free to market their products as they wish, there is no standard. Last question: does anyone use this for automated provisioning with WHMCS or do you recommend a better software? Not me. HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: CS 4.2.1/CentOS KMV best approach to backup Instances
On 26.03.2014 14:24, motty cruz wrote: Hello, I would like to backup instances in CS for easy recovery in case of disaster. Thanks, What kind of zone are you using? Usually volume snapshots are ok for backups. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
RE: New to CS, some prep questions
On 26.03.2014 15:34, Talk Jesus wrote: Thanks for the response. I actually forgot to include one serve for actual storage. However, would it be more simplified and easier to just have a the storage server act also as the CPU/Memory (power) server too? Does CloudStack have some config ability to claim a server as an HA server (high availability)? You can use local storage, I would actually recommend it if you want SSDs, but there is no way to achieve HA with local storage, you need it shared. Server #2 Purpose: Hypervisors (CPU + Memory + Storage) Qty: 1 plus 1 for failover (HA) Dual Hexacore CPUs 128GB RAM 12 x 1TB SAS (or SSD) RAID1 *above drives is for main storage, I know is pricey, but it's only for an example* I'd go for RAID10 in this case. Be advised, all this is IMHO, YMMV. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: KVM storage questions
On 18.03.2014 04:51, Bjoern Teipel wrote: Hi admins, do you want to share what kind of storage you use in connection for CSTK 4.2.1 ? I guess most of you is using NFS but myself is forced to use CLVM since I have a iscsi flash based storage system available. This is also the reason why I contact you, I personally find CLVM clunky, error prone and dead lock heavy. Who is using CLVM in production and what kind of cluster config do you use ? I'm still trying to find out if I don't switch to NFS to avoid all upcoming CLVM and ldm locking issues. Maybe some of you are using OCFS, which I used few years ago with limited success. Thanks Bjoern Hi, I do not use CLVM in production (yet), but tests faired well (CentOS 6.5, 2 nodes). If you want to use SAN with KVM I'm afraid it's about the only reasonable option. GFS2 is slow, OCFS is slow and hard to get (unless you use Oracle's distro), both introduce a lot of complexity. CLVM is also what XenServer is using behind the scenes when you add SAN storage to it, AFAIK. Here's my 2 node cluster.conf, not much fencing so don't use in production: http://fpaste.org/86257/51337291/raw/ Check also https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Cluster_Administration/s1-creating-cluster-cli-CA.html Personally I will start production with local storage and take it from there. Also, there is support for CEPH and starting with 4.4 (so later this year) there will native GlusterFS support in ACS. HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: KVM storage questions
On 18.03.2014 04:51, Bjoern Teipel wrote: Hi admins, do you want to share what kind of storage you use in connection for CSTK 4.2.1 ? I guess most of you is using NFS but myself is forced to use CLVM since I have a iscsi flash based storage system available. This is also the reason why I contact you, I personally find CLVM clunky, error prone and dead lock heavy. Who is using CLVM in production and what kind of cluster config do you use ? I'm still trying to find out if I don't switch to NFS to avoid all upcoming CLVM and ldm locking issues. Maybe some of you are using OCFS, which I used few years ago with limited success. Thanks Bjoern Read this too: http://www.slideshare.net/MarcusLSorensen/cloud-stack-clvm -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: CloudStack implementations
On 18.03.2014 11:07, Marcus wrote: Do we have any general stats on how cloudstack is being used? Common deployment sizes, largest deployments, etc? I'm curious as to how far people have actually scaled it in real deployments, although I realize that the info can be proprietary. That's a very good question. A good indicator might be similar stats from Openstack: https://twitter.com/cdaffara/status/438700618975154176/photo/1 I realise there are some large deployments out there, but I suspect most installations are quite modest. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: [PROPOSAL] Support pure Xen as a hypervisor
On 18.03.2014 16:48, sebgoa wrote: +1 in general, I am not sure what would be best between libvirt and libxl though. but as you know there might be a quick path to reuse the KVM agent and use libvirt to interact with xenproject +1 XenProject +1 Reuse KVM/libvirt agent Good ideas! :) -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: how to delete a host in cloudstack 4.2
On 06.03.2014 13:24, Du Jun wrote: Hi all, I want to delete a host in cloudstack 4.2 advanced zone. I don't know how to operate. Is there anyone can help me? PS: I am the root of my zone. -- Regards, Du Jun Go to Infrastructure - Hosts, click on the Host and then click on Enable maintenance mode (the little gear icon). Wait a minute or two then click again on the Host and click on the X sign to remove it. HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: How can I install CloudStack 4.2.0 exactly?
On 06.03.2014 13:40, Du Jun wrote: Hi all, I add `deb http://cloudstack.apt-get.eu/ubuntu precise 4.2` in my /etc/apt/sources.list and try to install cloudstack-agent using `apt-get install cloudstack-agent`. But, I find I installed CloudStack 4.2.1 indee. I want exact 4.2.0 version! I know Ubuntu will get the latest version by default. So, how can I get exact CloudStack 4.2.0 cloudstack-agent installed via `apt-get install`? What's the problem with 4.2.1? -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Customise XenServer ISO?
On 05.03.2014 14:39, Geoff Higginbottom wrote: Hi Lucian I concur with Pierre-Luc, we always deploy XenServer via PXE and add drivers, supplemental packs and general customisations etc Thanks guys, I'll start looking up the deployment docs as soon as I get some time. PXE seems the way to go. We have some new Supermicros and it looks like latest Xenserver and Vmware lack the proper drivers. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Adding VM created outside of CS
On 04.03.2014 18:55, Michael Phillips wrote: So I've been pondering something. Has anyone ever added a VM that was created outside of the CS UI? For example what if I created a VM using the vcenter interface, but I then wanted that VM to be managed inside of CS? I could see this being a use case if I wanted to P2V a machine... I would make that VM a template and add it to CS. HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Customise XenServer ISO?
On 05.03.2014 00:02, Tim Mackey wrote: I've not tried this, but it looks like this should work for you with modifications for a fresh ISO. http://maufderheiden.wordpress.com/2013/05/13/slipstream-supplemental-packs-and-install-xenserver-6-1-from-usb-drive/ I'm going to add this topic to my list of guides for xenserver.org. Hello Tim, Your document says Drivers are installed after XenServer Base Installation and cannot be integrated using this method if needed for the Installation itself! and that's exactly what I need. Any other options? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
RE: Suitable solution for HW
On 03.03.2014 11:22, Pääkkönen Pekka wrote: Hi Daan, Maybe I should have been clearer. I was wondering about the implications for performance. Would performance in a database clustering use case be better with plain Xen (or other virtualization solution), when compared to CloudStack with Xen? Or is this an unnecessary concern? Also, is CloudStack aimed for clusters consisting of tens/hundreds of such rack servers, or is it suitable also for smaller deployments? Cloudstack can grow from 1 to many servers. Re hypervisor, if you want to run databases then IO will be your main concern. At some point the hypervisor will not matter, your disks will matter. I'd look at investing in SSDs. You can also look at conainer technology such as openvz and LXC which usually have better IO (since they access the hardware directly). -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: ALARM - ACS reboots host servers!!!
On 03.03.2014 12:24, Andrei Mikhailovsky wrote: I am using HA for about 30% of the guest vms, but my testing showed that HA is not working reliably with KVM. It works pretty well if you initiate a vm shutdown inside a guest without using the ACS GUI. However, when the host goes down for whatever reason (power failure, init 6/0, network failure, etc.) the HA fails to kick in and restart the vms. This shuld be submitted as a bug. Which version are you on? Regarding the nfs storage, I did not put the nfs server in the maintenance mode. Would this solve the problem with reboots? I will try it next time when I am doing maintenance on the nfs, but I do recall that i've previously restarted the nfs server in the past and I've not seen the hosts rebooting themselves. Is there a timeout which causes the hosts to reboot? Not sure what the timeout is, I'd be interested in finding out as well. To the best of my knowledge, when you put primary storage in m-mode ACS will shut down the VMs on it. Otherwise the shared storage is used by ACS to maintain HA (so your HA is as good as your shared storage ...), if link to the shared storage is down the host assumes something is wrong and shuts down (fences itself), this is the correct and expected behaviour. Maybe your network has segmented etc. In any case, I think it is not safe to do an automated host server reboot and if it was up to me I would disable this feature from the agent. IMHO this should be down to system administrator and acs agent should send an alert email if something goes wrong instead of rebooting the host servers. Not sure what to tell you, HA is a sensitive and complex subject. For now I'm ok with this behaviour and I see it implemented similarly in Xenserver, too. I am using ceph for my primary storage for guest vms data and root disks. The NFS is used as a backup disk offering for the guest. Andrei -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: ALARM - ACS reboots host servers!!!
On 03.03.2014 12:37, Andrei Mikhailovsky wrote: Koushik, I understand that and I will put the storage into the maintenance mode next time. However, things happen and servers crash from time to time, which is not the reason to reboot all host servers, even those which do not have any running vms with volumes on the nfs storage. The bloody agent just rebooted every single host server regardless if they were running vms with volumes on the rebooted nfs server. 95% of my vms are running from ceph and those should have never been effected in the first place. It sounds like ACS need to become more aware of multiple primary storages.. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: UI customizations
On 03.03.2014 18:37, Michael Phillips wrote: 1. Can the UI of CS be totally customized? 2. If the answer to #1 is yes, does anyone know of any companies that offers this? Michael, Everything the UI does is call APIs; you can get any web developer (in any language) to build a custom interface and use the Cloudstack APIs. https://cloudstack.apache.org/docs/api/ HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: KVM
On 02.03.2014 23:40, María Noelia Gil wrote: (main:null) LibVirt version 0.9.10 required for guest cpu mode, but version 0.9.8 detected, so it will be disabled Maria, What distribution are you running there? Libvirt seems quite old. Current libvirt in CentOS 6 is 0.10.2. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Changing the SSL certificate for my own realhostip
Hi, I'm trying to implement my own realhostip and I have a problem with adding the certificate. What I have is a Comodo wildcard ca_bundle, crt and key in pem format (for use with Apache HTTPD) and Cloudstack is asking for X.509 compliant SSL certificate and PKCS#8 Private Key. I have never used these formats and seem to be popular within the java world. I tried converting what I had from pem to der (pkcs8?) format[1], but what I get is some binary .der file that's illegible and can't really be copy-pased into the UI. Can someone advise on what steps I should take to get my SSL certs into ACS? I'm on 4.3.0 rev 4440. Regards, Lucian [1] cat ca_bundle.crt certificate.crt certificate.pem openssl x509 -outform der -in certificate.pem -out certificate.der -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Re: Do not know the master host
On 27.02.2014 10:28, Song Gao wrote: I mean how to tell them on Cloudstack web ui or API ? Tell which is the master from UI/API? I'm not sure you can, but my xenserver knowledge is very limited... -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Snapshots on KVM host
On 27.02.2014 12:59, Vladimir Melnik wrote: Dear colleagues, Today is the 3rd day I'm fighting this issue, so I any hints will be greatly appreciated. :) Hello Vladimir, Check this http://www.nux.ro/archive/2014/01/Taking_KVM_volume_snapshots_with_Cloudstack_4_2_on_CentOS_6_5.html HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
RE: Snapshots on KVM host
On 27.02.2014 13:16, Vladimir Melnik wrote: THANK. YOU. SO. MUCH! :) Too bad that there were any mentions in log-files about that attempt. You have to increase the verbosity of your log files. ie sed -i 's/INFO/DEBUG/g' /etc/cloudstack/agent/log4j-cloud.xml -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Secondary Storage Not working properly (CS 4.2.1 CentOS 6.5 64bits)
On 26.02.2014 14:49, Jardel Marceno wrote: I'm really having a hard time puting a CS enviroment to work (management server, DB and host [kvm] on the same machine). Give this a read: https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Limit CPU flags exposed to the VM
On 24.02.2014 18:17, Tim Mackey wrote: Here's a good article describing how everything behind CPU masking works: http://support.citrix.com/article/CTX127059. One key item to note is you might need to do something in your BIOS to enable the feature. Don't worry about the age of the article; everything's still relevant. (btw Citrix support site appears to be having a problem right now, so if you google for CTX127059 and look at the cached version) Thanks, guys, it worked! I had to get the compare-cpu script from here as I couldn't find it elsewhere: http://www.cl.cam.ac.uk/xen/XenE/host-cpu-info/ Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
RE: Build Failure SNMP Alerts
On 19.02.2014 00:04, Michael Phillips wrote: Yes, the test that is failing is the Apache Cloudstack Plugin - SNMP Alerts Surely someone has run into this problem before... I had problems passing the SNMP tests when building 4.3 because the hostname of my machine was not set properly. Once I added an entry for it in /etc/hosts (e.g. 127.0.0.1 buildmachine) everything completed successfully. HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Where is Remote Access vpn settings.
On 17.02.2014 20:35, Jason Villalta wrote: It is almost like my UI is behind even though I upgraded to 4.1.1 a few months ago so I would except this UI to be there. I do not know when the VPN feature was introduced, but you certainly are behind, the current version is 4.2.1 and 4.3 is not very far. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Where is Remote Access vpn settings.
On 17.02.2014 19:00, Jason Villalta wrote: Hello, I am trying to setup remote access vpn in cloudstack for users to vpn into their VPC but I do not see the option to enable remote access vpn. Where is it located. Site-to-Site vpn is currently working fine. http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Installation_Guide/vpn.html -- HAve you tried e.g. https://support.getcloudservices.com/entries/22002407-CloudStack-Configure-VPN-and-VPN-Users ? -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: how to create a copy of a VM
On 11.02.2014 22:38, Nordin, Lars P wrote: It isn't crystal clear to me from the documentation how to do this - I'm most familiar with using VMWare ESX. If I understand correctly, the only way I can do this is to create a template from my existing VM and then create a copy from the template. http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/create-template-from-existing-vm.html# I'm using CloudStack v 4.0.2.20130420145617. Lars, Not sure how 4.0.2 works, but the theory is to take a snapshot of the ROOT volume, turn it into a template and launch new instances with this template. HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Guest reports wrong amount of RAM with RAM overprovisioning
On 08.02.2014 17:02, Marty Sweet wrote: Just wondering, in what version of CS was this issue introduced? Marty It's in 4.3 (currently in development), some RPMs here if you feel like experimenting: http://tmp.nux.ro/cloudsnap430_4335/ You need this in the /etc/cloudstack/agent/agent.properties: vm.memballoon.disable=true -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Guest reports wrong amount of RAM with RAM overprovisioning
On 07.02.2014 08:43, Andrija Panic wrote: hm, no, I have gave up on RAM overprovisioning, since I got no good response from any of the gurus here. If you find a solution, I would greatly appriciate it... Andrija, This is a known issue and it's how it works with other hypervisors, too. This feature was not meant to be used in a public cloud (eg selling VPSes) for obvious reasons, imo. Starting with 4.3, thanks to Marcus Sorensen who wrote the patch, we'll be able to ser overprovisioning AND not the the RAM shown inside the guests messed with; basically it will rely on KSM for memory deduplication. My advice is to start testing 4.3. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Guest reports wrong amount of RAM with RAM overprovisioning
On 07.02.2014 10:44, Nux! wrote: On 07.02.2014 08:43, Andrija Panic wrote: hm, no, I have gave up on RAM overprovisioning, since I got no good response from any of the gurus here. If you find a solution, I would greatly appriciate it... Andrija, This is a known issue and it's how it works with other hypervisors, too. This feature was not meant to be used in a public cloud (eg selling VPSes) for obvious reasons, imo. Starting with 4.3, thanks to Marcus Sorensen who wrote the patch, we'll be able to ser overprovisioning AND not the the RAM shown inside the guests messed with; basically it will rely on KSM for memory deduplication. My advice is to start testing 4.3. For more info read http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201401.mbox/%3CCALFpzo7yx+N=RrbfUkwn7PHbf+Ra=6880yqtjygjxd2yjt_...@mail.gmail.com%3E -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Guest reports wrong amount of RAM with RAM overprovisioning
On 07.02.2014 10:58, Andrija Panic wrote: Great, thx for that info, seems a little bit like cheating :) , but is needed in some scenarios... Well, depends. In some circumstances KSM can make a big difference and you certainly can't sell VMs with 2 GB ram and not have your customers complaining they only got half of that. :) -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Where can I download CS 4.3
On 07.02.2014 23:05, motty cruz wrote: Hello, Can someone please provide the link to download Cloudstack 4.3. Thanks, Motty, 4.3 is still under development and it's not stable. You can get it from here: https://dist.apache.org/repos/dist/dev/cloudstack/4.3.0/ -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Where can I download CS 4.3
On 07.02.2014 23:21, motty cruz wrote: Thanks Nux! by the way is it easy to downgrade from 4.2.1 to CS 4.1? I have no idea, I would imagine downgrades to be quite tricky.. You should send a different email on this and not mix subjects. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: XEN vs. KVM
On 06.02.2014 12:48, v.mel...@uplink.ua wrote: Dear colleagues, I'm using CloudStack with KVM for a year and a half, but, as I can see, some people would recommend to use XEN instead of KVM, because it's better. Would anybody be so kind as to explain why XEN is better than KVM? Thank you very much in advance! Hello, This has been discussed recently, check this http://comments.gmane.org/gmane.comp.apache.cloudstack.user/9516 HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: What is your setup?
On 06.02.2014 08:03, Zack Payton wrote: What about Xen makes it superior to KVM? On Wed, Feb 5, 2014 at 11:56 PM, Serge van Ginderachter se...@vanginderachter.be wrote: KVM, as we need Ceph support On 6 February 2014 04:39, Outback Dingo outbackdi...@gmail.com wrote: Xen= BMW great ride, reasonable costs, easy to maintain BMW reasonable cost? You shouldn't drink and drive. Check this http://comments.gmane.org/gmane.comp.apache.cloudstack.user/9516 -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: CS 4.2 KVM CONFIG_VIRTIO_BALLOON=yes
On 06.02.2014 17:03, motty cruz wrote: Hi, excuse me dumb questions, what file do I configure to enable this options CONFIG_VIRTIO_BALLOON=yes Centos 6.5 KVM Thanks, This is a kernel module required by KVM VMs in certain situations (not for ACS AFAIK). If it's not listed in `lsmod` you can do a modprobe virtio_balloon to load it. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: CS 4.2 KVM CONFIG_VIRTIO_BALLOON=yes
On 06.02.2014 17:34, motty cruz wrote: Thanks Nux, I am using over-provision, so I had to enable that feature in /boot/config--current-linux kernel. if I do rmmod virtio-balloon guest machines are able to see all RAM allocated to them but if I do modprobe virtio-balloon guest machines only see half of the RAM allocated. even if I turned over-provission off, guest machines only see half of RAM allocated to them. Yeah, over-provisioning in KVM is a bit tricky. In 4.3 we'll have the option not to have the VMs memory size messed with and can use KSM for memory de-duplication. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Basic Zone Configuration
On 05.02.2014 18:58, José Egas López wrote: Hi, I have a doubt about the DNS Servers when adding a zone. I have one DNS (Active Directory) on my datacenter, when adding a zone it asks to enter DNS 1 and 2, and also Internal DNS 1 and 2, what does it exactly means? Do I have to create new DNS servers? or is enough with the one I have? I don't understand it at all, thanks for your help! 1 resolver is enough to get started, but it's better to have 2 or 3. You don't have to install a whole AD for it, just install BIND on some small VM and it's still good (if not better :). HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Basic Zone Configuration
On 05.02.2014 19:29, José Egas López wrote: But can I make use of the AD I already have or not? If I install BIND on a VM, it is enough for filling DNS 1 and 2, and Internal DNS 1 and 2? Thanks for the answer Lucian! If AD is set to allow recursion from your cloud setup, sure, use it. The minimum that you need is DNS1 and Internal DNS1 and they can be the same IP, so the AD should be enough for starters. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Xen Server Setup
On 06.02.2014 00:12, Maurice Lawler wrote: Has anyone setup a public facing cloudstack with Xen server. I want to be able to provide the internal systems with a 10.x IP address along with a public facing IP address. Maurice, in an advanced zone you can give your VMs a 10.x IP and then do NAT from a public IP to it (via the Virtual Router). -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: XenServer VM live scales the CPU, but not the RAM
Hi, Copying dev@, maybe someone has an idea for the below? On 27.01.2014 10:28, Nux! wrote: Hi, I'm testing Xenserver live scale-up feature, and it almost works. I'm using a Centos 6 64bit PV guest and trying to upgrade from an offering of 2 CPU and 512MB RAM to 3 CPU and 1024MB RAM. The CPUs scale up nicely, but not the memory, it only scales from 483 MB (as reported by `free -m`) to 532 MB and in XenCenter the memory is also not what it should: http://img.nux.ro/mK7-vmmem116.png What am I doing wrong? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Connect to a MySQL Galera Cluster
On 26.01.2014 04:40, Francois Gaudreault wrote: Yes, we tried with a NetScaler, but as soon as one MySQL dies, both management servers fence themselves on DB exceptions :S I think part of your problem is you run only 2 galera nodes. Thus it is strongly advised that the minimum Galera cluster configuration is 3 nodes. - http://www.codership.com/wiki/doku.php?id=info This is how we run it and it does indeed seem to be crucial for quorum. Additionally we're using this software to deploy and manage it (partially), it can help with failover and recovery. http://www.severalnines.com/clustercontrol Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Cloudstack 4.2 on XenServer vs KVM
On 26.01.2014 09:47, Geoff Higginbottom wrote: As Shanker says, deploying a cloud with multiple hypervisors is a common approach, ensuring you get the best of both worlds. I think that's the bottom line, there's no one hv to rule them all, so test and use whatever fits your needs. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: installing libvirt 1.0.0 or higher on CentOS 6.5
On 26.01.2014 17:45, chris snow wrote: I need to install the following versions of libvirt and qemu on CentOS 6.5 as listed in the Apache Cloudstack 4.2.0 Installation Guide[1]: - libvirt: 1.0.0 or higher - qemu: 1.0 or higher The CentOS versions are: - libvirt: 0.10.2 - qemu: 0.12.1.2 Question 1) Where can I find rpms that meet the requirements, or do I need to compile and install from source? Question 2) If I need to install from source, are there some instructions available? [1]: http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Installation_Guide/lxc-install.html Not sure, but I think the stock CentOS 6.5 packages might be good enough. Getting newer versions installed might be a bit tricky, not to mention you'd have to deal with security and updates yourself. If you really must, you can try to rebuild newer Fedora SRPMS, but it's likely you will also need a newer kernel. Maybe using Ubuntu might be a better choice.. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Cloudstack 4.2 on XenServer vs KVM
On 26.01.2014 00:39, John Mancuso wrote: So, I am planning on setting up a brand new cloud infrastructure using Cloudstack 4.2 on RHEL6. Cloudstack is hypervisor agnostic- I got that... However there are some differences and features that are available on XenServer that are not available on KVM. This is from a Citrix salesperson: Here is some feedback on the following benefits of using Citrix XenServer over KVM: 1. Recurring Volume Snapshots with delta - Citrix XenServer is the only hypervisor where recurring snapshots will be deltas (in other hypervisors every volume snapshot is full) - this provides significant space savings on secondary storage 2. VM snapshots (taking a snapshot of a VM volumes including memory state - not possible with KVM which supports only volume snapshots) 3. Live Storage Migration is only possible on Citrix XenServer (not supported on KVM) 4. Live CPU and Memory Scaling for running instances (not supported on KVM) On the Redhat side they have made it very clear that while Xen is still available, KVM is the hypervisor technology they are pushing supporting going forward. On the Apache/Citrix side, I get the feeling that from a QA perspective CloudStack (and CloudPlatform) is based and tested on XenServer and would be preferable in a stable reliable Production environment. Hello, You are mostly correct, those points seem valid and right now Xenserver is the better supported hypervisor, it is quite mature and with loads of nice features. I'm seriously considering it myself. Having said that, many clouds deployed nowadays are on KVM; yes it is missing some features but it has a huge user base, it's very stable and the performance is great; for me the killer feature is that I got a real OS as hypervisor, an OS that I have used extensively and am quite familiar with, for which we have deployment and monitoring infra in place etc etc. Additionally, if you want to use more exotic stuff, such as GlusterFS, Ceph or whatever crazy thing (CLVM over multiple mpath devices?) can run in RHEL/CentOS proper KVM is again the best choice. If you want VXLAN you are again limited to KVM afaik. So it kind of depends on your needs, luckily there are good quality options to satisfy most of them. HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Connect to a MySQL Galera Cluster
On 26.01.2014 02:33, Francois Gaudreault wrote: We are trying to make CloudStack to work with a Galera two node master/master cluster. We have a NetScaler doing DataStream LB in front of the cluster, and we have two CloudStack management servers in active/active. Anyone had success with this kind of scenario? As soon as I shut a MySQL node, the CloudStack JDBC panics, and the management server fence themselves. Why this is happening? Is there any way to handle database failures in HA fashion? Any large cloud providers using CloudStack handle this? Hello, I know there are people on the ml who are using galera and I'm planning on using it myself for Cloudstack. We already have a 3 node deployment, but it is loadbalanced on virtual IPs and load balancer (we run VIP on each node as well as Haproxy), hopefully this will keep Cloudstack happy, I suggest you do a similar thing. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: CS 4.2 KVM Centos 6.5 FreeBSD 64bit unable to install instance
On 22.01.2014 22:42, motty cruz wrote: I would like to figure this out, I don't like this limitation so I wonder if is my configuration: /etc/libvirt/libvirt.conf #uri_default = qemu:///system listen_tls = 0 listen_tcp = 1 tcp_port = 16059 auth_tcp = none mdns_adv = 0 /etc/libvirt/libvirtd.conf listen_tls=0 listen_tcp=1 tcp_port=16509 auth_tcp=none mdns_adv = 0 /etc/libvirt/qemu.conf #seccomp_sandbox = 1 cgroup_controllers=[cpu] security_driver=none user=root group=root vnc_listen=0.0.0.0 as mentioned in previous E-mails here is list of installed packages: libvirt-client-0.10.2-29.el6_5.2.x86_64 libvirt-0.10.2-29.el6_5.2.x86_64 libvirt-python-0.10.2-29.el6_5.2.x86_64 On Wed, Jan 22, 2014 at 2:20 PM, motty cruz motty.c...@gmail.com wrote: I meant to include : libvirt-client-0.10.2-29.el6_5.2.x86_64 libvirt-0.10.2-29.el6_5.2.x86_64 libvirt-python-0.10.2-29.el6_5.2.x86_64 Just did an install and worked great. I uploaded the template here: http://li.nux.ro/download/cloudstack/images/ Other than that, at first glance your setup seems fine. Do you have selinux off? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: CS 4.2 KVM Centos 6.5 FreeBSD 64bit unable to install instance
On 21.01.2014 22:11, motty cruz wrote: Hello, I'm trying to install FreeBSD 64bit 9.2 on guest instance on CloudStack 4.2. I was able to successfully download the iso. Instance gets created boots from ISO but then it freezes. I was able to successfully install default CentOS template, but not instances other than the default CentOS, can someone help? Thanks, Try to use the FreeBSD 10 ISO with Other PV profile. I just did this the other day and it worked great. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: New to CloudStack // Questions
On 20.01.2014 20:53, Chad wrote: Hello everyone, Hello, 1. Will CS notify me if a hardware and/or service fails on a particular host (node)? Not as far as I know, you will need to set up monitoring on your own. 2. Is this a suitable platform for general cloud web hosting (aka 'shared hosting') as well as VPS and dedicated cloud hosting? Yes. 3. Are there any templates available? I Googled and strange enough, could not find any at all. This is something currently in progress. Most people here build their own. 4. What's a suitable HV spec for massive vps cloud hosting? My guess/assumption is at least a dual hexacore with at least 16GB of ram to start and RAID-10 SSD drives (perhaps 1TB each) just to have that up front hardcore specs and space. However, if I'm understanding correctly, the disk portion has it's on HV while the CPU/Memory is *another* HV, can someone clarify this? This is the general setup concept I got from OnApp techs at one point. HW needs vary from case to case, I'd go for maybe less CPU and more memory. SSD is always nice if you can afford it. If you want HA capabilities you'll need to look at shared storage (NAS/SAN/Gluster/CEPH/etc). 5. Is CS necessarily a good choice for end-customer who wants a dedicated cloud in the sense of the traditional dedicated server? This part for some reason I'm a bit confused on as I've seen some competitors who us CS and offer dedicated cloud using CS' platform, but pricing is about the same and nothing else appears different as far as redundancy, etc. Maybe something slipped my eyes? I'm not sure I understood this one. Is there no community forum either? I also searched, only found one from open citrix which is just archives and no activity for a year or so. users@cloudstack.apache.org is the best place to ask for support at the moment. A forum might not be a bad idea. Regards, Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Restricting the use of a template to certain minimum resources
On 19.01.2014 10:03, Geolemo Gmail wrote: I think you can't do it directly with ACS; you can control these types of rules from other layer that integrate with ACS. For example, with Citrix CloudPortal Bussiness Manager you can define the relation between templates and VM size. Thanks. I'm only ACS user so far with no plans for CBM, but even so I imagine the API users will still be unrestricted. Time for a feature request. :) -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Restricting the use of a template to certain minimum resources
On 19.01.2014 11:13, Nux! wrote: On 19.01.2014 10:03, Geolemo Gmail wrote: I think you can't do it directly with ACS; you can control these types of rules from other layer that integrate with ACS. For example, with Citrix CloudPortal Bussiness Manager you can define the relation between templates and VM size. Thanks. I'm only ACS user so far with no plans for CBM, but even so I imagine the API users will still be unrestricted. Time for a feature request. :) Opened https://issues.apache.org/jira/browse/CLOUDSTACK-5905 Copying dev@, any chance for this to happen in 4.3? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Restricting the use of a template to certain minimum resources
Hello, Is there any mechanism in ACS that would allow me to restrict certain templates to a minimum of resources? For example I would like to disallow people the use of Windows templates with anything less than 2 GB RAM. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Qcow2 to VHD and VHD files size questions
Hi, Most of my templates are Qcow2 files for KVM and I'd like to convert them in a format that XenServer can use. I managed to use qemu-img from the KVM tools to convert one in VHD format, however this seems to be a 50 GB (the virtual size of the qcow2) sparse file. Downloading this file from my HTTP template repo into cloudstack takes ages. Does anyone know how this situation can be improved? Regards, Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Qcow2 to VHD and VHD files size questions
On 18.01.2014 23:20, Carlos Reátegui wrote: This may apply to you. I was able to copy out a vhd from vbox and load it into ACS to use on XenServer hosts. This only worked if I selected the dynamic type of vhd not the fixed size one. It only worked in non PV mode but I think that was because I did not have a proper grub file with the correct root device. Prior to uploading the vhd as a template you can bzip2 it to shrink the size. Thanks, I'll have a look at the vbox converter then. Re bz2, I think ACS will complain if it's an archive instead of the real thing. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Windows 2008 and virtio network
On 17.01.2014 02:20, Bjoern Teipel wrote: Hi, I just noticed that Windows guests, even with 2012 profile will be provisioned with e1000 network driver opposed to virtio Use Other PV (64bit), this will give you 10 Gbps VirtIO device. :-) Windows PV still comes with e1000 for some strange reason. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Limit on number of primary storages?
On 17.01.2014 04:33, Kirk Kosinski wrote: Hi, I don't think CloudStack enforces a limit on this. However, there are pros and cons to consider when adding more primary storages. One potential problem is that it might introduce more points of failure. For example, if a cluster has 20 primary storages and only one of them crashed, HA would still be triggered on the cluster. So you may want to consider upgrading existing primary storages before adding new ones. Hm, yes you have a point there ... cheers for that. Will have to think this though. :) Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Urgent: Revert disk from expunging state
On 16.01.2014 17:43, Paolo De Marco wrote: Hello, i have a disk in State: Expunging. Is there a way to revert it to Ready? Thanks Hi, You can do so directly in the database. Phpmyadmin should be handy. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Urgent: Revert disk from expunging state
On 16.01.2014 19:40, Paolo De Marco wrote: Hi, thanks for the answer! Any suggestion adout table and or field? Not sure, but try the volumes table, look for State. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: help testing 4.3
On 14.01.2014 14:13, sebgoa wrote: Hi, While 4.2.1 was just announced, 4.3 is coming in fast. To try to cut down on the number of votes necessary to get the release out we need any help we can get testing 4.3 you can grab the latest rpms at: http://jenkins.buildacloud.org/view/4.3/job/cloudstack-4.3-package-rpm/ And the latest debs at: http://jenkins.buildacloud.org/view/4.3/job/cloudstack-4.3-package-deb/ Please test in your own infrastructure and report any issues to d...@cloudstack.apache.org You can also create JIRA tickets at https://issues.apache.org/jira/browse/CLOUDSTACK and put the 4.3 version number. thanks, -Sebastien Nice, will do! IS there anything in particular we should look for? What are new features that need more thorough testing? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Status of CLVM?
Hi, I've just watched Marcus Sorensen's presentation on CLVM on youtube and he was mentioning that migrating a VM with snapshots will make the snapshots disappear. Can anyone testify if this is still the case? Since at it, are there any alternative ways of using a multipathed iSCSI lun with Cloudstack (KVM)? I'm thinking clustered filesystems such as GFS or Ocfs, but afraid of the penalty performance. Regards, Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Status of CLVM?
On 08.01.2014 22:50, Marcus Sorensen wrote: You'd create a sharedmountpoint style primary storage, which would host qcow2 files. You can do this via iscsi, fibrechannel, or any other SAN tech. Hi Marcus! This would work with 1 hypervisor, but with 2+ you need a cluster-aware filesystem. Recommendations? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: suspend/pause cloudstack VM (kvm hypervisor)
On 07.01.2014 10:10, Nevo wrote: Probably the real question is whether kvm could/will support vm snapshot? I'm sure it will support it. We just need to push for it. :) -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: cloudstack network limitation
On 25.12.2013 11:40, Du Jun wrote: Hi Marty, My problem is that even though I have update global settings about network rate, but inbound and outbound are not affected. Look like that: root@cloudstack-ubuntu:~# virsh dumpxml i-2-3-VM | egrep inbound|outbound inbound average='25600' peak='25600'/ outbound average='25600' peak='25600'/ No matter what I set for network rate in global settings, inbound and outbound for VM are always the same! As I said initially this may be bound to the network offering. Eg http://img.nux.ro/wj3C-Selection_008.png -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Granularity: per customer ROOT subdomain?
Hi, What's common practice or advice regarding the $subject? Any tips or gotchas? I'm thinking to use per customer subdomains as this would allow me to dedicate resources (hypervisors, network) more granularly to individuals, could come in handy. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
RE: Console Proxy Certificate Chain
On 13.12.2013 14:20, Billy Ramsay wrote: I've got this working now. I manually added the root and intermediate CA certs to the DB as Chiradeep suggested, and then added the domain cert using the web interface. All is now working properly. Thanks! Can you detail which tables/fields you had to modify please? Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Can't launch instance on local storage from ISO
On 13.12.2013 05:48, BJO ERN wrote: It appears it can't find a suitable storage for the root disk on host id 5 or 6 How do your system offering look like (storage tags?) and how much local storage is available ? No suitable pools found for volume: Vol[40|vm=33|ROOT] under cluster: 1 Thanks Bjoern, it may be that I messed up the tags since I had plenty of resources. I have broke down that setup since, but I'll need to test local storage again and I'll see if I hit this issue again. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Can't launch instance on local storage from ISO
|fbsdtestlocal]Scope=interface com.cloud.dc.DataCenter; id=1 -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: VMs created using KVM hypervisor
On 05.12.2013 09:32, Anju M R wrote: Hi I installed Management Server in 192.168.14.70/25 and my KVM hypervisor host is in 192.168.150.173/23. I'm able to add zone (basic), pod, cluster, host, primary storage and secondary storage. The System VMs are running. I registered an RHEL 6.4 iso and tried to make an instance using it. The IPs get assigned by the cloudstack. From the KVM machine am able to do ping and ssh the instances. But I cannot access the instances from other machines, not even from the Management Server. But when I used XenServer as the hypervisor, it worked. Even without doing any setting changes am able to access the instances from the Management server and other machines in the network. If you update your security groups to allow traffic does it work? -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Missing vhd-util on the KVM System VM?
On 05.12.2013 12:43, Shanker Balan wrote: Helo, While trying to create a template from an instance running on XenServer I ran into the below error: /usr/local/cloud/systemvm/scripts/storage/secondary/ create_privatetemplate_from_snapshot_xen.sh line 65: /bin/vhd-util no such file or directory See screenshot: http://imgur.com/XyzdazP The SSVM (which was running on a KVM host) was indeed missing /bin/vhd-util. I manually coped over the file to work around the issue. The XenServer system VM does seem to have vhd-util though. root@s-1-VM:~# which vhd-util /bin/vhd-util The system VMs templates I using are: systemvmtemplate-2013-06-12-master-kvm.qcow2.bz2 systemvmtemplate-2013-07-12-master-xen.vhd.bz2 Anyone else seen this issue? Make sure it's executable and you can run it (try manually, see what it spits out). If the system VM is 64 bit it may require glibc.i686 installed or some other library (libstd blah), just a guess. -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: SecurityGroups, Advanced Zone And DefaultSharedNetworkOfferingWithSGService
On 04.12.2013 07:54, Shanker Balan wrote: Helo, My Advanced Zone itself has security groups disabled. I have enabled the SecurityGroupsProvider and created a SharedNetwork with DefaultSharedNetworkOfferingWithSGService offering. With this, I am now able to create a new VM in the shared network by specifying the network ids as the SharedNetwork’s id. The shared VMs end up in the “default” SG and the rules seems to be working correctly. I added ICMP and SSH Ingress rules and I was able to reach the VM. I am also able to create new security groups with rules. I am however, unable to deploy VMs to security groups other than to the “default” SG. Shankar, I'm testing an Adv zone with SG and I can define and use new groups. This is on 4.2.0, which version are you testing? HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro