<?xml version="1.0" encoding="utf-8" standalone="yes"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>07 Ops Best Practices - Cygnus Tech Blog</title><link>https://cygnusyang.github.io/posts/01-ai-%E5%B7%A5%E5%85%B7%E4%B8%8E%E6%99%BA%E8%83%BD%E4%BD%93/01-openclaw/07-ops-best-practices/</link><description>技术 × 产品 × 机器人</description><generator>Hugo 0.160.1 & FixIt v0.4.6-20260517062719-ed8ec5c2</generator><language>zh-CN</language><managingEditor>ruohuyang@163.com (Cygnus Yang)</managingEditor><webMaster>ruohuyang@163.com (Cygnus Yang)</webMaster><lastBuildDate>Sat, 23 May 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://cygnusyang.github.io/posts/01-ai-%E5%B7%A5%E5%85%B7%E4%B8%8E%E6%99%BA%E8%83%BD%E4%BD%93/01-openclaw/07-ops-best-practices/index.xml" rel="self" type="application/rss+xml"/><item><title>第31章 模型故障转移 (Model Failover) —— 如何提高可用性</title><link>https://cygnusyang.github.io/posts/01-ai-%E5%B7%A5%E5%85%B7%E4%B8%8E%E6%99%BA%E8%83%BD%E4%BD%93/01-openclaw/07-ops-best-practices/31-failover/</link><pubDate>Sat, 23 May 2026 00:00:00 +0800</pubDate><author>ruohuyang@163.com (Cygnus Yang)</author><guid>https://cygnusyang.github.io/posts/01-ai-%E5%B7%A5%E5%85%B7%E4%B8%8E%E6%99%BA%E8%83%BD%E4%BD%93/01-openclaw/07-ops-best-practices/31-failover/</guid><description>&lt;p&gt;模型 API 不是 100% 可用，会有超时、限流、宕机。OpenClaw 设计了模型故障转移机制，主模型不可用时自动切备用模型，保证你的任务能继续跑。本章讲解故障转移配置和最佳实践。&lt;/p&gt;
&lt;h2 class="heading-element" id="什么是模型故障转移"&gt;&lt;span&gt;什么是模型故障转移&lt;/span&gt;
 &lt;a href="#%e4%bb%80%e4%b9%88%e6%98%af%e6%a8%a1%e5%9e%8b%e6%95%85%e9%9a%9c%e8%bd%ac%e7%a7%bb" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;故障转移 = &lt;strong&gt;主模型挂了自动切下一个&lt;/strong&gt;：&lt;/p&gt;</description></item><item><title>第32章 调试技巧 —— 如何排查 OpenClaw 问题</title><link>https://cygnusyang.github.io/posts/01-ai-%E5%B7%A5%E5%85%B7%E4%B8%8E%E6%99%BA%E8%83%BD%E4%BD%93/01-openclaw/07-ops-best-practices/32-debugging/</link><pubDate>Sat, 23 May 2026 00:00:00 +0800</pubDate><author>ruohuyang@163.com (Cygnus Yang)</author><guid>https://cygnusyang.github.io/posts/01-ai-%E5%B7%A5%E5%85%B7%E4%B8%8E%E6%99%BA%E8%83%BD%E4%BD%93/01-openclaw/07-ops-best-practices/32-debugging/</guid><description>&lt;p&gt;OpenClaw 出问题了怎么快速定位？本章汇总常用调试技巧，帮你快速找到问题解决问题。&lt;/p&gt;
&lt;h2 class="heading-element" id="第一步运行健康检查"&gt;&lt;span&gt;第一步：运行健康检查&lt;/span&gt;
 &lt;a href="#%e7%ac%ac%e4%b8%80%e6%ad%a5%e8%bf%90%e8%a1%8c%e5%81%a5%e5%ba%b7%e6%a3%80%e6%9f%a5" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;不管什么问题，先跑这个：&lt;/p&gt;</description></item><item><title>第33章 成本优化 —— 如何用模型分级降低总成本</title><link>https://cygnusyang.github.io/posts/01-ai-%E5%B7%A5%E5%85%B7%E4%B8%8E%E6%99%BA%E8%83%BD%E4%BD%93/01-openclaw/07-ops-best-practices/33-cost-optimization/</link><pubDate>Sat, 23 May 2026 00:00:00 +0800</pubDate><author>ruohuyang@163.com (Cygnus Yang)</author><guid>https://cygnusyang.github.io/posts/01-ai-%E5%B7%A5%E5%85%B7%E4%B8%8E%E6%99%BA%E8%83%BD%E4%BD%93/01-openclaw/07-ops-best-practices/33-cost-optimization/</guid><description>&lt;p&gt;OpenClaw 原生支持多模型，你可以用&lt;strong&gt;模型分级&lt;/strong&gt;把成本降下来，同时保持体验差不多。本章分享实战成本优化技巧。&lt;/p&gt;
&lt;h2 class="heading-element" id="核心思想模型分级按任务分配模型"&gt;&lt;span&gt;核心思想：模型分级，按任务分配模型&lt;/span&gt;
 &lt;a href="#%e6%a0%b8%e5%bf%83%e6%80%9d%e6%83%b3%e6%a8%a1%e5%9e%8b%e5%88%86%e7%ba%a7%e6%8c%89%e4%bb%bb%e5%8a%a1%e5%88%86%e9%85%8d%e6%a8%a1%e5%9e%8b" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;p&gt;不是什么任务都用最强最贵的模型：&lt;/p&gt;</description></item><item><title>第34章 部署运维 —— OpenClaw 网关生产环境最佳实践</title><link>https://cygnusyang.github.io/posts/01-ai-%E5%B7%A5%E5%85%B7%E4%B8%8E%E6%99%BA%E8%83%BD%E4%BD%93/01-openclaw/07-ops-best-practices/34-deployment/</link><pubDate>Sat, 23 May 2026 00:00:00 +0800</pubDate><author>ruohuyang@163.com (Cygnus Yang)</author><guid>https://cygnusyang.github.io/posts/01-ai-%E5%B7%A5%E5%85%B7%E4%B8%8E%E6%99%BA%E8%83%BD%E4%BD%93/01-openclaw/07-ops-best-practices/34-deployment/</guid><description>&lt;p&gt;OpenClaw 设计就是为了生产环境长期运行，本章汇总生产环境部署运维的最佳实践，帮你跑稳跑顺。&lt;/p&gt;
&lt;h2 class="heading-element" id="部署架构选择"&gt;&lt;span&gt;部署架构选择&lt;/span&gt;
 &lt;a href="#%e9%83%a8%e7%bd%b2%e6%9e%b6%e6%9e%84%e9%80%89%e6%8b%a9" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h2&gt;&lt;h3 class="heading-element" id="选项-1单机部署推荐个人小团队"&gt;&lt;span&gt;选项 1：单机部署（推荐个人/小团队）&lt;/span&gt;
 &lt;a href="#%e9%80%89%e9%a1%b9-1%e5%8d%95%e6%9c%ba%e9%83%a8%e7%bd%b2%e6%8e%a8%e8%8d%90%e4%b8%aa%e4%ba%ba%e5%b0%8f%e5%9b%a2%e9%98%9f" class="heading-mark"&gt;
 &lt;svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"&gt;&lt;/path&gt;&lt;/svg&gt;
 &lt;/a&gt;
&lt;/h3&gt;&lt;pre&gt;&lt;code&gt;你的服务器 → OpenClaw Gateway 直接跑 → 反向代理 Nginx → 域名 HTTPS&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;
&lt;li&gt;简单，一台机器搞定&lt;/li&gt;
&lt;li&gt;数据都在你自己机器&lt;/li&gt;
&lt;li&gt;维护方便，升级简单&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;适合：个人使用、小团队、不需要高可用。&lt;/p&gt;</description></item></channel></rss>