Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

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. For details on the information displayed see the EXTENDED DESCRIPTION section.
-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 that the data synchronization process is enabled and functioning normally.
Disabled
Indicates that the data synchronization process has been disabled because SC failover was disabled.
Failed
Indicates that the data synchronization process cannot currently propagate files to the spare SC.
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 
time                      interval       filename 

where:

time
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.
filename
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, "SMS Security Options and Administrative Privileges" in the System Management Services (SMS) 1.4 Administrator Guide for more information.

EXAMPLES

 Example 1. Displaying Data Synchronization Status
 
 
sc0:sms-user:> showdatasync  
File Propagation State:  ACTIVE
Active File:             -
Queued files:            0
Example 2. Displaying Data Synchronization List
 
 
sc0:sms-user:> showdatasync -l
TIME PROPAGATED          INTERVAL     FILE 
Mar 23 16:00:00                60     /tmp/t1 
Example 3. Displaying 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.4Go To TopLast Changed 19 September 2003