Modifies the "shared" state of the device. The shared state is a manually set flag that should be set by the user on all devices that participate as shared devices in a cluster. The software has no mechanism for automatically detecting which devices the user desires to have participate in a cluster. Once a device is flagged as "shared," other XML commands allow partitions, NSS storage pools, and NSS logical volumes to be created only if the proper clustering software is installed and running.
<modifyDevice> <deviceID/> <shared state=" "/> </modifyDevice>
<modifyDevice>
<result value=" ">
<description/>
</result>
</modifyDevice>
On NetWare, specifies the device ID received from Media Manager. On Linux, specifies the device object name.
Specifies if the device should be marked as shareable for clustering.
Specifies a text description of the returned result.
Specifies a lowercase yes or no.
Specifies an error value or 0 (for no error).
A nssRequest packet to set the "shared" state on a device is as follows:
<nssRequest>
<device>
<modifyDevice>
<deviceID>3</deviceID>
<shared state="yes">
</modifyDevice>
</device>
</nssRequest>
A nssReply packet to the modify device command follows:
<nssReply>
<device>
<modifyDevice>
<result value="0">
<description/>success</description>
<result>
</modifyDevice>
</device>
<result value="0">
<description/>zOK</description>
</result>
</nssReply>