These are chat archives for allegro/ralph

11th
Jul 2017
Pete
@kasim1r
Jul 11 2017 12:52
So here I am once more ... with API questions
when I compare th output of these two API requests:
the one with the virtual servers has an attribute "object_type", the one with the ethernets doesn't have it
same goes for memory
is that intended?
swb
@spencewb16_twitter
Jul 11 2017 13:53
has anyone ever tried to handle Shared IP addresses - e.g. 2-3 machines (or virtual machines) that share IP addresses in a virtual cluster?
I've made a checkbox to represent it graphically, but not sure where to go from there honestly
Screen Shot 2017-07-11 at 9.54.04 AM.png
the issue is that IP are meant to be unique values, but obviously by doing this, these shared IP's would be the exception to that rule
Pete
@kasim1r
Jul 11 2017 13:55
I think you should collect "real" ip addresses at virtual machines, and create new objects for the cluster to collect the cluster ips
swb
@spencewb16_twitter
Jul 11 2017 13:56
hm, i am not sure what you mean by that - could you show a picture perhaps?
Pete
@kasim1r
Jul 11 2017 13:59
well, no, but there's "cluster" in Ralph. You can enter the cluster IPs there, and only physical IPs at virtual machines.
like that, the ip addresses are where they belong in Ralph.
does that make sense?
swb
@spencewb16_twitter
Jul 11 2017 14:01
interesting
Pete
@kasim1r
Jul 11 2017 14:01
like VM1 has 192.168.100.1 as its own IP and "192.168.100.10" as cluster IP. VM2 has 192.168.100.2
swb
@spencewb16_twitter
Jul 11 2017 14:01
i haven't tried cluster yet
what i'm looking for is -
PM = Physical Machine
PM1 has 192.168.100.1
PM2 has 192.168.100.1
PM3 has 192.168.100.1
Pete
@kasim1r
Jul 11 2017 14:03
yes, because they are part of a cluster. but they probably don't have that IP all at the same time, right. Also, don't these machines have unique IPs?
swb
@spencewb16_twitter
Jul 11 2017 14:05
ha yes, you're right - they do. so i should make a cluster, and it will have one ip associated with it?
Pete
@kasim1r
Jul 11 2017 14:05
typically, only one of the machines "holds" the cluster IP. If you're talking Load Balancers, it's wholly different thing again...
exactly.
swb
@spencewb16_twitter
Jul 11 2017 14:05
Load Balancer and SQL Always On in mind specifically
right now focus is on SQL Always On
Pete
@kasim1r
Jul 11 2017 14:06
well, then the load balancer will work as the cluster object
swb
@spencewb16_twitter
Jul 11 2017 14:06
i see
the thing is, i would prefer to keep it on the data_center assets category, since all the other relevant info is there
seems weird to have this other "cluster thing" i have to dig around in
but i will try it out
so what exactly goes into "base object clusters" - physical and/or virtual machines in the cluster?
but then i need to separately input IP info in the below category - "Ethernets"
Pete
@kasim1r
Jul 11 2017 14:10
to be honest, a cluster is really not a data center object, at least not in "Ralph". If I understand the conncept correctly, these are "things you can handle". So servers, switches f.e.
swb
@spencewb16_twitter
Jul 11 2017 14:11
hm ok, well thanks for the help! i think i'm going to continue developing my own way of handling this
just curious what others had done. again, thanks for the quick response
Pete
@kasim1r
Jul 11 2017 14:11
np
swb
@spencewb16_twitter
Jul 11 2017 14:11
maybe i'll "borrow" some ideas from the cluster idea