
- #Install pip3 apt get install
- #Install pip3 apt get archive
- #Install pip3 apt get Offline
#Install pip3 apt get install
install medusa as non root user pipenv run python3 setup.py install -prefix=.prepare an installation directory with appropriate privileges sudo mkdir /opt/cassandra-medusa sudo chmod go+rwX /opt/cassandra-medusa.install python dependencies of medusa pipenv run pip3 install -r requirements.txt -no-index -find-links medusa_dependencies/.create your python env in the directory previously created cd cassandra-medusa-0.7.1 & pipenv -python 3.
#Install pip3 apt get archive
unpack your archive built using the procedure from previous section tar zxvf.install pipenv sudo pip3 install pipenv.install RPM pre-requisites sudo yum install -y python3-pip python3-devel.
#Install pip3 apt get Offline
install Medusa using python setup.py install from the cassandra-medusa source directoryĮxample of Offline installation using pipenv on RHEL, centos 7. run pip install -r medusa_dependencies/requirements.txt -no-index -find-links to install the dependencies on the nodes (do the same thing with either requirements-s3.txt or requirements-gcs.txt depending on your storage). Upload the archive to all Cassandra nodes and decompress it. run tar -zcf medusa_ medusa_dependencies to compress the dependencies. run cp requirements.txt medusa_dependencies/ (plus either requirements-s3.txt or requirements-gcs.txt). run mkdir pip_dependencies & pip download -r requirements.txt -d medusa_dependencies to download the dependencies into a sub directory (do the same thing with either requirements-s3.txt or requirements-gcs.txt depending on your storage). on a machine with the same target os and python version, clone the cassandra-medusa repo and cd into the root directory. If your Cassandra servers do not have internet access: Running the installation using sudo is necessary to have the /usr/local/bin/medusa script created properly. if your backups are to be stored in Azure Blob Storage, run sudo pip3 install cassandra-medusa. if your backups are to be stored in Google Cloud Storage, run sudo pip3 install cassandra-medusa. ), run sudo pip3 install cassandra-medusa if your backups are to be stored in AWS S3 or S3 compatible backends (IBM, OVHCloud, MinIO. if the storage backend is a locally accessible shared storage, run sudo pip3 install cassandra-medusa. Install Medusa on each Cassandra node using one of the following methods. If the backup folder is not shared, the nodes will only see their own backups. You should get output similar to what we have. Upon completion of the installation, verify that pip3 is installed by running the command: pip3 -version. The command installs pip3 and all the Python libraries and dependencies. The backup directory must be accessible from all nodes in the cluster and mounted appropriately. To install pip3 run the command: sudo apt install python3-pip. Local storage can be used in conjunction with NFS mounts to store backups off nodes. Choose and initialize the storage system: pip3 install python-dateutil bottle ply lxml python-magic beautifulsoup4 Or equivalently, you may be able to do that using your distribution, e.g.