立即与支持人员聊天
与支持团队交流

QoreStor 5.1.0 - Command Line Reference Guide

Introduction to the QoreStor Command Line Reference Guide Introducing QoreStor Managing QoreStor
Alerts Commands Authenticate Commands Email_alerts Commands OST RDA Sc_manager command Stats Storage Group commands System User
Managing QoreStor Storage Operations
Connection Container FC iSCSI NDMP Replication Seed Schedule VTL
Maintaining QoreStor About us

Schedule Command Usage

This topic introduces the schedule command usage:

  • schedule --show [--cleaner] [--replication] [--name]
  • schedule --add --day <Day of the week (Sunday|Monday...)> [options]
  • schedule --delete --day <Day of the week (Sunday|Monday...)> [options]
  • schedule --help

NOTE: If you specify a command without supplying the expected value or option, you will be prompted to provide the correct value or option.

schedule --show [--cleaner]

Description

Displays any existing Cleaner schedule.

Syntax

schedule --show --cleaner

Result

Cleaner Schedule:
			Start   Stop
Sunday 		05:00   06:00
Monday 		05:00   06:00
Tuesday 		05:00   06:00
Wednesday 		05:00   06:00
Thursday 		05:00   06:00
Friday 		05:00   06:00
Saturday 		05:00   06:00

schedule --show [--replication] [--name <name>]

Description

Displays any existing replication schedule for a QoreStor. If you do not specify a name parameter, the replication schedules for all containers are returned.

Syntax

schedule --show --replication --name acme55-cont1

Result

Replication Schedule:
				Start   Stop
Sunday 			22:00   05:00
Monday 			22:00   05:00
Tuesday 			22:00   05:00
Wednesday 			22:00   05:00
Thursday 			22:00   05:00
Friday 			22:00   05:00
Saturday 			22:00   05:00

schedule --add --day <day of the week> [--cleaner] [--replication] [--start_time <hh:mm>] [-- stop_time <hh:mm>] [--name <name>]

Description

Creates a new Cleaner or Replication schedule for a QoreStor instance.

NOTE: Without any Cleaner schedule set, the QoreStor Cleaner process automatically starts within two minutes after it detects that no data ingest operation or other system operation activity is present. So, if your QoreStor runs intermittent or inconsistent ingest or readback, or replication operations, there is no need to set a Cleaner schedule (it will automatically run during periods of low or non-activity). However, if your system runs regular and consistent ingest or readback you should create a Cleaner schedule that runs only during a known period of low or non-activity (for example, on a day or time period sufficient to complete this process). If your system does not meet either of these cases, you can still manually run the Cleaner. For more information, see maintenance --filesystem [--reclaim_space].

Syntax

schedule --add --day Sunday --start_time 06:00 --stop_time 22:00 --cleaner

NOTE: Set a corresponding stop time for every start time in each Cleaner (or Replication) schedule you create. The following example shows setting up a Cleaner schedule for the remainder of the week (Monday through Saturday).

NOTE: Do not select 00:00 for a start time or stop time endpoint for midnight when setting Cleaner or Replication schedules (instead, use either the 23:55 or 00:05 value).

Result

Successfully updated Cleaner schedule.

NOTE: To create a Replication schedule (use the QoreStor CLI --replication command), and the same process shown here to schedule the start and stop times for a Replication schedule. This lets you schedule start and stop times for each day in the week in which you want the Replication process to run.

相关文档

The document was helpful.

选择评级

I easily found the information I needed.

选择评级