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 1630299C3 for ; Wed, 6 Jun 2012 18:46:36 +0000 (UTC) Received: (qmail 309 invoked by uid 500); 6 Jun 2012 18:46:35 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 273 invoked by uid 500); 6 Jun 2012 18:46:35 -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 265 invoked by uid 99); 6 Jun 2012 18:46:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2012 18:46:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [12.185.57.138] (HELO hq-mx00.teoco.com) (12.185.57.138) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2012 18:46:29 +0000 Received: from HQ-MX02.us.teo.earth (10.64.65.25) by hq-mx00.teoco.com (10.64.192.42) with Microsoft SMTP Server (TLS) id 8.3.245.1; Wed, 6 Jun 2012 14:45:52 -0400 Received: from hq-mx03.us.teo.earth ([10.64.65.136]) by HQ-MX02.us.teo.earth ([10.64.65.25]) with mapi; Wed, 6 Jun 2012 14:46:07 -0400 From: "de Jong, Mark-Jan" To: "'cloudstack-users@incubator.apache.org'" Date: Wed, 6 Jun 2012 14:46:06 -0400 Subject: RE: Change network offering on Shared network Thread-Topic: Change network offering on Shared network Thread-Index: Ac1EEwlnzsZz9uGKSdiwcV2wBq3cPAAAJUAA Message-ID: <5E3DCAE61C95FA4397679425D7275D2673483EE9FA@HQ-MX03.us.teo.earth> References: <5E3DCAE61C95FA4397679425D7275D2673483EE9F9@HQ-MX03.us.teo.earth> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US x-pmwin-version: 3.1.0.0, Antivirus-Engine: 3.32.0, Antivirus-Data: 4.78G x-puremessage: [Scanned] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 > -----Original Message----- > From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com] > Sent: Wednesday, June 06, 2012 2:35 PM > To: cloudstack-users@incubator.apache.org > Subject: Re: Change network offering on Shared network > > On 6/6/12 11:20 AM, "de Jong, Mark-Jan" > wrote: > > > > > > >> -----Original Message----- > >> From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com] > >> Sent: Wednesday, June 06, 2012 2:11 PM > >> To: cloudstack-users@incubator.apache.org > >> Subject: Re: Change network offering on Shared network > >> > >> 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- > 486 > >> >> >7- > >> >> 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- > i > >> >n- > >> c > >> >lou > >> >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. > > > >I understand. But the article refers to a Virtual router with no > >support services enabled so the virtual router never starts. That is > >exactly what I want, given that I don't need the services provided by > >the virtual router in the first place. > > > > > I would always recommend to start clean: > > * create network offering with no services > * create the network > > > If you want to change the existing Shared network, here are the steps - > note it that it was never tested as none-supported case, so you might > end up with the failures: > > * Make sure you cleaned up all the rules for the network related to the > original network offering services (userData if userData service was > enabled, firewall rules if firewallRule service is enabled, etc) > * destroy virtual router for your existing network. > * create network offering with no services > * update network in cloud.netwrorks with the new network_offering_id > * remove all entries for the network in network_offering_service_map > > To test if the network is functional, start a new user vm in the > network. > > -Alena. Awsome. That's exactly what I'm looking for.. For point #1 where can I find= the rules to clean up? As per ntwk_service_map, Userdata, Dhcp, and Dns se= rvices are provided. Thanks! > > > > > > > >> > >> >> > >> >> > > >> >> >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. > >> > > >> > > >> > > > > > >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 co= nfidential, and is intended only for the use of the individual to whom it i= s addressed and others who have been specifically authorized to receive it.= If you are not the intended recipient, you are hereby notified that any di= ssemination, distribution or copying of this communication is strictly proh= ibited. If you have received this communication in error, or if any problem= s occur with transmission, please contact sender. Thank you. Please consider the environment before printing this e-mail.