Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Roman Prykhodchenko
@romcheg
so the 304 would clearly notify API consumers they should try re-sending their request to the different URL
Pete
@kasim1r
allegro/ralph#3119
but I should always have a trailing slash, also when changing or creating objects?
Roman Prykhodchenko
@romcheg
If it works without the slash -- then you can leave it as it is
However, our django settings return 304s for that
So your HTTP client probable handles that
Pete
@kasim1r
no, it didn't work without the slash, at least not for the DELETE method, it seems.
will add the trailing slash to the other methods anyway, if that's the correct way to do it
Pete
@kasim1r
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
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
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
hm, i am not sure what you mean by that - could you show a picture perhaps?
Pete
@kasim1r
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
interesting
Pete
@kasim1r
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
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
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
ha yes, you're right - they do. so i should make a cluster, and it will have one ip associated with it?
Pete
@kasim1r
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
Load Balancer and SQL Always On in mind specifically
right now focus is on SQL Always On
Pete
@kasim1r
well, then the load balancer will work as the cluster object
swb
@spencewb16_twitter
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
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
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
np
swb
@spencewb16_twitter
maybe i'll "borrow" some ideas from the cluster idea
Pete
@kasim1r
anyone got an idea concerning my API question above?
heaquan
@heaquan
HIļ¼ŒHave many languages
For example, Chinese
Holle all
heaquan
@heaquan
anyone there