# Cloud Data Manager

### On-premises deployment

This guide will instruct you how to set up the transform service of the Model 9 Cloud Data Gateway, as an extension to the Model 9 Cloud Data Manager server.

Once the service is up and running, see the Step-by-step installation for instructions on how to invoke the service from the mainframe, using JCL.

The service will transform a Model9 data set backup copy / archive into a readable file in the cloud. Once transformed, the readable file can be accessed directly or via data analytics tools.

### Note

This guide describes how to implement the Model 9 Cloud Data Gateway on top of the Model 9 Cloud Data Manager installation only.

###### Step 1: Upload the Model 9 Cloud Data Gateway file

The installation file will be provided by your Model 9 representative according to your environment. Upload the relevant file to the server using binary mode. The available installation files are:

Environment

Installation file

x86

model9-app-transform_<release>_build_<id>.docker

Linux on z

model9-app-transform_<release>_build_<Id>-s390x.docker

<version> - represents the release number.

<id> - represent specific release id.

Create a work directory under $MODEL9_HOME. The directory should be able to hold at least 20GB of data: # Change user to root sudo su - # If you haven’t done so already, set the model9 target installation path export MODEL9_HOME=/data/model9 # Change the directory to$MODEL9_HOME
cd $MODEL9_HOME mkdir$MODEL9_HOME/extract-work
###### Step 2: Deploy the Model9 management server’s components

Deploy the application components using the following commands:

#on Linux issue:
docker load -i $MODEL9_HOME/model9-app-transform_<release>_build_<id>.docker #on Linux on z issue: docker load -i$MODEL9_HOME/model9-app-transform_<release>_build_<id>-s390x.docker
###### Step 3: Start the service

Start the service using the following command:

docker run -d -p 8443:8443 -v $MODEL9_HOME/extract-work:/data/model9/extract-work:z \ -v$MODEL9_HOME/keys:/data/model9/keys:z \
-e "SECURE=true" \
--restart unless-stopped \
--name model9cg-v<release> model9/transform:<release>.<id>
###### Step 4: Verify the deployment

Make sure the service is ready to accept connections by issuing the following command:

docker logs model9cg-v<release>

The command output should be as listed below:

Continue to Step-by-step Installation for further instructions.