doc-exports/docs/dws/dev/dws_04_0263.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-16 07:24:04 +00:00

4.8 KiB

Planning Data Export

Scenarios

Before you use GDS to export data from a cluster, prepare data to be exported and plan the export path.

Planning an Export Path

  • Remote mode
  1. Log in to the GDS data server as user root and create the /output_data directory for storing data files.

    1
    mkdir -p /output_data
    

  2. (Optional) Create a user and the user group to which it belongs. This user is used to start GDS and must have the write permission on the directory for storing data files.

    1
    2
    groupadd gdsgrp
    useradd -g gdsgrp gdsuser
    

    If the following information is displayed, the user and user group already exist. Skip this step.

    1
    2
    useradd: Account 'gdsuser' already exists.
    groupadd: Group 'gdsgrp' already exists.
    

  3. Change the directory owner to gdsuser.

    1
    chown -R gdsuser:gdsgrp /output_data