Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Pete
@kasim1r
nobody wants to sit in front of a web interface to add VMs by hand :)
albeit the web interface is cool
:P
✪ vi4m Marcin Kliks
@vi4m
yeah, we did it the same, using bunch of scripts
Pete
@kasim1r
oh maybe you want to share these scripts ... for shortening the learning curve?
✪ vi4m Marcin Kliks
@vi4m
so this API for virtualservers should be sufficient to add complete set of properties
it's very simple, you just discovered 30% of it already, by yourself
Pete
@kasim1r
do ihave to add ethernets before the VM so that i can "connect" the ethernet to the VM?
✪ vi4m Marcin Kliks
@vi4m
i'm not sure..
Pete
@kasim1r
thanks for your help anyway.
and a hint for the "installation" howto: change "apt-get install mysql-server" to "mysql-server-5.6" or so
because otherwise installtion fails
✪ vi4m Marcin Kliks
@vi4m
oh, thanks
we are working on the CLI tool, too, http://ralph-cli.readthedocs.io/en/latest/quickstart/
which helps "discovering" in an automatically manner, devices
Pete
@kasim1r
aha
✪ vi4m Marcin Kliks
@vi4m
but we're currently using it only for phiscal hardware, to discover hardware information
so it cannot create new device, rather update components(cpu, memory, ethernets)
Pete
@kasim1r
cool, but dracs are in a saprate physical LAN, not routed to infrstructure
so, hypervisors will still have to be manual :)
✪ vi4m Marcin Kliks
@vi4m
yeah.
Pete
@kasim1r
signing off now, thanks again, will surely come back with more questions :)
cucu
✪ vi4m Marcin Kliks
@vi4m
see you later
Pete
@kasim1r
Good morning!
✪ vi4m Marcin Kliks
@vi4m
morning
Pete
@kasim1r
I have another, more basic, question
what about switches, resp. switch ports?
am I blind? cannot find them....
Pete
@kasim1r
i see, no such device implemented... yet?
✪ vi4m Marcin Kliks
@vi4m
you can add switches as well
but there is no GUI for connections management
you can use notes or something like that
✪ vi4m Marcin Kliks
@vi4m
we use also descriptions which rack is connected to other rack
Zrzut ekranu 2016-09-15 o 12.55.03.png
but direct ports descriptions and connections is something we plan to ship next quarter
Pete
@kasim1r
aha, ok
is the switch object just a "datacenter asset"?
except for not being a physical server?
✪ vi4m Marcin Kliks
@vi4m
data center asset with category Router or similar
Pete
@kasim1r
ok
those categories are up to me, freely configurable
✪ vi4m Marcin Kliks
@vi4m
you can extend these categories, but better don't remove the existing dictionaries
Pete
@kasim1r
don't have any... database was basically empty after install
✪ vi4m Marcin Kliks
@vi4m
oh, then never mind, just add some
Pete
@kasim1r
should there have been some?
✪ vi4m Marcin Kliks
@vi4m
if you run makedemodata command it will be prefilled with the same data as in our ralph demo site
but it's not required if you want to start clean
Pete
@kasim1r
would it hurt to do that now, after i already have created a few things?
✪ vi4m Marcin Kliks
@vi4m
here you can see which categories are populated by demodata command http://ralph-demo.allegro.tech/assets/category/