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 ECFD1DABB for ; Thu, 22 Nov 2012 00:48:18 +0000 (UTC) Received: (qmail 45196 invoked by uid 500); 22 Nov 2012 00:48:18 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 45158 invoked by uid 500); 22 Nov 2012 00:48:18 -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 45146 invoked by uid 99); 22 Nov 2012 00:48:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2012 00:48:18 +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 mathias.mullins@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; Thu, 22 Nov 2012 00:48:14 +0000 X-IronPort-AV: E=Sophos;i="4.83,295,1352073600"; d="scan'208";a="215238239" Received: from ftlpmailmx02.citrite.net ([10.13.107.66]) by FTLPIPO02.CITRIX.COM with ESMTP/TLS/RC4-MD5; 22 Nov 2012 00:47:52 +0000 Received: from FTLPMAILBOX02.citrite.net ([10.13.98.209]) by FTLPMAILMX02.citrite.net ([10.13.107.66]) with mapi; Wed, 21 Nov 2012 19:47:52 -0500 From: Mathias Mullins To: "cloudstack-users@incubator.apache.org" CC: "cloudstack-users@incubator.apache.org" Date: Wed, 21 Nov 2012 19:47:51 -0500 Subject: Re: First time Cloudstack 4 installation admin login/password incorrect. Installation Document question. Thread-Topic: First time Cloudstack 4 installation admin login/password incorrect. Installation Document question. Thread-Index: Ac3ISwBtAiHAW/qeRByVZQhby5teVg== Message-ID: <6B8DAD0C-75D7-4DF3-871E-B4997FE60F45@citrix.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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 Make sure you open a Doc Bug for the issues your experiencing please. Helps= all of us in the future.=20 Thanks, Matt On Nov 21, 2012, at 6:45 PM, "Ian Jacobs" wrote: > I can try, but I am new in this area. My way of doing the installation m= ay be off. But here are some of my notes. >=20 >=20 > 4.4.1. DEB package repository > Use your preferred editor and open (or create) /etc/apt/sources.list.d/cl= oudstack. Add the community provided repository to the file: >=20 > I had issues with this . > What seemed to work was=20 > /etc/apt/sources.list.d/sources.list >=20 >=20 > 4.5.3.1. Downloading vhd-util > Before setting up the Management Server, download vhd-util from vhd-util > If the Management Server is RHEL or CentOS, copy vhd-util to /usr/lib64/c= loud/common/scripts/vm/hypervisor/xenserver.=20 > If the Management Server is Ubuntu, copy vhd-util to /usr/lib/cloud/commo= n/scripts/vm/hypervisor/xenserver/vhd-util. >=20 > For me( I did not install the Gui apps for Linux) > It is helpful to=20 > 1. Know I had to create the above path structure, in my case in Ubuntu. > 2. use Wget http://download.cloud.com.s3.amazonaws.com/tools/vhd-util to= get this util into current folder. >=20 >=20 > 4.5.5.2. Using the Management Server As the NFS Server > My installation of Ubuntu was bare min. > Section 3 > So when I tried, exportfs -a , I had issues. Not installed. Not sure i= f this would need documented. > sudo apt-get update (just in case) > sudo apt-get install nfs-kernel-server nfs-common portmap > Over wrote exports files so I needed to re-edit for NFS exports. >=20 > Section 4 RHEL (current) > Edit the /etc/sysconfig/nfs file.=20 > # vi /etc/sysconfig/nfs >=20 > Section 4 Ubuntu (missing section) > Vi /etc/default/nfs-kernel-server >=20 > Section 5 RHEL (Current) > Edit the /etc/sysconfig/iptables file.=20 > # vi /etc/sysconfig/iptables > Add the following lines at the beginning of the INPUT chain where is the network that you'll be using:=20 > -A INPUT -s -m state --state NEW -p udp --dport 111 -j ACCEPT > -A INPUT -s -m state --state NEW -p tcp --dport 111 -j ACCEPT > -A INPUT -s -m state --state NEW -p tcp --dport 2049 -j ACCEPT > -A INPUT -s -m state --state NEW -p tcp --dport 32803 -j ACCEPT > -A INPUT -s -m state --state NEW -p udp --dport 32769 -j ACCEPT > -A INPUT -s -m state --state NEW -p tcp --dport 892 -j ACCEPT > -A INPUT -s -m state --state NEW -p udp --dport 892 -j ACCEPT > -A INPUT -s -m state --state NEW -p tcp --dport 875 -j ACCEPT > -A INPUT -s -m state --state NEW -p udp --dport 875 -j ACCEPT > -A INPUT -s -m state --state NEW -p tcp --dport 662 -j ACCEPT > -A INPUT -s -m state --state NEW -p udp --dport 662 -j ACCEPT = =20 >=20 > Section 6 RHEL (current) > Run the following commands:=20 > # service iptables restart > # service iptables save >=20 > Section 5 Ubuntu (possible missing section) > I found it easier to use iptables this way. I did not use the -s . My knowledge to weak in this area. > iptables -A INPUT -m state --state NEW -p udp --dport 111 -j ACCEPT > For each line below I typed this in with iptables in front and without th= e part >=20 > Add the following lines at the beginning of the INPUT chain where is the network that you'll be using:=20 > -A INPUT -s -m state --state NEW -p udp --dport 111 -j ACCEPT > -A INPUT -s -m state --state NEW -p tcp --dport 111 -j ACCEPT > -A INPUT -s -m state --state NEW -p tcp --dport 2049 -j ACCEPT > -A INPUT -s -m state --state NEW -p tcp --dport 32803 -j ACCEPT > -A INPUT -s -m state --state NEW -p udp --dport 32769 -j ACCEPT > -A INPUT -s -m state --state NEW -p tcp --dport 892 -j ACCEPT > -A INPUT -s -m state --state NEW -p udp --dport 892 -j ACCEPT > -A INPUT -s -m state --state NEW -p tcp --dport 875 -j ACCEPT > -A INPUT -s -m state --state NEW -p udp --dport 875 -j ACCEPT > -A INPUT -s -m state --state NEW -p tcp --dport 662 -j ACCEPT > -A INPUT -s -m state --state NEW -p udp --dport 662 -j ACCEPT = =20 >=20 > Then used iptables -L to list the current iptables settings. > Iptables forgets its settings on a reboot. > iptables-save > /etc/network/iptables.up.rules > modified the /etc/network/interfaces > iface lo inet loopback > Added this line -- pre-up iptables-restore < /etc/network/iptab= les.up.rules > I referenced this document. > http://www.linode.com/wiki/index.php/Configuring_IPtables_on_ubuntu_serve= r >=20 > Section 6 Ubuntu > Below not needed in Ubuntu with above installation. > Run the following commands: =20 > # service iptables restart > # service iptables save >=20 >=20 > This was some of my issues. My system not fully functional, so my sugges= tion my wrong. >=20 > Ian Jacobs >=20 > -----Original Message----- > From: David Nalley [mailto:david@gnsa.us]=20 > Sent: Wednesday, November 21, 2012 3:41 PM > To: cloudstack-users@incubator.apache.org > Subject: Re: First time Cloudstack 4 installation admin login/password in= correct. Installation Document question. >=20 > On Wed, Nov 21, 2012 at 6:36 PM, Ahmad Emneina = wrote: >=20 >> It would be incredibly valuable if you could file bugs and point out=20 >> where the docs are assuming this. Hopefully making the next persons=20 >> experience less painful. > Even better, we'd welcome help fixing them. > The initial install docs especially need that 'beginning user' perspectiv= e. >=20 > --David