service fabric docker 安装
1. 镜像拉取
docker pull microsoft/service-fabric-onebox
{
"ipv6": true,
"fixed-cidr-v6": "fd00::/64"
}
docker run -itd -p 19080:19080 --name sfonebox microsoft/service-fabric-onebox
docker exec -it sfonebox bash
./setup.sh
./run.sh
备注:等待比较长的时间的下载serviec fabric 就可启动了

pip3 install sfctl
a. 选择集群
sfctl cluster select --endpoint http://localhost:19080
b. 集群状态信息查看
sfctl cluster health
输出信息
{
"additionalProperties": {},
"aggregatedHealthState": "Ok",
"applicationHealthStates": [
{
"additionalProperties": {},
"aggregatedHealthState": "Ok",
"name": "fabric:/System"
}
],
"healthEvents": [],
"healthStatistics": {
"additionalProperties": {},
"healthStateCountList": [
{
"additionalProperties": {},
"entityKind": "Node",
"healthStateCount": {
"additionalProperties": {},
"errorCount": 0,
"okCount": 3,
"warningCount": 0
}
},
{
"additionalProperties": {},
"entityKind": "Application",
"healthStateCount": {
"additionalProperties": {},
"errorCount": 0,
"okCount": 0,
"warningCount": 0
}
},
{
"additionalProperties": {},
"entityKind": "Service",
"healthStateCount": {
"additionalProperties": {},
"errorCount": 0,
"okCount": 0,
"warningCount": 0
}
},
{
"additionalProperties": {},
"entityKind": "Partition",
"healthStateCount": {
"additionalProperties": {},
"errorCount": 0,
"okCount": 0,
"warningCount": 0
}
},
{
"additionalProperties": {},
"entityKind": "Replica",
"healthStateCount": {
"additionalProperties": {},
"errorCount": 0,
"okCount": 0,
"warningCount": 0
}
},
{
"additionalProperties": {},
"entityKind": "DeployedApplication",
"healthStateCount": {
"additionalProperties": {},
"errorCount": 0,
"okCount": 0,
"warningCount": 0
}
},
{
"additionalProperties": {},
"entityKind": "DeployedServicePackage",
"healthStateCount": {
"additionalProperties": {},
"errorCount": 0,
"okCount": 0,
"warningCount": 0
}
}
]
},
"nodeHealthStates": [
{
"additionalProperties": {},
"aggregatedHealthState": "Ok",
"id": {
"additionalProperties": {},
"id": "b9d52c016a15a8f57673d3b8041e2d35"
},
"name": "N0030"
},
{
"additionalProperties": {},
"aggregatedHealthState": "Ok",
"id": {
"additionalProperties": {},
"id": "c2e9eff19761acc9924422c53c8943d0"
},
"name": "N0010"
},
{
"additionalProperties": {},
"aggregatedHealthState": "Ok",
"id": {
"additionalProperties": {},
"id": "cf68563e16a44f808e86197a9cf83de5"
},
"name": "N0020"
}
],
"unhealthyEvaluations": []
}
Service Fabric Command Line
application: Create, delete, and manage applications and application types.
chaos : Start, stop and report on the chaos test service.
cluster : Select, manage and operate Service Fabric clusters.
compose : Create, delete and manage Docker Compose applications.
is : Query and send commands to the infrastructure service.
node : Manage the nodes that form a cluster.
partition : Query and manage partitions for any service.
property : Store and query properties under Service Fabric names.
replica : Manage the replicas that belong to service partitions.
rpm : Query and send commands to the repair manager service.
sa-cluster : Manage stand-alone Service Fabric clusters.
service : Create, delete and manage service, service types and service packages.
store : Perform basic file level operations on the cluster image store.
https://docs.microsoft.com/zh-cn/azure/service-fabric/service-fabric-get-started-mac
service fabric docker 安装的更多相关文章
- 如何在本地数据中心安装Service Fabric for Windows集群
概述 首先本文只是对官方文档(中文,英文)的一个提炼,详细的安装说明还请仔细阅读官方文档. 虽然Service Fabric的官方名称往往被加上Azure,但是实际上(估计很多人不知道)Service ...
- 【Service Fabric】小白入门记录 本地Service Fabric集群安装及设置
本篇内容是自学自记,现在我还不知道Service Fabric究竟是怎么个入门法,反正按照入门教程先进行本地Service Fabric集群的安装,万里路始于足下,要学习总得先把环境装好了才能开始学习 ...
- 微服务之Service Fabric 系列 (一):概览、环境安装
参考 微软官方文档 service fabric 百家号 大话微服务架构之微服务框架微软ServiceFabric正式开源 一.概述 1.概念 Azure Service Fabric 是一款分 ...
- docker安装完报错:Failed to start docker.service: Unit docker.service is masked
执行 systemctl start docker 报错 Failed to start docker.service: Unit docker.service is masked. 解决 syste ...
- Service Fabric是什么?
题记:鉴于社区对Service Fabric有诸多误解,希望借本文能让大家正确了解Service Fabric是一个什么东西,算是给其正名. 术语与分类 Service Fabric不仅仅是容器编排器 ...
- 如何把遗留的Java应用托管在Service Fabric中
一.概述 众所周知,微服务化尤其对遗留系统进行微服务化一般采用"Lift and Shift"的模式进行. Service Fabric作为一个微服务托管平台,不仅仅可以在上面跑. ...
- Azure Service Fabric 开发环境搭建
微服务体系结构是一种将服务器应用程序构建为一组小型服务的方法,每个服务都按自己的进程运行,并通过 HTTP 和 WebSocket 等协议相互通信.每个微服务都在特定的界定上下文(每服务)中实现特定的 ...
- 理解Docker(1):Docker 安装和基础用法
本系列文章将介绍Docker的有关知识: (1)Docker 安装及基本用法 (2)Docker 镜像 (3)Docker 容器的隔离性 - 使用 Linux namespace 隔离容器的运行环境 ...
- docker安装
系统要求:需要一个64位的centos7操作系统和版本3.10或更高版本的Linux内核 开始安装: uname -r //查看内核版本yum -y update //更新系统更新到最新 #安装d ...
随机推荐
- [MyEclipse]转:设置注释格式
Window --> Java --> Code Style --> Code Templates --> Comments --> types --> Edit ...
- MYSQL-实现分组排序 对比 ORACLE 和SQLserver用 row_number() over(partition by ) 分组排序功能
以下是个人笔记: 本文是为了理解 row_number() over(partition by ) 和实现各种数据库的分组排序功能 select ROW_NUMBER()over( partitio ...
- uva 12356 Army Buddies 树状数组解法 树状数组求加和恰为k的最小项号 难度:1
Nlogonia is fighting a ruthless war against the neighboring country of Cubiconia. The Chief General ...
- 2: 使用Prism初始化程序 Initializing Applications Using the Prism Library 5.0 for WPF(英汉对照版)
This topic addresses what needs to happen to get a Prism for WPF application up and running. A Prism ...
- HTML条件注释判断浏览器版本命令
<!--[if !IE]><!--> 除IE外都可识别 <!--<![endif]--> <!--[if IE]> 所有的IE可识别 <![ ...
- Spring实例化bean的几种方式
一,通过constructor实例化bean Spring可以实例化各种类型的类,不要求必须是JavaBean类型的类.在XML中配置类如下: <bean id="exampleBea ...
- 【dlbook】正则化
对学习算法的修改——旨在减少泛化误差而不是训练误差 显著减少方差而不过度增加偏差. [参数范数惩罚] 通常只对权重做惩罚而不对偏置做惩罚,原因是拟合偏置比拟合权重容易很多. 不同层使用不同惩罚的代价很 ...
- visual studio 菜单栏显示异常 插件安装异常 扩展异常修复
这几天在使用Visual studio 的扩展插件的时候,遇见了菜单栏显示异常,解决方案显示异常的问题,如下: 经过自己的一顿摸索,解决方法如下,比如我在安装gitee或github插件之后就出现了这 ...
- iOS开发-Realm数据库
Realm Realm-Object-c,见:https://realm.io/cn/docs/objc/latest/Realm官网:https://realm.io 使用流程 导入头文件#impo ...
- dhcp snooping、ARP防护、
应用场景 无线客户端流动性很大和不确定,比如在外来人员比较多的地方:广场.大厅.会议室和接待室等等.使用该方案可以有效地避免因为无线端出现私设IP地址导致地址冲突或者客户端中ARP病毒发起ARP攻击的 ...