{"id":19523917,"url":"https://github.com/eitansuez/pcfutils","last_synced_at":"2025-10-11T21:41:27.986Z","repository":{"id":96637740,"uuid":"63005842","full_name":"eitansuez/pcfutils","owner":"eitansuez","description":"An attempt to automate the shutdown and startup of a PCF installation","archived":false,"fork":false,"pushed_at":"2020-10-04T15:11:10.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-08T14:43:25.892Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eitansuez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-10T15:40:47.000Z","updated_at":"2020-10-04T15:11:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"84a4923c-dc75-4669-b8a4-af44efd2a633","html_url":"https://github.com/eitansuez/pcfutils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eitansuez%2Fpcfutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eitansuez%2Fpcfutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eitansuez%2Fpcfutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eitansuez%2Fpcfutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eitansuez","download_url":"https://codeload.github.com/eitansuez/pcfutils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240773518,"owners_count":19855221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T00:45:18.147Z","updated_at":"2025-10-11T21:41:22.954Z","avatar_url":"https://github.com/eitansuez.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"This project is an attempt to automate the shutdown and startup of a PCF installation, per these instructions:\n\nhttp://docs.pivotal.io/pivotalcf/1-7/customizing/start-stop-vms.html\n\nWritten in groovy, the functionality is exposed via a gradle task:\n\n    stopStartPcf\n\nThe way this works is that you upload a distribution of this project to your ops manager box, and invoke this task from there.  The gradle wrapper makes sure that you don't need to provision anything yourself.\n\nSo, locally:\n\n    gradle distZip\n    scp ./build/distributions/pcfutils.zip ubuntu@\u003cyour_ops_manager\u003e:\n\nThen, ssh to your ops manager, and from there:\n\n    unzip pcfutils.zip\n    cd pcfutils\n    ./gradlew stopStartPcf -PpcfTestMode=false\n\nThis will produce a stop script and a start script, each ensuring the order in which the elastic runtime vms are stopped and started.  The script also makes sure that the elastic runtime vms are started first and stopped last.\n\nYou can then inspect and modify these scripts to your satisfaction and invoke them to stop and retstart your specific PCF installation.\n\nNOTE:  non-elastic runtime deployments may also have ordering considerations which are not taken into account here.  It may be that service brokers need to be stopped before other vms in that deployment.  This needs to be investigated.\n\nUse at your own risk.\n\n\n----\n\nSeparately, this repo also has a small groovy script `cfit.groovy` that is useful for creating users, orgs, and spaces and deleting them.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feitansuez%2Fpcfutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feitansuez%2Fpcfutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feitansuez%2Fpcfutils/lists"}