Skip to content

randomtask1155/sli-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

push app

first push app with no start to get app guid

update env vars in manifest.yml except for CF_PING_INSTANCE. We need to push the app before we can fill in that variable.

GOROUTER_LIST: 10.1.1.119:10.1.1.66
CF_PING_INSTANCE: APP-GUID:1
CF_APP_FQDN: sli-app.apps.domain.com
CF_PING_PATH: "/"
PING_SLEEP_INTERVAL_SECONDS: "2"
DISABLE_PING: "false"
cf push -i 2 --no-start

get app guid

cf app sli-app --guid
86b0587c-a87c-40e1-91b7-e83b82b51d56

update CF_PING_INSTANCE env var in manifest.yml. This will cause app index 0 to ping index 1 across all the gorouters. App index 1 will not ping it self and remain idle waiting for requests.

CF_PING_INSTANCE: 86b0587c-a87c-40e1-91b7-e83b82b51d56:1

Push the app again to start it

cf push -i 2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages