mirror of
https://github.com/minio/docs.git
synced 2025-07-30 07:03:26 +03:00
Updates for several July 2023 mc releases (#964)
mc RELEASE.2023-07-18T21-05-38Z - Replaces mc replicate diff with mc replicate backlog - Adds mc support top net mc RELEASE.2023-07-07T05-25-51Z - Adds mc support perf site-replication - Deprecates mc admin replicate --sync flag in favor of new mc admihn replicate --mode flag - Updates output example of mc admin user info to show authentication info Partially addresses #930
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
.. _minio-mc-replicate-diff:
|
||||
.. _minio-mc-replicate-backlog:
|
||||
|
||||
=====================
|
||||
``mc replicate diff``
|
||||
=====================
|
||||
========================
|
||||
``mc replicate backlog``
|
||||
========================
|
||||
|
||||
.. default-domain:: minio
|
||||
|
||||
@ -11,15 +12,21 @@
|
||||
:depth: 2
|
||||
|
||||
.. mc:: mc replicate diff
|
||||
.. mc:: mc replicate backlog
|
||||
|
||||
.. versionchanged:: mc.RELEASE.2023-07-18T21-05-38Z
|
||||
|
||||
``mc replicate diff`` has been renamed ``mc replicate backlog``.
|
||||
No functionality has changed.
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
.. start-mc-replicate-diff-desc
|
||||
.. start-mc-replicate-backlog-desc
|
||||
|
||||
The :mc:`mc replicate diff` shows a list of unreplicated new or deleted objects.
|
||||
The :mc:`mc replicate backlog` shows a list of unreplicated new or deleted objects.
|
||||
|
||||
.. end-mc-replicate-diff-desc
|
||||
.. end-mc-replicate-backlog-desc
|
||||
|
||||
You can list the replication status of objects for a particular remote target.
|
||||
To do so, you must have the ARN of the remote target.
|
||||
@ -38,7 +45,7 @@ Syntax
|
||||
.. code-block:: shell
|
||||
:class: copyable
|
||||
|
||||
mc replicate diff myminio/notes/teamorange/projects --arn arn:minio:replication::3bb8c736-4014-42c5-b3cb-d64e3ebaa75e:notes
|
||||
mc replicate backlog myminio/notes/teamorange/projects --arn arn:minio:replication::3bb8c736-4014-42c5-b3cb-d64e3ebaa75e:notes
|
||||
|
||||
If any new or deleted objects have not yet replicated, the command outputs something similar to the following:
|
||||
|
||||
@ -57,8 +64,8 @@ Syntax
|
||||
.. code-block:: shell
|
||||
:class: copyable
|
||||
|
||||
mc [GLOBALFLAGS] replicate diff \
|
||||
[--arn "string"] \
|
||||
mc [GLOBALFLAGS] replicate backlog \
|
||||
[--arn "string"] \
|
||||
TARGET
|
||||
|
||||
.. include:: /includes/common-minio-mc.rst
|
||||
@ -99,7 +106,7 @@ Display unreplicated ``PUT`` and ``DELETE`` actions for a prefix:
|
||||
.. code-block:: shell
|
||||
:class: copyable
|
||||
|
||||
mc replicate diff myminio/mybucket/path/to/prefix
|
||||
mc replicate backlog myminio/mybucket/path/to/prefix
|
||||
|
||||
- Replace ``myminio/mybucket`` with the :mc-cmd:`~mc replicate add ALIAS` and
|
||||
full bucket path for which to create the replication configuration.
|
||||
@ -116,12 +123,12 @@ If unreplicated objects exist, the output returns a list of the actions that cre
|
||||
View Unreplicated Objects at a Specific Remote Target
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The following :mc:`mc replicate diff` command shows unreplicated objects at an alias/bucket/prefix path for a specific remote target:
|
||||
The following :mc:`mc replicate backlog` command shows unreplicated objects at an alias/bucket/prefix path for a specific remote target:
|
||||
|
||||
.. code-block:: shell
|
||||
:class: copyable
|
||||
|
||||
mc replicate diff myminio/mybucket/path/to/prefix --arn <remote-arn>
|
||||
mc replicate backlog myminio/mybucket/path/to/prefix --arn <remote-arn>
|
||||
|
||||
- Replace ``myminio/mybucket`` with the :mc-cmd:`~mc replicate add ALIAS` and
|
||||
full bucket path for which to show unreplicated objects.
|
@ -42,10 +42,10 @@ Subcommands
|
||||
:start-after: start-mc-replicate-add-desc
|
||||
:end-before: end-mc-replicate-add-desc
|
||||
|
||||
* - :mc:`~mc replicate diff`
|
||||
- .. include:: /reference/minio-mc/mc-replicate-diff.rst
|
||||
:start-after: start-mc-replicate-diff-desc
|
||||
:end-before: end-mc-replicate-diff-desc
|
||||
* - :mc:`~mc replicate backlog`
|
||||
- .. include:: /reference/minio-mc/mc-replicate-backlog.rst
|
||||
:start-after: start-mc-replicate-backlog-desc
|
||||
:end-before: end-mc-replicate-backlog-desc
|
||||
|
||||
* - :mc:`~mc replicate export`
|
||||
- .. include:: /reference/minio-mc/mc-replicate-export.rst
|
||||
@ -87,7 +87,7 @@ Subcommands
|
||||
:hidden:
|
||||
|
||||
/reference/minio-mc/mc-replicate-add
|
||||
/reference/minio-mc/mc-replicate-diff
|
||||
/reference/minio-mc/mc-replicate-backlog
|
||||
/reference/minio-mc/mc-replicate-ls
|
||||
/reference/minio-mc/mc-replicate-update
|
||||
/reference/minio-mc/mc-replicate-resync
|
||||
|
@ -30,6 +30,10 @@ When enabled, MinIO can send logs to SUBNET in real time, diagnostics every 24 h
|
||||
MinIO disables this functionality by default, regardless of registration status.
|
||||
You must explicitly enable the ``callhome`` function to begin real time log upload.
|
||||
|
||||
.. include:: /includes/common-mc-support.rst
|
||||
:start-after: start-minio-only
|
||||
:end-before: end-minio-only
|
||||
|
||||
Syntax
|
||||
------
|
||||
|
||||
|
@ -14,6 +14,10 @@
|
||||
|
||||
``mc support perf`` replaces the ``mc admin speedtest`` command.
|
||||
|
||||
.. include:: /includes/common-mc-support.rst
|
||||
:start-after: start-minio-only
|
||||
:end-before: end-minio-only
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
@ -26,7 +30,7 @@ Use the :mc:`mc support perf` command to review the performance of the S3 API (r
|
||||
The resulting tests can provide general guidance of deployment performance under S3 ``GET`` and ``PUT`` requests and identify any potential bottlenecks.
|
||||
For more complete performance testing, consider using a combination of load-testing using your staging application environments and the MinIO `WARP <https://github.com/minio/warp>`_ S3 benchmarking tool.
|
||||
|
||||
:mc:`mc support perf` has three subcommands
|
||||
:mc:`mc support perf` has the following subcommands
|
||||
|
||||
#. :mc-cmd:`~mc support perf drive`
|
||||
|
||||
@ -44,6 +48,10 @@ For more complete performance testing, consider using a combination of load-test
|
||||
|
||||
Measure the network throughput to a client.
|
||||
|
||||
#. :mc-cmd:`~mc support perf site-replication`
|
||||
|
||||
Measure the speed of site replication operations.
|
||||
|
||||
.. include:: /includes/common-mc-support.rst
|
||||
:start-after: start-minio-only
|
||||
:end-before: end-minio-only
|
||||
@ -105,6 +113,16 @@ Run a network throughput test on a cluster with alias ``minio1``.
|
||||
|
||||
mc support perf net minio1
|
||||
|
||||
Test Site Replication Speed
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Run a test on the speed of site replication operations from the ``minio1`` site to other configured peers.
|
||||
|
||||
.. code-block:: shell
|
||||
:class: copyable
|
||||
|
||||
mc support perf site-replication minio1
|
||||
|
||||
Syntax
|
||||
------
|
||||
|
||||
@ -165,6 +183,19 @@ Syntax
|
||||
[--airgap] \
|
||||
ALIAS
|
||||
|
||||
.. mc-cmd:: site-replication
|
||||
:fullpath:
|
||||
|
||||
Measure the speed of site replication operations from the specified ``ALIAS`` to other configured peers.
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
mc [GLOBAL FLAGS] support perf site-replication \
|
||||
--duration \
|
||||
[--verbose, -v] \
|
||||
ALIAS
|
||||
|
||||
|
||||
Parameters
|
||||
~~~~~~~~~~
|
||||
|
||||
|
@ -10,6 +10,10 @@
|
||||
|
||||
.. mc:: mc support profile
|
||||
|
||||
.. include:: /includes/common-mc-support.rst
|
||||
:start-after: start-minio-only
|
||||
:end-before: end-minio-only
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
|
@ -10,6 +10,10 @@
|
||||
|
||||
.. mc:: mc support top api
|
||||
|
||||
.. include:: /includes/common-mc-support.rst
|
||||
:start-after: start-minio-only
|
||||
:end-before: end-minio-only
|
||||
|
||||
Syntax
|
||||
------
|
||||
|
||||
|
@ -10,6 +10,10 @@
|
||||
|
||||
.. mc:: mc support top disk
|
||||
|
||||
.. include:: /includes/common-mc-support.rst
|
||||
:start-after: start-minio-only
|
||||
:end-before: end-minio-only
|
||||
|
||||
Syntax
|
||||
------
|
||||
|
||||
|
@ -10,6 +10,10 @@
|
||||
|
||||
.. mc:: mc support top locks
|
||||
|
||||
.. include:: /includes/common-mc-support.rst
|
||||
:start-after: start-minio-only
|
||||
:end-before: end-minio-only
|
||||
|
||||
Syntax
|
||||
------
|
||||
|
||||
|
75
source/reference/minio-mc/mc-support-top-net.rst
Normal file
75
source/reference/minio-mc/mc-support-top-net.rst
Normal file
@ -0,0 +1,75 @@
|
||||
=======================
|
||||
``mc support top net``
|
||||
=======================
|
||||
|
||||
.. default-domain:: minio
|
||||
|
||||
.. contents:: Table of Contents
|
||||
:local:
|
||||
:depth: 2
|
||||
|
||||
.. mc:: mc support top net
|
||||
|
||||
.. include:: /includes/common-mc-support.rst
|
||||
:start-after: start-minio-only
|
||||
:end-before: end-minio-only
|
||||
|
||||
Syntax
|
||||
------
|
||||
|
||||
.. start-mc-support-top-net-desc
|
||||
|
||||
The :mc:`mc support top net` command displays realtime network metrics.
|
||||
|
||||
.. end-mc-support-top-net-desc
|
||||
|
||||
.. tab-set::
|
||||
|
||||
.. tab-item:: EXAMPLE
|
||||
|
||||
The following command displays the current realtime network metrics for the :term:`alias` ``myminio`` deployment.
|
||||
|
||||
.. code-block:: shell
|
||||
:class: copyable
|
||||
|
||||
mc support top net myminio/
|
||||
|
||||
The output returns information such as the server URL, network interface, receive rate, transmit rate, and system messages.
|
||||
|
||||
.. tab-item:: SYNTAX
|
||||
|
||||
The command has the following syntax:
|
||||
|
||||
.. code-block:: shell
|
||||
:class: copyable
|
||||
|
||||
mc [GLOBALFLAGS] support top disk \
|
||||
[--interval value] \
|
||||
TARGET
|
||||
|
||||
.. include:: /includes/common-minio-mc.rst
|
||||
:start-after: start-minio-syntax
|
||||
:end-before: end-minio-syntax
|
||||
|
||||
Parameters
|
||||
~~~~~~~~~~
|
||||
|
||||
.. mc-cmd:: TARGET
|
||||
:required:
|
||||
|
||||
The full path to the :ref:`alias <minio-mc-alias>` or :term:`prefix` where the command should run.
|
||||
|
||||
.. mc-cmd:: --interval
|
||||
:optional:
|
||||
|
||||
The interval in seconds between metric requests.
|
||||
|
||||
By default, the command requests metrics every second.
|
||||
|
||||
Global Flags
|
||||
~~~~~~~~~~~~
|
||||
|
||||
.. include:: /includes/common-minio-mc.rst
|
||||
:start-after: start-minio-mc-globals
|
||||
:end-before: end-minio-mc-globals
|
||||
|
@ -16,6 +16,10 @@
|
||||
|
||||
``mc support top`` replaces the ``mc admin top`` command.
|
||||
|
||||
.. include:: /includes/common-mc-support.rst
|
||||
:start-after: start-minio-only
|
||||
:end-before: end-minio-only
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
@ -35,6 +39,7 @@ MinIO deployments, similar to the output of the ``top`` command in a shell.
|
||||
- :mc-cmd:`~mc support top api`
|
||||
- :mc-cmd:`~mc support top locks`
|
||||
- :mc-cmd:`~mc support top disk`
|
||||
- :mc-cmd:`~mc support top net`
|
||||
|
||||
Refer to the pages linked above for each subcommand for details.
|
||||
|
||||
@ -53,4 +58,5 @@ The command has the following syntax:
|
||||
|
||||
/reference/minio-mc/mc-support-top-api
|
||||
/reference/minio-mc/mc-support-top-locks
|
||||
/reference/minio-mc/mc-support-top-disk
|
||||
/reference/minio-mc/mc-support-top-disk
|
||||
/reference/minio-mc/mc-support-top-net
|
Reference in New Issue
Block a user