Sun Microsystems, Inc.
   www.sun.com docs.sun.com | | |  
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
System Administrationshowdatasync(1m)


NAME

 showdatasync - display the status of system controller (SC) data synchronization for failover

SYNOPSIS

 showdatasync [-l|-Q] [-v]
 showdatasync -h

DESCRIPTION

 

showdatasync provides the current status of files propagated (copied) from the main SC to its spare. Data propagation synchronizes data on the spare SC with data on the main SC, so that the spare SC is current with the main SC if an SC failover occurs.

OPTIONS

 

The following options are supported.

-h
Help. Displays usage descriptions. Note – Use alone. Any option specified in addition to -h is ignored.
-l
Lists the files in the current data propagation list. See the EXTENDED DESCRIPTION section for details on the information displayed.
-Q
Lists the files queued for propagation. Each file name includes the absolute path to the file.
-v
Verbose. Displays all available command information.

EXTENDED DESCRIPTION

 

This section describes the information displayed by the showdatasync command.

If you do not specify an option with the showdatasync command, the following information is displayed:
 
File Propagation Status:
Active File:
Queued files:

where:

File Propagation Status
Displays the current status of data synchronization:
  • Active indicates the data synchronization process is enabled and functioning normally.
  • Disabled indicates the data synchronization process has been disabled because SC failover was disabled.
  • Failed indicates the data synchronization process cannot currently propagate files to the spare SC even though an SC failure was detected.
Active File
Displays either the absolute path of the file currently being propagated or a - (dash) indicating that the link is idle.
Queued files
Specifies the number of files to be propagated but not yet processed.

If you specify the -l option with the showdatasync command, each entry in the data propagation list is displayed in the format Time Propagated, Interval, File, where:

Time Propagated
Indicates the last time that the file was propagated from the main SC to the spare.
Interval
Specifies the interval, in minutes, between checks for file modification. The default interval is 60 minutes.
File
Provides the absolute path and name of the propagated file.

Group Privileges Required

 

You must have platform administrator, platform operator, platform service, domain administrator, or domain configurator privileges to run this command.

Refer to Chapter 2 in the System Management Services (SMS) 1.2 Administrator Guide for the Sun Fire 15K/12K Systems for more information.

EXAMPLES

 Example 1. Data Synchronization Status
 
 
sc0:sms-user:> showdatasync  
File Propagation State:  ACTIVE
Active File:             -
Queued files:            0
Example 2. Data Synchronization List
 
 
sc0:sms-user:> showdatasync -l
TIME PROPAGATED          INTERVAL     FILE 
Mar 23 16:00:00                60     /tmp/t1 
Example 3. Data Synchronization Queue
 
 
sc0:sms-user:> showdatasync -Q 
FILE
/tmp/t1 

EXIT STATUS

 

The following exit values are returned:

0
Successful completion
>0
An error occurred.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

Attribute TypesAttribute Values
AvailabilitySUNWSMSop

SEE ALSO

 

setdatasync(1m)


SMS 1.2Go To TopLast Changed 22 April 2002

 
      
      
Copyright 2002 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 USA. All rights reserved.