Return-Path: X-Original-To: apmail-cloudstack-users-archive@www.apache.org Delivered-To: apmail-cloudstack-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 429BD1093B for ; Fri, 13 Feb 2015 21:11:43 +0000 (UTC) Received: (qmail 27230 invoked by uid 500); 13 Feb 2015 21:11:20 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 27181 invoked by uid 500); 13 Feb 2015 21:11:20 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 27164 invoked by uid 99); 13 Feb 2015 21:11:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 21:11:20 +0000 X-ASF-Spam-Status: No, hits=1.1 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_GREY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yzhang@marketo.com designates 173.203.187.85 as permitted sender) Received: from [173.203.187.85] (HELO smtp85.iad3a.emailsrvr.com) (173.203.187.85) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 21:10:54 +0000 Received: from smtp3.relay.iad3a.emailsrvr.com (localhost.localdomain [127.0.0.1]) by smtp3.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 1BC1D30037B for ; Fri, 13 Feb 2015 16:10:52 -0500 (EST) Received: from smtp192.mex07a.mlsrvr.com (unknown [67.192.133.128]) by smtp3.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTPS id DACDF3004B8 for ; Fri, 13 Feb 2015 16:10:51 -0500 (EST) X-Sender-Id: yzhang@marketo.com Received: from smtp192.mex07a.mlsrvr.com ([UNAVAILABLE]. [67.192.133.128]) (using TLSv1 with cipher AES128-SHA) by 0.0.0.0:25 (trex/5.4.2); Fri, 13 Feb 2015 21:10:52 GMT Received: from DFW1MBX17.mex07a.mlsrvr.com ([169.254.2.63]) by DFW1HUB17.mex07a.mlsrvr.com ([fe80::222:19ff:fe81:7d77%13]) with mapi; Fri, 13 Feb 2015 15:10:51 -0600 From: Yiping Zhang To: "users@cloudstack.apache.org" Date: Fri, 13 Feb 2015 15:10:49 -0600 Subject: Re: how to configure multi-homed management server? Thread-Topic: how to configure multi-homed management server? Thread-Index: AdBH0Yu1dciWQJtNQYmCfZJDt/quJA== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.3.120616 acceptlanguage: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Update: Now my mgr=B9s eth0 is configured with IP address on the lab network, the hostname is set to the name of lab network IP. However, after I run cloudstack-setup-databases and cloudstack-setup-management scripts, I still find the wrong IP address in global setting param "hosts", and wrong value for param =B3management.network.cidr=B2. It looks like that running cloudstack-setup-management script (with immediate start of cloudstack-management service) populates DB tables. So my question comes down to how does cloudstack-management service determine these configuration values ? Thanks Yiping On 2/11/15, 8:21 PM, "Praveen B" wrote: >Hi Zhang, > >"host" parameter in the global settings will decide system VMs to >communicate to MGMT ip address on port 8250. Since you have two IP >addresses on management server, CloudStack has picked up your corporate >network IP address. > >As a fix, change the "host" parameter to your lab network IP address and >destroy system VMs. New system VMs will point to correct mgmt IP. Let me >know how it goes. > >Thanks, >Praveen > >On Thu, Feb 12, 2015 at 5:39 AM, Yiping Zhang wrote: > >> Hi, all: >> >> My CS management server has two IP addresses: one IP address on our >> corporate network (for general access) and one IP address on lab >>network , >> which is used at CloudStack=B9s management network. >> >> When I run cloudstack-setup-database script, I have given =B3=8Bmshost= =B2 >>option >> with its IP address on lab network. However, when CPVM comes up, the >> cloud service is not running . Looking at /var/log/cloud.log file on >>CPVM >> indicates that it is trying to connect to port 8250 of management >>server=B9s >> IP address on corporate network instead of the IP address on lab >>network. >> On SSVM, its cloud service also tries to connect to port 8250 of the >>wrong >> MS IP address >> >> How does systemVMs decide which IP address on the management server to >>use >> when starting cloud service ? How do I make systemVM=B9s to use proper >> interface on management server ? >> >> Thanks >> >> Yiping >>