Apache Stratos探究:CLI Tool简单使用手册
来源:互联网 发布:浙大网新 人工智能地位 编辑:程序博客网 时间:2024/04/20 23:01
pache starts提供CLI(command line interface)工具,用来管理starts上的应用程序。
关于如何下载和配置,可以看下面这篇文章。
http://blog.csdn.net/zhouhuakang/article/details/50945670
CLI Tool可以两种模式运行。
- Interactive mode
交互方式,走走停停。
- Single command line mode
只执行一次命令
Interactive mode
1.登录,必要时输入管理帐号和密码
执行下面的命令
./stratos.sh
比如:
James:bin jameswest$ ./stratos.sh
Username: admin
Password: *****
Successfully authenticated
2.帮助
登入成功之后,输入help即可
如图
3.自动完成功能。类似终端都有的自动补写命令功能,只要按下Tab键就可以了
支持的命令
activate-tenant add-application add-autoscaling-policy add-cartridge add-cartridge-group
add-deployment-policy add-domain-mappings add-kubernetes-cluster add-kubernetes-host add-network-partition
add-tenant add-user create-application deactivate-tenant deploy-application
describe-application describe-application-runtime describe-application-signup describe-autoscaling-policy describe-cartridge
describe-cartridge-group describe-deployment-policy describe-kubernetes-cluster describe-kubernetes-master describe-network-partition
describe-tenant exit help list-applications list-autoscaling-policies
list-cartridge-groups list-cartridges list-cartridges-by-filter list-deployment-policies list-domain-mappings
list-kubernetes-clusters list-kubernetes-hosts list-network-partitions list-tenants list-tenants-by-partial-domain
list-users remove-application remove-application-signup remove-autoscaling-policy remove-cartridge
remove-cartridge-group remove-deployment-policy remove-domain-mappings remove-kubernetes-cluster remove-kubernetes-host
remove-network-partition remove-user synchronize-artifacts undeploy-application update-autoscaling-policy
update-cartridge update-deployment-policy update-kubernetes-host update-kubernetes-master update-network-partition
update-tenant update-user
Single command line mode
只执行一条单一的命令。
格式:
./stratos.sh -u [username] -p [password] [action commands]
比如:
图中的这些cartridges,也可以在UI界面上直接查看。(这里的esb,nodejs什么版本的,都只是自己测试时候,瞎写的,可能有些参数是不对的,不如上面都是版本7啊什么的)
对应的UI界面
0 0
- Apache Stratos探究:CLI Tool简单使用手册
- Apache Stratos探究:配置CLI
- Apache Stratos探究:结合Mock IaaS,简单的跑一遍Apache Stratos 4.1.0
- Apache Stratos探究: Apache Stratos的Mock IaaS模块
- Apache Stratos探究:Apache Stratos 4.1.x 的架构
- Apache Stratos探究:为什么要使用 Apache Stratos
- Apache Stratos探究:核心概念-Cartridge
- Apache Stratos探究:Cartridge Agent的生命周期
- Apache Stratos探究:Artifact Distribution Coordinator
- Apache Stratos探究:Pub-Sub 通信模式
- Apache Stratos探究:云分区(Cloud Partitioning)
- Apache Stratos探究:概念--cloudburst和Hybrid Cloud
- Apache Stratos探究:4.0.0 Cloud Controller Architecture
- Apache Stratos初步探索
- Apache Stratos探究:4.1.x Application Resource Definition(应用程序资源定义)
- Apache commons CLI介绍和简单应用
- Apache Commons CLI 介绍
- Apache Commons CLI
- Spring AOP浅析
- iOS和我,开启编程人生
- Hadoop入门
- 解决SUSE Linux无法使用SSH登录的问题
- 广州虎鱼网络科技有限公司面试
- Apache Stratos探究:CLI Tool简单使用手册
- 为Android添加一个开机完成后执行的脚本
- Unicode ,UTF-8,assic, gbk, latin1编码
- Windows中PIL安装错误
- Android Studio中checkout在git上面的项目后无法运行
- 磁盘IO性能监控指标
- union和union all的区别
- linux下分卷压缩,合并解压的3种方法
- kafka入门:简介、使用场景、设计原理、主要配置及集群搭建