Bigstack

Bigstack

  • Docs

›File Store

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

Create a tenant sharing

Create a share server and share its volumes using NFS/CIFS with others VM on the same network

Pre-task:

  • upload manila-service-image-master.qcow2 to /var/support or usb drive
  • import with cli fs_import
    HOSTNAME> image
    HOSTNAME:image> fs_import
    1: usb
    2: local
    Enter index: 2
    1: manila-service-image-master.qcow2
    

Create a Share network

Navigate to Project > Share > Share Networks > + CREATE SHARE NETWORK

assets/manila/share-01.png

assets/manila/share-02.png

Create a Share - tenant share type

Navigate to Project > Share > Shares > + CREATE SHARE

assets/manila/share-03.png

  • Create a share protocol NFS or cifs
  • Share Size = 10GB
  • Share Type = tenant_share_type
  • Share network = share_network

assets/manila/share-04.png

Create a Rules

Click on the dropdown button from Actions and select manage rules

assets/manila/share-05.png

add rule

assets/manila/share-06.png

Enter the IP address of VM

assets/manila/share-07.png

Get the shared link

Navigate to Project > Share > Shares and click the "Share Name"

assets/manila/share-08.png

Copy the Links

assets/manila/share-09.png

Mount the share on VM

ssh to your instances

❯ ssh [email protected]
Warning: Permanently added '10.32.3.245' (ECDSA) to the list of known hosts.
Welcome to Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-66-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

  System information as of Mon Nov 30 03:44:31 UTC 2020

  System load:  0.06              Processes:           91
  Usage of /:   9.3% of 19.21GB   Users logged in:     0
  Memory usage: 16%               IP address for ens3: 192.168.10.105
  Swap usage:   0%

 * Introducing self-healing high availability clusters in MicroK8s.
   Simple, hardened, Kubernetes for production, from RaspberryPi to DC.

     https://microk8s.io/high-availability

 * Canonical Livepatch is available for installation.
   - Reduce system reboots and improve kernel security. Activate at:
     https://ubuntu.com/livepatch

0 packages can be updated.
0 updates are security updates.

New release '20.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


*** System restart required ***
Last login: Mon Nov 30 03:41:30 2020 from 10.32.4.1
[email protected]:~$

[optional-ubuntu] install nfs-common

[email protected]:~$ sudo apt install nfs-common -y

create a folder

[email protected]:~$ mkdir nfs-share

mount up

[email protected]:~$ sudo mount -t nfs 192.168.10.243:/shares/share-30363868-006d-41bf-8d4a-e21268d64ea2 nfs-share/

check connectivity

[email protected]:~$ ls nfs-share/
lost+found
[email protected]:~$ touch nfs-share/bigstack.co.txt
[email protected]:~$ ls nfs-share/
bigstack.co.txt  lost+found
[email protected]:~$
Last updated on 11/30/2020
← Object Storage (S3 API)Create a project →
  • Pre-task:
  • Create a Share network
    • Navigate to Project > Share > Share Networks > + CREATE SHARE NETWORK
  • Create a Share - tenant share type
    • Navigate to Project > Share > Shares > + CREATE SHARE
  • Create a Rules
    • Click on the dropdown button from Actions and select manage rules
    • add rule
    • Enter the IP address of VM
  • Get the shared link
    • Navigate to Project > Share > Shares and click the "Share Name"
    • Copy the Links
  • Mount the share on VM
    • ssh to your instances
    • [optional-ubuntu] install nfs-common
    • create a folder
    • mount up
    • check connectivity
Copyright © 2021 Bigstack Co., Ltd.