Re: Alert state detected

2013-04-01 Thread Chiradeep Vittal
This would appear to be a known issue
https://issues.apache.org/jira/browse/CLOUDSTACK-668


On 4/1/13 3:24 PM, "Carlos Reategui"  wrote:

>The "Host Alerts" panel on the main GUI page always show my secondary
>storage NFS as "Alert state detected" but I have no idea why.
>
>In my logs it keeps saying it is ready to launch an SSVM:
>2013-04-02 03:46:10,049 DEBUG [agent.manager.DirectAgentAttache]
>(DirectAgent-130:null) Seq 1-1079905198: Executing request
>2013-04-02 03:46:10,570 DEBUG [agent.manager.DirectAgentAttache]
>(DirectAgent-130:null) Seq 1-1079905198: Response Received:
>2013-04-02 03:46:10,571 DEBUG [agent.transport.Request]
>(StatsCollector-1:null) Seq 1-1079905198: Received:  { Ans: , MgmtId:
>159090355471823, via: 1, Ver: v1, Flags: 10, { GetSto
>rageStatsAnswer } }
>2013-04-02 03:46:14,166 DEBUG
>[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
>is ready to launch secondary storage VM
>2013-04-02 03:46:14,314 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]
>(consoleproxy-1:null) Zone 1 is ready to launch console proxy
>2013-04-02 03:46:14,653 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
>(SnapshotPollTask:null) Snapshot scheduler.poll is being called at
>2013-04-01 22:16:14 GMT
>2013-04-02 03:46:14,655 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
>(SnapshotPollTask:null) Got 0 snapshots to be executed at 2013-04-01
>22:16:14 GMT
>2013-04-02 03:46:14,662 DEBUG
>[cloud.network.ExternalLoadBalancerUsageManagerImpl]
>(ExternalNetworkMonitor-1:null) External load balancer devices stats
>collector is running...
>2013-04-02 03:46:14,687 INFO  [cloud.ha.HighAvailabilityManagerImpl]
>(HA-5:null) checking health of usage server
>2013-04-02 03:46:14,689 DEBUG [cloud.ha.HighAvailabilityManagerImpl]
>(HA-5:null) usage server running? false, heartbeat: null
>2013-04-02 03:46:14,698 DEBUG
>[network.router.VirtualNetworkApplianceManagerImpl] (RouterMonitor-1:null)
>Found 0 running routers.
>2013-04-02 03:46:14,699 DEBUG
>[network.router.VirtualNetworkApplianceManagerImpl]
>(RouterStatusMonitor-1:null) Found 0 routers.
>2013-04-02 03:46:14,701 DEBUG [cloud.alert.AlertManagerImpl] (HA-5:null)
>Have already sent: 1 emails for alert type '12' -- skipping send email
>2013-04-02 03:46:16,290 DEBUG [agent.manager.AgentManagerImpl]
>(AgentManager-Handler-14:null) Ping from 3
>2013-04-02 03:46:22,037 DEBUG [agent.manager.AgentManagerImpl]
>(AgentManager-Handler-15:null) Ping from 4
>2013-04-02 03:46:44,166 DEBUG
>[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
>is ready to launch secondary storage VM
>2013-04-02 03:46:44,315 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]
>(consoleproxy-1:null) Zone 1 is ready to launch console proxy
>2013-04-02 03:46:44,632 DEBUG [cloud.alert.AlertManagerImpl]
>(CapacityChecker:null) Running Capacity Checker ...
>2013-04-02 03:46:44,632 DEBUG [cloud.alert.AlertManagerImpl]
>(CapacityChecker:null) recalculating system capacity
>2013-04-02 03:46:44,632 DEBUG [cloud.alert.AlertManagerImpl]
>(CapacityChecker:null) Executing cpu/ram capacity update
>2013-04-02 03:46:44,646 DEBUG [cloud.capacity.CapacityManagerImpl]
>(CapacityChecker:null) Found 4 VMs on host 1
>2013-04-02 03:46:44,647 DEBUG [cloud.capacity.CapacityManagerImpl]
>(CapacityChecker:null) Found 0 VM, not running on host 1
>2013-04-02 03:46:44,650 DEBUG [cloud.capacity.CapacityManagerImpl]
>(CapacityChecker:null) No need to calibrate cpu capacity, host:1 usedCpu:
>3500 reservedCpu: 0
>2013-04-02 03:46:44,650 DEBUG [cloud.capacity.CapacityManagerImpl]
>(CapacityChecker:null) No need to calibrate memory capacity, host:1
>usedMem: 5408555008 reservedMem: 0
>2013-04-02 03:46:44,651 DEBUG [cloud.alert.AlertManagerImpl]
>(CapacityChecker:null) Done executing cpu/ram capacity update
>2013-04-02 03:46:44,651 DEBUG [cloud.alert.AlertManagerImpl]
>(CapacityChecker:null) Executing storage capacity update
>2013-04-02 03:46:44,658 DEBUG [cloud.storage.StorageManagerImpl]
>(CapacityChecker:null) Successfully set Capacity - 422745128960 for
>capacity type - 9 , DataCenterId - 1, HostOrPo
>olId - 200, PodId 1
>2013-04-02 03:46:44,665 DEBUG [cloud.storage.StorageManagerImpl]
>(CapacityChecker:null) Successfully set Capacity - 15872695468032 for
>capacity type - 3 , DataCenterId - 1, HostOr
>PoolId - 201, PodId 1
>2013-04-02 03:46:44,665 DEBUG [cloud.alert.AlertManagerImpl]
>(CapacityChecker:null) Done executing storage capacity update
>2013-04-02 03:46:44,665 DEBUG [cloud.alert.AlertManagerImpl]
>(CapacityChecker:null) Executing capacity updates for public ip and Vlans
>2013-04-02 03:46:44,672 DEBUG [cloud.alert.AlertManagerImpl]
>(CapacityChecker:null) Done capacity updates for public ip and Vlans
>2013-04-02 03:46:44,673 DEBUG [cloud.alert.AlertManagerImpl]
>(CapacityChecker:null) Executing capacity updates for private ip
>2013-04-02 03:46:44,679 DEBUG [cloud.alert.AlertManagerImpl]
>(CapacityChecker:null) Done executing capacity updates for private ip
>2013-04-02 03:46:44,680 D

Re: Upgrade to 4.1

2013-04-01 Thread Carlos Reategui
On Mon, Apr 1, 2013 at 7:11 AM, Chip Childers wrote:

>
> Wido recently documented the upgrade process here:
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Ubuntu+upgrade+process
>
>
Thanks for the info.  I'll keep an eye on that page.


Alert state detected

2013-04-01 Thread Carlos Reategui
The "Host Alerts" panel on the main GUI page always show my secondary
storage NFS as "Alert state detected" but I have no idea why.

In my logs it keeps saying it is ready to launch an SSVM:
2013-04-02 03:46:10,049 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-130:null) Seq 1-1079905198: Executing request
2013-04-02 03:46:10,570 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-130:null) Seq 1-1079905198: Response Received:
2013-04-02 03:46:10,571 DEBUG [agent.transport.Request]
(StatsCollector-1:null) Seq 1-1079905198: Received:  { Ans: , MgmtId:
159090355471823, via: 1, Ver: v1, Flags: 10, { GetSto
rageStatsAnswer } }
2013-04-02 03:46:14,166 DEBUG
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
is ready to launch secondary storage VM
2013-04-02 03:46:14,314 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]
(consoleproxy-1:null) Zone 1 is ready to launch console proxy
2013-04-02 03:46:14,653 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
(SnapshotPollTask:null) Snapshot scheduler.poll is being called at
2013-04-01 22:16:14 GMT
2013-04-02 03:46:14,655 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
(SnapshotPollTask:null) Got 0 snapshots to be executed at 2013-04-01
22:16:14 GMT
2013-04-02 03:46:14,662 DEBUG
[cloud.network.ExternalLoadBalancerUsageManagerImpl]
(ExternalNetworkMonitor-1:null) External load balancer devices stats
collector is running...
2013-04-02 03:46:14,687 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-5:null) checking health of usage server
2013-04-02 03:46:14,689 DEBUG [cloud.ha.HighAvailabilityManagerImpl]
(HA-5:null) usage server running? false, heartbeat: null
2013-04-02 03:46:14,698 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl] (RouterMonitor-1:null)
Found 0 running routers.
2013-04-02 03:46:14,699 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 routers.
2013-04-02 03:46:14,701 DEBUG [cloud.alert.AlertManagerImpl] (HA-5:null)
Have already sent: 1 emails for alert type '12' -- skipping send email
2013-04-02 03:46:16,290 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-14:null) Ping from 3
2013-04-02 03:46:22,037 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-15:null) Ping from 4
2013-04-02 03:46:44,166 DEBUG
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
is ready to launch secondary storage VM
2013-04-02 03:46:44,315 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]
(consoleproxy-1:null) Zone 1 is ready to launch console proxy
2013-04-02 03:46:44,632 DEBUG [cloud.alert.AlertManagerImpl]
(CapacityChecker:null) Running Capacity Checker ...
2013-04-02 03:46:44,632 DEBUG [cloud.alert.AlertManagerImpl]
(CapacityChecker:null) recalculating system capacity
2013-04-02 03:46:44,632 DEBUG [cloud.alert.AlertManagerImpl]
(CapacityChecker:null) Executing cpu/ram capacity update
2013-04-02 03:46:44,646 DEBUG [cloud.capacity.CapacityManagerImpl]
(CapacityChecker:null) Found 4 VMs on host 1
2013-04-02 03:46:44,647 DEBUG [cloud.capacity.CapacityManagerImpl]
(CapacityChecker:null) Found 0 VM, not running on host 1
2013-04-02 03:46:44,650 DEBUG [cloud.capacity.CapacityManagerImpl]
(CapacityChecker:null) No need to calibrate cpu capacity, host:1 usedCpu:
3500 reservedCpu: 0
2013-04-02 03:46:44,650 DEBUG [cloud.capacity.CapacityManagerImpl]
(CapacityChecker:null) No need to calibrate memory capacity, host:1
usedMem: 5408555008 reservedMem: 0
2013-04-02 03:46:44,651 DEBUG [cloud.alert.AlertManagerImpl]
(CapacityChecker:null) Done executing cpu/ram capacity update
2013-04-02 03:46:44,651 DEBUG [cloud.alert.AlertManagerImpl]
(CapacityChecker:null) Executing storage capacity update
2013-04-02 03:46:44,658 DEBUG [cloud.storage.StorageManagerImpl]
(CapacityChecker:null) Successfully set Capacity - 422745128960 for
capacity type - 9 , DataCenterId - 1, HostOrPo
olId - 200, PodId 1
2013-04-02 03:46:44,665 DEBUG [cloud.storage.StorageManagerImpl]
(CapacityChecker:null) Successfully set Capacity - 15872695468032 for
capacity type - 3 , DataCenterId - 1, HostOr
PoolId - 201, PodId 1
2013-04-02 03:46:44,665 DEBUG [cloud.alert.AlertManagerImpl]
(CapacityChecker:null) Done executing storage capacity update
2013-04-02 03:46:44,665 DEBUG [cloud.alert.AlertManagerImpl]
(CapacityChecker:null) Executing capacity updates for public ip and Vlans
2013-04-02 03:46:44,672 DEBUG [cloud.alert.AlertManagerImpl]
(CapacityChecker:null) Done capacity updates for public ip and Vlans
2013-04-02 03:46:44,673 DEBUG [cloud.alert.AlertManagerImpl]
(CapacityChecker:null) Executing capacity updates for private ip
2013-04-02 03:46:44,679 DEBUG [cloud.alert.AlertManagerImpl]
(CapacityChecker:null) Done executing capacity updates for private ip
2013-04-02 03:46:44,680 DEBUG [cloud.alert.AlertManagerImpl]
(CapacityChecker:null) Done recalculating system capacity
2013-04-02 03:46:44,696 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 routers.
2013

ConsoleProxy not starting up

2013-04-01 Thread CK
Hi,
I am having a problem with the ConsoleProxy VM starting up, in the CS UI
the consoleproxy is showing as "Starting up" and remains in this state. I
have restarted the cloud-management service as well as the console VM on
the host, but still appears to be hung.

I am unable to restart or destroy the console VM in the UI, as no such
option.

Any help would be appreciated.

The CS management log shows the following:


2013-04-01 21:35:35,553 INFO  [utils.component.ComponentLocator]
(Thread-5:null) Asking ConsoleProxyAlert to shutdown.
2013-04-01 21:35:36,626 INFO  [utils.component.ComponentLocator]
(Thread-5:null) Asking Manager ConsoleProxyManager to shutdown.
2013-04-01 21:35:36,626 INFO  [cloud.consoleproxy.ConsoleProxyManagerImpl]
(Thread-5:null) Stop console proxy manager
2013-04-01 21:35:37,626 INFO  [utils.component.ComponentLocator]
(Thread-5:null) Skipping Manager ConsoleProxyManager because it is not in a
state to shutdown.
2013-04-01 21:35:47,256 DEBUG [utils.component.ComponentLocator]
(main:null) Looking for class
com.cloud.consoleproxy.ConsoleProxyBalanceAllocator
2013-04-01 21:35:47,257 INFO  [utils.component.ComponentLocator]
(main:null) Found component: com.cloud.consoleproxy.ConsoleProxyAllocator
in com.cloud.consoleproxy.ConsoleProxyBalanceAllocator - Balance
2013-04-01 21:35:47,333 DEBUG [utils.component.ComponentLocator]
(main:null) Looking for class com.cloud.alert.ConsoleProxyAlertAdapter
2013-04-01 21:35:47,334 INFO  [utils.component.ComponentLocator]
(main:null) Found component: com.cloud.alert.AlertAdapter in
com.cloud.alert.ConsoleProxyAlertAdapter - ConsoleProxyAlert
2013-04-01 21:35:47,518 INFO  [utils.component.ComponentLocator]
(main:null) Found component: com.cloud.vm.dao.ConsoleProxyDao in
com.cloud.vm.dao.ConsoleProxyDaoImpl - ConsoleProxyDao
2013-04-01 21:35:47,697 INFO  [utils.component.ComponentLocator]
(main:null) Found component: com.cloud.consoleproxy.ConsoleProxyManager in
com.cloud.consoleproxy.ConsoleProxyManagerImpl - ConsoleProxyManager
2013-04-01 21:35:47,697 INFO  [utils.component.ComponentLocator]
(main:null) Found component: com.cloud.consoleproxy.ConsoleProxyService in
com.cloud.consoleproxy.ConsoleProxyManagerImpl - ConsoleProxyManager
2013-04-01 21:35:50,355 INFO  [utils.component.ComponentLocator]
(main:null) Starting singleton DAO: ConsoleProxyDao
2013-04-01 21:35:52,284 INFO  [utils.component.ComponentLocator]
(main:null) Instantiating Adapter: ConsoleProxyAlert
2013-04-01 21:35:52,682 INFO  [utils.component.ComponentLocator]
(main:null) Instantiating Manager: ConsoleProxyManager
2013-04-01 21:35:52,937 DEBUG [utils.component.ComponentLocator]
(main:null) Injecting singleton Manager: ConsoleProxyManager
2013-04-01 21:35:53,364 INFO  [utils.component.ComponentLocator]
(main:null) Configuring singleton Manager: ConsoleProxyManager
2013-04-01 21:35:53,364 INFO  [cloud.consoleproxy.ConsoleProxyManagerImpl]
(main:null) Start configuring console proxy manager : ConsoleProxyManager
2013-04-01 21:35:53,364 INFO  [cloud.consoleproxy.ConsoleProxyManagerImpl]
(main:null) Console proxy max session soft limit : 50
2013-04-01 21:35:53,364 INFO  [cloud.consoleproxy.ConsoleProxyManagerImpl]
(main:null) Console proxy standby capacity : 10
2013-04-01 21:35:53,380 DEBUG [agent.manager.AgentManagerImpl] (main:null)
Registering listener ConsoleProxyListener with id 12
2013-04-01 21:35:53,383 INFO  [cloud.consoleproxy.ConsoleProxyManagerImpl]
(main:null) Console Proxy Manager is configured.
2013-04-01 21:35:53,511 INFO  [utils.component.ComponentLocator]
(main:null) Injecting singleton Adapter: ConsoleProxyAlert
2013-04-01 21:35:53,511 INFO  [utils.component.ComponentLocator]
(main:null) Configuring singleton Adapter: ConsoleProxyAlert
2013-04-01 21:35:53,511 INFO  [cloud.alert.ConsoleProxyAlertAdapter]
(main:null) Start configuring console proxy alert manager :
ConsoleProxyAlert
2013-04-01 21:35:53,838 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(main:null) Schedule vm for HA:  VM[ConsoleProxy|v-2-VM]
2013-04-01 21:35:53,880 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(main:null) Schedule vm for HA:  VM[ConsoleProxy|v-2-VM]
2013-04-01 21:35:53,886 INFO  [utils.component.ComponentLocator]
(main:null) Starting singleton Manager: ConsoleProxyManager
2013-04-01 21:35:53,886 INFO  [cloud.consoleproxy.ConsoleProxyManagerImpl]
(main:null) Start console proxy manager
2013-04-01 21:35:53,886 INFO  [utils.component.ComponentLocator]
(main:null) Started Manager: ConsoleProxyManager
2013-04-01 21:35:54,004 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-1:work-38) HA on VM[ConsoleProxy|v-2-VM]
2013-04-01 21:35:54,014 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-0:work-37) HA on VM[ConsoleProxy|v-2-VM]
2013-04-01 21:35:54,030 INFO  [utils.component.ComponentLocator]
(main:null) Starting singleton Adapter: ConsoleProxyAlert
2013-04-01 21:35:54,065 DEBUG [cloud.ha.CheckOnAgentInvestigator]
(HA-Worker-1:work-38) Unable to reach the agent for
VM[ConsoleProxy|v-2-VM]: R

RE: CloudStack and AD

2013-04-01 Thread Musayev, Ilya
There are several,

Take a look here, I think you can cherry-pick them if code base has not 
diverged much.

https://git-wip-us.apache.org/repos/asf?p=cloudstack.git&a=search&h=HEAD&st=commit&s=LDAP


-Original Message-
From: Francois Gaudreault [mailto:fgaudrea...@cloudops.com] 
Sent: Monday, April 01, 2013 2:14 PM
To: Musayev, Ilya
Cc: users@cloudstack.apache.org; Kirk Jantzer
Subject: Re: CloudStack and AD

Interesting.  Do you have the commit/s to cherry-pick around you? 
Otherwise, I'll make a search.

Thanks!

On 2013-04-01 2:00 PM, Musayev, Ilya wrote:
> Francois,
>
> Tiny suggestion - you can pull in the patch from master that has this 
> built into a gui, no need for API conifgs :)
>
> When I post CloudSand edition of CS publicly, it will have GUI integration as 
> well.
>
> Regards
> ilya
>
> -Original Message-
> From: Francois Gaudreault [mailto:fgaudrea...@cloudops.com]
> Sent: Monday, April 01, 2013 1:55 PM
> To: users@cloudstack.apache.org
> Cc: Kirk Jantzer
> Subject: Re: CloudStack and AD
>
> Will do if needed!
>
> Thanks for the pointer guys :) You just saved me a lot of time hehe ;)
>
> Francois
>
> On 2013-04-01 1:49 PM, Kirk Jantzer wrote:
>> Thanks David! Francois - ping me if you have any questions. Apologies 
>> I haven't submitted to have the documentation updated.
>>
>>
>> On Mon, Apr 1, 2013 at 1:45 PM, David Nalley  wrote:
>>
>>> On Mon, Apr 1, 2013 at 1:42 PM, Francois Gaudreault 
>>>  wrote:
 Hi,

 That might be a dumb question, but the documentation is not very 
 verbose about how the integration with AD works in CloudStack.  I 
 understand
>>> that we
 need to use the API for doing that, but the exact flow is not 
 documented
>>> (or
 I didn't see it) (e.g do we need to create users in CS first, and 
 then
>>> run
 the API call, etc). Can someone explain what we need to achieved or
>>> point us
 a wiki page with a (kinda) working howto?

 Thanks!!

>>> Hi Francois:
>>>
>>> Check out Kirk's blog post here:
>>>
>>> http://kirkjantzer.blogspot.com/2013/03/ldap-authentication-in-cloud
>>> s
>>> tack-v401.html
>>>
>>> If you are looking for something to automate the adding of users 
>>> from LDAP to ACS - check out the script in this blog post here:
>>> http://sysadminnotebook.blogspot.com/2012/03/cloudstack-ldap.html
>>>
>>> --David
>>>
>>
>
> --
> Francois Gaudreault
> Architecte de Solution Cloud | Cloud Solutions Architect 
> fgaudrea...@cloudops.com
> 514-629-6775
> - - -
> CloudOps
> 420 rue Guy
> Montréal QC  H3J 1S6
> www.cloudops.com
> @CloudOps_
>
>
>
>
>


--
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect 
fgaudrea...@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_





Re: CloudStack and AD

2013-04-01 Thread Francois Gaudreault
Interesting.  Do you have the commit/s to cherry-pick around you? 
Otherwise, I'll make a search.


Thanks!

On 2013-04-01 2:00 PM, Musayev, Ilya wrote:

Francois,

Tiny suggestion - you can pull in the patch from master that has this built 
into a gui, no need for API conifgs :)

When I post CloudSand edition of CS publicly, it will have GUI integration as 
well.

Regards
ilya

-Original Message-
From: Francois Gaudreault [mailto:fgaudrea...@cloudops.com]
Sent: Monday, April 01, 2013 1:55 PM
To: users@cloudstack.apache.org
Cc: Kirk Jantzer
Subject: Re: CloudStack and AD

Will do if needed!

Thanks for the pointer guys :) You just saved me a lot of time hehe ;)

Francois

On 2013-04-01 1:49 PM, Kirk Jantzer wrote:

Thanks David! Francois - ping me if you have any questions. Apologies
I haven't submitted to have the documentation updated.


On Mon, Apr 1, 2013 at 1:45 PM, David Nalley  wrote:


On Mon, Apr 1, 2013 at 1:42 PM, Francois Gaudreault
 wrote:

Hi,

That might be a dumb question, but the documentation is not very
verbose about how the integration with AD works in CloudStack.  I
understand

that we

need to use the API for doing that, but the exact flow is not
documented

(or

I didn't see it) (e.g do we need to create users in CS first, and
then

run

the API call, etc). Can someone explain what we need to achieved or

point us

a wiki page with a (kinda) working howto?

Thanks!!


Hi Francois:

Check out Kirk's blog post here:

http://kirkjantzer.blogspot.com/2013/03/ldap-authentication-in-clouds
tack-v401.html

If you are looking for something to automate the adding of users from
LDAP to ACS - check out the script in this blog post here:
http://sysadminnotebook.blogspot.com/2012/03/cloudstack-ldap.html

--David





--
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect 
fgaudrea...@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_








--
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect
fgaudrea...@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_



RE: CloudStack and AD

2013-04-01 Thread Musayev, Ilya
Francois,

Tiny suggestion - you can pull in the patch from master that has this built 
into a gui, no need for API conifgs :)

When I post CloudSand edition of CS publicly, it will have GUI integration as 
well.

Regards
ilya

-Original Message-
From: Francois Gaudreault [mailto:fgaudrea...@cloudops.com] 
Sent: Monday, April 01, 2013 1:55 PM
To: users@cloudstack.apache.org
Cc: Kirk Jantzer
Subject: Re: CloudStack and AD

Will do if needed!

Thanks for the pointer guys :) You just saved me a lot of time hehe ;)

Francois

On 2013-04-01 1:49 PM, Kirk Jantzer wrote:
> Thanks David! Francois - ping me if you have any questions. Apologies 
> I haven't submitted to have the documentation updated.
>
>
> On Mon, Apr 1, 2013 at 1:45 PM, David Nalley  wrote:
>
>> On Mon, Apr 1, 2013 at 1:42 PM, Francois Gaudreault 
>>  wrote:
>>> Hi,
>>>
>>> That might be a dumb question, but the documentation is not very 
>>> verbose about how the integration with AD works in CloudStack.  I 
>>> understand
>> that we
>>> need to use the API for doing that, but the exact flow is not 
>>> documented
>> (or
>>> I didn't see it) (e.g do we need to create users in CS first, and 
>>> then
>> run
>>> the API call, etc). Can someone explain what we need to achieved or
>> point us
>>> a wiki page with a (kinda) working howto?
>>>
>>> Thanks!!
>>>
>> Hi Francois:
>>
>> Check out Kirk's blog post here:
>>
>> http://kirkjantzer.blogspot.com/2013/03/ldap-authentication-in-clouds
>> tack-v401.html
>>
>> If you are looking for something to automate the adding of users from 
>> LDAP to ACS - check out the script in this blog post here:
>> http://sysadminnotebook.blogspot.com/2012/03/cloudstack-ldap.html
>>
>> --David
>>
>
>


--
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect 
fgaudrea...@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_





Re: CloudStack and AD

2013-04-01 Thread Francois Gaudreault

Will do if needed!

Thanks for the pointer guys :) You just saved me a lot of time hehe ;)

Francois

On 2013-04-01 1:49 PM, Kirk Jantzer wrote:

Thanks David! Francois - ping me if you have any questions. Apologies I
haven't submitted to have the documentation updated.


On Mon, Apr 1, 2013 at 1:45 PM, David Nalley  wrote:


On Mon, Apr 1, 2013 at 1:42 PM, Francois Gaudreault
 wrote:

Hi,

That might be a dumb question, but the documentation is not very verbose
about how the integration with AD works in CloudStack.  I understand

that we

need to use the API for doing that, but the exact flow is not documented

(or

I didn't see it) (e.g do we need to create users in CS first, and then

run

the API call, etc). Can someone explain what we need to achieved or

point us

a wiki page with a (kinda) working howto?

Thanks!!


Hi Francois:

Check out Kirk's blog post here:

http://kirkjantzer.blogspot.com/2013/03/ldap-authentication-in-cloudstack-v401.html

If you are looking for something to automate the adding of users from
LDAP to ACS - check out the script in this blog post here:
http://sysadminnotebook.blogspot.com/2012/03/cloudstack-ldap.html

--David







--
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect
fgaudrea...@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_



Re: CloudStack and AD

2013-04-01 Thread Kirk Jantzer
Thanks David! Francois - ping me if you have any questions. Apologies I
haven't submitted to have the documentation updated.


On Mon, Apr 1, 2013 at 1:45 PM, David Nalley  wrote:

> On Mon, Apr 1, 2013 at 1:42 PM, Francois Gaudreault
>  wrote:
> > Hi,
> >
> > That might be a dumb question, but the documentation is not very verbose
> > about how the integration with AD works in CloudStack.  I understand
> that we
> > need to use the API for doing that, but the exact flow is not documented
> (or
> > I didn't see it) (e.g do we need to create users in CS first, and then
> run
> > the API call, etc). Can someone explain what we need to achieved or
> point us
> > a wiki page with a (kinda) working howto?
> >
> > Thanks!!
> >
>
> Hi Francois:
>
> Check out Kirk's blog post here:
>
> http://kirkjantzer.blogspot.com/2013/03/ldap-authentication-in-cloudstack-v401.html
>
> If you are looking for something to automate the adding of users from
> LDAP to ACS - check out the script in this blog post here:
> http://sysadminnotebook.blogspot.com/2012/03/cloudstack-ldap.html
>
> --David
>



-- 
Regards,

Kirk Jantzer
c: (678) 561-5475


Re: CloudStack and AD

2013-04-01 Thread David Nalley
On Mon, Apr 1, 2013 at 1:42 PM, Francois Gaudreault
 wrote:
> Hi,
>
> That might be a dumb question, but the documentation is not very verbose
> about how the integration with AD works in CloudStack.  I understand that we
> need to use the API for doing that, but the exact flow is not documented (or
> I didn't see it) (e.g do we need to create users in CS first, and then run
> the API call, etc). Can someone explain what we need to achieved or point us
> a wiki page with a (kinda) working howto?
>
> Thanks!!
>

Hi Francois:

Check out Kirk's blog post here:
http://kirkjantzer.blogspot.com/2013/03/ldap-authentication-in-cloudstack-v401.html

If you are looking for something to automate the adding of users from
LDAP to ACS - check out the script in this blog post here:
http://sysadminnotebook.blogspot.com/2012/03/cloudstack-ldap.html

--David


CloudStack and AD

2013-04-01 Thread Francois Gaudreault

Hi,

That might be a dumb question, but the documentation is not very verbose 
about how the integration with AD works in CloudStack.  I understand 
that we need to use the API for doing that, but the exact flow is not 
documented (or I didn't see it) (e.g do we need to create users in CS 
first, and then run the API call, etc). Can someone explain what we need 
to achieved or point us a wiki page with a (kinda) working howto?


Thanks!!

--
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect
fgaudrea...@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_



Re: Cloudstack KVM Failing

2013-04-01 Thread Maurice Lawler
Kirk helped me resolve it, thank you though David! =) 

- Maurice


On Apr 1, 2013, at 12:18 PM, David Nalley  wrote:

> Can you show us qemu.conf?
> What interfaces is qemu's vnc listening on?
> 
> --David
> 
> On Mon, Apr 1, 2013 at 1:15 PM, Maurice Lawler  wrote:
>> I added 5900 + to ingress for that particular security profile, I would 
>> think that is how it would be done correct? I again restarted the proxy VM, 
>> yet and still I am unable to get the KVM to connect. The instances are fine, 
>> because I can access them via SSH without issue.
>> 
>> What would you suggest?
>> 
>> On Mar 31, 2013, at 12:36 AM, Marcus Sorensen  wrote:
>> 
>>> This looks like your console proxy VM isn't working. It could be firewall
>>> on the KVM host not allowing access to 5900+ anymore, or the consoleproxy
>>> VM may need to be restarted (system VM starting with "v"). Has it worked in
>>> the past?  You could try connecting to the instances with a vnc client to
>>> see if they are accessible, skipping console proxy.
>>> On Mar 30, 2013 10:40 PM, "Maurice Lawler"  wrote:
>>> 
 For some reason, I am unsure of the issue; attempting to review the KVM of
 any instance times out:
 
 cloudstack realhostip.com took too long to respond
 
 Has anyone encountered this error and how can it be corrected?
 
 Thanks,
 Maurice
>> 



Re: Cloudstack KVM Failing

2013-04-01 Thread Maurice Lawler
Kirk,

You're awesome! That solved the problem. I destroyed it CS re-created it and 
presto! The KVM is working again.

 Thanks a ton!

- Maurice
On Mar 31, 2013, at 10:47 PM, Kirk Kosinski  wrote:

> The error from your browser indicates it cannot reach the web server
> that should be running on the public IP of the console proxy VM.  Check
> if the CPVM is running, and if so log on to it[1] and look for a java
> process listening on 443/tcp[2].  If there is a problem with this,
> stop/start the CPVM through CloudStack, and if that doesn't help,
> destroy and recreate it.
> 
> If the CPVM is running and listing on 443/tcp, but it is not accessible,
> there may be a firewall or routing problem in your network preventing
> your desktop from reaching the CPVM.
> 
> Best regards,
> Kirk
> 
> [1] https://cwiki.apache.org/CLOUDSTACK/ssvm-troubleshooting.html
> [2] netstat -plnt|grep 443
> 
> On 03/31/2013 07:30 AM, Maurice Lawler wrote:
>> Yes, it has worked before. I will attempt to add port 5900. Is that the only 
>> port for KVM, i have also restarted it too. 
>> 
>> Marcus Sorensen  wrote:
>> 
>>> This looks like your console proxy VM isn't working. It could be firewall
>>> on the KVM host not allowing access to 5900+ anymore, or the consoleproxy
>>> VM may need to be restarted (system VM starting with "v"). Has it worked in
>>> the past?  You could try connecting to the instances with a vnc client to
>>> see if they are accessible, skipping console proxy.
>>> On Mar 30, 2013 10:40 PM, "Maurice Lawler"  wrote:
>>> 
 For some reason, I am unsure of the issue; attempting to review the KVM of
 any instance times out:
 
 cloudstack realhostip.com took too long to respond
 
 Has anyone encountered this error and how can it be corrected?
 
 Thanks,
 Maurice



Re: Cloudstack KVM Failing

2013-04-01 Thread David Nalley
Can you show us qemu.conf?
What interfaces is qemu's vnc listening on?

--David

On Mon, Apr 1, 2013 at 1:15 PM, Maurice Lawler  wrote:
> I added 5900 + to ingress for that particular security profile, I would think 
> that is how it would be done correct? I again restarted the proxy VM, yet and 
> still I am unable to get the KVM to connect. The instances are fine, because 
> I can access them via SSH without issue.
>
> What would you suggest?
>
> On Mar 31, 2013, at 12:36 AM, Marcus Sorensen  wrote:
>
>> This looks like your console proxy VM isn't working. It could be firewall
>> on the KVM host not allowing access to 5900+ anymore, or the consoleproxy
>> VM may need to be restarted (system VM starting with "v"). Has it worked in
>> the past?  You could try connecting to the instances with a vnc client to
>> see if they are accessible, skipping console proxy.
>> On Mar 30, 2013 10:40 PM, "Maurice Lawler"  wrote:
>>
>>> For some reason, I am unsure of the issue; attempting to review the KVM of
>>> any instance times out:
>>>
>>> cloudstack realhostip.com took too long to respond
>>>
>>> Has anyone encountered this error and how can it be corrected?
>>>
>>> Thanks,
>>> Maurice
>


Re: Cloudstack KVM Failing

2013-04-01 Thread Maurice Lawler
I added 5900 + to ingress for that particular security profile, I would think 
that is how it would be done correct? I again restarted the proxy VM, yet and 
still I am unable to get the KVM to connect. The instances are fine, because I 
can access them via SSH without issue.

What would you suggest?

On Mar 31, 2013, at 12:36 AM, Marcus Sorensen  wrote:

> This looks like your console proxy VM isn't working. It could be firewall
> on the KVM host not allowing access to 5900+ anymore, or the consoleproxy
> VM may need to be restarted (system VM starting with "v"). Has it worked in
> the past?  You could try connecting to the instances with a vnc client to
> see if they are accessible, skipping console proxy.
> On Mar 30, 2013 10:40 PM, "Maurice Lawler"  wrote:
> 
>> For some reason, I am unsure of the issue; attempting to review the KVM of
>> any instance times out:
>> 
>> cloudstack realhostip.com took too long to respond
>> 
>> Has anyone encountered this error and how can it be corrected?
>> 
>> Thanks,
>> Maurice



Re: Unable to install CloudStack 4.0 (build 140) on vSphere5.1 using burbank-systemvm-08012012.ova

2013-04-01 Thread Ahmad Emneina
Take a look at http://cloudstack.apache.org/downloads.html, use the repo for 
centOS as stated here:

Getting CloudStack from a Package Repository
For easier installation or upgrades, the official source code release has been 
supplemented by community members who have chosen to provide package 
repositories.

DEB package repository: http://cloudstack.apt-get.eu/ubuntu
RPM package repository: http://cloudstack.apt-get.eu/rhel/4.0/
Instructions for using these community provided repositories can be found in 
the Configure package repositorysection of the Installation Guide.

Then do the following, based on your os:
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.0-incubating/html/Installation_Guide/configure-package-repository.html

I disable gpgcheck (gpgcheck=0) and skip the key import step. I'm pretty sure 
Dave Nalley just facepalmed in my general direction.

Ahmad

On Apr 1, 2013, at 9:03 AM, "DogPatch06"  wrote:

> Hi,
> 
> I have a litle problem, because i dont know how to download the latest 
> CloudStack release from the Apache CloudStack project download page, like the 
> manual says in poit 3.1 and install it.
> I have the CentOS virtual machine mount with the default settings, and 
> already made the updates that he ask from repository of the CentOS.
> I im from Portugal, and like you are see i dont have many experience with 
> Open Source.
> 
> Regards,
> 
> Carlos
>  
>> - Original Message -
>> From: DogPatch06
>> Sent: 03/31/13 03:33 PM
>> To: users@cloudstack.apache.org
>> Subject: RE: Unable to install CloudStack 4.0 (build 140) on vSphere5.1 
>> using burbank-systemvm-08012012.ova
>>  
>> Hi, 
>> Thanks for your reply Ahmad, 
>> I have few workstations working with CentOS too. 
>> I have available 3 servers with VMware ESXi installed to start work with 
>> CloudStack . 
>> Can anyone advise what I should I start to install first and what are the 
>> next steps ? 
>> 
>> Regards, 
>> 
>> Carlos  
>> 
>> -Original Message- 
>> From: Ahmad Emneina [mailto:aemne...@gmail.com] 
>> Sent: domingo, 31 de Março de 2013 14:20 
>> To: DogPatch06 
>> Cc:  
>> Subject: Re: Unable to install CloudStack 4.0 (build 140) on vSphere5.1 
>> using burbank-systemvm-08012012.ova 
>> 
>> I'm personally comfortable with centOS, I believe there is a sizeable Ubuntu 
>> user base. Your cloudstack management server can run within a vm. Just make 
>> sure the hypervisor it resides on wont be under the control of cloudstack. 
>> 
>> Help is what we're here for, feel free to post more questions if you get 
>> stuck or need advice. 
>> 
>> Ahmad 
>> 
>> On Mar 31, 2013, at 5:50 AM, "DogPatch06"  wrote: 
>> 
>> > Hi Ahmad Emneina, 
>> > 
>> > I have read the document, but before I start the Management Server 
>> > Installation, I need to have installed an OS. 
>> > Witch OS do you advise, and should I install on a virtual machine 
>> > inside the vmware ESXi, or I should install the OS direct in the hardeware 
>> > server. 
>> > Like I said I'm new to CloudStack, that’s why I'm having some mutch 
>> > difficulties in this. 
>> > I need all your help. 
>> > 
>> > Regards, 
>> > 
>> > Carlos 
>> > 
>> > -Original Message- 
>> > From: Ahmad Emneina [mailto:aemne...@gmail.com] 
>> > Sent: sábado, 30 de Março de 2013 17:11 
>> > To: Cloudstack users mailing list 
>> > Subject: Re: Unable to install CloudStack 4.0 (build 140) on 
>> > vSphere5.1 using burbank-systemvm-08012012.ova 
>> > 
>> > Hey Carlos... Thats not really how to install cloudstack. cloudstack 
>> > uses the system vm's for various distributed utilities... you need to 
>> > get a hold of the cloudstack software install it on a separate host, 
>> > then add the various resources (compute, networking, storage...) to 
>> > cloudstack. 
>> > 
>> > I dont actually see anywhere in that 'guide' as to how to install 
>> > cloudstack. It just addresses configuring cloudstack. Take a look at 
>> > this section of the install guide and let us know if you make further 
>> > progress: 
>> > 
>> > https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.1-incub 
>> > ating/ html/Installation_Guide/management-server-install-flow.html 
>> > 
>> > 
>> > On Fri, Mar 29, 2013 at 4:17 PM, DogPatch06  wrote: 
>> > 
>> >> Hi, 
>> >> 
>> >> The tutorial tha im using is in this link: 
>> >> 
>> >> https://cwiki.apache.org/CLOUDSTACK/cloudstack-advanced-network-tutor 
>> >> i 
>> >> al-ste 
>> >> p-by-step.html 
>> >> I just download the  burbank-systemvm-08012012.ova file and import to 
>> >> VMware vSphere 5.1. 
>> >> After the import, I power on the machine and in the console view the 
>> >> apache give error, and couldn’t start. 
>> >> 
>> >> Regards, 
>> >> Carlos 
>> >> 
>> >> -Original Message- 
>> >> From: Musayev, Ilya [mailto:imusa...@webmd.net] 
>> >> Sent: sexta-feira, 29 de Março de 2013 23:07 
>> >> To: users@cloudstack.apache.org; aemne...@gmail.com 
>> >> Subject: RE: Unable to install CloudStack 4.0 (build 140) on 
>

RE: Unable to install CloudStack 4.0 (build 140) on vSphere5.1 using burbank-systemvm-08012012.ova

2013-04-01 Thread DogPatch06
Hi,

I have a litle problem, because i dont know how to download the latest 
CloudStack release from the Apache CloudStack project download page, like the 
manual says in poit 3.1 and install it.
I have the CentOS virtual machine mount with the default settings, and already 
made the updates that he ask from repository of the CentOS.
I im from Portugal, and like you are see i dont have many experience with Open 
Source.

Regards,

Carlos
- Original Message -
From: DogPatch06
Sent: 03/31/13 03:33 PM
To: users@cloudstack.apache.org
Subject: RE: Unable to install CloudStack 4.0 (build 140) on vSphere5.1 using 
burbank-systemvm-08012012.ova

Hi, Thanks for your reply Ahmad, I have few workstations working with CentOS 
too. I have available 3 servers with VMware ESXi installed to start work with 
CloudStack . Can anyone advise what I should I start to install first and what 
are the next steps ? Regards, Carlos -Original Message- From: Ahmad 
Emneina [mailto:aemne...@gmail.com] Sent: domingo, 31 de Março de 2013 14:20 
To: DogPatch06 Cc:  Subject: Re: Unable to install 
CloudStack 4.0 (build 140) on vSphere5.1 using burbank-systemvm-08012012.ova 
I'm personally comfortable with centOS, I believe there is a sizeable Ubuntu 
user base. Your cloudstack management server can run within a vm. Just make 
sure the hypervisor it resides on wont be under the control of cloudstack. Help 
is what we're here for, feel free to post more questions if you get stuck or 
need advice. Ahmad On Mar 31, 2013, at 5:50 AM, "DogPatch06" 
 wrote: > Hi Ahmad Emneina, > > I have read the document, 
but 
 before I start the Management Server > Installation, I need to have installed 
an OS. > Witch OS do you advise, and should I install on a virtual machine > 
inside the vmware ESXi, or I should install the OS direct in the hardeware 
server. > Like I said I'm new to CloudStack, that’s why I'm having some mutch > 
difficulties in this. > I need all your help. > > Regards, > > Carlos > > 
-Original Message- > From: Ahmad Emneina [mailto:aemne...@gmail.com] > 
Sent: sábado, 30 de Março de 2013 17:11 > To: Cloudstack users mailing list > 
Subject: Re: Unable to install CloudStack 4.0 (build 140) on > vSphere5.1 using 
burbank-systemvm-08012012.ova > > Hey Carlos... Thats not really how to install 
cloudstack. cloudstack > uses the system vm's for various distributed 
utilities... you need to > get a hold of the cloudstack software install it on 
a separate host, > then add the various resources (compute, networking, 
storage...) to cloudstack. > > I dont actually see anywhere in that 'gu
 ide' as to how to install > cloudstack. It just addresses configuring 
cloudstack. Take a look at > this section of the install guide and let us know 
if you make further progress: > > 
https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.1-incub > ating/ 
html/Installation_Guide/management-server-install-flow.html > > > On Fri, Mar 
29, 2013 at 4:17 PM, DogPatch06  wrote: > >> Hi, >> >> The 
tutorial tha im using is in this link: >> >> 
https://cwiki.apache.org/CLOUDSTACK/cloudstack-advanced-network-tutor >> i >> 
al-ste >> p-by-step.html >> I just download the burbank-systemvm-08012012.ova 
file and import to >> VMware vSphere 5.1. >> After the import, I power on the 
machine and in the console view the >> apache give error, and couldn’t start. 
>> >> Regards, >> Carlos >> >> -Original Message- >> From: Musayev, 
Ilya [mailto:imusa...@webmd.net] >> Sent: sexta-feira, 29 de Março de 2013 
23:07 >> To: users@cloudstack.apache.org; aemne...@gmail.com >> Su
 bject: RE: Unable to install CloudStack 4.0 (build 140) on >> vSphere5.1 using 
burbank-systemvm-08012012.ova >> >> The typical issue in these cases - judging 
by previous email threads: >> >> Please confirm you are using non-distributed 
switches in vSphere as >> ACS 4.0 does not support DVS. >> - The ACS4.2 will 
support DVS - but slated release date is in june. >> - There is also custom 
version of ACS41 with DVS support and other >> vmware specific features - it 
will be released after ACS4.1 is >> officially out - hopefully in a week or 
two. >> >> Please confirm that "Management Network" portgroup on vSwitch0 
exists. >> If name is different, please alter it under global settings. Use >> 
"vmware" as filter in Global Settings and it should come up. >> Please confirm 
vSwitch0 exists (or alternatively define different >> vSwitch in traffic label 
- as described in the guide). >> >> Last but not least, logs are very helpful, 
it just takes a bit of >> time to get use to the format and error
  messages - probably not an >> easy read for new comer. >> >> Regards >> ilya 
>> >> >>> -Original Message- >>> From: Ahmad Emneina 
[mailto:aemne...@gmail.com] >>> Sent: Friday, March 29, 2013 6:56 PM >>> To: 
Cloudstack users mailing list >>> Subject: Re: Unable to install CloudStack 4.0 
(build 140) on >>> vSphere5.1 using burbank-systemvm-08012012.ova >>> >>> c

Re: Upgrade to 4.1

2013-04-01 Thread Chip Childers
On Fri, Mar 29, 2013 at 04:13:35PM -0700, Carlos Reategui wrote:
> I decided to give 4.1 a try and after building from source and doing a
> "dpkg-buildpackage -uc -us", the ubuntu packages that were built were
> cloudstack-* instead of cloud-*.  I don't know much about dpkg, but will
> that work when doing an "apt-get upgrade"?  Will it know to replace the
> cloud-* packages with the new consolidated cloudstack-* packages?
> 

Wido recently documented the upgrade process here:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Ubuntu+upgrade+process

> 
> On Tue, Mar 26, 2013 at 5:15 PM, David Nalley  wrote:
> 
> > It's a bug if it isn't.
> >
> > --David
> >
> > On Tue, Mar 26, 2013 at 8:09 PM, Carlos Reategui 
> > wrote:
> > > Just curious if the update to 4.1 will be as simple as:
> > > apt-get upgrade
> >


Re: Can't Delete Physical Network

2013-04-01 Thread Murali Reddy
Check op_dc_vnet_alloc table, there should be not any entries left for the 
physical network Id.

From: niz mailto:n...@chinanetcenter.com>>
Reply-To: "users@cloudstack.apache.org" 
mailto:users@cloudstack.apache.org>>, 
"n...@chinanetcenter.com" 
mailto:n...@chinanetcenter.com>>
Date: Monday, 1 April 2013 2:00 PM
To: users mailto:users@cloudstack.apache.org>>
Subject: Can't Delete Physical Network

The Physical Network is not deletable because there are allocated vnets for 
this physical network

I have deleted all the networks and IP resources, but can not delete this 
physical network, what's the problem?

2013-04-01

倪珍 综合管理部
网宿科技股份有限公司厦门分公司


Tel: 0592-5520608-8022
Fax:0592-5520515
E-mail:n...@chinanetcenter.com
http://www.chinanetcenter.com

[说明: 说明: LOGO small]

分公司:北京-上海-广州-深圳
免费咨询:800-816-8777
卓越的互联网业务平台提供商







Can't Delete Physical Network

2013-04-01 Thread niz
The Physical Network is not deletable because there are allocated vnets for 
this physical network

I have deleted all the networks and IP resources, but can not delete this 
physical network, what's the problem?

2013-04-01 



倪珍  综合管理部
网宿科技股份有限公司 厦门分公司  

Tel: 0592-5520608-8022
Fax:0592-5520515
E-mail:n...@chinanetcenter.com
http://www.chinanetcenter.com分公司:北京-上海-广州-深圳
免费咨询:800-816-8777
卓越的互联网业务平台提供商


 
  


Re: Backup and restore doubts

2013-04-01 Thread Rohit Yadav
2013/3/29 Joaquin Angel Alonso Alvarez 

>  Hi there,
>
> ** **
>
> If for whatever reason one of the virtual routers VM is destroyed,
> Cloudstack will restart it again with all the rules intact? Are the virtual
> router configurations saved on the DB so if I restore a previous copy of
> the DB the VR is back with the rules at that point?
>

Yes, rules will be intact and they are stored in the DB. Provided your
physical deployment, routes, IPs, hosts, etc. are there as in the DB that
would work.


> 
>
> Same with the customer instances, are the configurations saved onto the DB
> and is it possible to restore a backup and then apply the snapshots to get
> the VM on a previous state?
>

Yes, that could work but I know ten ways why and how that would fail. I
know people who have been doing a lot of recovery by
directly manipulating the database which works for them but it's not
advised.


> I´ve notice that if I create a VM from the hypervisor CS will delete it,
> so I suppose if the VM details are on the DB and the VM is recovered from a
> backup will not be deleted, is that right?
>

Not sure, but if you a backup image, import it as a template and deploy
using it.

Cheers.


> 
>
> ** **
>
> Thanks in advance,
>
> 
>
> *Joaquín Angel Alonso Alvarez* 
>
> Administrador de Sistemas
> Infraestructuras y Sistemas
> Tel: +34 902932900
> jalo...@izertis.com 
>
> [image: Izertis] 
>
> Parque Científico - Tecnológico, Zona Intra
> Avda. del Jardín Botánico 1345 - 33203 Gijón (Asturias)
> Tel: +34 902 932 400 | Fax: +34 902 932 401
> www.izertis.com   [image: 
> rss]
> [image: facebook] 
> [image: twitter]   [image: 
> linkedin]
> [image: youtube]   
>
> ** **
>
> [image: arbol]Antes de imprimir este email piense si es necesario
> hacerlo. Proteger el medio ambiente está también en su mano. 
>
> AVISO LEGAL 
>
> Le informamos, como destinatario de este mensaje que el mismo va dirigido,
> de manera exclusiva, a su destinatario y contiene información confidencial
> y sujeta al secreto profesional, cuya divulgación no está permitida por la
> ley. Si Vd. no es el destinatario indicado, se le informa de que cualquier
> forma de distribución, reproducción o uso de esta comunicación y/o de la
> información contenida en la misma están estrictamente prohibidos y podría
> ser ilegal. Si Vd. ha recibido esta comunicación por error, por favor,
> notifíquelo inmediatamente al remitente contestando a este mensaje y
> proceda a continuación a destruirlo. 
>
>   
>
> ** **
>