First of I want to check that I have all the latest packages in my debian system.
apt update
apt upgrade
First we need to check our pools and create a new cache pool.
sudo ceph osd lspools
sudo ceph osd pool create hot_storage 32
Next up we setup the pool as a tier for your data drive and change the mode
to writeback which means that you first write to it before flushing it back to your slower drives. readproxy is better if you have the same kind of speed on your pools as it writes to the data drive and then adds entries to your cache pool when read often.
First of we need the registry and mysql server installed so we can keep track on which services are available, download new services and also run the actual database.
sudo apt install -y default-mysql-server default-mysql-client etcd curl
Before we start this POC we disable the default services as we will be setting up our own.
sudo apt install radosgw
sudo mkdir -p /var/lib/ceph/radosgw/ceph-rgw.`hostname -s`
sudo ceph auth get-or-create client.rgw.`hostname -s` osd 'allow rwx' mon 'allow rw' -o /var/lib/ceph/radosgw/ceph-rgw.`hostname -s`/keyring
[client.rgw.n1]
host = n1
keyring = /var/lib/ceph/radosgw/ceph-rgw.n1/keyring
log file = /var/log/ceph/ceph-rgw-n1.log
| package org.ea; | |
| import javax.swing.*; | |
| import java.awt.*; | |
| import java.awt.event.InputEvent; | |
| import java.awt.event.KeyEvent; | |
| import java.awt.event.KeyListener; | |
| public class AutoClicker implements KeyListener { | |
| static boolean enabled = false; |
First of we need to get the GPU available in the docker container.
This can be done via following the guide at: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html Or running some of the commands below
First we need to download the repository and create a new python environment. If you want to run this on the server the environment might not be required.
git clone https://github.com/Stability-AI/stablediffusion.git
cd stablediffusion/
python3 -m venv work
source ./work/bin/activate
First you need to set the cluster into a noout and norebalance mode in order to ensure that no data is moved around during the process. This is not super crucial but you could loose a lot of time moving data back and forth so it's a good practice.
ceph osd set noout
ceph osd set norebalance