BOSH 是一个包含6个虚机的分布式部署系统,用于Cloud Foundry的大规模部署
gem install bosh_cli
bosh target
bosh vms
显示bosh管理的虚机的状态
bosh ssh
启动interactive ssh连接到上述的CF 模块的虚机上
bosh cck
进行CF安装的修复
ssh tempest@OPSMGRIP
使用部署Ops Manager ova时候的密码
export bundle
export BUNDLE_GEMFILE=/home/tempest-web/tempest/web/bosh.Gemfile
bundle exec bosh target OPS-MANAGER-DIRECTOR-IP-ADDRESS (从Ops Manager的status界面得到)
bundle exec bosh target
使用用户名director登录,密码是OpsManagerDirector的密码,从OpsManagerDirector Credential的界面得到
bundle exec bosh deployment /var/tempest/workspaces/default/deployments/cf-cca18e39287264623408.yml
bundle exec bosh deployment /var/tempest/workspaces/default/deployments/cf-cca18e39287264623408.yml
这里的yml文件是cf得yml,名字可能不一样,但是是以cf-*.yml
start bosh command
bundle exec bosh
Use bosh ssh to SSH into the VMs in your deployment.
To use bosh ssh:
Run
ssh-keygen -t rsa
to provide BOSH with the correct public key.
Accept the defaults.
Run
bundle exec bosh ssh
Select a VM to access.