Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C652FCA4E for ; Wed, 6 Jun 2012 18:11:09 +0000 (UTC) Received: (qmail 73354 invoked by uid 500); 6 Jun 2012 18:11:09 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 73326 invoked by uid 500); 6 Jun 2012 18:11:09 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 73310 invoked by uid 99); 6 Jun 2012 18:11:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2012 18:11:09 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Alena.Prokharchyk@citrix.com designates 66.165.176.63 as permitted sender) Received: from [66.165.176.63] (HELO SMTP02.CITRIX.COM) (66.165.176.63) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2012 18:10:34 +0000 X-IronPort-AV: E=Sophos;i="4.75,725,1330923600"; d="scan'208";a="197763043" Received: from sjcpmailmx02.citrite.net ([10.216.14.75]) by FTLPIPO02.CITRIX.COM with ESMTP/TLS/RC4-MD5; 06 Jun 2012 14:10:05 -0400 Received: from SJCPMAILBOX01.citrite.net ([10.216.4.72]) by SJCPMAILMX02.citrite.net ([10.216.14.75]) with mapi; Wed, 6 Jun 2012 11:10:03 -0700 From: Alena Prokharchyk To: "cloudstack-users@incubator.apache.org" Date: Wed, 6 Jun 2012 11:10:37 -0700 Subject: Re: Change network offering on Shared network Thread-Topic: Change network offering on Shared network Thread-Index: Ac1ED5e7+Bf6VdpcSAumyzUOgKbTrg== Message-ID: In-Reply-To: <5E3DCAE61C95FA4397679425D7275D2673483EE9F8@HQ-MX03.us.teo.earth> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.0.120402 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org On 6/6/12 11:05 AM, "de Jong, Mark-Jan" wrote: >> -----Original Message----- >> From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com] >> Sent: Wednesday, June 06, 2012 1:59 PM >> To: cloudstack-users@incubator.apache.org >> Subject: Re: Change network offering on Shared network >> >> On 6/6/12 10:50 AM, "de Jong, Mark-Jan" >> wrote: >> >> >Hello, >> >I want to change the network offering on a shared network in an >> >attempt to disable the virtual router but am getting an error. I have >> >run the following API command: >> > >> >curl >> >http://localhost:8096/?command=3DupdateNetwork&id=3Defd2ff02-bc35-4867- >> 8367 >> >-84 3ddebc0c96&networkofferingid=3D4fd6f8b4-4c67-4132-85f9-de1b428f53cc >> > >> >which results in the following error message in management-server.log. >> > >> >2012-06-06 13:07:12,466 DEBUG [cloud.async.AsyncJobManagerImpl] >> >(Job-Executor-3:job-256) Executing >> >com.cloud.api.commands.UpdateNetworkCmd for job-256 >> >2012-06-06 13:07:12,491 INFO [cloud.api.ApiDispatcher] >> >(Job-Executor-3:job-256) NetworkOffering and domain suffix upgrade can >> >be perfomed for Isolated networks only >> > >> >Is there a workaround? Can I alter the database directly to disable >> the >> >networks virtual router? I was thinking of updating the networks >> >network offering in table "networks" and then deleting >> ntwk_service_map >> >entries for that particular network. >> >> >> Network offering upgrade is not supported for Shared networks. >> Changing the database won't do the job; initial Virtual router startup >> in network depends on the initial network offering - we set the network >> rate, dnsmasq settings, etc. So removing service_map is not going to >> change the network setup on the backend. Besides, if you remove entries >> from ntwk_service_map for the network, you have to re-insert it back >> based on the new network offering. >> >> What exactly you want to change for your network? >> >> -Alena. > >I want to disable the virtual router for that network as in the following >article: > >http://remibergsma.wordpress.com/2012/03/10/howto-create-a-network-in-clou >dstack-without-a-virtual-router/ > >Thanks! External devices (Juniper SRX, F5, Netscaler) in Advance zone are supported for Isolated networks only. In Basic zone we support Netscaler for Shared network when elasticIP/elasticLB mode is on. For Shared networks in Advance zone only VirtualRouter is supported as a provider, so you can't change it. -Alena. >> >> > >> >update networks set network_offering_id=3D where >> id=3D209; >> >delete from ntwk_service_map where network_id=3D209; >> > >> >Thoughts? >> > >> >Thanks! >> > >> >Mark >> > >> > >> >________________________________ >> >PRIVILEGED AND CONFIDENTIAL >> >PLEASE NOTE: The information contained in this message is privileged >> >and confidential, and is intended only for the use of the individual >> to >> >whom it is addressed and others who have been specifically authorized >> >to receive it. If you are not the intended recipient, you are hereby >> >notified that any dissemination, distribution or copying of this >> >communication is strictly prohibited. If you have received this >> >communication in error, or if any problems occur with transmission, >> >please contact sender. Thank you. >> > >> >Please consider the environment before printing this e-mail. >> > >> > > >PRIVILEGED AND CONFIDENTIAL >PLEASE NOTE: The information contained in this message is privileged and >confidential, and is intended only for the use of the individual to whom >it is addressed and others who have been specifically authorized to >receive it. If you are not the intended recipient, you are hereby >notified that any dissemination, distribution or copying of this >communication is strictly prohibited. If you have received this >communication in error, or if any problems occur with transmission, >please contact sender. Thank you. > >Please consider the environment before printing this e-mail. > >