Task #8752
closed
Task #8750: Create Accounting Service Cluster
HA Proxy Instance for accounting service
100%
Description
I think we can reuse the VM of accounting-d4s.d4science.org
Updated by Roberto Cirillo almost 8 years ago
According with our policies we should call it: accounting-service.d4science.org
Updated by Andrea Dell'Amico almost 8 years ago
- Tracker changed from VM Creation to Task
We're going to use the infra load balancer for this service. It has plenty of resources and it's in HA.
Updated by Andrea Dell'Amico almost 8 years ago
We need a URL that haproxy can check regularly and very frequently (each second or less) to know the status of the service on every host.
Updated by Luca Frosini almost 8 years ago
- Category set to Application
GET/HEAD /accounting-service/gcube/service/status/getStatus?gcube-token=XXXXXX
Updated by Luca Frosini almost 8 years ago
Regarding the token we can generate an application token to be used in all checks.
Updated by Luca Frosini almost 8 years ago
@pasquale.pagano@isti.cnr.it what do you think about an application token used by checks
Updated by Pasquale Pagano almost 8 years ago
I think that it is the only way to go. We need to register a service endpoint for Nagios. Then we will generate an application token for it. Please notice that the token is per context.
Updated by Andrea Dell'Amico almost 8 years ago
We usually use a guest token for this kind of activities. @lucio.lelii@isti.cnr.it is going to look at it
Updated by Andrea Dell'Amico almost 8 years ago
- Status changed from New to In Progress
Done. There's no http -> https redirection. Do we need it?
Updated by Luca Frosini almost 8 years ago
I have to change the library to use the HAProxy instead of the Service directly. In the next days I'll do it and I'll configure the connection to haproxy directly to https.
If needed I'll modify the client to support https connection instead of http one.
HAProxy is a transparent proxy, right?
Updated by Andrea Dell'Amico almost 8 years ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
Luca Frosini wrote:
I have to change the library to use the HAProxy instead of the Service directly. In the next days I'll do it and I'll configure the connection to haproxy directly to https.
If needed I'll modify the client to support https connection instead of http one.HAProxy is a transparent proxy, right?
Yes.
Updated by Andrea Dell'Amico almost 8 years ago
- Status changed from Feedback to Closed