中间件Rocky的使用说明文档

中间件Rocky的使用说明文档简介
安装
前置条件
步骤
2. 解压安装包
4. 在终端中进入Rocky安装包所在的目录
配置
Rocky的配置文件为`rocky.yaml`,其位于Rocky安装目录下。

需要对其进行如下修改:
基本配置
负载均衡配置
在 `upstreams` 节点下,配置你的后端服务器地址和端口,并指定负载均衡算法和权重。

API秘钥验证配置
在 `plugins` 节点下,启用 `key-auth` 插件,并设置API秘钥。

使用
API秘钥验证
使用REST API时,在请求头中添加 `apikey` 字段并设置为你的API秘钥。

负载均衡
使用REST API时,只需要访问Rocky的监听地址即可自动进行负载均衡。

总结
Rocky是一种简单易用的中间件,可以方便地实现负载均衡和API秘钥验证等功能。

我们希望这份使用说明对你有所帮助。

合集下载

浪潮(北京)电子信息产业有限公司 InCloud Sphere4.5 旗舰版 iCenter 用户手

浪潮(北京)电子信息产业有限公司 InCloud Sphere4.5 旗舰版 iCenter 用户手

文件版本:V1.0文件密级:秘密浪潮云海InCloud Sphere4.5旗舰版iCenter用户手册浪潮(北京)电子信息产业有限公司Inspur (Beijing) Electronic Information Industry Co., Ltd文件修改控制尊敬的用户:衷心感谢您选用了浪潮服务器虚拟化系统!本手册介绍了浪潮服务器虚拟化系统所能实现的功能,可使您更好地了解本软件的使用范围和使用方法。

浪潮集团有限公司拥有本手册的版权。

未经浪潮集团有限公司许可,任何单位和个人不得以任何形式复制本用户手册。

浪潮集团有限公司保留随时修改本手册的权利。

本手册中的内容如有变动恕不另行通知。

如果您对本手册有疑问或建议,请向浪潮集团有限公司垂询。

浪潮集团有限公司二零一六年八月“Inspur浪潮”是浪潮集团有限公司的注册商标。

其他商标分别属于其相应的注册公司。

声明最终用户软件许可协议请仔细阅读以下最终用户许可协议(以下简称《协议》)。

一旦安装或使用随此《协议》提供的软件(以下简称“软件”),即表明您同意本《协议》的各项条款。

如果您不同意,则不要使用“软件”。

通则本《协议》是您(个人或单位实体)与浪潮集团(“浪潮”)之间达成的法律协议。

本《协议》适用于浪潮可能向您提供或使您可以得到的“软件”的更新、补充,附加组件或基于Internet的服务组件,除非浪潮对这些更新、补充、附加组件或基于Internet的服务组件规定了其他条款。

浪潮有权停止通过使用“软件”而向您提供或使您可以得到的任何基于Internet的服务。

与“软件”有关的任何产品支持服务也受此《协议》的约束,除非在您和浪潮之间达成的其他协议中另有规定。

“软件”中可能附带了对本《协议》的修正或补充。

许可证的授予1.在浪潮授权使用的机器上使用,出于备份或档案管理的目的,可以制作本软件的拷贝。

2.本软件只限购买者本人(本单位)使用,如转让或转卖,本公司将追究其法律责任。

OpenStackrocky版安装步骤,参考官网步骤

OpenStackrocky版安装步骤,参考官网步骤

OpenStackrocky版安装步骤,参考官⽹步骤Centos建议最低配置:控制节点:1个处理器,4 GB内存和5 GB存储计算节点:1个处理器,2 GB内存和10 GB存储⼀,环境准备:以下区分数据库密码和openstack⽤户密码,可⾃⾏替换密码 描述RABBIT_PASS RabbitMQ⽤户openstack的密码123456 数据库root的密码KEYSTONE_DBPASS keystone的数据库密码GLANCE_DBPASS glance的数据库密码NOVA_DBPASS nova的数据库密码PLACEMENT_DBPASS placement的数据库密码NEUTRON_DBPASS neutron的数据库密码DASH_DBPASS DASH的数据库密码CINDER_DBPASS cinder的数据库密码ADMIN_PASS admin⽤户密码myuser_PASS myuser⽤户密码GLANCE_PASS glance⽤户的密码NOVA_PASS nova⽤户的密码PLACEMENT_PASS placement⽤户的密码NEUTRON_PASS neutron⽤户的密码METADATA_SECRET 元数据代理的密码CINDER_PASS cinder⽤户的密码1.1⽹络环境1.1.1控制节点配置第⼀个接⼝作为管理接⼝:IP地址:10.0.0.11⽹络掩码:255.255.255.0默认⽹关:10.0.0.1提供程序接⼝使⽤特殊配置,但未分配IP地址。

将第⼆个接⼝配置为提供程序接⼝:替换INTERFACE_NAME为实际的接⼝名称。

例如, eth1或ens224。

vi /etc/sysconfig/network-scripts/ifcfg-INTERFACE_NAMEDEVICE=INTERFACE_NAMETYPE=EthernetONBOOT=“yes”BOOTPROTO=“none”将控制节点的主机名设置为controller。

Rocky Mountain Slayer 技术手册说明书

Rocky Mountain Slayer 技术手册说明书

Rocky Mountain SlayerTechnical ManualRev: ATable of ContentsMaterials Required (3)Suspension Pivot Torque Guide (4)Small Parts Torque Guide (5)Assembly Instructions (6)1)Bearing Installation (6)1.1 Main Pivot Bearing Installation (6)1.2 Chain Stay Bearing Installation (6)1.3 Top Link Bearing Installation (7)1.4 Shock Eyelet Bearing Installation (8)2)Frame Assembly (9)2.1 Chain Stay Installation (9)2.2 Top Link Installation (10)2.3 Seat Stay Installation (11)2.4 Shock Installation (12)3)Plastic Component Installation (13)3.1 Downtube Cable Port (13)3.2 Chain Guide (13)3.3 Chain Stay Protector (13)3.4 Seat Stay Protector (13)4)Rear Axle & Rear Derailleur Hanger (14)5)Cable Routing (15)5.1 Internal Cable Noise Damping Hose (15)5.2 Head Tube Port Cable Routing (16)5.3 Frame Cable Routing (16)Disassembly Instructions (17)1)PipeLock Removal (17)2)Bearing Removal (19)Materials Required-Rocky Mountain Slayer MY 2017 Frame-Slayer Tool Kit-Loctite 243 (blue)-Grease-Torque Wrencho 2.5mm, 5mm, 6mm, and 8mm Hex Key Bits -Isopropyl Alcohol-Clean Rags-Blind Puller (10mm OD)-Vise with Soft JawsSuspension Pivot Torque GuideNote: All Torque values are +/-- 10%AB, CDESmall Parts Torque GuideNote: All Torque values are +/-- 10%F, G F, GAssembly Instructions1)Bearing Installation1.1 Main Pivot Bearing Installation2)Frame Assembly3)Plastic Component Installation3.2 Chain Guide3.3 Chain Stay Protector3.4 Seat Stay Protector4)Rear Axle & Rear Derailleur Hanger5)Cable Routing4mm Housing (mechanical shift cable housing or ensure a snug fit for cables within each port. Please seeDisassembly Instructions1)PipeLock Removal2)Bearing RemovalNote: This process is the same for all Pivots except the Main Pivot, which requires a blind puller.TL-FT Bearing Removal (6903 Tool) TL-SS Bearing Removal (DR11197 Tool)Chain Stay Bearing Removal (DR11197 Tool)。

Mcrouter中文手册 第二章

Mcrouter中文手册 第二章

最近因工作需要在学习研究Facebook的memcached中间件Mcrouter,发现没有什么中文的资料,所以一边学习一边翻译一份中文的手册,以便分享学习。

本人英文水平有限,翻译借助了google并加入个人理解,有不足或者错误欢迎大家指正,同时也希望大家转载时能标注原文出处。

因为工作比较忙,不能一次整理翻译整个手册,如果后续有新的翻译内容会继续补充Mcrouter的接受大家可以参考:/translate/introducing-mcrouter-a-memcached-protocol-router-for-scaling-memcached-deployments英文原版手册地址:https:///facebook/mcrouter/wiki2常规设置(Common setups)2.1分片池(Sharded pools)一旦你要缓存的数据量变得非常大,一台memcached服务器已经难以承担,你一定想把这些数据分割到多台memcached服务器上。

也就是我们常说的数据水平切分。

Mcrouter支持此功能。

它可以将请求按照缓存key的哈希值发送到不同的memcached服务器上。

这样缓存数据将被均匀地分布在不同的memcached服务器上,同时对同一个缓存的操作也将按照缓存key的哈希值发送到同一台memcached服务器上。

Mcrouter使用hash算法将发送请求到一个默认缓存服务器管理池里。

下面是一个简单的mcrouter配置例子:{"pools": {"A": {"servers": [// your destination memcached boxes here, e.g.:"127.0.0.1:12345","[::1]:12346"]}},"route":"PoolRoute|A"}说明:请求将按照key的哈希值发送到memcached服务器,“PoolRoute”代表按照hash路由2.2复制池(Replicated pools)在很多情况下缓存服务经常被庞大客户端频繁的访问,memcached的服务也需要提供连续的不间断的高性能读取性能。

Rocky PPS无人机后差飞软件

Rocky PPS无人机后差飞软件

图 14 成果报表展示
图 7 POS 信息区
三、软件说明
3.1 工程的创建
点击菜单栏中的文件按钮,会弹出
下拉菜
单,点击打开按钮,会弹出如下对话框。我们也可以点击工具栏中
快速完成操作。
图 8 工程创建 在上述的对话框中,我们将进行以下操作流程: 1、选定工程所需的几个重要文件,包括原始 POS 数据文档、飞 载流动站数据文档、相片曝光时刻文档、相片文件夹。 我们可以选择手动输入各要素的地址,也可以在点击输入栏后方 的按钮,在弹出的对话框中选择位置。
一、设备要求
支持系统: · Windows XP · Windows 7 32bit · Windows 7 64bit · Windows 8 64bit · Windows 10 64bit
推荐硬件配置: ·处理器:Intel Core i3/i5/i7 ·内存: 8GB ·显卡:nVidia GeForce (any)
大化和还原操作。如无需显示,亦可关闭显示区。 各区域的功能与显示内容如下所述:
1、菜单栏 菜单栏主要功能是管理软件的全局,包括工程的创建与运行、视
图管理、各项参数设置等。具体界面如下:
图 2 菜单栏 2、工具栏
工具栏主要功能是帮助实现软件的快速使用操作,主要内容包括 工程快速创建、开启解算。具体界面如下:
原始轨迹、解算后轨迹、原始与解算后比对轨方式,包括图标、线条、图标线条双显。
具体成果如下所示:
图 13 解算航迹图展示
图 14 解算数据展示
成解算后,我们也可以生成具体的成果报表,来展示整个工程的 整体情况,报表可以根据需求来导出和打印。报表的具体内容包括: 工程概述、无人机流动站信息概况、卫星信息概况、解算精度报告。 具体的内容如下图所示:

rockwellab_rslogix5000培训教程及操作说明_实验

rockwellab_rslogix5000培训教程及操作说明_实验

实验五创建ControlLogix项目和梯形图进行控制系统CPU对时本实验中,我们将利用RSLogix5000编程软件在ControlLogix处理器中创建二个项目。

一个项目为主系统-设置并获取CPU的时钟,并且将它广播出去。

另外一个项目为从系统-消费主系统CPU广播的的数据并将该数据设置为本CPU的时钟,实现系统对时。

我们将第一组定为主系统,其他三组为从系统与主系统对时。

然后交换。

本实验的主题:创建一个ControlLogix项目设置CPU的时钟GSV指令获取系统时钟Producer一个数组Consumer一个数组CSV指令设置系统时钟通过RsNetWorx组态ControlNet网络主系统程序如下:生产主管找到你,说他需要CPU在报告故障和事件的时候必须协调系统的时间,而且系统误差必须小于7ms, 这样可以保证系统的一致性。

你知道这对ControlNet而言可以精确的保证系统的误差小于指标,并答应主管马上完成。

1.双击RSLogix5000图标。

出现如下画面:2.点击File(文件)New(新建)。

你将会看到 New Controller (新建控制器)画面。

起始槽号为0。

看一下框架,你会发现共有10槽,既然起始槽号为0,那么5555控制器(带有钥匙的模块)位于第四槽,即3号槽。

因此,填写画面,与下图一致,然后按OK。

确认你在此输入了数字3。

5555控制现在我们已经创建了一个ControlLogix项目。

此时我们还没有与项目相关的任何I/O 模块,项目中也没有可执行的代码(如梯形图)。

你正在离线工作。

所作的任何改变都只限于软件中,并存储在计算机的硬驱中。

在进入到在线操作以前,这些变化并不能反映到5555控制器中。

注意:所有模块都可带电插拔3.将鼠标移到“Controller”文件夹下面的“Controller Tags”,双击打开。

4.点击屏幕下方的“Edit”,如图所示,添加一个名字为“Date”,数据类型为“DINT[8]”的标签。

rocketmq -c的用法 -回复

rocketmq -c的用法-回复RocketMQ是一种高性能、高可靠、可扩展的分布式消息中间件,由阿里巴巴集团研发,旨在满足大规模分布式业务的消息通信需求。

其C语言版本(RocketMQ C)为C/C++开发者提供了便捷的接口,从而方便开发者在C/C++应用中使用RocketMQ进行消息传递。

下面将一步一步回答关于RocketMQ C的用法。

一、RocketMQ C的安装与配置1. 在官方网站下载RocketMQ C的源代码,或从GitHub上获取最新版本。

2. 解压下载的源代码文件,并进入解压后的目录。

3. 执行`make`命令进行编译,生成相应的动态链接库文件(.so文件)。

4. 将生成的动态链接库文件拷贝到系统库的搜索路径(如/usr/local/lib)下。

5. 配置RocketMQ C的环境变量(如LD_LIBRARY_PATH),以便应用程序在运行时能够找到RocketMQ C的动态链接库。

二、RocketMQ C的初始化和销毁1. 在应用程序中引入`rocketmq/rocketmq.h`头文件。

2. 调用`rocketmq_client_init`函数进行RocketMQ C的初始化,并传入相应的配置参数,如NameServer地址、Group ID等。

3. 初始化成功后,即可使用RocketMQ C进行消息的发送和消费。

4. 在应用程序结束时,调用`rocketmq_client_destroy`函数对RocketMQ C进行销毁,释放资源。

三、RocketMQ C的消息发送1. 创建一个`MQProducer`对象,通过调用`rocketmq_create_producer`函数并传入相关参数来实现。

2. 使用`rocketmq_start_producer`函数启动`MQProducer`对象。

3. 创建一个`MQMessage`对象,并设置消息的主题、标签、内容等信息。

rocketmq使用示例

rocketmq使用示例(实用版)目录1.RocketMQ 简介2.RocketMQ 使用示例2.1 创建生产者2.2 创建消费者2.3 发送消息2.4 接收消息2.5 消息持久化正文【RocketMQ 简介】RocketMQ 是阿里巴巴开源的一款分布式消息中间件,具有高性能、高可靠、高扩展性等特点。

它采用分布式架构,支持大规模消息队列和大量并发生产者/消费者。

RocketMQ 提供了持久化和非持久化两种存储方式,以满足不同场景的需求。

同时,它还具备消息回溯、事务消息、死信队列等高级特性。

【RocketMQ 使用示例】本示例将演示如何使用 RocketMQ 创建生产者、消费者,并发送和接收消息。

2.1 创建生产者首先,我们需要创建一个生产者。

可以通过命令行或代码方式创建。

以下是一个简单的 Java 代码示例:```javaimportorg.apache.rocketmq.client.producer.DefaultMQProducer;import org.apache.rocketmq.client.producer.SendResult;import mon.message.Message;public class Producer {public static void main(String[] args) throws Exception { DefaultMQProducer producer = newDefaultMQProducer("producer_group");producer.setNamesrvAddr("127.0.0.1:9876");producer.start();String topic = "TopicTest";String tags = "TagA";String keys = "KeyA";Message msg = new Message(topic, tags, keys, ("Hello RocketMQ " + System.currentTimeMillis()).getBytes());SendResult sendResult = producer.send(msg);System.out.println("SendResult: " + sendResult);producer.shutdown();}}```2.2 创建消费者接下来,我们需要创建一个消费者。

rocketmq使用方法

rocketmq使用方法RocketMQ 是一个开源的分布式消息中间件,它具有高吞吐量、高可用性、可靠性强等特点,广泛应用于大规模分布式系统中。

本文将介绍 RocketMQ 的使用方法,并拓展一些相关内容。

1. 安装与配置首先,需要下载并安装 RocketMQ,可以从官方网站或源码仓库获取。

安装完成后,需要配置相关参数,包括 Name Server 地址、Broker 地址等。

Name Server 主要用于提供 Broker 的路由信息,Broker 则是消息存储与传输的核心组件。

2. 创建主题与消费者组在 RocketMQ 中,消息通过主题进行传递,所以需要先创建主题。

可以使用命令行工具或编程方式创建主题。

同时,需要创建消费者组,用于标识一组消费者,以便进行负载均衡与故障转移。

3. 发送与接收消息使用 RocketMQ 的生产者可以发送消息到指定的主题,消息可以是字符串、字节数组等形式。

接收消息需要先创建一个消息监听器,并注册到指定的主题上。

当有消息到达时,监听器会被触发,从而进行消息的消费处理。

4. 消息的顺序与事务RocketMQ 支持消息的顺序性和事务性。

顺序消息保证了消息的有序性,可以通过设置消息的队列选择策略来实现。

事务消息提供了消息发送与本地事务执行的原子性保证,可以确保消息在发送和本地事务之间的一致性。

5. 高可用与负载均衡RocketMQ 支持主从模式的高可用部署,通过配置多个 Broker 实现数据的冗余备份。

同时,RocketMQ 还提供了消息的负载均衡功能,可以根据消费者组的配置进行消息的分发,以提高系统的性能与可靠性。

6. 监控与报警RocketMQ 提供了丰富的监控指标和报警机制,可以通过监控来了解消息的发送与消费情况,并及时发现异常。

可以使用自带的控制台或第三方监控工具来进行监控与报警。

总结来说,使用 RocketMQ 需要先安装与配置相关组件,然后创建主题与消费者组,通过生产者发送消息,消费者接收并处理消息。

Comtrol RocketLinx ES8105 ES8105F系列产品说明说明书

Quick Installation GuideES8105 and ES8105FROCKET LINX ES8105Industrial Ethernet SwitchIntroductionThe RocketLinx ES8105/ES8105F series of industrial Ethernet switches provide three models:ES8105 supports five 10/100BASE-TX portsES8105F-Multi-Mode: supports four 10/100BASE-TX ports and one 100BASE-FX Ethernet portES8105F-Single-Mode: supports four 10/100BASE-TX ports and one 100BASE-FX Ethernet portThe RocketLinx ES8105 series provides a slim industrial design to save rail space for compact system requirements. The ES8105 series is enclosed in an industrial-grade aluminum case with IP30 standard protection. It provides one relay output to alarm port link failure events, which is enabled and disabled by a DIP switch.Refer to the Comtrol web site for specification information. For more detailedinstallation information, see the RocketLinx ES8105/ES8105F User Guide , which is available at: ftp:///html/ES8108_docs.htm.Wiring the Power Inputs1. Insert the positive and negative wires into the power V+ and V- contacts on theterminal block connector.2. Tighten the wire-clamp screws to prevent the wires from being loosened.Note: The recommended working voltage is 24VDC (18- 32VDC) or 18VAC (18-27VAC).Wiring the Relay OutputThe relay output alarm contacts are on the terminal block connector as shown in the figure.If you insert the wires and enable the DIP switch for the port,the relay output alarm will detect any port failures, and forma short circuit. The alarm relay output is Normal Open.Enabling the Event AlarmUse this table to set the DIP switch for the relay output alarm.rt, m m.Pin Status Description1-5OnEnables the port link failure alarm on this port. OffDisables the port link failure alarm on this port.4NO1235Grounding the ES8105/ES8105FThere is one grounding screw on the bottom side of the ES8105/ES8105F. Loosen the screw and connect a ground wire from the ES8105/ES8510F to a grounded surface to ensure safety and prevent noise.Mounting the UnitYou can mount the ES8105 series on a DIN rail.Connecting the Ethernet PortConnect one end of an Ethernet cable into the Ethernet port of the ES8105/ES8105F and the other end to the attached networking device. The Fast Ethernet ports support 10BASE-T and 100BASE-TX, full- or half-duplex modes.The Fast Ethernet ports automatically detect the signal from the connected devices to negotiate the link speed and duplex mode. Auto MDI/MDIX allows you to connect another switch, hub, or workstation without changing straight-through or crossover cables. Crossover cables cross-connect the transmit lines at each end to the received lines at the opposite end.The Ethernet cables use Pins 1, 2, 3, and 6 of an 8-pin RJ45 connector. The signals of these pins are converted by the automatic MDIX function, as shown in the following table:3 TD+6 TD- 3 RD+6 RD-Switch Router or PC 1 RD+2 RD- 1 TD+2 TD-Straight-Through Cabling Schematic 3 TD+6 TD- 3 TD+6 TD-Switch Switch 1 RD+2 RD- 1 RD+2 RD-Crossover Cabling SchematicPin MDIX Signals MDI Signals1 RD+ TD+2 RD- TD-3 TD+ RD+ 6 TD-RD-This is a Class 1 Laser/LED product. Do not stare into the Laser/LED Beam.Cable Wiring(SC to SC)RX A TX BTX A RX B ABThe LINK/ACT LED is lit when the cable is correctly connected. The LINK/ACT LED is lit yellow for a 10BASE-TX Ethernet connection or green for a 100BASE-TX Ethernet connection. Always make sure that the cables between the switches and attached devices (for example, switch, hub, or workstation) are less than 100 meters (328 feet).Connecting the Fiber Port (ES8105F)Connect the fiber port on the ES8105F to another fiber Ethernet device using the following information.A wrong connection will cause the fiber port not to work properly.The fiber connector is a standard connector or square connector (SC).Note: In the IEEE standard, it suggests the available transmission distance is 2KM for 62.5/125um fiber optical cable in 1310nm wave length. Actually, the attenuation of Multi-Mode 62.5/125um optical fiber cable is 1.5dBm/km and the maximum link distance can be up to 4 to 5km.Mode Cable Type Wavelength Transmit Power (min.) Transmit Power (max.) Receive Sensitivity (max.) ReceiveSensitivity (min.)Min. LaunchPower –Max.ReceiveSensitivity Distance(km)Multi50/125um 62.5/125um1310nm -20dBm -14dBm -31dBm 0dBm 11dBm 2kmNote (below)Single 8-10/125um1310nm-15dBm-8dBm-34dBm-8dBm19dBm30kmIEEE organization recommends maximum optical fiber cable distances as defined inthe following table:Comtrol Customer ServiceYou can use one of the following methods to contact Comtrol Corporation.The following table provides information about optical fiber cable attenuation:0.1dBm。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
相关文档
最新文档