| Skip Navigation Links | |
| Exit Print View | |
![]() | man pages section 1M: System Administration Commands Oracle Solaris 11 Information Library |
- configuration tool for Sun StorageTek Availability Suite software
dscfg
dscfg-L
dscfg-h
dscfg [-Cgroup]
dscfg [-Cgroup]-i [-pparser_config_file]
dscfg [-Cgroup]-aconfig_file
dscfg [-Cgroup] [-l]
dscfg [-Cgroup] [-l]-sconfig_location
dscfg-Ddgname
Thedscfg command controls the Availability Suite configuration by providing facilities toinitialize, list, format, restore the configuration database.
If no options are specified,dscfg displays the current local configuration location.Thedscfg command supports the following options:
Displays the status of the lock controlling access to the configuration database. If the configuration database is locked, the type of lock (read or write) is displayed along with the process id of the process that holds the lock.
Displays the usage message for thedscfg command.
Initializes the configuration database. As it deletes previous or current configuration information, this option prompts you to confirm the deletion before proceeding.
When used with the-i option,dscfg loads the parser configuration file into the persistent configuration, it reformats the configuration database.
Restore the specifiedconfig_file into the configuration. This option does not do any error checking of the file. Use of this option invalidates the configuration file.
Lists the contents of current configuration database in a format that is suitable for the-a option. When used in combination with the-s option, it displays the contents stored in the location passed to the-s option, but does not set the configuration location.
The options below are for Sun Cluster-configured systems only.group can beeither Sun Cluster device group or as '-' as local devices.
Display the location of cluster configuration database.
Initializes the configuration database entries that only associated with group specified. As it deletes previous or current configuration information, this options prompts you to confirm the deletion before proceeding.
When used with the-i option,dscfg loads the parser configuration file into the persistent configuration, it reformats the configuration database entries that only associated with group specified.
Restore the specifiedconfig_file into the configuration database entries that only associated with group specified. This option does not do any error checking of the file. Use of this option invalidates the configuration file.
Lists the contents of current configuration database that is associated with resource group specified.
Specifies where the Sun Cluster configuration database resides, the location has to be DID device.
Checks whether the specifieddevice_group is known by Sun Cluster and whether it is available on this node. It displays a information that indicates the device group's status and return values are as follows,
(use echo $? to retrieve the return value):
Device group is in Sun Cluster and is active on this node;
Device group is in Sun Cluster but active on another node;
Device group is not in Sun Cluster.
Thedscfg command is typically run from other scripts, such as packageinstallation scripts, and fromdscfgadm(1M). It is not intended for general use. Foruses ofdscfg not covered bydscfgadm, please refer to theAvailability Suite Troubleshooting Guide.
parser configuration file
configuration location for all entries with no cluster tags
reference file specifying the location of the Sun Cluster configuration database.
Seeattributes(5) for descriptions of the following attributes:
|
dscfgadm(1M),iiadm(1M),scmadm(1M),sndradm(1M),svadm(1M),ds.log(4),attributes(5)
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.Legal Notices | ![]() ![]() |