From users-return-21093-apmail-cloudstack-users-archive=cloudstack.apache.org@cloudstack.apache.org Mon Mar 23 16:44:22 2015 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 3773D17691 for ; Mon, 23 Mar 2015 16:44:22 +0000 (UTC) Received: (qmail 6995 invoked by uid 500); 23 Mar 2015 16:44:18 -0000 Delivered-To: apmail-cloudstack-users-archive@cloudstack.apache.org Received: (qmail 6953 invoked by uid 500); 23 Mar 2015 16:44:18 -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 6937 invoked by uid 99); 23 Mar 2015 16:44:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2015 16:44:17 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of terbolous@gmail.com designates 74.125.82.182 as permitted sender) Received: from [74.125.82.182] (HELO mail-we0-f182.google.com) (74.125.82.182) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2015 16:44:13 +0000 Received: by wetk59 with SMTP id k59so142726618wet.3 for ; Mon, 23 Mar 2015 09:43:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=mkaIGJWxDFM0RD1tGHVUxDVsA/Dko+dkPDPilD/hQsY=; b=eKm9cGec2xTx61qWBrrG8eriMgJqf1aLqxAJaG0hZfwzpcMWLphQcbaLYs6sEzpBVD 3X4KCfMgpWtiDPCLx1jnvs32TFFJdY4WenzmIUhvUbV3yE/pDwiEfKFCoiw11TBC6YBe ZfVgmIDYHotnKMHURrW6gRSqGA/Pn30U/xIWeot5BWtD7+b8Bgmj8/PnJCH3WNBnHU/f nw29dhjzGlj5FTJZqTYrJA1okvoyWJkqPryWtTPr3uGt+smGPsf05ZV41gAMfXwnsFBM KHfwpgkk4GxyANuSNlADMKSZCgHsryYmuALr8WvQEENmbNnYlje66lIIbPgy0t0VQ/pq zPbQ== MIME-Version: 1.0 X-Received: by 10.194.86.135 with SMTP id p7mr189777871wjz.89.1427129032755; Mon, 23 Mar 2015 09:43:52 -0700 (PDT) Received: by 10.28.37.2 with HTTP; Mon, 23 Mar 2015 09:43:52 -0700 (PDT) In-Reply-To: <55102E3F.5010701@renemoser.net> References: <550D7028.4020505@renemoser.net> <55102E3F.5010701@renemoser.net> Date: Mon, 23 Mar 2015 17:43:52 +0100 Message-ID: Subject: Re: Ways to monitor Virtual Router disk space From: Erik Weber To: "users@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=089e0102e4980bde820511f75f88 X-Virus-Checked: Checked by ClamAV on apache.org --089e0102e4980bde820511f75f88 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sorry for top-posting.. Mobile.. I'm using xenserver and linklocal is using the 169.254 apipa range. All xs servers have the 169.254.0.1 iphone. I've been looking at improving it to proxy through the right xs server, but face a few ansible issues i have to clear out Erik Den mandag 23. mars 2015 skrev Rene Moser f=C3=B8lgend= e: > > > On 22.03.2015 22:35, Erik Weber wrote: > > > This is running on CCP 4.3.2 if it matters, and is on production so I'm > > hesitant to mess with it.. > > I am on CCP 4.2.1 > > > Any idea if this is how it's supposed to be or if something if fubar in > my > > setup? If this is how it's supposed to be, how does other access their > > systemvms outside the hypervisor? > > You should be able to SSH into the systemvm from the cloudstack > management system (using the right private key and user root). > > If you like to have access from your workstation, you can make use of > "proxycommand" if you have a recent openssh. Copy the private key from > cloudstack management to ~/.ssh/id_rsa_cloudstack > > scp root@cloudstack:/var/lib/cloud/management/.ssh/id_rsa > .ssh/id_rsa_cloudstack > > and configure your client ssh config like, note that you must use the so > called "linklocal ip" of the router. In my case these are IPs > 10.100.9.0/24 and 10.100.209.0/24 > > $ cat .ssh/config > Host 10.100.9.* 10.100.209.* > User root > IdentityFile ~/.ssh/id_rsa_cloudstack > StrictHostKeyChecking no > ProxyCommand ssh -q -o ControlPersist=3Dno cloudstack.example.com > > you can simply ssh in: > > ssh 10.100.9.45 > > So how to find the linklocal ip you may ask: > > A easy way is using cs package from pip (which you will also need for > using ansible). It also has a cli interface > > pip install cs > > cs listRouters listall=3Dtrue | grep linklocalip > > Yours > Ren=C3=A9 > --089e0102e4980bde820511f75f88--