My apologies if this has already been answered.  I searched through
the discussion and couldn't find it.

I have a custom role, build on top of the base role, and I need to
assign jobs to instances of it by giving the user an external IP or
domain in the URL.  My app server needs to decide which instance of
this role to assign the job to by querying the instance for its state,
and then based on that, send the user to that instance.  So round-
robin won't work for this role.

1. From PHP, how do I determine the external domain or IP of a
particular instance of a particular role?
2. From PHP, how do I get a list of the currently running instances of
a particular role, and their internal (or external) domains or IPs?

And finally a bonus question - from PHP, how do I determine the load
average of a particular instance?  I probably don't need to do this,
but it might help in deciding which instance to assign jobs to.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/scalr-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to