|
|
Understanding the service model of COMSTARThe target mode framework runs as a service just like any other
By default (after installation), the
You can also view the current service state as:
COMSTAR uses Once the configuration is loaded any changes made to the configuration via stmfadm CLI will be automatically updated inside the driver database as well as inside the SMF repository. This way all the configuration changes persist across reboots. Clearing the old config and starting freshSome of the steps below may fail and thats ok as this is a catch-all sequence.
Note that the step below will remove any driver aliases to say qlt or mptt. You may want to keep a note of them (from /etc/driver_aliases).
Backup and restore of the configuration informationAll of the COMSTAR configuration information is kept under the stmf FMRI in smf(5). The step below will export the current configuration information for COMSTAR.
The -a option is critical as there are read-protected properties that will not get exported without it. Please note that there is an existing bug in 'svccfg export' that will cause data to be silently lost on export when the persisted logical unit data (stored in the provider_data_pg_sbd property group) exceeds 2k. Refer to 6694511 for more details. Unfortunately, since the truncation is silent, there is no way to determine when data has been lost on export. Until CR 6694511 is integrated, export on the stmf service should not be used. The COMSTAR configuration can be restored using the exported file on a new COMSTAR package installation or alternately it can be restored after issuing a delete on the stmf service ('svccfg delete -f stmf').
|