2 .\" Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH DSCFG 1M "Oct 2, 2007"
8 dscfg \- configuration tool for Sun StorageTek Availability Suite software
27 \fBdscfg\fR [\fB-C\fR \fIgroup\fR]
32 \fBdscfg\fR [\fB-C\fR \fIgroup\fR] \fB-i\fR [\fB-p\fR \fIparser_config_file\fR]
37 \fBdscfg\fR [\fB-C\fR \fIgroup\fR] \fB-a\fR \fIconfig_file\fR
42 \fBdscfg\fR [\fB-C\fR \fIgroup\fR] [\fB-l\fR]
47 \fBdscfg\fR [\fB-C\fR \fIgroup\fR] [\fB-l\fR] \fB-s\fR \fIconfig_location\fR
52 \fBdscfg\fR \fB-D\fR \fIdgname\fR
58 The \fBdscfg\fR command controls the Availability Suite configuration by
59 providing facilities to initialize, list, format, restore the configuration
64 If no options are specified, \fBdscfg\fR displays the current local
65 configuration location. The \fBdscfg\fR command supports the following options:
73 Displays the status of the lock controlling access to the configuration
74 database. If the configuration database is locked, the type of lock (read or
75 write) is displayed along with the process id of the process that holds the
86 Displays the usage message for the \fBdscfg\fR command.
96 Initializes the configuration database. As it deletes previous or current
97 configuration information, this option prompts you to confirm the deletion
104 \fB\fB-p\fR \fIparser_config_file\fR\fR
108 When used with the \fB-i\fR option, \fBdscfg\fR loads the parser configuration
109 file into the persistent configuration, it reformats the configuration
116 \fB\fB-a\fR \fIconfig_file\fR\fR
120 Restore the specified \fIconfig_file\fR into the configuration. This option
121 does not do any error checking of the file. Use of this option invalidates the
132 Lists the contents of current configuration database in a format that is
133 suitable for the \fB-a\fR option. When used in combination with the \fB-s\fR
134 option, it displays the contents stored in the location passed to the \fB-s\fR
135 option, but does not set the configuration location.
140 The options below are for Sun Cluster-configured systems only. \fIgroup\fR can
141 be either Sun Cluster device group or as '-' as local devices.
145 \fB\fB-C\fR \fIgroup\fR\fR
149 Display the location of cluster configuration database.
155 \fB\fB-C\fR\ \fIgroup\fR\ \fB-i\fR\fR
159 Initializes the configuration database entries that only associated with group
160 specified. As it deletes previous or current configuration information, this
161 options prompts you to confirm the deletion before proceeding.
167 \fB\fB-C\fR\ \fIgroup\fR\ \fB-p\fR\ \fIparser_config_file\fR\fR
171 When used with the \fB-i\fR option, \fBdscfg\fR loads the parser configuration
172 file into the persistent configuration, it reformats the configuration database
173 entries that only associated with group specified.
179 \fB\fB-C\fR \ \fIgroup\fR\ \fB-a\fR\ \fIconfig_file\fR\fR
183 Restore the specified \fIconfig_file\fR into the configuration database entries
184 that only associated with group specified. This option does not do any error
185 checking of the file. Use of this option invalidates the configuration file.
191 \fB\fB-C\fR\ \fIgroup\fR\ \fB-l\fR\fR
195 Lists the contents of current configuration database that is associated with
196 resource group specified.
202 \fB\fB-C\fR \ \fIgroup\fR\ \fB-s\fR\ \fIconfig_file_location\fR\fR
206 Specifies where the Sun Cluster configuration database resides, the location
207 has to be DID device.
213 \fB\fB-D\fR \fIdevice_group\fR\fR
217 Checks whether the specified \fIdevice_group\fR is known by Sun Cluster and
218 whether it is available on this node. It displays a information that indicates
219 the device group's status and return values are as follows,
221 (use echo $? to retrieve the return value):
228 Device group is in Sun Cluster and is active on this node;
237 Device group is in Sun Cluster but active on another node;
246 Device group is not in Sun Cluster.
254 The \fBdscfg\fR command is typically run from other scripts, such as package
255 installation scripts, and from \fBdscfgadm\fR(1M). It is not intended for
256 general use. For uses of \fBdscfg\fR not covered by \fBdscfgadm\fR, please
257 refer to the \fIAvailability Suite Troubleshooting Guide\fR.
262 \fB\fB/etc/dscfg_format\fR\fR
266 parser configuration file
272 \fB\fB/etc/dscfg_local\fR\fR
276 configuration location for all entries with no cluster tags
282 \fB\fB/etc/dscfg_cluster\fR\fR
286 reference file specifying the location of the Sun Cluster configuration
293 See \fBattributes\fR(5) for descriptions of the following attributes:
301 ATTRIBUTE TYPE ATTRIBUTE VALUE
303 Interface Stability Evolving
309 \fBdscfgadm\fR(1M), \fBiiadm\fR(1M), \fBscmadm\fR(1M), \fBsndradm\fR(1M),
310 \fBsvadm\fR(1M), \fBds.log\fR(4), \fBattributes\fR(5)