U1.41 Ubuntu Quick Start (QS): Kubernetes and Ceph clusters on premises. iSCSI - chempkovsky/CS2WPF-and-CS2XAMARIN GitHub Wiki
- read the article Provisioner: iSCSI
- read the article CHAPTER 13. MANAGEMENT OF ISCSI GATEWAY USING THE CEPH ORCHESTRATOR
- read the article ISCSI SERVICE
- read the article CONFIGURING THE ISCSI INITIATORS
- read the article ORCH APPLY ISCSI
- we continue to work with the Kubernetes cluster prepared in the article U1.33 Ubuntu Quick Start (QS): Kubernetes on premises and Docker and Kubespray.
- our hyper-v service is running under MS server 2016
- new ip addresses of the cluster:
- 192.168.100.8 u2004d01.cluster.local u2004d01
- 192.168.100.10 u2004d02.cluster.local u2004d02
- 192.168.100.13 u2004d03.cluster.local u2004d03
- we continue to work with the Ceph cluster prepared in the article U1.39 Ubuntu Quick Start (QS): Ceph cluster
- our hyper-v service is running under MS server 2016
- ip addresses of the cluster:
- 192.168.100.15 u2004m01
- 192.168.100.18 u2004m03
- 192.168.100.16 u2004m02
- for u2004m01 run the command
yury@u2004m01:~$ sudo ceph osd pool create iscsipool 64 64
pool 'iscsipool' created
- for u2004m01 run the command
yury@u2004m01:~$ sudo ceph orch apply iscsi iscsipool admin admin --placement="2 u2004m02 u2004m03"
Scheduled iscsi.iscsi update...
yury@u2004m01:~$ sudo ceph orch ls
NAME RUNNING REFRESHED AGE PLACEMENT IMAGE NAME IMAGE ID
alertmanager 1/1 6m ago 6d count:1 docker.io/prom/alertmanager:v0.20.0 0881eb8f169f
crash 3/3 6m ago 6d * docker.io/ceph/ceph:v15 2cf504fded39
grafana 1/1 6m ago 6d count:1 docker.io/ceph/ceph-grafana:6.7.4 557c83e11646
iscsi.iscsi 2/2 4m ago 4m u2004m02;u2004m03;count:2 docker.io/ceph/ceph:v15 2cf504fded39
mgr 2/2 6m ago 6d count:2 docker.io/ceph/ceph:v15 2cf504fded39
mon 3/5 6m ago 6d count:5 docker.io/ceph/ceph:v15 2cf504fded39
node-exporter 3/3 6m ago 6d * docker.io/prom/node-exporter:v0.18.1 e5a616e4b9cf
osd.None 3/0 6m ago - <unmanaged> docker.io/ceph/ceph:v15 2cf504fded39
prometheus 1/1 6m ago 6d count:1 docker.io/prom/prometheus:v2.18.1 de242295e225
yury@u2004m01:~$ sudo ceph orch ps --daemon_type=iscsi
NAME HOST STATUS REFRESHED AGE VERSION IMAGE NAME IMAGE ID CONTAINER ID
iscsi.iscsi.u2004m02.zbwnng u2004m02 running (12m) 2m ago 12m 3.4 docker.io/ceph/ceph:v15 2cf504fded39 382e73404504
iscsi.iscsi.u2004m03.valwst u2004m03 running (12m) 2m ago 12m 3.4 docker.io/ceph/ceph:v15 2cf504fded39 6e13a045536c
- for u2004m01 run the command
sudo ceph orch lsceph orch ls
sudo ceph orch rm iscsi.iscsi