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 0524919454 for ; Mon, 29 Feb 2016 13:16:48 +0000 (UTC) Received: (qmail 73577 invoked by uid 500); 29 Feb 2016 13:16:42 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 73523 invoked by uid 500); 29 Feb 2016 13:16:42 -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 73510 invoked by uid 99); 29 Feb 2016 13:16:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Feb 2016 13:16:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 115E71A0588 for ; Mon, 29 Feb 2016 13:16:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.002 X-Spam-Level: X-Spam-Status: No, score=-0.002 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=ena.com header.b=yhCKE0SD; dkim=pass (1024-bit key) header.d=edneta.onmicrosoft.com header.b=IUoqFKaK Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id RS7Z3zutqE1E for ; Mon, 29 Feb 2016 13:16:38 +0000 (UTC) Received: from mr3.mail.ena.net (mr3.mail.ena.net [96.4.1.12]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 956535F1B9 for ; Mon, 29 Feb 2016 13:16:37 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0189.outbound.protection.outlook.com [207.46.163.189]) (using TLSv1.2 with cipher AES256-SHA256 (256/256 bits)) (No client certificate requested) by mr3.mail.ena.net (Postfix) with ESMTPS id 85D1F1480304; Mon, 29 Feb 2016 07:16:20 -0600 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ena.com; s=default; t=1456751780; bh=IPj/cCUCWli/d+uBz0e9kbiBc8nnBSLwH9YKORd+C/4=; h=From:To:Subject:Date:References:In-Reply-To; b=yhCKE0SD6fpRLTVTwvk67dEvJMJdo32iZwhis9trq6pgvZ967F/WBCduzIKsaclxQ rIXRoAdrwwuzYY4mPLvXxtifIUX3dfj/NMzjP0ZHajSd5WJYvW8rtmTcebKHTX6OML FTkbYUr7Mra7q2Z4RKUq+fWxv01gi8uU2gLQi/k0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edneta.onmicrosoft.com; s=selector1-ena-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=IPj/cCUCWli/d+uBz0e9kbiBc8nnBSLwH9YKORd+C/4=; b=IUoqFKaKfaWBRhkMfwl4a9jmP0o6sMzxGfwekydUz1bIjlezhqWf2H9n0hNO4rwpfcccvZRyCgbwAvDcAEF5KQY3QroCZzLZcDNMKGkcSKaMHCPxl12LeK7oMvLE/6WJlJU/9Cy1k72OGWFYdhPvEpqKoDlcub6VtLqC3qI2zfA= Received: from BN3PR02MB1192.namprd02.prod.outlook.com (10.162.168.18) by BN3PR02MB1191.namprd02.prod.outlook.com (10.162.168.17) with Microsoft SMTP Server (TLS) id 15.1.415.20; Mon, 29 Feb 2016 13:16:17 +0000 Received: from BN3PR02MB1192.namprd02.prod.outlook.com ([10.162.168.18]) by BN3PR02MB1192.namprd02.prod.outlook.com ([10.162.168.18]) with mapi id 15.01.0415.022; Mon, 29 Feb 2016 13:16:17 +0000 From: Simon Weller To: "users@cloudstack.apache.org" Subject: Re: Management server + MySQL server requirements Thread-Topic: Management server + MySQL server requirements Thread-Index: AQHRcZqayPywxbd3SUWaKp+e115inp9AgURqgAJgwoCAAB46TA== Date: Mon, 29 Feb 2016 13:16:17 +0000 Message-ID: References: ,<5C04D727-8895-40D8-ABF2-360E3940784A@uva.nl> In-Reply-To: <5C04D727-8895-40D8-ABF2-360E3940784A@uva.nl> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: cloudstack.apache.org; dkim=none (message not signed) header.d=none;cloudstack.apache.org; dmarc=none action=none header.from=ena.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [96.4.0.206] x-microsoft-exchange-diagnostics: 1;BN3PR02MB1191;5:W41XOJBVK4qHQqS4+TwOZWtcV+Th+YpWwH+j3ucEeSv7+vncSOt4ggcTOROfx00by/L3UuaIqeARB/oo/D/W75GxlwTYZGCYxEdwJragA/1W8lmGQQfpDPRChfX8Z/RyHwlCeq44uyolXfCXu6JbRA==;24:GPWI9UN7Q+8k97rNPsGCUDgquigRoAla/ABS1YqNu7TNgornXcIOYClH/xZtBotkkGKadVCJlxXNOjgMuCfXhPcNoR0axo7MIwNprqEV3qU= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR02MB1191; x-ms-office365-filtering-correlation-id: c7f7c87a-54ed-409b-758c-08d3410a81de x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001);SRVR:BN3PR02MB1191;BCL:0;PCL:0;RULEID:;SRVR:BN3PR02MB1191; x-forefront-prvs: 0867F4F1AA x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(57704003)(24454002)(377454003)(71364002)(2900100001)(2950100001)(10400500002)(189998001)(5008740100001)(99286002)(106116001)(6116002)(77096005)(102836003)(5001960100002)(110136002)(107886002)(19580395003)(586003)(3846002)(11100500001)(92566002)(1096002)(1220700001)(76576001)(5002640100001)(2906002)(50986999)(87936001)(5003600100002)(74316001)(3900700001)(3280700002)(3660700001)(5004730100002)(122556002)(40100003)(86362001)(76176999)(561944003)(19580405001)(15975445007)(33656002)(54356999)(2501003)(2351001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR02MB1191;H:BN3PR02MB1192.namprd02.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: ena.com X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Feb 2016 13:16:17.2908 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 6dc38cd4-4d4f-4826-9649-17854289d170 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR02MB1191 X-ENA-MailScanner-Information: Please contact support@ena.com for more information X-ENA-MailScanner-ID: 85D1F1480304.ABBD0 X-ENA-MailScanner: No viruses found X-ENA-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-11.4, required 4, ALL_TRUSTED -2.20, BAYES_00 -3.20, BOGOFILTER_GOOD -2.20, CRM114_GOOD -2.20, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -1.20, KAM_ASCII_DIVIDERS 0.80, SPF_HELO_PASS -1.20) X-ENA-MailScanner-From: sweller@ena.com X-ENA-MailScanner-Watermark: 1457356580.89611@yA5yjPnPZB20E5ni/omC7A Stavros, You need to use a Virtual IP Address (or the built in MySQL HA in Cloudstac= k) to point all management servers to a single MySQL instance. If the prima= ry fails, you use the above methods with some health checking to move the V= IP (or let ACS Mgmt handle it via the MySQL connector) to the redundant MyS= QL server.=20 This can be achieve with Keepalived, with a MySQL health check. I will point out that in 4.7.x and probably in 4.8, the ACS MySQL HA functi= onality (using the MySQL Java Connector) seems to be broken. We are curren= tly digging into it. It's also possible to use a MySQL Active/Active Cluster via Galera. There a= re a bunch of people doing this, although it can increase the complexity of= the install, so make sure you have really high quality health checking in = case something goes south. Here is the current list of DB HA possibilities: https://cwiki.apache.org/c= onfluence/pages/viewpage.action?pageId=3D34838207 If you do deploy multiple active management servers, you'll need to put a l= oad balancer (such as HAPROXY) in front of the servers. Here is a port list of what you need to be load balancing for a multiple ma= nagement servers configuration: http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.= 6/reliability.html - Si ________________________________________ From: Stavros Konstantaras Sent: Monday, February 29, 2016 5:16 AM To: users@cloudstack.apache.org Subject: Re: Management server + MySQL server requirements Hi Simon, Your proposal is correct,I currently have the recommended setup: 2 machines= with nice amount of cores and RAM, with management server and mysql instal= led. Usage server is not currently used, BUT we do use MySQL replication fo= r some form of HA. However, the drawback that I see is that the management server on the secon= d head node must be down otherwise it causes the replication to fail pretty= quickly. So in case of failure of the first head node the admin needs to l= ogin to the second head node and initiate the management server (or maybe y= ou can script it and automate this). Last requirement needed is a script that automates MySQL backups (crontab c= an be used for that). Kind Regards Stavros > On 28 Feb 2016, at 00:06, Simon Weller wrote: > > Josh, > > Unless you plan to create a massive cloud, there is probably no reason to= separate MySQL from the management server. It would actually be better to = deploy two management servers and then replicate MySQL over to the second s= erver for some form of HA. > > You don't really need SSDs. A couple of 10/15K SAS/SATA drives will be fi= ne. Most of the space allocate is for the MySQL databases. If you plan to = use the usage service, the stats collection will require more drive space. = This is configured as a separate MySQL database. > > I'd suggest you deploy a minimum of 16GB of RAM and 8 cores or so. If yo= u plan to grow the deployment rapidly, leave some empty memory slots for th= e future. > > - Si > > ________________________________________ > From: Josh Davis > Sent: Saturday, February 27, 2016 10:37 AM > To: users@cloudstack.apache.org > Subject: Management server + MySQL server requirements > > Hi all, apologies for the spam. > This is the hardware suggestion for MySQL on the management server node. = I'm looking at a separate server for MySQL DB. > Is the bulk of the 250GB requirement used by the management server or the= MySQL DB? Do I need to use SSDs or is SAS or even SATA fine for the manage= ment server? Can I place the MySQL DB on a VM as well?Is the MySQL server s= upposed to be public facing?Is it sufficient to only connect to the managem= ent network? No need to access the storage or guest network? > "The machines that will run the Management Server and MySQL database must= meet the following requirements. The same machines can also be used to pro= vide primary and secondary storage, such as via localdisk or NFS. The Manag= ement Server may be placed on a virtual machine.Operating system:Preferred:= CentOS/RHEL 6.3+ or Ubuntu 12.04(.1)64-bit x86 CPU (more cores results in = better performance)4 GB of memory250 GB of local disk (more results in bett= er capability; 500 GB recommended)At least 1 NICStatically allocated IP add= ressFully qualified domain name as returned by the hostname command" > Thanks!Josh