shreyas-badiger / MultiClusterFileSystem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Java 66.8%Language:Python 31.3%Language:Dockerfile 1.7%Language:Shell 0.2%