The Avere SDK for managing Avere products.
Перейти к файлу
Mihir Alve bae0df5a65 bump to version 0.5.5.3 2023-09-06 15:42:46 -04:00
docs Docs Updates: 2023-01-03 08:20:28 -10:00
tests drop deprecated clouds 2022-10-27 17:55:43 -04:00
vFXT bump to version 0.5.5.3 2023-09-06 15:42:46 -04:00
.gitignore .gitignore: add 2018-05-22 09:08:41 -04:00
LICENSE update copyright year 2022-10-27 17:55:43 -04:00
README.md Docs Updates: 2023-01-03 08:20:28 -10:00
SECURITY.md Microsoft mandatory file 2023-01-24 16:33:33 +00:00
requirements.txt added requirements.txt 2022-10-27 17:55:43 -04:00
setup.py Use azure-cli-core==2.43.0 and azure-mgmt-authorization==3.0.0 2022-12-15 14:54:25 -05:00
vfxt.py Make cloud-type default to azure in vfxt.py 2022-12-15 14:54:30 -05:00

README.md

Copyright (c) 2015-2020 Avere Systems, Inc. All Rights Reserved.

Copyright (c) Microsoft Corporation. All rights reserved.

The Avere virtual FXT (vFXT) Python library and vfxt.py command line utility provide the ability to create, extend, destroy, start, and stop vFXT clusters in all supported cloud environments.

Licensed under the MIT License.

Absolute fastest way to get started

Find more detailed user documentation in this repository under docs.

1. Create a controller VM

Make a preconfigured Cluster Controller Node virtual machine. It has vfxt.py and all necessary packages pre-installed.

The Azure Marketplace also has the Avere vFXT for Azure ARM template documentation, which is a wizard-based cluster creation tool. That process is described in Avere vFXT for Azure documentation.

2. Connect and login

Login with the azure-cli.

az login

Run vfxt.py

This relies on the default values in the script:

  • nodes: 3
  • node cache: 1024

Set some variables:

SUBSCRIPTION="subscription"
TENANT="tenant"
RESOURCE_GROUP="resource_group"
LOCATION="region"
ADMIN_PASSWORD="admin_password"
CLUSTER_NAME="cluster_name"
VNET="vnet_name" # same vnet as controller
TYPE="Standard_E32s_v3"

STORAGE_ACCOUNT="storage_account_name"
# if this doesn't exist yet, run `az storage account create -g "$RESOURCE_GROUP" -n "$STORAGE_ACCOUNT"`

SUBNET="subnet_name"
# same subnet as controller; if this doesn't exist yet, run
# `az network vnet subnet create -n "$SUBNET" -g "$RESOURCE_GROUP" --address-prefixes "10.0.2.0/24" --vnet-name "$VNET"`
vfxt.py
    --create                                  \
    --from-environment                        \
    --cloud-type           azure              \
    --subscription-id      "$SUBSCRIPTION"    \
    --tenant-id            "$TENANT"          \
    --azure-network        "$VNET"            \
    --azure-subnet         "$SUBNET"          \
    --location             "$LOCATION"        \
    --resource-group       "$RESOURCE_GROUP"  \
    --cluster-name         "$CLUSTER_NAME"    \
    --admin-password       "$ADMIN_PASSWORD"  \
    --storage-account      "$STORAGE_ACCOUNT" \
    --instance-type        "$INSTANCE_TYPE"