Re: Increase max number of VMs in a host?

2013-12-25 Thread Ryan Lei
Actually, this functionality exists in the UI, too. In Global Settings, be sure to select view as Hypervisor Capabilities instead of Global Settings. Then, raise {KVM, default} to a higher value. --- Yu-Heng

Re: password hash

2013-12-25 Thread Salar Darwish
Dear Santhosh, I do not use the login api . I use a mysql query to login into the web interface. when i use the password from the database(hashed) i can login with no problems. i tried to encrypt the password query i am sending to the database to MD5 but still can not login. after your mail i

RE: password hash

2013-12-25 Thread Santhosh Edukulla
1. How you are retrieving the sessionkey with your mysqlquery? 2. I believe you are using Authentication Port 8080. If yes, below is the POST url along with params for login cmd. This should give the sessionkey for your further communication with CS. Request: http://localhost:8080/client/api

Re: Increase max number of VMs in a host?

2013-12-25 Thread Indra Pramana
Hi Prachi and especially Ryan, Many thanks! Managed to find the option on Global Settings and change view to Hypervisor Capabilities as per Ryan's advice! Have changed the value under KVM, default to a higher value. Cheers. On Wed, Dec 25, 2013 at 4:38 PM, Ryan Lei ryan...@cht.com.tw wrote:

Re: password hash

2013-12-25 Thread Salar Darwish
Yes ik use port8096 and that was indeed the resason i get the error. I changed that to port 8080 and now i get a session key as you mentioned. How can i use this sessionkey? 2013/12/25 Santhosh Edukulla santhosh.eduku...@citrix.com 1. How you are retrieving the sessionkey with your mysqlquery?

Re: password hash

2013-12-25 Thread tawfiq zidi
Hi, With Cloudstack 4.2 the encryption method has been changed. Check at first what security apdater you are using under /etc/cloudstack/management/components.xml You'll get a result like this: !-- Security adapters -- bean id=userAuthenticators class=com.cloud.utils.component.AdapterList

Re: cloudstack network limitation

2013-12-25 Thread Du Jun
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

Re: cloudstack network limitation

2013-12-25 Thread Nux!
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'

Re: cloudstack network limitation

2013-12-25 Thread Marty Sweet
I assume you are stopping and relaunching the VM. I would second Nux and say Network Offering. Marty On Wed, Dec 25, 2013 at 11:49 AM, Nux! n...@li.nux.ro wrote: 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,

RE: password hash

2013-12-25 Thread Santhosh Edukulla
1. First try call the commands EX: listZones,createAccount etc from browser. For that, browse your CS installed using a browser, then use firebug( A plugin to the browser reflecting your requests\responses) from your browser and check the GET\POST requests sent for each command. You will see

Re: cloudstack network limitation

2013-12-25 Thread Du Jun
@Nux @Marty As you can see, I use DefaultIsolatedNetworkOfferingWithSourceNatService and I update network rate to 2Mbps. Meanwhile, I reboot the VMs. However, inbound and outbound value are all the same! root@cloudstack-ubuntu:~# virsh dumpxml i-2-3-VM | egrep inbound|outbound inbound

Re: cloudstack network limitation

2013-12-25 Thread Marty Sweet
Hi DuJun, Can you confirm you are fully stopping the VM, the starting it as opposed to just rebooting it? Marty On Wednesday, December 25, 2013, Du Jun wrote: @Nux @Marty As you can see, I use DefaultIsolatedNetworkOfferingWithSourceNatService and I update network rate to 2Mbps.

Re: cloudstack network limitation

2013-12-25 Thread Du Jun
Hi Marty, Stop and then start VM instead reboot VM can update the value of inbound | outbound, root@cloudstack-ubuntu:~# virsh dumpxml i-2-3-VM | egrep inbound|outbound inbound average='256' peak='256'/ outbound average='256' peak='256'/ However, the real

Re: Issue in accessing Windows and Linux VM

2013-12-25 Thread Kirk Kosinski
Hi, check the documentation for the hypervisor you are using with CloudStack. It will include the instructions to install the needed drivers. Best regards, Kirk On 12/09/2013 11:48 AM, jitendra shelar wrote: Hi All, Can someone please tell me how to add drivers to the windows VM created

Re: cloudstack network limitation

2013-12-25 Thread Kirk Kosinski
Hi, the rate limiting functionality is complicated. It can be affected by the type of network (shared or isolated), the direction of the traffic, the hypervisor running the instance or virtual router, the Network Offering for the network, the Compute Offering for the instance, the System Offering

RE: Issue in accessing Windows and Linux VM

2013-12-25 Thread Sanjeev Neelarapu
Hi Jitendra, If you have deployed vms in an isolated networks , acquire one IP address in the network in which vms have been deployed and configure PF/Statick Nat rule and assign the guest vms you want to accesss. Also allow the ports on which you want to access windows vm via RDP or linux vm

RE: [Doc] [4.3] Dynamic Compute Offering for Review

2013-12-25 Thread Prashant Kumar Mishra
Hi, Custom compute offerings can be used in following cases: 1-deploy vm 2-change CO of stop vm 3-change CO of running vms(scaling up) -In doc it is more specific to create vm Custom: If checked, the end-user must fill in the desired values for number of CPU cores, CPU MHz, and Memory

Re: Re: 两段public地址,怎么指定获取那段ip呢?

2013-12-25 Thread Royal Yang
我这边有一台虚拟机两个外网ip的,不嫌麻烦可以先在ip池子里点获取ip等获取到你想要的ip了再把其余的删掉。哈哈:-D如果想用两个外网ip就到vrouter上改iptables吧 2013-12-25 下午2:20于 ns500 ns...@sina.com写道: 嗯,这样可行,但是有的用户可能两段ip都要使用! 2013-12-25 ns500 发件人: Royal Yang 发送时间: 2013-12-25 13:56:17 收件人: users-cn 抄送: 主题: Re: 两段public地址,怎么指定获取那段ip呢? 你可以把pub

Re: Re: Re: 两段public地址,怎么指定获取那段ip呢?

2013-12-25 Thread ns500
我这边比较特殊,一段是4个c内网ip,一段是1个c的公网ip,好像比较怪,也是业务需求。 2013-12-25 ns500 发件人: Royal Yang 发送时间: 2013-12-25 16:35:33 收件人: users-cn 抄送: 主题: Re: Re: 两段public地址,怎么指定获取那段ip呢? 我这边有一台虚拟机两个外网ip的,不嫌麻烦可以先在ip池子里点获取ip等获取到你想要的ip了再把其余的删掉。哈哈:-D如果想用两个外网ip就到vrouter上改iptables吧 2013-12-25 下午2:20于 ns500

Vmware虚机导入问题

2013-12-25 Thread ns500
我通过qemu-img convert vmware.vmdk -O qcow2 kvm.qcow2得到了qcow2文件,注册成模板,然后建立虚机出现问题,centos4.*版本的没有问题,centos5.*的版本就出现报错了kernel panic - not syncing:Attempted to kill init! ,源Vmware已经卸载了tools工具。 2013-12-25 ns500