Adding a Cube Storage node
Pre-task:
- cluster1 - IP: 10.32.20.241
- New Cube Storage node - IP: 10.32.20.242
cluster1: CLI > cluster > check
cluster1> cluster
cluster1:cluster> check
Service Status Report
ClusterLink ok [ link(v) clock(v) dns(v) ]
ClusterSys ok [ bootstrap(v) license(v) ]
ClusterSettings ok [ etcd(v) ]
HaCluster ok [ hacluster(v) ]
MsgQueue ok [ rabbitmq(v) ]
IaasDb ok [ mysql(v) ]
VirtualIp ok [ vip(v) haproxy_ha(v) ]
Storage ok [ ceph(v) ceph_mon(v) ceph_mgr(v) ceph_mds(v) ceph_osd(v) ceph_rgw(v) rbd_target(v) ]
ApiService ok [ haproxy(v) httpd(v) lmi(v) memcache(v) ]
SingleSignOn ok [ keycloak(v) ]
Compute ok [ nova(v) ]
Baremetal ok [ ironic(v) ]
Network ok [ neutron(v) ]
Image ok [ glance(v) ]
BlockStor ok [ cinder(v) ]
FileStor ok [ manila(v) ]
ObjectStor ok [ swift(v) ]
Orchestration ok [ heat(v) ]
LBaaS ok [ octavia(v) ]
DNSaaS ok [ designate(v) ]
K8SaaS ok [ k3s(v) rancher(v) ]
InstanceHa ok [ masakari(v) ]
DisasterRecovery ok [ freezer(v) ]
BusinessLogic ok [ mistral(v) murano(v) cloudkitty(v) senlin(v) watcher(v) ]
ApiManager ok [ tyk(v) redis(v) mongodb(v) ]
DataPipe ok [ zookeeper(v) kafka(v) ]
Metrics ok [ monasca(v) telegraf(v) grafana(v) ]
LogAnalytics ok [ filebeat(v) auditbeat(v) logstash(v) es(v) kibana(v) ]
Notifications ok [ influxdb(v) kapacitor(v) ]
cluster1:cluster>
Check for availble tuning
CLI > tuning > dump
cluster1:tuning> dump
Published Tunings
----------------------------------------------------------------
Name Description Default|Min|Max
cinder.external.%d.name Set cinder external storage rule name. ["" (Any)]
cinder.external.%d.driver Set cinder external storage type name <cube|purestorage>. ["" (Any)]
cinder.external.%d.endpoint Set cinder external storage endpoint. ["" (Any)]
cinder.external.%d.pool Set cinder external storage pool. ["" (Any)]
cinder.external.%d.account Set cinder external storage account. ["" (Any)]
cinder.external.%d.secret Set cinder external storage account secret. ["" (Any)]
configure tuning - cinder.external.1.name
CLI > tuning > configure
cluster1:tuning> configure
enabled name value
---------------------------------------------------------------
---------------------------------------------------------------
1: modify tunings
2: apply
3: exit
Enter index: 1
Select action:
1: Add
2: Delete
3: Update
Enter index: 1
Enter tuning name: cinder.external.1.name
Enter tuning value: CubeStorage242
Enable the tuning:
1: Enabled
2: Disabled
Enter index: 1
Adding tuning: cinder.external.1.name = CubeStorage242 (Enabled)
enabled name value
---------------------------------------------------------------
[x] cinder.external.1.name CubeStorage242
---------------------------------------------------------------
configure tuning - cinder.external.1.driver
1: modify tunings
2: apply
3: exit
Enter index: 1
Select action:
1: Add
2: Delete
3: Update
Enter index: 1
Enter tuning name: cinder.external.1.driver
Enter tuning value: cube
Enable the tuning:
1: Enabled
2: Disabled
Enter index: 1
Adding tuning: cinder.external.1.driver = cube (Enabled)
enabled name value
---------------------------------------------------------------
[x] cinder.external.1.name CubeStorage242
[x] cinder.external.1.driver cube
---------------------------------------------------------------
configure tuning - cinder.external.1.endpoint
1: modify tunings
2: apply
3: exit
Enter index: 1
Select action:
1: Add
2: Delete
3: Update
Enter index: 1
Enter tuning name: cinder.external.1.endpoint
Enter tuning value: 10.32.20.242
Enable the tuning:
1: Enabled
2: Disabled
Enter index: 1
Adding tuning: cinder.external.1.endpoint = 10.32.20.242 (Enabled)
enabled name value
---------------------------------------------------------------
[x] cinder.external.1.name CubeStorage242
[x] cinder.external.1.driver cube
[x] cinder.external.1.endpoint 10.32.20.242
---------------------------------------------------------------
configure tuning - cinder.external.1.pool
1: modify tunings
2: apply
3: exit
Enter index: 1
Select action:
1: Add
2: Delete
3: Update
Enter index: 1
Enter tuning name: cinder.external.1.pool
Enter tuning value: cinder-volumes
Enable the tuning:
1: Enabled
2: Disabled
Enter index: 1
Adding tuning: cinder.external.1.pool = cinder-volumes (Enabled)
enabled name value
---------------------------------------------------------------
[x] cinder.external.1.name CubeStorage242
[x] cinder.external.1.driver cube
[x] cinder.external.1.endpoint 10.32.20.242
[x] cinder.external.1.pool cinder-volumes
---------------------------------------------------------------
configure tuning - cinder.external.1.secret
(secret is cube admin account password)
1: modify tunings
2: apply
3: exit
Enter index: 1
Select action:
1: Add
2: Delete
3: Update
Enter index: 1
Enter tuning name: cinder.external.1.secret
Enter tuning value: admin
Enable the tuning:
1: Enabled
2: Disabled
Enter index: 1
Adding tuning: cinder.external.1.secret = admin (Enabled)
enabled name value
---------------------------------------------------------------
[x] cinder.external.1.name CubeStorage242
[x] cinder.external.1.driver cube
[x] cinder.external.1.endpoint 10.32.20.242
[x] cinder.external.1.pool cinder-volumes
[x] cinder.external.1.secret admin
---------------------------------------------------------------
apply tuning
1: modify tunings
2: apply
3: exit
Enter index: 2
enabled name value
---------------------------------------------------------------
[x] cinder.external.1.name CubeStorage242
[x] cinder.external.1.driver cube
[x] cinder.external.1.endpoint 10.32.20.242
[x] cinder.external.1.pool cinder-volumes
[x] cinder.external.1.secret admin
---------------------------------------------------------------
Apply the changes?
Enter 'YES' to confirm: YES
Applying policy changes.
Warning: Permanently added '10.32.20.242' (ECDSA) to the list of known hosts.
Policy changes were successfully applied.
Create a volume using CubeStorage242 backend
Verify the volume is created on the remote cube site
❯ ssh [email protected] rbd ls cinder-volumes
Warning: Permanently added '10.32.20.242' (ECDSA) to the list of known hosts.
Password:
volume-7761b349-7301-4fc4-b98f-6f4273bd8feb