# Windows OS

{% hint style="info" %}
**Note**: Please check the   [Installation](https://docs.cloudfabrix.io/rda/installation/..#prerequisites) Prerequisites before you proceed.
{% endhint %}

Run the below commands to verify currently installed RDA prerequisites.

{% hint style="info" %}
**Note**: Please make sure the below commands are in PATH variable in user's login profile.
{% endhint %}

```
docker --version
```

```
docker-compose --version
```

```
python3 --version
```

```
pip3 --version
```

**Step 1**: Request software by contacting <support@cloudfabrix.com>. The following procedure assumes you received the download link.

Download the '**rda-docker-compose-with-ssl.tar**' software package.

**Step 2**: Extract '**rda-docker-compose.tar**' software package and copy the 'cfxdx-docker-compose' folder to C:\ (or other folder location)

{% hint style="info" %}
**Note:** [7zip](https://www.7-zip.org/download.html) or [Winrar](https://www.win-rar.com/download.html?\&L=0) utility is needed to extract the '**cfxdx-docker-compose.tar**' file on Windows OS.&#x20;
{% endhint %}

![](https://2978683539-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhoMVYxiQlKXh6OxX98%2F-Ma1ZjTs5XpJgXG1WvVU%2F-Ma1Zo2mqyCS6ChtXkTl%2FScreen%20Shot%202021-05-18%20at%208.02.08%20PM.png?alt=media\&token=aac4553d-50fa-46cd-a88b-28bdfa4912c5)

**Step 3**: Open Windows Powershell CLI or CMD CLI utility (CLI), go to C:\rda-docker-compose-with-ssl (or other folder location 'rda-docker-compose-with-ssl' install folder is unpacked) and run setup.py python script as shown below.

![Setting up RDA and successful installation.](https://2978683539-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhoMVYxiQlKXh6OxX98%2F-Ma1a0XX4RvYTB1Ffa-q%2F-Ma20aD9ROooNkDaePFU%2FScreen%20Shot%202021-05-18%20at%2010.08.10%20PM.png?alt=media\&token=c472246f-efb8-4d36-a161-7b2f1a3bc89a)

{% hint style="info" %}
**Note:** The setup.py creates a folder called '**cfx**' under the user's home directory for configuration files and exported files. (Ex: C:\Users\Administrator\cfx)**.**
{% endhint %}

Below are the '**RDA**' folder locations and their purpose.

**C:\Users\Administrator\cfx\cfxdx\config -->** Location of the **conf.yml** file where many datasource credentials and other settings are configured.

**Step 4**: To access the 'RDA' interface, open up a browser and enter the URL as **https\://\<IPAddress>:9998**

{% hint style="info" %}
**Note**: If Windows firewall service is enabled, enable ports 9998/tcp to access RDA service through a browser.
{% endhint %}

{% hint style="warning" %}
Note:   Access RDA using https\://\<rda-ip-address>:9998/\
\
The default user/password  for RDA authentication is: rdademo/rdademo1234
{% endhint %}

![](https://2978683539-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhoMVYxiQlKXh6OxX98%2F-Ma22YwQ4Lu8BX_oeNnm%2F-Ma22sGFS8eObpOgrXvM%2FScreen%20Shot%202021-05-18%20at%2010.18.18%20PM.png?alt=media\&token=ff182cca-c4a5-4e1b-9ce3-97c242f31f4c)

![RDA Landing Page ](https://gblobscdn.gitbook.com/assets%2F-MAygHzNCQ33zRR43qxF%2F-MU5fW7ACtSz0eFXwN_R%2F-MU5hvJLvlR70BiHpRus%2FScreen%20Shot%202021-02-21%20at%202.30.48%20PM.png?alt=media\&token=e686c01f-6347-4a08-b180-64b325bc040d)

​

![Terminal output along with help command.](https://2978683539-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhoMVYxiQlKXh6OxX98%2F-Ma24qiJThxYsjrY_RTr%2F-Ma25ImIVEeokL9lMeH0%2FScreen%20Shot%202021-05-18%20at%2010.28.53%20PM.png?alt=media\&token=18d21153-f62c-40cb-83ca-84c79923edba)

### Install RDA Datanetwork Components (Optional)

The following steps explain how to install Kafka/Zookeeper components needed for RDA Data network bots.\
\
Download  [docker-compose](https://macaw-amer.s3.amazonaws.com/rda/rda-components/kafka-zookeeper/docker-compose.yml) file required to install Kafka/Zookeeper and use the below steps to start Kafka/zookeeper docker instances (these instances in turn will be used by RDA runtime)

cd C:\\\<rda-install-directory>\
C:\mkdir **kafka-zookeeper** \
C:\cd kafka-zookeeper\
C:\kafka-zookeeper\\\<Download the above docker-compose file using browser or other mechanism\
C:\kafka-zookeeper\\\<edit the file and add the ipaddress or FQDN of  RDA machine>\
C:\kafka-zookeeper\docker-compose pull\
C:\kafka-zookeeper\docker-compose up -d \
\
In addition to the above steps, make sure you enable the following ports are enabled -- 2181, 9092 using Windows firewall commands

### Upgrade RDA&#x20;

Step 1:  Make sure the docker (desktop) environment is intact as per RDA installation prereqs. Also, docker-compose.exe is available to the user (as shown in the below screenshot)

![](https://2978683539-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhoMVYxiQlKXh6OxX98%2F-MbrMxve0MbC1v-lr4Mk%2F-MbrN71qRCT8WtdUXcJN%2Fimage.png?alt=media\&token=58674771-323d-42ba-afad-b079780ead7c)

Step 2:  Go to the directory where RDA is previously installed.&#x20;

![RDA is installed under C:\rda-docker-compse-ssl](https://2978683539-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhoMVYxiQlKXh6OxX98%2F-MbrNos_pQgVHkLf5ju2%2F-MbrOE7CeZRDxFwHZSJM%2FScreen%20Shot%202021-06-10%20at%2012.27.31%20PM.png?alt=media\&token=5c7970d4-3320-4b24-99b7-f08465801ca0)

Step 3: Make sure RDA is up and running. This can be verified by running the docker command as shown in the below screenshot.

![](https://2978683539-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhoMVYxiQlKXh6OxX98%2F-MbrP3d5T7ysgmb00OSX%2F-MbrP7AAp_BFfqOqWR9L%2FScreen%20Shot%202021-06-10%20at%2012.31.28%20PM.png?alt=media\&token=0dc53363-089a-4269-8391-749f8fcf5b4e)

Step 4:  Go to the directory where RDA is installed and also, docker-compose.yml is available (as shown in the below screenshot).

![RDA installed directory along with docker-compose.yml file](https://2978683539-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhoMVYxiQlKXh6OxX98%2F-MbrPaYiNj79mYXX4LrD%2F-MbrQ2Qt9Fr-tStwF5Hz%2FScreen%20Shot%202021-06-10%20at%2012.35.28%20PM.png?alt=media\&token=a2a5929d-ea73-48bf-a373-d0cde3f30568)

Step 5:  Using the docker-compose command 'docker-compose down' and bring down the RDA instances that are running in your environment as shown in the below screenshot.

![](https://2978683539-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhoMVYxiQlKXh6OxX98%2F-MbrQT5dknVyVGXfnm_U%2F-MbrQzfn3TE31CKH6Eo1%2Fimage.png?alt=media\&token=8cdf62ca-69f9-4f9a-a311-358db9af45c4)

Step 6: Using the docker-compose command, upgrade RDA using the 'docker-compose pull' command as shown in the below screenshot.

!['docker-compose pull' command will pull the latest RDA images locally and install them as shown.](https://2978683539-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhoMVYxiQlKXh6OxX98%2F-MbrRSUUWlblNqnra09K%2F-MbrRwrhJJ6UVpJDLlc1%2FScreen%20Shot%202021-06-10%20at%2012.43.48%20PM.png?alt=media\&token=9e0011d6-6c82-4cdf-b76c-fbcc1144a5ed)

Step 7: Start RDA upgraded instance using 'docker-compose up -d' as shown in the below screenshot.

![RDA upgrade is completed](https://2978683539-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhoMVYxiQlKXh6OxX98%2F-MbrSdK3tVK3aHM6ElPI%2F-MbrT7BpaJW80ZFs-Cw1%2FScreen%20Shot%202021-06-10%20at%2012.48.55%20PM.png?alt=media\&token=2df66ab3-f1ac-419b-ae2d-06a04ef37cda)

Step 8: Verify the RDA docker instances to be up-and-running using the 'docker ps -a' command as shown below screenshot.

!['docker ps -a' commands shows RDA instance (ubuntu-cfxdx-nb-nginx-all and minio) up and running.](https://2978683539-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LhoMVYxiQlKXh6OxX98%2F-MbrU3akKV4ZUBmF7AxM%2F-MbrURBqXLcEbL94xcn_%2FScreen%20Shot%202021-06-10%20at%2012.54.38%20PM.png?alt=media\&token=816498b0-0c35-4474-b364-ccd5ad88ce46)

Access RDA using **https\://\<IPAddress>:9998** and verify the latest version.
