Skip to content

[WFR] on #265 #619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 17 additions & 13 deletions ja/learn/admin/REST/rest-cluster-autofailover-reset.dita
Original file line number Diff line number Diff line change
@@ -1,35 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference xml:lang="en-us" id="rest-cluster-autofailover-reset">
<title>Resetting auto-failover</title>
<shortdesc>Auto-failover is reset with the <codeph>POST /settings/autoFailover/resetCount</codeph> HTTP method and URI.</shortdesc>
<reference xml:lang="ja" id="rest-cluster-autofailover-reset">
<title>オートフェイルオーバの再設定</title>
<shortdesc>オートフェイルオーバは<codeph>POST /settings/autoFailover/resetCount</codeph> HTTPメソッドとURIでリセットします。</shortdesc>
<refbody>
<section><title>HTTP method and URI</title>
<p>Resets the number of nodes that Couchbase Server has automatically failed over. A request
can be sent to reset the auto-failover number to 0. This is a global setting for all
clusters. Authenticated is required to change this value. No parameters are required.</p>
<section><title>HTTPメソッドとURI</title>
<p>
Couchbase Serverが自動的にフェールオーバしたノード数をリセットします。
リクエストを送ることでオートフェイルオーバ数を0にリセット出来ます。
This is a global setting for all clusters.
これはcluster全体のグローバルな設定です。
認証されている場合はこの値を変更する必要があります。パラメータは必要ありません。
</p>

<codeblock>
POST /settings/autoFailover/resetCount
</codeblock>

</section>

<section><title>Syntax</title>
<section><title>シンタックス</title>
<codeblock>
curl -X POST -i -u [admin]:[password] \
http://localhost:8091/settings/autoFailover/resetCount
</codeblock>
</section>

<section><title>Example</title>
<p>Curl request example:</p>
<section><title></title>
<p>Curlリクエスト例:</p>

<codeblock>curl -X POST -i -u admin:password \
http://10.5.2.54:8091/settings/autoFailover/resetCount
</codeblock>

<p>Raw HTTP request example:</p>
<p>Raw HTTPリクエスト例:</p>

<codeblock>POST /settings/autoFailover/resetCount HTTP/1.1
Host: localhost:8091
Expand All @@ -38,9 +42,9 @@ Authorization: Basic YWRtaW46YWRtaW4=
</codeblock>
</section>

<section><title>Response codes</title>
<section><title>レスポンスコード</title>
<codeblock>HTTP/1.1 200 OK</codeblock>
<p>Possible errors include:</p>
<p>エラーを含む場合:</p>
<codeblock>This endpoint isn't available yet.
401 Unauthorized
</codeblock>
Expand Down