Re: Trying CloudStack

2014-05-30 Thread Yiping Zhang
I just started trying out CloudStack also, and cldstk-deploy seems to be a good starting point for me. So I download it and followed instructions to run it. However, I am get some errors: 1) when I run python cldstk-deploy.py setup all², I see following warnings: npm WARN engine hawk@0.10.2:

Re: Trying CloudStack

2014-05-31 Thread Yiping Zhang
productive. https://github.com/runseb/simstack I could get the appliance up in roughly 2 hrs (on a decent download link!). Cheers, Madan On 31 May 2014 at 6:14:46 am, Yiping Zhang (yzh...@marketo.com (mailto:yzh...@marketo.com)) wrote: I just started trying out CloudStack also, and cldstk

is there any tutorials for setting up CS using advanced network and KVM hypervisor?

2014-06-04 Thread Yiping Zhang
Hi, I have followed this run book to set up my first CS instance successfully with basic networking: http://people.apache.org/%7Eke4qqq/runbook/index.html . Now I want to try advanced networking with kvm hypervisor where CS management server and kvm hypervisor are running on two separate

can I run CloudStack without IPtables?

2014-06-09 Thread Yiping Zhang
Hi,all: I am trying different network setups in my CloudStack eval effort, and I am wondering if CS can be configured to not use iptables at all , giving that my intended goal is for a private cloud dedicated to my own company, in our own datacenter and all our networks are behind our own

Re: can I run CloudStack without IPtables?

2014-06-09 Thread Yiping Zhang
to create custom network offering, which is few clicks in UI). You can also bypass userdata and serve your own userdata through external userdata services, you would need to write something on your end to support it. Regards ilya On 6/9/14, 12:02 PM, Yiping Zhang wrote: Hi,all: I am trying

how to create a new zone with QuickCloudNoServices network offering?

2014-06-12 Thread Yiping Zhang
Hi, All: I am trying to create a new zone using QuickCloudNoServices network offering, but the wizard keeps getting Configuration error when it tries to set up Guest Traffic with following error message: Service Dhcp is not supported by the network offering [Network Offering

pxeboot CloudStack VM with external tftp server

2014-06-17 Thread Yiping Zhang
Hi, All: I just figured out how to PXE boot a CS VM with external tftp server. Here is my environment setup: we use Puppet + Foreman to manage our existing physical nodes. Now we just added a CloudStack (4.3.0) instance running basic network mode on the same network. So on this network, I

CS 4.4.0 system VM

2014-06-18 Thread Yiping Zhang
Hi, All: I build CS 4.4.0 rpms from source code. I am wondering how would I get the corresponding system VM’s for 4.4.0? If there is a publicly accessible url to download these system VM templates with the same cloud-install-sys-tmplt script, I am fine with it. If I have to extract system

CS 4.4.0 : console proxy VM not working

2014-06-18 Thread Yiping Zhang
Hi, After installing system VM templates, the console proxy VM stays in “alert” state. When I log in to console proxy VM with ssh, the com.cloud.agent.AgentShell process is running, but it is not listening on port 443 or able to connect to MS at port 8250. I see following log entry in

how to create guest with /dev/vda ROOT volume?

2014-07-11 Thread Yiping Zhang
Hi, All: My CloudStack environment is 4.3.0 running on rhel 6.5 and kvm hypervisor also running rhel 6.5. When I create my first VM from an imported rhel 6.5 ISO image, the root volume is identified as /dev/sda. Is there a way to force the root volume to be identified as /dev/vda device ?

Re: how to create guest with /dev/vda ROOT volume?

2014-07-11 Thread Yiping Zhang
give you virtio devices (vda). HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Yiping Zhang yzh...@marketo.com To: users@cloudstack.apache.org Sent: Friday, 11 July, 2014 6:57:09 PM Subject: how to create guest with /dev/vda

Re: how to create guest with /dev/vda ROOT volume?

2014-07-11 Thread Yiping Zhang
for operating system. Which did you select ? On Jul 11, 2014, at 12:10 PM, Yiping Zhang yzh...@marketo.com wrote: What do you mean by ³profile² ? I am just doing interactive installation from ISO, using a 64 bit RHEL 6.5 server iso which I just uploaded. Thanks, Yiping On 7/11/14, 12:02

Re: how to create guest with /dev/vda ROOT volume?

2014-07-11 Thread Yiping Zhang
246M 244K 246M 1% /run tmpfs tmpfs 246M 0 246M 0% /sys/fs/cgroup tmpfs tmpfs 246M 4.0K 246M 1% /tmp /dev/vda1 ext4 477M 71M 377M 16% /boot Best regards, Kirk On 07/11/2014 10:57 AM, Yiping Zhang wrote: Hi, All: My CloudStack environment

Re: Why is the I/O speed of VM so terrible when using CloudStack4.2 + KVM deployment

2014-07-23 Thread Yiping Zhang
I just did some experiments and found out how to make an existing VM to use virtio drivers: For some reason, RHEL 6.2-6.4 VM defaults to not use virtio drivers. If you edit you VM (while it is stopped) and change “OS Type” to a different type that will use virtio drivers for VM, then when VM

Re: questions on configuring advanced networking

2014-08-01 Thread Yiping Zhang
question Cheers soeren -Original Message- From: Yiping Zhang [mailto:yzh...@marketo.com] Sent: Freitag, 1. August 2014 21:16 To: users@cloudstack.apache.org Subject: questions on configuring advanced networking Hi, all: I am doing planning of a CloudStack deployment using advanced

Re: questions on configuring advanced networking

2014-08-01 Thread Yiping Zhang
performance firewall to guarantee sufficient throughput - the other networks have their gateways on a separate firewall - the secondary storage is inside the storage network Hope that helps Regards Soeren -Original Message- From: Yiping Zhang [mailto:yzh...@marketo.com] Sent: Freitag, 1. August

adding kvm host to cluster

2014-08-11 Thread Yiping Zhang
Hi All: When adding a new kvm host to a cluster in GUI, it asks for a user name and password. The doc just says that “user name (usually root)”. How is this username used by management server? Can it be a non-root user ? If so, what privileges does this user require? Thanks, Yiping

Re: adding kvm host to cluster

2014-08-11 Thread Yiping Zhang
? Thanks for any clarifications, Yiping On 8/11/14, 12:44 PM, Yiping Zhang yzh...@marketo.com wrote: Hi All: When adding a new kvm host to a cluster in GUI, it asks for a user name and password. The doc just says that ³user name (usually root)². How is this username used by management server

Re: change root password on agents

2014-08-22 Thread Yiping Zhang
Management server needs root user password for hyprvisor hosts to manage them. For example, when you need to bring a host into or out of maintenance mode. You can follow cloudstack document for change root password on host:

url to download CS 4.3.0 system vm templates

2014-09-24 Thread Yiping Zhang
Hi, What is the url for downloading CS 4.3.0 stable systemvm template for xenserver ? I have been using http://docs.cloudstack.apache.org/projects/cloudstack-administration site for CS documentations while installing CS 4.3.0. However, I just noticed that the url for systemVM templates has

Re: url to download CS 4.3.0 system vm templates

2014-09-24 Thread Yiping Zhang
it though. Lets hope the folks in charge of docs change it to be easier. Amogh On 9/24/14 4:23 PM, Yiping Zhang yzh...@marketo.com wrote: Hi, What is the url for downloading CS 4.3.0 stable systemvm template for xenserver ? I have been using http://docs.cloudstack.apache.org/projects/cloudstack

Do primary and secondary storage must be served by different servers ?

2014-10-03 Thread Yiping Zhang
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

running pre and/or post scripts after instance creation/destroy

2014-10-28 Thread Yiping Zhang
Hi, all: Does anyone know if CloudStack provide any mechanism to run a pre/post scripts after an instance is created or destroyed ? Thanks, Yiping

Re: Enquiry on Citrix XenServer Installation for Cloudstack

2014-10-28 Thread Yiping Zhang
In XenServer 6.2 admin guide, section 3.4, Creating heterogeneous resource pools², it only mentions CPU requirements, that CPU¹s must be from the same vendor, and the features of older CPU must be a subset of newer cpus. Yiping On 10/27/14, 7:37 PM, In Huishan inh...@gmail.com wrote: Dear All,

Re: running pre and/or post scripts after instance creation/destroy

2014-10-30 Thread Yiping Zhang
Reddy Uradi jayapalreddy.ur...@citrix.com wrote: Hi Yiping, Can you please elaborate more about your requirement. Where you want to run the script ? ... Inside the VM ? Thanks, Jayapal On 29-Oct-2014, at 12:31 AM, Yiping Zhang yzh...@marketo.com wrote: Hi, all: Does anyone know if CloudStack

cloudstack user password requirements

2014-11-03 Thread Yiping Zhang
Hi, By chance, we found out that CS user password can not contain ““ or “” characters, what other characters are illegal in user’s password string? We are not able to find any documents on the subject. Thanks Yiping

deleted host entries still exist in /etc/dhcphost.txt and /etc/hosts on VR

2014-11-24 Thread Yiping Zhang
Hi, We have noticed that entries for hosts which have been destroy for a long time still exist in both /etc/dhcphosts.txt and /etc/hosts files on our Virtual Routers. Is this intensional ? If so, what’s the rational for keeping old entries in DNS and DHCP services managed by virtual routers

Re: security group and xenserver query

2014-11-26 Thread Yiping Zhang
According to this document, http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.4 /networking/security_groups.html?highlight=security%20group It is clearly stated in the very first paragraph that ³In advanced zones, security groups are supported only on the KVM hypervisor.²

Re: deleted host entries still exist in /etc/dhcphost.txt and /etc/hosts on VR

2014-11-26 Thread Yiping Zhang
and /etc/hosts file after destroying vms. Please report a bug for this. -Sanjeev -Original Message- From: Yiping Zhang [mailto:yzh...@marketo.com] Sent: Tuesday, November 25, 2014 3:53 AM To: users@cloudstack.apache.org Subject: deleted host entries still exist in /etc/dhcphost.txt

how to add back xen hypervisor host?

2014-12-18 Thread Yiping Zhang
Hi, All: I have a lab CS instance running 4.3.1 and today my only xen hypervisor crashed so I have to rebuild it. I have already deleted all user VM instances, so only SSVM, CPVM and VR are running at this time. Here is what I did: 1. Put zone in maintenance 2. Put xen host in

how to configure multi-homed management server?

2015-02-11 Thread Yiping Zhang
Hi, all: My CS management server has two IP addresses: one IP address on our corporate network (for general access) and one IP address on lab network , which is used at CloudStack’s management network. When I run cloudstack-setup-database script, I have given “—mshost” option with its IP

Re: how to configure multi-homed management server?

2015-02-11 Thread Yiping Zhang
and destroy system VMs. New system VMs will point to correct mgmt IP. Let me know how it goes. Thanks, Praveen On Thu, Feb 12, 2015 at 5:39 AM, Yiping Zhang yzh...@marketo.com wrote: Hi, all: My CS management server has two IP addresses: one IP address on our corporate network (for general access

how to get info about destroyed VM instances with API calls?

2015-02-08 Thread Yiping Zhang
Hi: I am using CloudStack’s event notification framework to add post VM instance create/destroy scripts to integrate with external apps. This approach works well for VM create events, but it won’t work for VM destroy events. Once a VM instance is destroyed, listVIrtualMachines API will no

Re: how to configure multi-homed management server?

2015-02-11 Thread Yiping Zhang
. Also, I am not sure about mshost parameter of deploy-databases script. you can try giving other ip..see that works.. Thanks, Praveen On Thu, Feb 12, 2015 at 10:42 AM, Yiping Zhang yzh...@marketo.com wrote: Hi, Praveen: That worked, sort of. Now both CPVM and SSVM are trying to connect

Re: how to configure multi-homed management server?

2015-02-13 Thread Yiping Zhang
. As a fix, change the host parameter to your lab network IP address and destroy system VMs. New system VMs will point to correct mgmt IP. Let me know how it goes. Thanks, Praveen On Thu, Feb 12, 2015 at 5:39 AM, Yiping Zhang yzh...@marketo.com wrote: Hi, all: My CS management server has two IP

Cloudstack + XenServer 6.2 + NetApp in production

2015-02-13 Thread Yiping Zhang
Hi, all: I am wondering if any one is running their CloudStack in production deployments with XenServer 6.2 + NetApp clusters ? Recently, in our non production deployment (rhel 6.6 + CS 4.3.0 + XenServer 6.2 cluster + NetApp cluster), all our XenServer rebooted automatically because of NFS

Re: Cloudstack + XenServer 6.2 + NetApp in production

2015-02-15 Thread Yiping Zhang
and XenServer is used in a very large number of deployments, so if there is something wrong they'll be more likely to know. For example, there could be a set of XenServer or OnTap patches to help sort this out. -tim On Fri, Feb 13, 2015 at 7:36 PM, Yiping Zhang yzh...@marketo.com wrote: Hi, all

Re: Cloudstack + XenServer 6.2 + NetApp in production

2015-02-15 Thread Yiping Zhang
Sent from my iPhone Begin forwarded message: *From:* Yiping Zhang yzh...@marketo.com *Date:* February 15, 2015 at 2:00:05 AM GMT-2 *To:* users@cloudstack.apache.org users@cloudstack.apache.org *Subject:* *Re: Cloudstack + XenServer 6.2 + NetApp in production* *Reply-To:* users

customize DNS domain names

2015-03-11 Thread Yiping Zhang
Hi, All: I have been reading on CS admin guide (latest one is for 4.2.0) about customizing DNS domains : https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/customizing-dns.html After trying it out, I came to the conclusion that this section applies only to

inventory storage volumes on primary storage

2015-03-31 Thread Yiping Zhang
HI, all: I am doing an inventory of all vhd files on my primary storage device. I have only eight active VM instances, but I have 43 vhd files on file system. Running cmd “xe vdi-list” on XenServer provides infor on all vhd files. From the output, I can tell that “name-label” field

Re: how to assign an AffinityGroups to VM instances belonging to a project

2015-03-04 Thread Yiping Zhang
How would one bump up priority for this issue and hopefully get looked at by someone sooner than later ? Yiping On 3/4/15, 11:50 AM, Rene Moser m...@renemoser.net wrote: Hi On 03/04/2015 08:42 PM, Yiping Zhang wrote: Hi, all: I am trying to assign an affinity group I just created to VM

Re: how to assign an AffinityGroups to VM instances belonging to a project

2015-03-05 Thread Yiping Zhang
Hi, Rene: Thanks, much appreciated. Yiping On 3/5/15, 6:04 AM, Rene Moser m...@renemoser.net wrote: Hi On 05.03.2015 02:17, Yiping Zhang wrote: How would one bump up priority for this issue and hopefully get looked at by someone sooner than later ? I will try to jump in fixing the project

Re: host global config

2015-03-06 Thread Yiping Zhang
If you CloudStack manager is multi-homed, the CloudStack will populate host global settings var with IP address of the interface that is on the same network as your default gateway on your mgr node. If this IP is not your (cloudstack) management interface IP, then you need to change host value,

urgent help needed: primary storage became unplugged after xenserver roboot

2015-01-13 Thread Yiping Zhang
Hi, All: I need some urgent help in restoring my CS instance (version 4.3.1). After patching xenserver 6.2, I rebooted the pool master (I have two xen hypervisors). After the pool master comes back, the SR for the primary storage became “unplugged”, and shown as broken in XenCenter. The

[SOLVED]: urgent help needed: primary storage became unplugged after xenserver roboot

2015-01-13 Thread Yiping Zhang
the PBD get plugged most often than not. -Original Message- From: Yiping Zhang [mailto:yzh...@marketo.com] Sent: Tuesday, January 13, 2015 5:43 PM To: users@cloudstack.apache.org Subject: urgent help needed: primary storage became unplugged after xenserver roboot Hi, All: I need some

ghost volumes belonging to a project

2015-04-09 Thread Yiping Zhang
Hi, We always create VM instances in project context, so that all resources are assigned to project instead of individual accounts. I have a script to call listProjects API to show project’s resource limits and current usages. Recently, I noticed that for a couple of projects, my script

Re: XenServer is disconnected after CS hosts shutdown

2015-07-29 Thread Yiping Zhang
Well, sometimes people can’t answer a question because of lack of relevant information, or simply because no one has encountered a similar situation before. Looking at your past messages on this thread, there were no mentions about primary storage. Obviously, your primary storage configuration

number of expected tcp connections to RabbitMQ cluster

2015-07-16 Thread Yiping Zhang
Hi, all: We are in the process of upgrading our CloudStack from 4.3.2 to 4.5.1. I just noticed that for CS 4.3.2, there are two TCP connections from cloudstack-management java process to RabbitMQ cluster, but for CS 4.5.1 there is only one TCP connection to RabbitMQ cluster. Can someone

Re: number of expected tcp connections to RabbitMQ cluster

2015-07-17 Thread Yiping Zhang
@cloudstack.apache.orgmailto:users@cloudstack.apache.org Subject: Re: number of expected tcp connections to RabbitMQ cluster On 17-Jul-2015, at 12:27 am, Yiping Zhang yzh...@marketo.commailto:yzh...@marketo.com wrote: Hi, all: We are in the process of upgrading our CloudStack from 4.3.2 to 4.5.1. I just noticed

Re: [Proposal] Template for CloudStack API Reference Pages

2015-11-11 Thread Yiping Zhang
As a user who uses API a lot, I would like to see following improvements in api reference pages: 1) In brief description for Title section, please specify if the referenced API is async or not. Currently, this info is available only on the API listing pages with “(A)” after the api name, but

Re: problem assigning an instance to a different account in a different domain

2015-11-09 Thread Yiping Zhang
The api assignVirtualMachine is for this exact purpose. It seems even to be able to move virtual machines into different zones (I never tried this, since I have only one zone) However, there are some limitations: it does not support advanced networking with SecurityGroup enabled. Since I did

Re: problem assigning an instance to a different account in a different domain

2015-11-09 Thread Yiping Zhang
er that I tried to use that method once, but that did not work and I >had to do the change manually. > >On Mon, Nov 9, 2015 at 7:37 PM, Yiping Zhang <yzh...@marketo.com> wrote: > >> The api assignVirtualMachine is for this exact purpose. It seems even to >> be able to move

Re: how to assign an instance to a different project ?

2015-11-04 Thread Yiping Zhang
rk >> association for that VM. >> >> Regards, >> Somesh >> >> -Original Message- >> From: Yiping Zhang [mailto:yzh...@marketo.com] >> Sent: Tuesday, November 03, 2015 2:43 PM >> To: users@cloudstack.apache.org >> Subject: how to

how to assign an instance to a different project ?

2015-11-03 Thread Yiping Zhang
Hi, I need to move some instances from project-1 in domain-1 to project-2 in domain-2. But I can’t find any API to do so. The API “assignVirtualMachine” can move instances between accounts (in the same or different domains), but it does not work with projects. If there is an API to move an

Re: Unable to put host into maintenance mode. Unable to migrate VM

2015-10-30 Thread Yiping Zhang
Some more considerations: How much free CPU, memory resources are available on your remaining hypervisors ? If your XenServer pool resource usages are near to their maximum limits, putting one hypervisor into maintenance could very well push the usage over the limits for remaining

[Urgent]: xenserver hosts stuck in alert state after 4.3.2 - 4.5.1 upgrade

2015-07-09 Thread Yiping Zhang
Hi, all: We just did an upgrade from CS 4.3.2 - 4.5.1. Our environment is rhel 6 + Adv. Zone with SecurtyGroup + XenServer 6.2. After the upgrade, all xenserver hosts were in alert state and MS can’t connect to them with following errors: INFO [c.c.h.x.r.CitrixResourceBase]

Re: [Urgent]: xenserver hosts stuck in alert state after 4.3.2 - 4.5.1 upgrade

2015-07-09 Thread Yiping Zhang
anything? (Sorry for dumb question) Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Yiping Zhang yzh...@marketo.com To: users@cloudstack.apache.org Sent: Thursday, 9 July, 2015 19:22:01 Subject: [Urgent]: xenserver hosts stuck

Re: A Story of a Failed XenServer Upgrade

2016-01-07 Thread Yiping Zhang
Hi, Alessandro Late to the thread. Is this still an issue for you ? I went thru this process before and I have a step by step document that I can share if you still need it. Yiping On 1/2/16, 4:43 PM, "Ahmad Emneina" wrote: >Hi Alessandro, >Without seeing the logs,

Re: R: A Story of a Failed XenServer Upgrade

2016-01-08 Thread Yiping Zhang
rget the attachment ... > > > >Inviato dal mio dispositivo Samsung > > >---- Messaggio originale >Da: Yiping Zhang <yzh...@marketo.com> >Data: 08/01/2016 18:44 (GMT+01:00) >A: users@cloudstack.apache.org >Oggetto: Re: A Story of a Failed XenServer Upgrade >

Re: A Story of a Failed XenServer Upgrade

2016-01-08 Thread Yiping Zhang
veryone can benefit? :) >> >> Lucian >> >> -- >> Sent from the Delta quadrant using Borg technology! >> >> Nux! >> www.nux.ro >> >> - Original Message - >> > From: "Yiping Zhang" <yzh...@marketo.com> >&

Re: R: A Story of a Failed XenServer Upgrade

2016-01-08 Thread Yiping Zhang
Since I can’t use attachment, I just include the doc in the message. Hopefully, the indentations and formats will go through properly. Yiping -- XenServer pool manual upgrade from 6.2 to 6.5 using ISO Reference article for upgrading XenServer pool used for Cloudstack

Re: SSVM and CPVM

2015-11-24 Thread Yiping Zhang
Which version of OS and java are you using ? We had encountered a similar error before. AFAICT, we were running RHEL 6.5 and CS 4.3.2 at the time on a newly setup management server. The java version installed was IBM version when we saw this error. Once we changed java package back to

Can't stop mgmt server cleanly for CS 4.8.0

2016-06-10 Thread Yiping Zhang
Hi, all: We have a cron job to restart mgmt. service once a week. However, after we upgraded to CS 4.8.0, the cron job would leave the service stopped and Nagios starts to page oncall. We traced the problem to that the mgmt. service won’t stop cleanly, even when we try to stop it manually

Re: Can't stop mgmt server cleanly for CS 4.8.0

2016-06-10 Thread Yiping Zhang
RHEL 6.7 / java-1.7.0-openjdk-1.7.0.85-2.6.1.3 / tomcat6-6.0.24-90 On 6/10/16, 12:49 PM, "Marc-Andre Jutras" <mar...@marcuspocus.com> wrote: >which java / tomcat / centos version you're running on ? > > >On 2016-06-10 3:41 PM, Yiping Zhang wrote: >> Hi, all: &

Re: cloudmonkey config file get reset to default settings

2016-05-26 Thread Yiping Zhang
in mutliple terminals in parallel - i've seen >cloudmonkey mess up the config for one of open profiles. > >Specifically, the URL of cloudstack in profile1 might be changed with >url of cloudstack in profile2. > >Rohit, is there a reason why cloudmonkey tries to update the sett

Re: XenServer cluster size

2016-03-09 Thread Yiping Zhang
>On Tue, Mar 8, 2016 at 5:24 PM, Ahmad Emneina <aemne...@gmail.com> wrote: > >> IIRC, its just a recommendation. I think it stemmed from performance >> impact, due to numerous VLAN's present, in environments with lots of >> tenants. >> >> On Tue, Mar 8

Re: XenServer cluster size

2016-03-09 Thread Yiping Zhang
ck supports Dundee (and neither does Citrix at >the moment). > >-tim > >On Wed, Mar 9, 2016 at 12:38 PM, Yiping Zhang <yzh...@marketo.com> wrote: > >> Hi, Tim: >> >> Thanks for very detailed reply. >> >> These are Gen8 HP blades and all my new ser

Re: AW: API deploy virtualmachine failed with custom offering

2016-03-23 Thread Yiping Zhang
That syntax worked for me (CS 4.5.1, cloudmonkey 5.3.1). Can you create a VM in UI, using the same zone/domain/template/network/serviceoffering selections as used in your API call? I suspect that your combined selections are not valid, for example: template/network is not available to the

working with over provisioning factors

2016-03-02 Thread Yiping Zhang
Hi, I have to change the global and cluster setting memory.overprovisioning.factor for one of clusters with hundreds of running VM instances. Now, in order for the changes to take effect, I need to restart all running instances. I am wondering is there a way to update all running VM

[SOLVED]: corrupt DB after VM live migration with storage migration

2016-05-05 Thread Yiping Zhang
f this problem and how can I avoid it in the future. Have a good day, all. Yiping On 5/4/16, 11:25 PM, "Yiping Zhang" <yzh...@marketo.com> wrote: >Thanks, it’s a good idea to back up those “removed” disks first before >attempting DB surgery! > > > > >On 5/4/

Re: [Urgent]: corrupt DB after VM live migration with storage migration

2016-05-04 Thread Yiping Zhang
, the cloudstack may kick off a storage cleanup job to remove them from new cluster’s primary storage before I can get the fixes in. Is there a way to temporarily disable storage cleanups ? Yiping On 5/4/16, 3:22 PM, "Yiping Zhang" <yzh...@marketo.com> wrote: >Hi, all: >

Re: [Urgent]: corrupt DB after VM live migration with storage migration

2016-05-05 Thread Yiping Zhang
to false. That might prevent your >>> disks from being purged. You might also look to export those volumes, or >>> copy them to a safe location, out of band. >>> >>> On Wed, May 4, 2016 at 8:49 PM, Yiping Zhang <yzh...@marketo.com> wrote: >>> >&

[Urgent]: corrupt DB after VM live migration with storage migration

2016-05-04 Thread Yiping Zhang
Hi, all: I am in a situation that I need some help: I did a live migration with storage migration required for a production VM instance from one cluster to another. The first migration attempt failed after some time, but the second attempt succeeded. During all this time the VM instance is

cloudmonkey config file get reset to default settings

2016-05-24 Thread Yiping Zhang
Hi, We have a few scripts that use cloudmonkey to talk to CloudStack server. The scripts are invoked by Puppet once per hour. However, every once a while, the /root/.cloudmonkey/config file would be over written with default settings. That is, blank apikey/secretkey, default password,

Re: Migrate vm from local storage to shared - change service offering

2016-07-05 Thread Yiping Zhang
Before staring the VM, you should also switch service offering of the migrated VM in UI, pick one using “shared” storage instead of “local” storage. On 7/5/16, 12:21 AM, "cs user" wrote: Hi Shweta, That's interesting. Yep with 4.5.2 I am able to power down a vm, and

Re: Mess after volume migration.

2016-08-09 Thread Yiping Zhang
I encountered the same problem a few months ago. With help from this list, I fixed my problems without any data loss, and posted my solution on the list. If you search the following subject line “corrupt DB after VM live migration with storage migration”, you should see my posts. Good luck

Question on host metrics (ACS version 4.8.0)

2017-01-26 Thread Yiping Zhang
Hi, I am looking at “Home > Infrastructure > Clusters > Cluster Metrics > Hosts Metrics >” page, and I am confused by the values in the column for used CPU. My hosts (running XenServer 6.5 SP1) have 32 cores with total of 83.10 GHz per host. On average, the CPU allocation is >100% for all

Re: Cloudstack - volume migration between clusters (primary storage)

2016-08-30 Thread Yiping Zhang
I think the work is mostly performed by the hypervisors. I had seen following during storage live migration in XenCenter: Highlight the primary storage for the departing cluster, then select the “Storage” tab on the right side panel. You should see disk volumes on that primary storage. The

All Xen hosts except poolmaster stuck in alerting/connecting state

2016-09-07 Thread Yiping Zhang
Hi, In one of our xen clusters, all host except the pool master are stuck in alerting or connecting state. There are no scary log entries in catalina.out or management-server.log. I have tried to restart management service already, but it has no effect. What other steps can I take? I am

Re: Adding Hosts to XenCenter Pool

2016-09-08 Thread Yiping Zhang
The problem is that for Xen1 and Xen2, the mgmt. interface is NIC4, while for Xen3, the mgmt. interface is Bond4+5. According to docs, incoming server should not have any bond configurations, it will automatically get those from the pool once it becomes a pool member. What you need to do is

Re: Adding Hosts to XenCenter Pool

2016-09-08 Thread Yiping Zhang
k. http://screencast.com/t/LNPu9XchUU You can see Xen3's config and Xen4 Xen3 is pool master. I need to add Xen4 and more still same error. Jeremy -Original Message- From: Yiping Zhang [mailto:yzh...@marketo.com] Sent: Thursday, Sept

Re: All Xen hosts except poolmaster stuck in alerting/connecting state

2016-09-08 Thread Yiping Zhang
same problem,one Pool get in connecting or Alert state. The configuration is the same. > On Sep 7, 2016, at 17:50, Yiping Zhang <yzh...@marketo.com> wrote: > > Hi, > > In one of our xen clusters, all host except the pool master are s

Re: Adding Hosts to XenCenter Pool

2016-09-08 Thread Yiping Zhang
my port channel won't come up. Jeremy -Original Message- From: Yiping Zhang [mailto:yzh...@marketo.com] Sent: Thursday, September 8, 2016 12:56 PM To: users@cloudstack.apache.org Subject: Re: Adding Hosts to XenCenter Pool Is the xen4 config show

Re: CloudStack Anti-Affinity

2016-10-06 Thread Yiping Zhang
Starting a VM instance will end in error if there is no host suitable for it. We normally limit number of VM in an affinity group to be one less than the number of hosts in the cluster. Let’s say I have 5 instances for my app, and I have 5 hosts in my cluster. I will only put 4 instances in

updating network throttling rate

2016-10-25 Thread Yiping Zhang
Hi, I have updated global settings for network.throttling.rate and vm.network.throttling.rate from 200 to 500 Mbps, and restarted mgmt. service. Now I restarted two of my test VM instances, but using iperf3 I still see these two test VM instances got 200 Mbps network bandwidth. What else do

API migrateVirtualMachine does not respect affinity group assignment

2016-11-08 Thread Yiping Zhang
Hi, It seems that the API migrateVirtualMachine does not respect instance’s affinity group assignment. Is this intentional? To reproduce: Assigning two VM instances running on different hosts, say v1 running on h1 and v2 running on h2, to the same affinity group. In GUI, it won’t let you

Re: AW: API migrateVirtualMachine does not respect affinity group assignment

2016-11-11 Thread Yiping Zhang
gt; (615) 312-6068 > > -Original Message- > From: Yiping Zhang [yzh...@marketo.com] > Received: Tuesday, 08 Nov 2016, 8:03PM > To: users@cloudstack.apache.org [users@cloudstack.apache.org] > Subject: API migrateVirtualMachine does not respect affinit

Xen hypervisor question

2017-01-04 Thread Yiping Zhang
Hi, This is a Xen Server question, but since it is part of my ACS setup, I hope Xen Server experts on this list can provide some help. Every month or so, one of my Xen Server pool (6.5 SP1 with most of patches are installed) with ten hypervisor nodes will go crazy: in CS, only the pool master

Re: vm.network.throttling.rate changed from 200 to 1000 but VMs are still limited to 200

2017-03-06 Thread Yiping Zhang
After this change, you need to stop and start your VM from GUI or via api calls. On 3/6/17, 1:46 PM, "Nezar Madbouh" wrote: Hi, I changed vm.network.throttling.rate from 200 to 1000 but when I run iperf between 2 VMs the maximum speed I get is

Re: Unable to start a VM due to insufficient capacity

2017-04-24 Thread Yiping Zhang
When you say there is enough resources on hosts, exactly what’s memory and cpu allocation on each of the hosts? Unless you have updated following global settings, the default settings are to disable VM allocation if cluster’s overall CPU or memory allocation is over 75%, and you will get

Re: SSVM NIO SSL Handshake error

2017-05-23 Thread Yiping Zhang
Hi, Jason: By any chance, did your “full update” happen to also update your java version to IBM java? Yiping From: Jason Kinsella Reply-To: "users@cloudstack.apache.org" Date: Tuesday, May 23, 2017 at 7:19 AM To:

Re: Retiring OLD Primary Storage - Dealing with System VMs and (assumed) Snapshot related artifacts

2017-06-09 Thread Yiping Zhang
Maybe off topic, but the subject of storage migration (both for primary and secondary storage devices) comes up once every few months on this list. I am really surprised that there is still NO official documentation on how to do this properly, or an SOP for users to follow. I went through the

[SOLVED] Re: How to modify Pod start/end IP ?

2017-10-25 Thread Yiping Zhang
o Cloud Architect ShapeBlue On 25/10/2017, 01:28, "Yiping Zhang" <yzh...@marketo.com<mailto:yzh...@marketo.com>> wrote: Hi, all: In ACS web GUI, on the Pod Details page, the fields “Start IP” and “End IP” are editable. This IP range is re

How to modify Pod start/end IP ?

2017-10-24 Thread Yiping Zhang
Hi, all: In ACS web GUI, on the Pod Details page, the fields “Start IP” and “End IP” are editable. This IP range is reserved for systemVM’s (SSVM/CPVM). When I built my ACS environments three years ago, I gave this a large range without fully understanding what it is for. Now I am short of

can't start guest VM assigned with new empty affinity group

2018-04-27 Thread Yiping Zhang
Hi, list: My user is creating a bunch of guest VM instances using affinity groups and we started to see InsufficientServerCapacityException errors and new VM instances won’t start, even though this is for a newly created empty affinity group and both my clusters have plenty of CPU/Memory/IP

Re: 4.11 without Host-HA framework

2018-05-23 Thread Yiping Zhang
I can say for fact that VM's using a HA enabled service offering will be restarted by CS on another host, assuming there are enough capacity/resources in the cluster, when their original host crashes, regardless that host comes back or not. The simplest way to test VM HA feature with a VM

vCPU priority setting for Xen VM

2018-06-08 Thread Yiping Zhang
Hi, all: I am trying to find out more info about VM’s vCPU priority settings on XenServer. I noticed that my VM instances have various vCPU weight associated with them, even for instances using the same service offering. I am wondering how does CloudStack set vCPU priority for VM instances?

Re: How exactly does CloudStack stop a VM?

2018-06-06 Thread Yiping Zhang
ce running in the guest OS. On Wed, Jun 6, 2018 at 6:01 PM, Yiping Zhang wrote: > Hi, all: > > We have a few VM instances which will hang when issue a Stop command from > CloudStack web UI or thru API calls, due to the app’s own startup/stop

How exactly does CloudStack stop a VM?

2018-06-06 Thread Yiping Zhang
Hi, all: We have a few VM instances which will hang when issue a Stop command from CloudStack web UI or thru API calls, due to the app’s own startup/stop script in guest OS was not properly invoked. The app’s startup/stop script works properly if we issue shutdown/reboot command in guest OS

Re: How exactly does CloudStack stop a VM?

2018-06-06 Thread Yiping Zhang
it should detect the shutdown sent via XAPI. On Wed, Jun 6, 2018 at 6:58 PM, Yiping Zhang wrote: > We are using XenServers with our CloudStack instances. > > On 6/6/18, 3:11 PM, "Jean-Francois Nadeau" > wrote: > > On KVM,

  1   2   >