AG3上執行ps指令,結果如下:
Cloud Foundry
到安裝目錄的scripts folder下,打開腳本檔案start.sh:
發現Cloud Foundry的啟動邏輯:依次啟動postgres, nats, consul_agent, etcd這幾個服務,然後用功能根據monit監控狀态:
直至所有相關程序的狀态都為running & accessible之後,即列印All processes have been started的log,提示Cloud Foundry啟動成功。
執行start.sh直至在console裡看到All Processes have been started!的資訊,然後即可得到登入該CF執行個體的資訊,比如url和使用者名及密碼。
本文來自雲栖社群合作夥伴“汪子熙”,了解相關資訊可以關注微信公衆号"汪子熙"。