Skip to content

Latest commit

 

History

History
44 lines (41 loc) · 1023 Bytes

README.md

File metadata and controls

44 lines (41 loc) · 1023 Bytes

Multi Cluster File System

System Architecture

Alt text

Setting up the container infrastructure

  1. Install docker CE (https://docs.docker.com/v17.12/install/)
  2. Clone the repository (https://github.com/hard-fault/MultiClusterFileSystem.git)
  3. Pull the docker image for containers
docker pull shrey67/node_image
  1. Specify the topology in
MultiClusterFileSystem/infra/config/config.json
  1. Deploy containers
cd MultiClusterFileSystem/infra/setup/
python setup.py
  1. List all the containers
docker ps
  1. View container network topology and their IPs.
cd MultiClusterFileSystem/output/
cat ip.json
  1. Copy a file to container
docker cp <container_name> local_file_path <container_name>:destination_path
  1. Login to a container
docker exec -it <container_name> /bin/bash
  1. Remove the setup
cd MultiClusterFileSystem/infra/setup
python setup.py -d