Update according to bug 31240
authorDi Qing <Di.Qing@cern.ch>
Thu, 29 Nov 2007 12:59:53 +0000 (12:59 +0000)
committerDi Qing <Di.Qing@cern.ch>
Thu, 29 Nov 2007 12:59:53 +0000 (12:59 +0000)
org.glite.yaim.lb/config/functions/config_gip_lb

index 6463525..d4a0911 100644 (file)
@@ -13,14 +13,15 @@ function config_gip_lb () {
        SERVICE_TYPE=org.glite.lb.Server
        SERVICE_PORT=9003
        SERVICE_VERSION=1.6.2
+       SERVICE_ENDPOINT="https://${SERVICE_HOST}:${SERVICE_PORT}/lb"
  
        conffile=$INSTALL_ROOT/glite/var/tmp/gip/service-${SERVICE_TYPE}.conf
        cat <<  EOF > $conffile
-dn: GlueServiceUniqueID=${SERVICE_HOST}:${SERVICE_PORT}
+dn: GlueServiceUniqueID=${SERVICE_ENDPOINT}
 GlueServiceName: ${SITE_NAME}-${SERVICE_TYPE}
 GlueServiceType: ${SERVICE_TYPE}
 GlueServiceVersion: ${SERVICE_VERSION}
-GlueServiceEndpoint: https://${SERVICE_HOST}:${SERVICE_PORT}/lb
+GlueServiceEndpoint: ${SERVICE_ENDPOINT}
 GlueServiceURI: unset
 GlueServiceAccessPointURL: https://${SERVICE_HOST}:${SERVICE_PORT}/lb
 GlueServiceStatus: OK