Preparing an Environment
- Install Eclipse and JDK in the Windows development environment. The JDK version is 1.8, and the Eclipse version is 4.3.2 or later.
- If you use IBM JDK, ensure that the JDK configured in Eclipse is IBM JDK.
- If you use Oracle JDK, ensure that the JDK configured in Eclipse is Oracle JDK.
- If you use ODBC for secondary development, ensure that JDK 1.8 or later is used.
- Do not use the same workspace and the sample project in the same path for different Eclipse programs.
- Prepare a Linux environment for testing application running status.
Preparing a Running and Commissioning Environment
- On the ECS management console, apply for a new ECS for user application development, running, and commissioning.
- The security group of the ECS must be the same as that of the Master node in an MRS cluster.
- The ECS and the MRS cluster must be in the same VPC.
- The ECS NIC and the MRS cluster must be in the same network segment.
- Apply for an EIP, bind it, and configure an inbound or outbound rule for the security group.
- Download a client program.
- Log in to MRS Manager.
- Choose Services > Download Client to download the complete client to the remote host, that is, download the client program to the newly applied ECS.
- Install a cluster client as user root.
- Run the following command to decompress the client package:
- Run the following command to verify the installation file package:
- Run the following command to decompress the installation file package:
- Run the following command to install the client to a specified directory (absolute path), for example, /opt/client. The directory is automatically created.
cd /opt/MRS_Services_ClientConfig
sh install.sh /opt/client
Components client installation is complete.
- Run the following command to update client configurations:
sh /opt/client/refreshConfig.sh Client installation directory Full path of the client configuration file package
Example:
sh /opt/client/refreshConfig.sh /opt/client /opt/MRS_Services_Client.tar
If you modify component parameter configurations, you need to download the client configuration file again and update the client in the running and commissioning environment.
Last Article: Development Environment Introduction
Next Article: Preparing a Development User
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.