dscfgadm(1m) [opensolaris man page]
dscfgadm(1M) System Administration Commands dscfgadm(1M) NAME
dscfgadm - administration command for the Availability Suite configuration location and services SYNOPSIS
dscfgadm -i dscfgadm -e [-r] [-p] dscfgadm -d [-r] dscfgadm -s DESCRIPTION
The dscfgadm command controls the Availability Suite configuration location and services by providing facilities to set the configuration location, and to enable and disable the Availability Suite services. OPTIONS
If you do not specify any arguments to a dscfgadm command, the utility interactively steps you through setting the configuration location and starting the services. The configuration location is validated to ensure it meets criteria such as size and file type before it is ini- tialized for use. The dscfgadm command supports the following options. -d [-r ] Disables the Availability Suite SMF services. This includes stopping daemons and suspending any Point-in-Time Copy or Remote Mirror sets that are currently enabled under the Availability Suite software. When executed with no additional options, the -d option disables all Availability Suite services. This setting is persistent across system boots. -r When passed to the -d or -e option, acts only on the Remote Mirror services. -e [-r ] [-p] Enables the Availability Suite SMF services. This includes starting daemons and resuming any Point-in-Time Copy or Remote Mirror sets that have been previously configured under the Availability Suite software. When executed with no additional options, the -e option enables all Availability Suite services. This setting is persistent across system boots. -r When passed to the -d or -e option, acts only on the Remote Mirror services. -p When passed to the -e option, enables only the Point-in-Time Copy service. -i Displays information on the Availability Suite SMF services. -s Allows you to set the location of the configuration database containing information specific to Sun Cluster configurations. -x Displays verbose debugging information as the program is executing. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscmr, SUNWscmu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
dscfg(1M), iiadm(1M), scmadm(1M), sndradm(1M), svadm(1M), attributes(5) SunOS 5.11 2 Oct 2007 dscfgadm(1M)
Check Out this Related Man Page
dscfg(1M) System Administration Commands dscfg(1M) NAME
dscfg - configuration tool for Sun StorageTek Availability Suite software SYNOPSIS
dscfg dscfg -L dscfg -h dscfg [-C group] dscfg [-C group] -i [-p parser_config_file] dscfg [-C group] -a config_file dscfg [-C group] [-l] dscfg [-C group] [-l] -s config_location dscfg -D dgname DESCRIPTION
The dscfg command controls the Availability Suite configuration by providing facilities to initialize, list, format, restore the configura- tion database. OPTIONS
If no options are specified, dscfg displays the current local configuration location. The dscfg command supports the following options: -L 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. -h Displays the usage message for the dscfg command. -i Initializes the configuration database. As it deletes previous or current configuration information, this option prompts you to confirm the deletion before proceeding. -p parser_config_file When used with the -i option, dscfg loads the parser configuration file into the persistent configuration, it reformats the configura- tion database. -a config_file Restore the specified config_file into the configuration. This option does not do any error checking of the file. Use of this option invalidates the configuration file. -l 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 be either Sun Cluster device group or as '-' as local devices. -C group Display the location of cluster configuration database. -C group -i Initializes the configuration database entries that only associated with group specified. As it deletes previous or current configura- tion information, this options prompts you to confirm the deletion before proceeding. -C group -p parser_config_file When used with the -i option, dscfg loads the parser configuration file into the persistent configuration, it reformats the configura- tion database entries that only associated with group specified. -C group -a config_file Restore the specified config_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. -C group -l Lists the contents of current configuration database that is associated with resource group specified. -C group -s config_file_location Specifies where the Sun Cluster configuration database resides, the location has to be DID device. -D device_group Checks whether the specified device_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): 1 Device group is in Sun Cluster and is active on this node; 0 Device group is in Sun Cluster but active on another node; -1 Device group is not in Sun Cluster. USAGE
The dscfg command is typically run from other scripts, such as package installation scripts, and from dscfgadm(1M). It is not intended for general use. For uses of dscfg not covered by dscfgadm, please refer to the Availability Suite Troubleshooting Guide. FILES
/etc/dscfg_format parser configuration file /etc/dscfg_local configuration location for all entries with no cluster tags /etc/dscfg_cluster reference file specifying the location of the Sun Cluster configuration database. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscmr, SUNWscmu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
dscfgadm(1M), iiadm(1M), scmadm(1M), sndradm(1M), svadm(1M), ds.log(4), attributes(5) SunOS 5.11 2 Oct 2007 dscfg(1M)