This is an old revision of the document!
Notes. Mainly for me but might be useful to users.
port 5, 11, web site (with shell)
High Availability. Two controllers hpcstore1
(also known as A) and hpcstore2
(also known as B). Virtual IP hpcstore.wesleyan.edu
floats back and forth seamlessly (tested, some protocols will loose connectivity). In a split brain situation (no response, both controllers think they are it), disconnect one controller from power then reboot. Then reconnect and wait a few minutes for HA icon to turn green when controller comes online.
Allowed for large content transfers using scp
or sftp
or just checking things out. Home directories are located in /mnt/tank/zfshomes
. When users get cut over their locatrion will be updated in the /etc/passwd
file and $HOME becomes /zfshomes/username
. SO we can keep track that. Followed by an rsync process that will from TrueNAS/ZFS appliance to sharptail:/home
. TODO: write script. TODO: add disks enlarge and merge LVMs.
# create user, add primary secondary groups, set permissions # then move all dot fil;es into ~/._nas # copy content over from sharptail # SSH keys in place so should be passwordless ssh username@hpcstore.wesleyan.edu # go to $HOME cd /mnt/tank/zfshomes/username # this will be mounted HPC wide at /zfshomes/username
SMB/CIFS (Samba) shares are also created once the homedir is up.
# windows, map network drive \\hpcstore.wesleyan.edu\username # credentials, one or all of these work WORKGROUP\username localhost\username username
root:wheel
cottontail2:/mnt/clone“date”
<code>
# /etc/fstab example
<\code>