Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Installing DSC

Updated on 2023-03-17 GMT+08:00

Before using DSC, install it on a Linux or Windows server. DSC supports 64-bit Linux OSs. For details about other OSs supported by DSC, see Compatible OSs.

Prerequisites

  • In Linux, do not install or perform operations on DSC as the root user. To execute the install.sh script, you must have the permission for creating folders.
  • The size of the target folder must be at least four times that of the SQL files in the input folder.

    For example, if the size of the SQL files in the input folder is 100 KB, the target folder must have available disk space of at least 400 KB to process the SQL files.

    NOTE:
    • To query the available disk space of the target folder in Linux, run the following command:
      df -P <Folder path>
    • To query the size of the input file in Linux, run the following command in the directory where the file resides:
      ls -l
  • JRE 1.8 or later and Perl have been installed. For details about the hardware and software requirements, see System Requirements.
    To check the installed Java version and set the Java path, perform the following steps:
    1. Check whether the Java version meets requirements.
      java -version
    2. Ensure that the Java path is correctly set.
      • Linux
        1. Check whether the Java path is correctly set.
          echo $JAVA_HOME
        2. If no information is returned, add the following two lines to the .bashrc file of the current user, save the modification, and exit.
          Assume that the Java installation path is /home/user/Java/jdk1.8.0_141.
          export JAVA_HOME=/home/user/Java/jdk1.8.0_141
          export PATH=$JAVA_HOME/bin:$PATH
        3. Activate Java environment variables.
          source ~/.bashrc
      • Windows
        1. Right-click My Computer and choose Properties from the shortcut menu. The System window is displayed.
        2. Click Advanced System Settings. The System Properties dialog box is displayed.
        3. On the Advanced tab page, click Environment Variables. The Environment Variables dialog box is displayed.
        4. Select Path in the System variables area. Click Edit and check the Java installation path.

          If the Java installation path does not exist or is incorrect, add the Java path of this PC to Path.

          Assume that the Java installation path is C:\Program Files\Java\jdk1.8.0_141\bin and the environment variable in Path is c:\windows\system32;. Set Path to c:\windows\system32;C:\Program Files\Java\jdk1.8.0_141\bin;.

Procedure

DSC is an installation-free tool. You can use it after downloading and decompressing the software package.

The following procedure describes how to obtain the package. Decompress the package DSC.zip and then DSC.rar to obtain the files shown in Table 1.

Windows:

  1. Log in to the GaussDB(DWS) management console and download the DCS software package. For details, see Downloading Client Tools.
  2. Decompress the DSC.zip package.

    The DSC folder is generated.
    NOTE:

    You can decompress DSC.zip to any folder you need.

  3. Go to the DSC directory.
  4. Find and check the files in the DSC directory.

    Table 1 describes the obtained folders and files.

Linux:

  1. Log in to the GaussDB(DWS) management console and download the DCS software package. For details, see Downloading Client Tools.
  2. Extract files from DSC.zip.

    sh install.sh

  3. Go to the DSC directory.

    cd DSC

  4. Check the files in the DSC directory.

    ls 
    config   lib   scripts   bin  input output runDSC.sh  runDSC.bat

Table 1 DSC directory

Folder or File

Description

DSC

bin

DSC-related JAR package (executable)

config

Configuration file of DSC

input

Input folder

lib

Library files required for the normal running of DSC

output

Output folder

scripts

Customized configuration scripts for Oracle and Teradata migration, which can be executed to implement corresponding functions

runDSC.sh

Application executed on the Linux OS

runDSC.bat

Application executed on the Windows OS

changelog

To notify users of the current modifications

Install.sh

To set the file permissions for DSC

readme

Instructions of installation and configuration

NOTE:

If you do not need DSC, you can uninstall it by deleting the DSC folder.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback