cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Weber <terbol...@gmail.com>
Subject Re: Ways to monitor Virtual Router disk space
Date Mon, 23 Mar 2015 16:43:52 GMT
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 <mail@renemoser.net> følgende:

>
>
> 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=no 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=true | grep linklocalip
>
> Yours
> René
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message