Bigstack

Bigstack

  • Docs

›Storage

Introduction

  • Overview

Installation

  • Control Converged
  • Control
  • Compute node (HCI)
  • Storage node (SDS)
  • NIC configuration

    • Network bonding
    • VLAN
    • VLAN on bonding

    High Availability

    • Network offload
    • Control node
    • Compute node
    • Storage node

Quick Start

  • Get Started

Compute

  • flavors
  • images
  • images(CLI)
  • instances
  • Instance Snapshot

Volumes

  • Volume
  • Snapshots
  • Backup

Network

  • Internet
  • Private Network(LAN)
  • Router
  • Security Group
  • Floating IP
  • Load Balancers

    • Create a Load Balancer
    • Delete a Load Balancer

DNS

  • Create Public Record
  • Create Private Record

Object Store

  • Object Storage
  • Object Storage (S3 API)

File Store

  • Tenant Share

Identity

  • Create a project
  • Modify Quota
  • Create a User
  • Create a group

Storage

  • Add a disk
  • Remove a disk
  • Prepare disk
  • Remove osd
  • Cache
  • Restful API

Disaster Recovery

  • Start scheduler
  • Full Backup
  • Incremental Backup
  • Cleanup
  • Schedule job
  • Increase quota

Kubernetes

    Instance (VM)

    • Create Template
    • Deploy Cluster
    • Storage Class
    • Workload with L4 LoadBalancer

    Compute Node(HCI)

    • Deploy Cluster
    • Storage Class

Monitoring

  • Host
  • Storage
  • Network
  • Instance
  • Top Hosts
  • Top Instances

Logs

  • Alert
  • Notification

    • Email
    • Slack
  • ELK Stack

Maintenance

  • Startup
  • Shutdown
  • Add/Remove a Harddisk
  • Repair Services
  • Fixpack
  • Update CubeOS
  • Support file
  • Export Instance
  • Create CubeOS snapshot
  • Restore CubeOS with snapshot
  • Remove Compute node
  • Remove Storage node

Download

  • Cloud Image

Operating System

  • CentOS 6 - root disk
  • MS Windows

    • Retrieve password
    • Extend partition

Add a Hard disk replacement

Story: We had bought a new hard disk to add in to our storage pool

Connect to console (which add the new hard disk)

$ ssh [email protected]
Warning: Permanently added '192.168.1.x' (ECDSA) to the list of known hosts.
Password:

Adding add new disk to the node with CLI storage> add_disk

s3> storage
s3:storage> add_disk
  index          name      size
--
      1      /dev/sdj      3.7T
--
Found 1 available disk
Enter the index to add this disk into the pool: 1
Enter 'YES' to confirm: YES
Add disk /dev/sdj successfully.

Wait for data recovery

  • this action is automatically, osd size is changed from 58 to 60
s3:storage> status
  cluster:
    id:     c6e64c49-09cf-463b-9d1c-b6645b4b3b85
    health: HEALTH_WARN
            90/44225 objects misplaced (0.204%)
            Degraded data redundancy: 1631/44225 objects degraded (3.688%), 114 pgs degraded

  services:
    mon: 3 daemons, quorum s1,s2,s3
    mgr: s1(active), standbys: s3, s2
    mds: cephfs-1/1/1 up  {0=s3=up:active}, 2 up:standby
    osd: 60 osds: 60 up, 60 in; 10 remapped pgs
    rgw: 3 daemons active

  data:
    pools:   22 pools, 5488 pgs
    objects: 21.59k objects, 82.9GiB
    usage:   232GiB used, 92.3TiB / 92.6TiB avail
    pgs:     1631/44225 objects degraded (3.688%)
             90/44225 objects misplaced (0.204%)
             5362 active+clean
             113  active+recovery_wait+degraded
             9    active+remapped+backfill_wait
             2    active+recovering
             1    active+remapped+backfilling
             1    active+recovering+degraded

  io:
    client:   0B/s rd, 78.1KiB/s wr, 15op/s rd, 15op/s wr
    recovery: 40.4MiB/s, 12objects/s
        
+----+------+-------+-------+--------+---------+--------+---------+-----------+
| id | host |  used | avail | wr ops | wr data | rd ops | rd data |   state   |
+----+------+-------+-------+--------+---------+--------+---------+-----------+
| 0  |  s1  | 1587M |  445G |    0   |     0   |    0   |     0   | exists,up |
| 1  |  s1  | 1535M |  445G |    0   |     0   |    0   |     0   | exists,up |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| 55 |  s2  | 3769M | 1859G |    0   |     0   |    0   |     0   | exists,up |
| 56 |  s3  | 3525M | 1859G |    0   |     0   |    0   |     0   | exists,up |
| 57 |  s2  | 5262M | 1857G |    0   |     0   |    0   |     0   | exists,up |
| 58 |  s3  | 4895M | 1858G |    0   |     0   |    0   |     0   | exists,up |
| 59 |  s2  | 3851M | 1859G |    0   |     0   |    0   |     0   | exists,up |
+----+------+-------+-------+--------+---------+--------+---------+-----------+
Last updated on 2/11/2020
← Create a groupRemove a disk →
  • Connect to console (which add the new hard disk)
  • Adding add new disk to the node with CLI storage> add_disk
  • Wait for data recovery
Copyright © 2021 Bigstack Co., Ltd.