Managing the deduplication web service user and the user group for MSDP BYO server
When an MSDP is configured, the user spws and the group spwsgrp are created and used by Storage Platform Web Service (SPWS) service by default.
If you do not want to use the default user and group for the SPWS service, you can configure the SPWS service before or after you configure the MSDP.
To manage the SPWS service before MSDP server is configured
- If the MSDP storage server is not configured yet, run the following command on the storage server before you configure an MSDP.
/usr/openv/pdde/vpfs/bin/spws_config.sh --spwsuser=<spwsuser> --spwsgroup=<spwsgroup>
When you configure the MSDP, SPWS service will use the specified user and group and spws and the group spwsgrp will not be created.
To manage the SPWS service after the MSDP server is configured
- If the MSDP storage server is already configured, and the user spws and the group spwsgrp are created, run the following command on the storage server to specify the new user and the group.
/usr/openv/pdde/vpfs/bin/spws_config.sh --spwsuser=<spwsuser> --spwsgroup=<spwsgroup>
The SPWS service changes to use the specified user and the group. The owner of the files that are used by the SPWS service is also changed.
It does not delete the user spws and the group spwsgrp that are created. You can delete the user and the group manually.
Note:
You must run the spws_config.sh script under the root user so that it can create the log file in /var/run/vpfs/ and configure the system services.