-
Notifications
You must be signed in to change notification settings - Fork 16
minio_quick
Aletibazo edited this page May 31, 2024
·
2 revisions
The default template will instantiate a Single-Node Single-Drive deployment, recommended only for local testing and evaluation or small-scale data workloads that do not have availability or performance requirements.
Steps to deploy a Single-Node instance:
- Download the MinIO appliance from the OpenNebula Marketplace. This will download the VM template and the image for the OS.
$ onemarketapp export 'Service MinIO' MinIO --datastore default
- Create empty datablock for storage disks
$ oneimage create -d default --name minio-disk --prefix vd --size 5G --type Datablock
- Adjust the VM template as desired (i.e. CPU, MEMORY, number of disks).
- Instantiate MinIO template:
This will prompt the user for the contextualization parameters.
$ onetemplate instantiate MinIO
- Attach a new NIC to the VM:
$ onevm nic-atttach VM_ID --network VNET_ID
- Access your new MinIO instance on https://vm-ip-address:9001 and login with the defined user and password.
To instantiate a Single-Node Multi-Drive deployment instead, it is necessary to add extra disks to the template file. A template for a Single-Node Multi-Drive with 4 disks for MinIO storage should look like this:
CONTEXT=[
NETWORK="YES",
ONEAPP_MINIO_HOSTNAME="$ONEAPP_MINIO_HOSTNAME",
ONEAPP_MINIO_OPTS="$ONEAPP_MINIO_OPTS",
ONEAPP_MINIO_ROOT_PASSWORD="$ONEAPP_MINIO_ROOT_PASSWORD",
ONEAPP_MINIO_ROOT_USER="$ONEAPP_MINIO_ROOT_USER",
ONEAPP_MINIO_TLS_CERT="$ONEAPP_MINIO_TLS_CERT",
ONEAPP_MINIO_TLS_KEY="$ONEAPP_MINIO_TLS_KEY",
SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]" ]
CPU="1"
DISK=[
DEV_PREFIX="vd",
IMAGE="service-MinIO",
IMAGE_UNAME="oneadmin" ]
DISK=[
DEV_PREFIX="vd",
IMAGE="minio-disk",
IMAGE_UNAME="oneadmin" ]
DISK=[
DEV_PREFIX="vd",
IMAGE="minio-disk",
IMAGE_UNAME="oneadmin" ]
DISK=[
DEV_PREFIX="vd",
IMAGE="minio-disk",
IMAGE_UNAME="oneadmin" ]
DISK=[
DEV_PREFIX="vd",
IMAGE="minio-disk",
IMAGE_UNAME="oneadmin" ]
GRAPHICS=[
LISTEN="0.0.0.0",
TYPE="VNC" ]
HOT_RESIZE=[
CPU_HOT_ADD_ENABLED="NO",
MEMORY_HOT_ADD_ENABLED="NO" ]
HYPERVISOR="kvm"
LOGO="images/logos/minio.png"
MEMORY="2048"
MEMORY_UNIT_COST="MB"
USER_INPUTS=[
ONEAPP_MINIO_HOSTNAME="O|text|MinIO hostname for TLS certificate| |localhost,minio-*.example.net",
ONEAPP_MINIO_OPTS="O|text|Additional commandline options for MinIO server| |--console-address :9001",
ONEAPP_MINIO_ROOT_PASSWORD="O|password|MinIO root user password for MinIO server",
ONEAPP_MINIO_ROOT_USER="O|text|MinIO root user for MinIO server| |myminioadmin",
ONEAPP_MINIO_TLS_CERT="O|text64|MinIO TLS certificate (.crt)| |",
ONEAPP_MINIO_TLS_KEY="O|text64|MinIO TLS key (.key)| |" ]
Next: MinIO Features and usage
- OpenNebula Apps Overview
- OS Appliances Update Policy
- OneApps Quick Intro
- Build Instructions
- Linux Contextualization Packages
- Windows Contextualization Packages
- OneKE (OpenNebula Kubernetes Edition)
- Virtual Router
- Release Notes
- Overview
- Quick Start
- OpenRC Services
- Virtual Router Modules
- Glossary
- WordPress
- Harbor Container Registry
- MinIO
- Development