Professional Documents
Culture Documents
ACCESS TRAININGrevb
ACCESS TRAININGrevb
Class:
https://training.nexenta.com/classroom01
Notes:
https://it.it-news-and-events.info/nexenta/2019-April-Training/access.txt
Nexenta Docs:
https://nexenta.com/products/documentation
From the guacamole web page, you can launch a windows desktop or an SSH session to an NexentaStor server.
Those will open in a separate browser tab.
Each student environment is unconfigured and unlicensed. Please use these license tokens
Student
# First Last firm email token
Getting Started
license activate <token>
license show
Upgrade
software version
system status
software upgrade
Review
software list
system status
Date/Time
config list system.date
uptime
alias date="config list system.date"
date
Inventory
enclosure list
disk list
inventory nic
link list
route list
ip list
net list host
net list dns
Dedicated Heartbeat
ip create static bge0/heartbeat 192.168.0.1/24
Example:
system smtp-test
FC
enclosure list
enclosure get all
disk list
disk get all
Managing Networks
Interfaces
link list
link get all e1000g0
inventory nic
Addresses
ip create static
e.g. ip create static e1000g1/v4 10.3.10.38/24
ip list
DNS
Network Route
Aggregating NICs
Using VLANs
Pool
pool create-auto <redundancy> <pool> -M <max-devices>[-c <vdev-size>] [-t <media-type>] [-s <disk-size>] [-r <rpm>] [-N] [-e
<enclosures>] [-R altroot] [-o <properties>] [--config-output=<flags>]
Example:
pool create-auto mirror poola-auto -c 2 -e e1,e2,e3 -M 120 -t hdd -s 2TB
When creating a pool, you can force to utilize the disks even if they are currently in use by using the -f flag.
Configuring HA Cluster
svc list ha
On each node, create a host entry for the other node with net create host <IP> <name>
on s1n1: net create host 192.168.0.12 s1n2
on s1n2: net create host 192.168.0.11 s1n1
hacluster status
hacluster status -e
To add a VIP called vip22 on an interface called vlan22 configured over VLAN 22
haservice add-vip mypool vip22 128.2.126.232/255.255.255.224 s1n1:vlan22,s1n2:vlan22
Register
https://nexenta.com/products/downloads/nexentastor5
https://nexenta.elmegil.net/Scripts/fe.tgz
----------
iozone and some other tools:
http://sea.zfsdestroy.com/tools.tgz
Essentially the 4.x binaries work on 5.x., I have fio and iozone in there as well.
The synthetic data file created by iozone be highly compressed, leading to silly, meaningless results
Install iozone
start with a small data file size and small number of threads to validate test in a short period of time
finish with a big data file size and larger number of threads
If you have two nodes, share the iozone folder to the other node and run the iozone tests via NFS. That will show the peak performance with no
network switch or competing traffic.
In addition to setting expectations for production performance, iozone can be used to stress the system and shake out errors. Check logs and run
commands like
iostat -en
to look for errors