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 ...
随机推荐
- 英语词根与单词的说文解字---词根示例1、第10页 st(at)
英语词根与单词的说文解字---词根示例1.第10页 st(at) 一.总结 一句话总结: 站 state,establish,constitution 英 [ɪ'stæblɪʃ; e-] 美 [ɪˈ ...
- 《Think in Java》(十七)容器深入研究
阿西吧,这一章好长啊,感觉看了快一个月了吧!JDK 自带的容器框架真是很好很强大啊,这一章看得有点蒙蒙的,接下来还得去看看官方文档啊!
- 微信小程序------媒体组件(视频,音乐,图片)
今天主要是简单的讲一下小程序当中的媒体组件,媒体组件包括:视频,音乐,图片等. 先来看看效果图: 1:图片Image <!-- scaleToFill:不保持纵横比缩放图片,使图片的宽高完全拉伸 ...
- Error:Cannot access first() element from an empty List
解决方案: bintray版本问题,修改为: classpath 'com.novoda:bintray-release:0.3.4' 如下: buildscript { repositories { ...
- HIVE学习(待更新)
1 安装hive 下载 http://mirrors.shu.edu.cn/apache/hive/hive-1.2.2/,红框中的不需要编译. 由于hive是默认将元数据保存在本地内嵌的 Derby ...
- 捕获enter键盘事件绑定到登录按钮
/** *捕获enter键盘事件绑定到登录按钮 */ function keyLogin(event) { if (event.keyCode == 13) { document.getElement ...
- LoadBalancerv2的原理分析
OpenStack 是直接采用各种开源可用的负载均衡项目来完成负载均衡的任务,默认使用 HAProxy.LBaaSv2 本质来说,其实也是根据用户提出的负载均衡要求,生成符合的HAProxy配置文件并 ...
- MySQL数据中分级分组显示数据
前面已经有了SqlServer数据分级分组显示数据了.今天又来做一个MySQL数据库中的分级分组显示,SqlServer中用到了递归,这里为了简单就直接把根的数据显示为0 ,而不用递归了. 在MySQ ...
- HDU 3779 Railroad(记忆化搜索)
Railroad Time Limit : 4000/2000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other) Total Subm ...
- VirtualBox安装Redhat9.0
1.准备软件 虚拟机:VirtualBox-4.3.8-92456-Win.exe RedHat:shrike-i386-disc1.iso shrike-i386-disc2.iso ...