about openvswitch

2014-03-10 Thread Steven Liang
Hi,

I found from the document that we can use openvswitch instead of
traditional bridge.
Who can tell me the benefit using openvswitch?
I used basic zone, and I cannot read usage info. If I use openvswitch,
can I get usage info?
Thank you.

Regards,
Steven



Re: CS 4.2.1 Advanced network -- Guest IP range

2014-02-24 Thread Steven Liang

  
  
Thank you for updating, Daan.
  
  On 02/22/2014 05:11 AM, Daan Hoogland wrote:


  On Fri, Feb 21, 2014 at 11:27 PM, Steven Liang  wrote:

  


My Guest CIDR set to 10.1.1.0/24, when I created Advanced network mode CS.
After I added guest network 10.3.4.0/24, and used it on vms, it works.
But when I added guest network 192.168.20.0/24, it doesn't work.

  
  

You are probably using a released version of ACS. There was a bug
where higher ip adresses, above 128.0.0.0 where not recognised as vaid
ipv4 adresses. It should be solved in 4.3 and up.





-- 
  Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



CS 4.2.1 Advanced network -- Guest IP range

2014-02-21 Thread Steven Liang
Hi,

My Guest CIDR set to 10.1.1.0/24, when I created Advanced network mode CS.
After I added guest network 10.3.4.0/24, and used it on vms, it works.
But when I added guest network 192.168.20.0/24, it doesn't work.
Why?
Thank you.

Steven





Bug with creating volume?

2014-01-23 Thread Steven Liang
Hi All,

Is this a bug? When we created a volume, and we used sub domain id, but
it created on ROOT domain.

> create volume account=client-1-1 
> domainid=e688a532-18e1-4e20-9370-812a0ba5e143 name=aaa 
> diskofferingid=d58ba8b3-0c98-4126-a36d-98276568fdb3 
> zoneid=59c99ad6-1c2c-4c00-80db-6e7fd4c183f7


  accountid = a2687327-8577-4e8a-9f71-9faf167e7e77
cmd = org.apache.cloudstack.api.command.user.volume.CreateVolumeCmd
created = 2014-01-23T10:55:35-0500
jobid = f74b92c6-f9f4-4c66-9cf7-1debb83f8e3e
jobprocstatus = 0
jobresult:
volume:
name = aaa
id = e29c364e-9006-4a8d-9f59-7af0cafa8055
account = client-1-1
created = 2014-01-23T10:55:35-0500
destroyed = False
diskofferingdisplaytext = Medium Disk, 20 GB
diskofferingid = d58ba8b3-0c98-4126-a36d-98276568fdb3
diskofferingname = Medium
displayvolume = True
domain = ROOT
domainid = 398cc2d2-026b-4aca-9bc4-e646be8f2b73
isextractable = True
jobid = f74b92c6-f9f4-4c66-9cf7-1debb83f8e3e
jobstatus = 0
size = 21474836480
state = Allocated
storagetype = shared
tags:
type = DATADISK
zoneid = 59c99ad6-1c2c-4c00-80db-6e7fd4c183f7
zonename = Ontario, Canada
jobresultcode = 0
jobresulttype = object
jobstatus = 1
userid = 38b6ce50-8e39-4acb-aae4-1366bfaded19




Re: Urgent: ssvm lost

2014-01-10 Thread Steven Liang
Thank you for your reply. But I've destroyed ccvm and ssvm, they didn't
start again.

On 01/10/2014 07:39 PM, Nitin Mehta wrote:
> Run the health check script. I am guessing issues with your sec. storage
> or the agent connectivity issues
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Sec
> ondary+storage+troubleshooting
>
>
> On 10/01/14 3:49 PM, "Steven Liang"  wrote:
>
>> Hi All,
>>
>> I destroyed ssvm, and it did restart, it lost!
>> I found Secondary Storage's size is 0.00/KB/0.00KB, and SystemVM
>> Template is not ready.
>> Please help me.
>> Thank you.
>>
>> Steven



Urgent: ssvm lost

2014-01-10 Thread Steven Liang
Hi All,

I destroyed ssvm, and it did restart, it lost!
I found Secondary Storage's size is 0.00/KB/0.00KB, and SystemVM
Template is not ready.
Please help me.
Thank you.

Steven


Re: how to find or prevent customers using cs for spam and Brute-force attack purpose?

2014-01-08 Thread Steven Liang

  
  
basic zone.
  
  On 01/08/2014 04:02 PM, Sebastien Goasguen wrote:


  
On Jan 8, 2014, at 3:20 PM, Steven Liang  wrote:


  
Hi All,

I have a question.
How can we find or prevent customers using CS for spam and Brute-force
attack purpose?
If they do, how can we know which vms do bad things.
Thank you.

Steven

  
  basic or advanced zone ?






-- 
  Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



how to find or prevent customers using cs for spam and Brute-force attack purpose?

2014-01-08 Thread Steven Liang
Hi All,

I have a question.
How can we find or prevent customers using CS for spam and Brute-force
attack purpose?
If they do, how can we know which vms do bad things.
Thank you.

Steven


why there is no sshkeyenabled checkbox on register template on CS4.2?

2014-01-07 Thread Steven Liang
Hi All,

I can see the selection sshkeyenabled from cloudmonkey register template.
But I cannot see sshkeyenabled checkbox from GUI when I want to register
template.
Is this a bug?
Thank you.

Steven


Re: How to update dns server name

2013-12-30 Thread Steven Liang
Hi Dujun,

You can try to modify them in table data_center.

Steven

On 12/30/2013 09:41 AM, Du Jun wrote:
> Hi all,
> How can I update dns server name of Cloudstack? When we create a zone, we
> are required to add public dns server name and internal dns server name.
> And how can we update them after enabling zone? As one of my dns server
> could not work anymore. Can I update some tables of mysql database
> directly? Thanks!
> ps: I am the root of my cluster.
>
> --
> Best regards,
> DuJun
>




Does cloud_usage only work on advanced networking mode?

2013-12-20 Thread Steven Liang
Hi All,

I've installed CS4.2 with basic networking mode, and I cannot get
network usage(NETWORK_BYTES_SENT and NETWORK_BYTES_RECEIVED). But I can
get from my CS4.2 with advanced networking mode.
Who can tell me why? Thank you.

Regards,
Steven


Re: How to add new IPs on CS 4.2 (Basic Networking)?

2013-12-18 Thread Steven Liang

  
  
Hi Chiradeep,
  
  Thank you very much.
  My problem has been solved. The reason is the space of my temp
  primary storage had not enough.
  After I added a new primary storage, the new ips was able to be
  assigned.
  Thank you for your teaching me using Cloudmonkey.
  
  Regards,
  Steven
  
  
  
  On 12/17/2013 04:45 PM, Chiradeep Vittal wrote:


  
  Cloudmonkey is very user friendly. Just  if you
don't know the parameters
  
> list pods
count = 1
pod:
name = POD0
id = 83f13f18-7fa6-422b-be35-ecb8f4d75a9f
allocationstate = Enabled
endip = 172.16.15.200
gateway = 172.16.15.1
netmask = 255.255.255.0
startip = 172.16.15.2
zoneid = 640b7dff-c1a8-45d3-83b3-749614ae7225
zonename = Sandbox-simulator


> update pod 
allocationstate=  endip=            gateway=          id=  
              name=             netmask=          startip=      
   
> update pod startip=172.16.15.2 endip=172.16.15.202
  netmask=255.255.255.0 gateway=172.16.15.1
  id=83f13f18-7fa6-422b-be35-ecb8f4d75a9f
pod:
name = POD0
id = 83f13f18-7fa6-422b-be35-ecb8f4d75a9f
allocationstate = Enabled
endip = 172.16.15.202
gateway = 172.16.15.1
netmask = 255.255.255.0
startip = 172.16.15.2
zoneid = 640b7dff-c1a8-45d3-83b3-749614ae7225
zonename = Sandbox-simulator
  
  
  
  
  
  

      From: Steven Liang <stevenli...@yesup.com>
  Reply-To: "users@cloudstack.apache.org"
  <users@cloudstack.apache.org>
  Date: Tuesday, December
  17, 2013 12:24 PM
  To: "users@cloudstack.apache.org"
  <users@cloudstack.apache.org>
  Subject: Re: How to add
  new IPs on CS 4.2 (Basic Networking)?




  
Thank you, Chiradeep.
  I am not very familiar with cloudmonkey. Most time I just
  uses it for "list".
  Could you give me a example 'update pod'?
  Thank you.
  The following is the list of my two pods.
+--+--+--+-+--+---+--++--+
  |    endip | name |   startip    | allocationstate
  |    zoneid    |    netmask   
  |  id  |  gateway   |
  zonename |
+--+--+--+-+--+---+--++--+
  | 172.16.1.250 | pod1 | 172.16.1.230 | Enabled |
  eaf557a8-2710-42a0-8ae1-ccd262c3f29c | 255.255.255.0 |
  14de769a-16d6-4b4b-b4cd-6f088c5e1654 | 172.16.1.1 | zone1
  |
  | 172.16.2.250 | pod2 | 172.16.2.230 | Enabled |
  eaf557a8-2710-42a0-8ae1-ccd262c3f29c | 255.255.255.0 |
  cd558724-6a77-40fa-8df8-acd82f12911f | 172.16.2.1 | zone1
  |
+--+--+--+-+--+---+--++--+
  
  
  
  On 12/16/2013 07:19 PM, Chiradeep Vittal wrote:


  Steven, I assume you want to add ip addresses that are available to VMs.
I am also assuming that the IP for VMs is drawn from the pod ip range. In
that case, you can use the 'update pod' api with cloudmonkey.

On 12/16/13 1:44 PM, "Steven Liang"  wrote:


  
Hi James,

Thank you anyway.
But I don't understand what Mr. Chiradeep said.
I listed my pods using cloudmonkey, the two pods have the same netmask
and gateway(management ips).
What should I update? Please help me.
Thank you.

Steven



On 12/16/2013 04:35 PM, ogiljae wrote:


  Hi,

Sorry about confusing.
The way I wrote is for advanced network not basic zone.
I believe that you should stick to Mr. Chiradeep's guide.

James.


On 12/17/13, 6:29 AM, Steven Liang wrote:

  
Hi Giljae,

I can not read your picture, can you send me again?
BTW, I didn't set any vlans, you mean I must set vlan?
Thank you.

Steven

On 12/16/2013 04:24 PM, giljae o wrote:


  Hi,

You can add additional public ip addresses with the new vlan or
existing vlan on UI below.

Inline image 1


On Tue, Dec 17, 2013 at 5:

Re: How to add new IPs on CS 4.2 (Basic Networking)?

2013-12-17 Thread Steven Liang

  
  
Thank you, Chiradeep.
  I am not very familiar with cloudmonkey. Most time I just uses it
  for "list".
  Could you give me a example 'update pod'?
  Thank you.
  The following is the list of my two pods.
+--+--+--+-+--+---+--++--+
  |    endip | name |   startip    | allocationstate
  |    zoneid    |    netmask   
  |  id  |  gateway   | zonename |
+--+--+--+-+--+---+--++--+
  | 172.16.1.250 | pod1 | 172.16.1.230 | Enabled |
  eaf557a8-2710-42a0-8ae1-ccd262c3f29c | 255.255.255.0 |
  14de769a-16d6-4b4b-b4cd-6f088c5e1654 | 172.16.1.1 | zone1 |
  | 172.16.2.250 | pod2 | 172.16.2.230 | Enabled |
  eaf557a8-2710-42a0-8ae1-ccd262c3f29c | 255.255.255.0 |
  cd558724-6a77-40fa-8df8-acd82f12911f | 172.16.2.1 | zone1 |
+--+--+--+-+--+---+--++--+
  
  
  
  On 12/16/2013 07:19 PM, Chiradeep Vittal wrote:


  Steven, I assume you want to add ip addresses that are available to VMs.
I am also assuming that the IP for VMs is drawn from the pod ip range. In
that case, you can use the 'update pod' api with cloudmonkey.

On 12/16/13 1:44 PM, "Steven Liang"  wrote:


  
Hi James,

Thank you anyway.
But I don't understand what Mr. Chiradeep said.
I listed my pods using cloudmonkey, the two pods have the same netmask
and gateway(management ips).
What should I update? Please help me.
Thank you.

Steven



On 12/16/2013 04:35 PM, ogiljae wrote:


  Hi,

Sorry about confusing.
The way I wrote is for advanced network not basic zone.
I believe that you should stick to Mr. Chiradeep's guide.

James.


On 12/17/13, 6:29 AM, Steven Liang wrote:

  
Hi Giljae,

I can not read your picture, can you send me again?
BTW, I didn't set any vlans, you mean I must set vlan?
Thank you.

Steven

On 12/16/2013 04:24 PM, giljae o wrote:


  Hi,

You can add additional public ip addresses with the new vlan or
existing vlan on UI below.

Inline image 1


On Tue, Dec 17, 2013 at 5:27 AM, Steven Liang<stevenli...@yesup.com
>  wrote:

 Hi Chiradeep,

 Thank you for updating.
 I haven't tried. Can I use cloudmonkey? I've installed
 cloudmonkey, just
 used for "list".

 Steven


 On 12/16/2013 03:11 PM, Chiradeep Vittal wrote:
 >  Have you tried expanding your pod with
 >


http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/updatePod.
html
 >
 >  On 12/16/13 7:22 AM, "Steven Liang"<stevenli...@yesup.com
 >  wrote:
 >
 >>  Hi All,
 >>
 >>  I have a question. If I would use up my existing public
IPs(for
 example:
 >>  xxx.xxx.1.0/24), how to add new subnet(xxx.xxx.2.0/24) to my
 new pod?
 >>  Thank you.
 >>
 >>  Steven








  
  





  
  




-- 
  Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



Re: How to add new IPs on CS 4.2 (Basic Networking)?

2013-12-16 Thread Steven Liang
Hi James,

Thank you anyway.
But I don't understand what Mr. Chiradeep said.
I listed my pods using cloudmonkey, the two pods have the same netmask
and gateway(management ips).
What should I update? Please help me.
Thank you.

Steven



On 12/16/2013 04:35 PM, ogiljae wrote:
> Hi,
>
> Sorry about confusing.
> The way I wrote is for advanced network not basic zone.
> I believe that you should stick to Mr. Chiradeep's guide.
>
> James.
>
>
> On 12/17/13, 6:29 AM, Steven Liang wrote:
>> Hi Giljae,
>>
>> I can not read your picture, can you send me again?
>> BTW, I didn't set any vlans, you mean I must set vlan?
>> Thank you.
>>
>> Steven
>>
>> On 12/16/2013 04:24 PM, giljae o wrote:
>>> Hi,
>>>
>>> You can add additional public ip addresses with the new vlan or
>>> existing vlan on UI below.
>>>
>>> Inline image 1
>>>
>>>
>>> On Tue, Dec 17, 2013 at 5:27 AM, Steven Liang>> <mailto:stevenli...@yesup.com>>  wrote:
>>>
>>>  Hi Chiradeep,
>>>
>>>  Thank you for updating.
>>>  I haven't tried. Can I use cloudmonkey? I've installed
>>>  cloudmonkey, just
>>>  used for "list".
>>>
>>>  Steven
>>>
>>>
>>>  On 12/16/2013 03:11 PM, Chiradeep Vittal wrote:
>>>  >  Have you tried expanding your pod with
>>>  >
>>> 
>>> http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/updatePod.html
>>>  >
>>>  >  On 12/16/13 7:22 AM, "Steven Liang">>  <mailto:stevenli...@yesup.com>>  wrote:
>>>  >
>>>  >>  Hi All,
>>>  >>
>>>  >>  I have a question. If I would use up my existing public
>>> IPs(for
>>>  example:
>>>  >>  xxx.xxx.1.0/24), how to add new subnet(xxx.xxx.2.0/24) to my
>>>  new pod?
>>>  >>  Thank you.
>>>  >>
>>>  >>  Steven
>>>
>>>
>>>
>>
>>
>




Re: How to add new IPs on CS 4.2 (Basic Networking)?

2013-12-16 Thread Steven Liang
Hi Giljae,

I can not read your picture, can you send me again?
BTW, I didn't set any vlans, you mean I must set vlan?
Thank you.

Steven

On 12/16/2013 04:24 PM, giljae o wrote:
> Hi,
>
> You can add additional public ip addresses with the new vlan or
> existing vlan on UI below.
>
> Inline image 1
>
>
> On Tue, Dec 17, 2013 at 5:27 AM, Steven Liang  <mailto:stevenli...@yesup.com>> wrote:
>
> Hi Chiradeep,
>
> Thank you for updating.
> I haven't tried. Can I use cloudmonkey? I've installed
> cloudmonkey, just
> used for "list".
>
> Steven
>
>
> On 12/16/2013 03:11 PM, Chiradeep Vittal wrote:
> > Have you tried expanding your pod with
> >
> 
> http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/updatePod.html
> >
> > On 12/16/13 7:22 AM, "Steven Liang"  <mailto:stevenli...@yesup.com>> wrote:
> >
> >> Hi All,
> >>
> >> I have a question. If I would use up my existing public IPs(for
> example:
> >> xxx.xxx.1.0/24), how to add new subnet(xxx.xxx.2.0/24) to my
> new pod?
> >> Thank you.
> >>
> >> Steven
>
>
>




Re: How to add new IPs on CS 4.2 (Basic Networking)?

2013-12-16 Thread Steven Liang
Hi Chiradeep,

Thank you for updating.
I haven't tried. Can I use cloudmonkey? I've installed cloudmonkey, just
used for "list".

Steven


On 12/16/2013 03:11 PM, Chiradeep Vittal wrote:
> Have you tried expanding your pod with
> http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/updatePod.html
>
> On 12/16/13 7:22 AM, "Steven Liang"  wrote:
>
>> Hi All,
>>
>> I have a question. If I would use up my existing public IPs(for example:
>> xxx.xxx.1.0/24), how to add new subnet(xxx.xxx.2.0/24) to my new pod?
>> Thank you.
>>
>> Steven




How to add new IPs on CS 4.2 (Basic Networking)?

2013-12-16 Thread Steven Liang
Hi All,

I have a question. If I would use up my existing public IPs(for example:
xxx.xxx.1.0/24), how to add new subnet(xxx.xxx.2.0/24) to my new pod?
Thank you.

Steven


Re: how to add new public subnets to my cs(basic networking mode)

2013-12-14 Thread Steven Liang
Hi All,

I added a new subnet to a new pod. I think it should produce a new
vrouter, when I added new vms.
But it is not what I expect, my old ips on old pods almost exhaust, so I
worried.
Who can help me?
Thank you.

Steven


On 12/12/2013 02:39 PM, Steven Liang wrote:
> Hi Brandon,
>
> Thank you for your updating.
> I didn't use vlan, and I've added the new ip subnet to a new pod of my
> cs. After added some vms, there is no vms assign new ips. I need to
> configure vrouter manually?
> Thank you.
>
> Steven
>
>
> On 12/12/2013 12:27 PM, Brandon Arms wrote:
>> Here is the citrix answer:
>>
>> Extending your IP range
>> If you want to extend the range. You can add another IP range by clicking on 
>> Add IP Range and then specify the same network & VLAN settings, except 
>> specify the a new IP range in the same subnet. Do not overlap the existing 
>> public IP range.
>>
>> The issue I found is my current public ip range is limited by my current 
>> subnet mask.  For example, if your public range is something like this:
>> Gateway: 1.1.1.1
>> Netmask: 255.255.255.224
>> Vlan: 10
>> Startip: 1.1.1.2
>> endIP: 1.1.1.30
>>
>> I cannot extend my range as I only have 32 addresses available per my subnet 
>> mask, so the citrix solution is not an option.
>>
>> I assume the citrix solution is valid if you have something defined like 
>> this:
>> Gateway: 1.1.1.1
>> Netmask: 255.255.255.0
>> Vlan: 10
>> Startip: 1.1.1.2
>> endIP: 1.1.1.30
>>
>> now you have 256 possible ip addresses per your mask, but are only allowing 
>> a subset of those to be assigned.
>>
>> I think in my case, I would have to find where this information is kept in 
>> the DB, and modify my subnet mask first, and then proceed with extending via 
>> the citrix solution.  The other option is to just add another vlan/subnet 
>> for the system account to use versus trying to extend your current one.
>>
>> Brandon Arms
>> DSS
>>
>> -Original Message-
>> From: Steven Liang [mailto:stevenli...@yesup.com] 
>> Sent: Thursday, December 12, 2013 11:17 AM
>> To: users@cloudstack.apache.org
>> Subject: how to add new public subnets to my cs(basic networking mode)
>>
>> Hi everyone,
>>
>> Could you please tell me how to add new public subnets to my cs? Because my 
>> existing ips will exhausted.
>> Thank you.
>>
>> Regards,
>> Steven
>>
>>



Re: how to add new public subnets to my cs(basic networking mode)

2013-12-12 Thread Steven Liang

  
  
Hi Brandon,
  
  Thank you for your updating.
  I didn't use vlan, and I've added the new ip subnet to a new pod
  of my cs. After added some vms, there is no vms assign new ips. I
  need to configure vrouter manually?
  Thank you.
  
  Steven
  
  
  

  On 12/12/2013 12:27 PM, Brandon Arms wrote:


  Here is the citrix answer:

Extending your IP range
If you want to extend the range. You can add another IP range by clicking on Add IP Range and then specify the same network & VLAN settings, except specify the a new IP range in the same subnet. Do not overlap the existing public IP range.

The issue I found is my current public ip range is limited by my current subnet mask.  For example, if your public range is something like this:
Gateway: 1.1.1.1
Netmask: 255.255.255.224
Vlan: 10
Startip: 1.1.1.2
endIP: 1.1.1.30

I cannot extend my range as I only have 32 addresses available per my subnet mask, so the citrix solution is not an option.

I assume the citrix solution is valid if you have something defined like this:
Gateway: 1.1.1.1
Netmask: 255.255.255.0
Vlan: 10
Startip: 1.1.1.2
endIP: 1.1.1.30

now you have 256 possible ip addresses per your mask, but are only allowing a subset of those to be assigned.

I think in my case, I would have to find where this information is kept in the DB, and modify my subnet mask first, and then proceed with extending via the citrix solution.  The other option is to just add another vlan/subnet for the system account to use versus trying to extend your current one.

Brandon Arms
DSS

-Original Message-
From: Steven Liang [mailto:stevenli...@yesup.com] 
Sent: Thursday, December 12, 2013 11:17 AM
To: users@cloudstack.apache.org
Subject: how to add new public subnets to my cs(basic networking mode)

Hi everyone,

Could you please tell me how to add new public subnets to my cs? Because my existing ips will exhausted.
Thank you.

Regards,
Steven






-- 
  Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



how to add new public subnets to my cs(basic networking mode)

2013-12-12 Thread Steven Liang
Hi everyone,

Could you please tell me how to add new public subnets to my cs? Because
my existing ips will exhausted.
Thank you.

Regards,
Steven




Connection refused

2013-11-27 Thread Steven Liang
Hi All,

My cs version is 4.0, host servers use kvm.
When I run cloud-set-guest-password, it prompted me "Connecting to
xxx.xxx.xxx.xxx:8080... failed: Connection refused".
I checked the firewall, the port 8080 of vrouter is allowed access.
What is wrong with it?
Thank you.

Regards,
Steven


the question of upgrade from 4.0.x to 4.1.0

2013-11-26 Thread Steven Liang
Hi All,

I upgraded from cs 4.0 to 4.1 followed by
https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Release_Notes/upgrade-instructions.html#upgrade-from-4.0-to-4.1
When I did the step 7, I am confused. I just paste the "Security
adapters" at the end of file
/etc/cloudstack/management/componentsContext.xml as
http://pastebin.com/FkEdVCUb
Anyone can tell me if what I did is correct or not?
Thank you.

Regards,
Steven


Re: Who can tell me how to upgrade from cs4.0 to 4.2?

2013-11-25 Thread Steven Liang

  
  
Hi All,
  
  I did upgrade from cs 4.0 to 4.1 followed by release notes.
  I met issues when I did step 5. The below is from doc:
  After upgrading to 4.1, API clients are expected to send plain text passwords for login 
     and user creation, instead of MD5 hash. Incase, api client changes are not acceptable, 
     following changes are to be made for backward compatibility:
     Modify componentsContext.xml, and make PlainTextUserAuthenticator as the default 
     authenticator (1st entry in the userAuthenticators adapter list is default) 
     
      
      
        
          
        
        
        
          
        
      
  My question is the file name is componentsContext.xml or
  componentContext.xml.
  And where should I put this above, put it to the end of file?
  
  Thank you.
  
  Steven
  
  On 11/23/2013 11:46 PM, Ahmad Emneina wrote:


  Take a look at the 4.2 release notes. It should have steps to outline the
upgrade. I recommend going to 4.2.1 over 4.2


On Sat, Nov 23, 2013 at 8:14 PM, Steven Liang  wrote:


  
Hi All,

My CS is 4.0, I want to upgrade it to 4.2.
Could you please give me an idea?
Thank you.

Regards,
Steven


  
  




-- 
  Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



Re: Who can tell me how to upgrade from cs4.0 to 4.2?

2013-11-23 Thread Steven Liang
Thank you, Ahmad.

On 11/23/2013 11:46 PM, Ahmad Emneina wrote:
> Take a look at the 4.2 release notes. It should have steps to outline the
> upgrade. I recommend going to 4.2.1 over 4.2
>
>
> On Sat, Nov 23, 2013 at 8:14 PM, Steven Liang  wrote:
>
>> Hi All,
>>
>> My CS is 4.0, I want to upgrade it to 4.2.
>> Could you please give me an idea?
>> Thank you.
>>
>> Regards,
>> Steven
>>



Who can tell me how to upgrade from cs4.0 to 4.2?

2013-11-23 Thread Steven Liang
Hi All,

My CS is 4.0, I want to upgrade it to 4.2.
Could you please give me an idea?
Thank you.

Regards,
Steven


about LDAP

2013-11-06 Thread Steven Liang
Hi All,

I have a question. I have a LDAP server, can I set management server and
host servers as LDAP clients?
I don't know if it will affect or not.
Thank you.

Steven


Re: Usage Server is running but DB is empty

2013-09-19 Thread Steven Liang
Hi Niki,

I have the same issue. Could you share how to solve it?
Thank you.

Steven


On Thu, Sep 19, 2013 at 8:24 AM, Nikolay Kabadjov  wrote:

> Thanks Stanislav!
> The issue is solved.
>
> It was a matter of missing DB properties configuration.
>
> Regards,
> Niki
>
>
> 
>  From: Stanislav Petrov 
> To: users@cloudstack.apache.org
> Cc: Nikolay Kabadjov 
> Sent: Thursday, September 19, 2013 2:44 PM
> Subject: Re: Usage Server is running but DB is empty
>
>
> Hi,
>
> Check your db.properties file for access user credentials. This file is
> located at /etc/cloudstack/usage/db.properties.
>
>
> On Thu, Sep 19, 2013 at 1:48 PM, Harikrishna Patnala <
> harikrishna.patn...@citrix.com> wrote:
>
> > Hi,
> > Did you set the global configuration parameters related to this.
> > Link:
> >
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/configure-usage-server.html
> >
> > -Harikrishna
> >
> > On 19-Sep-2013, at 12:10 PM, Nikolay Kabadjov  wrote:
> >
> > > Hello,
> > > we've built a deb package for the usage server
> > cloudstack-usage_4.1.1-0.0.snapshot_all.deb,
> > > installed it and started the cloudstack-usage service.
> > > But it seems it is not working, I mean there are no logs in
> > /var/log/cloudstack/usage, all the tables in cloud_usage are empty.b
> > >
> > > Any ideas, how to troubleshoot it?
> > >
> > > Thanks and best regards,
> > > Niki
> >
> >
>
>
> --
> Поздрави,
> Станислав Петров
>


Re: who can explain cpu.overprovisioning.factor more detailed?

2013-09-18 Thread Steven Liang

  
  
Thank you for replying.
  I have another question. If there are only 8 core cpu on every
  hosts, can I assign 10 cpu to a vm?
  
  On 09/18/2013 01:31 PM, Daan Hoogland wrote:


  If you have 1G and a factor of 2, you van 
instantiate 2 machines with 1G. This is useful of you don't
expect all machines top be running art the dame time. 
  Regards, 
mobile biligual spell checker used
  Op 18 sep. 2013 17:54 schreef "Steven
    Liang" <stevenli...@yesup.com>
het volgende:

   Hi,

What is cpu.overprovisioning.factor use for?
Who can explain it more detailed?
Thank you.

    -- 
  Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  

  

    

-- 
  Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



who can explain cpu.overprovisioning.factor more detailed?

2013-09-18 Thread Steven Liang

  
  
Hi,

What is cpu.overprovisioning.factor use for?
Who can explain it more detailed?
Thank you.

-- 
  Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



Re: about os templates

2013-09-07 Thread Steven Liang

  
  
No, I didn't add it.
  Can you explain more detailed how to add it as "Other PV"?
  Thank you.
  
  On 09/06/2013 06:39 PM, Nux! wrote:

On 05.09.2013 20:45, Steven Liang wrote:
  
  Thank you very much.

I've tested. The CentOS 6 works, but FreeBSD doesn't work.

  
  
  Have you added it as "Other PV" as the README file instructs?
  
  
    
    

-- 
  Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



Re: about os templates

2013-09-05 Thread Steven Liang

  
  
Thank you very much.
  I've tested. The CentOS 6 works, but FreeBSD doesn't work.
  
  On 09/05/2013 03:07 PM, Nux! wrote:

On 05.09.2013 18:22, Steven Liang wrote:
  
  Hi guys,


I find there is only "CentOS 5.5(64-bit) no GUI (KVM)" OS
template on CS

4.0. Who can tell me the link of the others(such CentOS 6,
Debian etc.).

Thank you.


Regards,

Steven

  
  
  Hello,
  
  
  I have a few images for KVM here:
  
  http://li.nux.ro/download/cloudstack/images/
  
  



    -- 
  Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



about os templates

2013-09-05 Thread Steven Liang
Hi guys,

I find there is only "CentOS 5.5(64-bit) no GUI (KVM)" OS template on CS
4.0. Who can tell me the link of the others(such CentOS 6, Debian etc.).
Thank you.

Regards,
Steven



Re: 答复: Monitoring feature for CS

2013-08-15 Thread Steven Liang

  
  
Hi Jerry,
  
  Zenoss provides what you need. I recommend you to see 
  http://simonljb123.wordpress.com/2013/07/16/install-zenoss-core-4-2-3-on-centos-6-4/
  
  and 
http://simonljb123.wordpress.com/2013/07/18/how-to-install-cloudstack-zenpack-on-centos-6-4/
  
  Steven
  
  On 08/15/2013 05:25 AM, Jerry Jiang wrote:


  Thanks, Daan

What you are providing is monitoring the CS itself.

What I want is capturing the computing note's cpu(%), memory and vm's cpu,
and memory

Jerry


-邮件原件-
发件人: Daan Hoogland [mailto:daan.hoogl...@gmail.com] 
发送时间: 2013年8月15日 星期四 15:41
收件人: users@cloudstack.apache.org
主题: Re: Monitoring feature for CS

Do you want jconsole like functionality? java statsweb CS monitors its
availible resources which should be correct.
Next is monitorring availibility of all processes (and system vm's).
You would want to do this outside the system itself. for instance nagios?

Is this answerring the question you were asking?

regards,
Daan

On Thu, Aug 15, 2013 at 6:56 AM, Jerry Jiang  wrote:

  
Hi all,

Do you have any solution to implement monitoring feature for CS?

Jerry Jiang



  
  




-- 
      Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



Re: what is this log message?

2013-08-01 Thread Steven Liang

  
  
in /var/log/messages
  
  On 08/01/2013 05:52 PM, Chiradeep Vittal wrote:


  
  Where do you see this log? In CloudStack logs or in
/var/log/messages? Are there any surrounding logs?
  
  
  
  
  

  From: Steven Liang <stevenli...@yesup.com>
  Reply-To: "users@cloudstack.apache.org"
  <users@cloudstack.apache.org>
  Date: Thursday, August
  1, 2013 1:51 PM
  To: "users@cloudstack.apache.org"
  <users@cloudstack.apache.org>
  Subject: what is this
  log message?




  Hi,

Who can tell me what this message is:

2013-08-01 10:39:21 kvm1.test.com 1 10:39:21 kvm1
CGRE[3124]: Warning: invalid file format of
/proc/31088/status

Thank you.
    
      
Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com
| 
  account.yesup.com
  
  
  
    
  
    


-- 
  Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



what is this log message?

2013-08-01 Thread Steven Liang

  
  
Hi,

Who can tell me what this message is:

2013-08-01 10:39:21 kvm1.test.com 1 10:39:21 kvm1 CGRE[3124]:
Warning: invalid file format of /proc/31088/status

Thank you.

  
Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



Re: CPVM custom SSL location

2013-06-26 Thread Steven Liang

  
  
good question. i also want to know.
  
  On 06/26/2013 12:31 PM, David Comerford wrote:


  Hi,

Does anyone know where custom SSL certificates are stored on the console
proxy vm's?
Had a look in /etc/ssl/certs/ and /usr/local/cloud/certs/ but they only
contain the realhostip.com certs.

Thanks,
David Comerford





-- 
  Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



Re: Usage Records

2013-05-31 Thread Steven Liang

  
  
see this link
  https://issues.apache.org/jira/browse/CLOUDSTACK-721
  
  On 05/31/2013 05:21 AM, Enric Muñoz wrote:


  Hi all,

I'm using Cloudstack 4.0.2 and I have problems to see the usage records. I've already installed the usage server and it is running. I've also set the global settings from the UI enable.usage.server to true and the usage.stats.job.aggregation.range to 10 minutes in order to test the usage server. If I'm not wrong, the usage server should fill the cloud_usage database every ten minutes with the new usage records. However, the cloud_usage database is always empty. I have also tried to execute the generateUsageRecords and listUsageRecords API commands but no usage data appears. Anyone can help me to get the usage records??

Thank you in advance,

Enric





    -- 
  Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



Re: Reg: Moving CloudStack Management Server from one machine to another

2013-05-27 Thread Steven Liang

  
  

  Hi Geoff,

Can I use LVS to implement load balancer. If so, what ports should I use?

Regards,
Steven

  
  On 05/27/2013 03:24 AM, Geoff Higginbottom wrote:


  Nehal,

I would approach this in a slightly different way.

Set up your new management server but as a 2nd node rather than a replacement.  To do so you need to put a load balancer in front of both of them and update the global setting 'host' with the new load balanced IP.

After updating the 'host' setting and restarting the 'cloud-management' service on each, you will need to restart all system VMs so they use this new setting.

You should then add a 2nd MySQL server, initially as a slave and allow it to replicate, then 'fail over' making the slave the new master.  The docs detail how to deploy multiple MySQL servers and how to fail over.

Whilst this may seem like more work, we always deploy with at least two Management Servers and two MySQL servers as this provides better resilience makes performing planned maintenance much easier.

Regards

Geoff Higginbottom
CTO / Cloud Architect


D: +44(0)20 3603 0542 | S: +44(0)20 3603 0540 | M: +44(0)7968161581

geoff.higginbot...@shapeblue.com | www.shapeblue.com

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS



On 27 May 2013, at 06:25, "Nehal J. Wani" <nehaljw.k...@gmail.com> wrote:

Suppose I have only one management server and I want to take it down for
maintenance. What is the procedure to deploy the management server on a
different machine?

I tried the following on the new machine:

(i) Completed all the steps from Chapter 2 in the
Apache_CloudStack-4.0.2-Quick_Install_Guide-en-US.pdf

(ii) Copied all files from /etc/cloud, /usr/lib64/cloud, /var/lib/cloud
from the old machine to the new one.

(iii) Took dumps of the databases cloud, cloudbridge, cloud_usage from old
machine and then put them in the new machine.

(iv) Changed the ip in /etc/cloud/agent/agent.properties and
/etc/cloud/management/db.properties from 10.3.3.57 to 10.3.3.56


But i still get the error

2013-05-27 10:51:16,581 WARN  [agent.manager.ClusteredAgentManagerImpl]
(Job-Executor-2:job-93) Unable to connect to peer management server:
90520731198133, ip: 10.3.3.57 due to Connection refused
java.net.ConnectException: Connection refused
   at sun.nio.ch.Net.connect(Native Method)
   at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:525)
   at java.nio.channels.SocketChannel.open(SocketChannel.java:164)
   at
com.cloud.agent.manager.ClusteredAgentManagerImpl.connectToPeer(ClusteredAgentManagerImpl.java:442)
   at
com.cloud.agent.manager.ClusteredAgentAttache.send(ClusteredAgentAttache.java:172)
   at com.cloud.agent.manager.AgentAttache.send(AgentAttache.java:388)
   at
com.cloud.agent.manager.AgentManagerImpl.send(AgentManagerImpl.java:505)
   at
com.cloud.agent.manager.AgentManagerImpl.send(AgentManagerImpl.java:458)
   at
com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1079)
   at
com.cloud.vm.UserVmManagerImpl.stopVirtualMachine(UserVmManagerImpl.java:2804)
   at
com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:36)
   at com.cloud.api.commands.StopVMCmd.execute(StopVMCmd.java:119)
   at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
   at
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:432)
   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:679)

How to rectify this? How can I achieve my goal?

Thanking You,
Nehal J. Wani
UG2, BTech CS+MS(CL)
IIIT-Hyderabad
http://commanlinewani.blogspot.com
This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.





-- 
  Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



Re: Installation of Cloudstack 4.0 KVM Hypervisor Host with Onekey

2013-05-22 Thread Steven Liang

  
  
can you attach your script?
  
  On 05/22/2013 03:45 PM, Simon Liang wrote:


  Hi,

I wrote a script for Cloudstack 4.0 KVM Hypervisor Host installation.  This
will help shorten the installation process.  Here is the link to the script:

http://simonljb123.wordpress.com/2013/05/22/installation-of-cloudstack-4-0-kvm-hypervisor-host-with-onekey/

Simon





-- 
  Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com