Startseite
Bild
Bild
  • ready to use and comfortable ZFS storage appliance for iSCSI/FC, NFS and SMB
  • Active Directory support with Snaps as Previous Version
  • user friendly Web-GUI that includes all functions for a sophisticated NAS or SAN appliance.
  • commercial use allowed
  • no capacity limit
  • free download for End-User


Bild
  • Individual support and consulting
  • increased GUI performance/ background agents
  • bugfix/ updates/ access to bugfixes
  • extensions like comfortable ACL handling, disk and realtime monitoring or remote replication
  • appliance diskmap, security and tuning (Pro complete)
  • Redistribution/Bundling/setup on customers demand optional
please request a quotation.
Details: Featuresheet.pdf

Bild 


napp-it cs with Open-ZFS on Linux

Current beta  works with Linux as member
(I am using ProxMox but any Linux, any appliance may work).
Perl is required, smartmontools should be installed

Setup on Proxmox (similar or any other Linux)
- download napp-it cs on a Windows machine (folder /xampp with /xampp/napp-it)
- start napp-it cs (start /xampp/napp-it/data/start_zfs-gui_as_admin.bat) as admin
- use a browser with address http(s)://localhost to manage your servers
  for remote management use http(s)://ip and open Windows firewall for Apache.

"Install" socketserver (= a simple copy) on Linux
Serversoftware is on your napp-it cs in /xampp/napp-it/data/tools/socket
- copy folder c:/xampp/napp-it/data/tools/socket to your ZFS server  /any_location/socket
 can be a systemfolder like /var/web-gui but /zfspool/smbshare is also possible
- insert an auth string to /path/socket/server.auth
- edit /socket/config.pl (timeout or allowed_ip, optional)
- start socketserver via: sudo perl /path_to/server.pl (Console)

for debugging, you can use a Putty remote console but that ends server script when you logout

If you want SSH access
- enable SSH root access (already enabled in Proxmox per default)
- opt install midnight commander to browse/edit (apt update && apt install mc)
- get ip: enter "ip a" at console
- start WinSCP (Windows, portable app)
- copy folder/xampp/napp-it/data/tools/socket from Windows
  to your server to /var/web-gui/data/ools  (WinSCP portable)
- insert a auth string to /path/socket/server.auth (WinSCP portable)
- start socketserver via: sudo perl /abs_path_to/server.pl (console or for debugging only via Putty)

If you add a & to the command, it runs in background.
For first steps run it in the foreground so you can see whats happening.

If you start via Putty, the software stops when you quit the ssh session.
This is ok for testings

on napp-it cs on Windows
Add your Linux server to a socketgroup (menue Extensions / Socketgroup)
This creates a file /xampp/napp-it/_log/group/hostname~ip.txt
File content must be the same auth string as in above server.auth

In the main menu you can switch to any memberserver of napp-it cs
Hostname enty and all menues reflect settings on this target server.

Menues like Disks, Pool, Filesystems and Snaps should work.
You can create private napp-it cs menues for specific tasks.

If you have any insights with napp-it cs onProxmox or
any Linux ZFS appliance or server, please report.



A regular napp-it:
napp-it on Linux (works in a minimal edition with ZFS and Job management)

- install any Linux
- setup ZFS
       - on Ubuntu: apt-get install zfsutils-linux
      -  on Debian 8.6, use apt-get install lsb-release, wget ..zfsonlinux..deb,  dpkg ...deb,
              apt-get update, apt-get install debian-zfs

- On Debian you must install sudo: apt-get install sudo
- napp-it expects a pool ex tank to be mounted under /tank



- start napp-it

- open a console, enter su and cd /root and run
wget -O - www. napp-it.org/nappit | perl
This downloads napp-it

Start napp-it for the first time with root permissions via
sudo sh /var/web-gui/data/tools/linux/napp-it

After the initial start, you can start via commands "sudo napp-it" and stop via "sudo napp-it-stop"
There is no autostart enabled during boot.

When you have created a pool, you should export/import to pool to use wwn disk enumaration
On some Linux napp-it may run if you install sudo, netcat and mini-http manually:

On ESXi you must
enable UUID disk detection:

    Power off the guest.
    Select the guest and select Edit Settings.
    Select the Options tab on top.
    Select General under the Advanced section.
    Select the Configuration Parameters... on right hand side.

    Check to see if the parameter disk.EnableUUID is set, if it is there then make sure it is set to TRUE.

    If the parameter is not there, select Add Row and add it.
    Power on the guest.



The following is obsolete with current napp-it
Linux (currently Debian 7, Ubuntu 14 LTS)

I support Linux with basic ZFS, disk and job management, monitoring and remote replication with OmniOS

Restrictions:
Linux is not my preferred or main platform. Many napp-it features rely on Solaris projects like
the CIFS server with Windows SID and ACL support, Comstar iSCSI or Crossbow network virtualisation.
A napp-it version with similar functionality like on OmniOS is currently not planned.

current state: preview, work in progress

Setup napp-it on Ubuntu 14 LTS (console commands)


## Setup on ESXi  ##
- create a new Linux VM with 16 GB (OS) and 3 x 10 GB (Testpool)
- edit Settings of this VM (we need to identify disks by-id):

By default VMWare doesn't provide information needed by udev to generate /dev/disk/by-id.
This can be done by setting the following: http://www.novell.com/support/kb/doc.php?id=7002966

    Start the vSphere Client, and log in to a vCenter Server.
    Select Virtual Machines and Templates and click the Virtual Machines tab.
    Right-click the virtual machine for which you are enabling the disk UUID attribute, and select Power > Power Off.
    The virtual machine powers off.
    Right-click the virtual machine, and click Edit Settings.
    Click the Options tab, and select the General entry in the settings column.
    Click Configuration Parameters. The Configuration Parameters window appears.
    Click Add Row.
    In the Name column, enter disk.EnableUUID
    In the Value column, enter TRUE
    Click OK and click Save.
    Power on the virtual machine.


## Download Ubuntu 14 LTS setup ISO and install onto the 20 GB disk
download from http://releases.ubuntu.com/trusty/ and install

- add SSH server during setup
- create a new admin user during setup ex "me"

after setup, reboot and
- login as this user

## enable root (disable with delete pw)
sudo passwd root
login as root (or start commands with sudo)

## If network is down after setup, bring it up with dhcp like
ifconfig eth0 up
dhclient eth0

check your ip config:
ifconfig

## Install SSH (for Putty or WinSCP)
apt-get install ssh (if not installed during setup)

Edit /etc/ssh/sshd_config (use midnight commander or nano):
Find the line PermitRootLogin no (or other restriction) and change it to PermitRootLogin yes

Restart ssd
sudo service ssh restart

## You can now connect from Windows as user root via WinSCP (file browser/editor)  and Putty (remote console)
where you can copy paste commands with a mouse right-click). If you use putty as me, switch to root with su


## var 1: install ZoL manually on Ubuntu 14 LTS, use Putty to allow copy/paste of commands with a mouse-right-click

## Server-Update to use ZFS and napp-it:
apt-get update && apt-get dist-upgrade -y


## PPA setup:

apt-add-repository ppa:zfs-native/stable -y


## Install build environment

apt-get install build-essential --no-install-recommends -y

## Add NFS/SMB Server


apt-get install nfs-kernel-server samba -y


## ZFS-Installation:

apt-get update
apt-get install ubuntu-zfs
-y

opt: add iSCSI
apt-get install targetcli --no-install-recommends
-y


##  On Ubuntu 12 LTS I did it in this order:
## http://www.latentexistence.me.uk/zfs-and-ubuntu-home-server-howto/ or others
## apt-get install python-software-properties -y
## add-apt-repository ppa:zfs-native/stable
## apt-get update
## apt-get install ubuntu-zfs -y
## apt-get install nfs-kernel-server samba -y




## Napp-it setup: you can now run the online installer from your home directory:
cd /$HOME
wget -O - www.napp-it.org/nappit  | perl


After online updates, do a napp-it logout/login


The installer does the following:
-  install basic tools like bonnie, mc, netcat and smartmontools 
- adduser napp-it --shell /bin/false --no-cretae-home --disabled-password --gecos ''
- add the foolowing to /etc/sudoers:
- edit /etc/sudoers
#no passwd for napp-it sudo (place at the end of the file)
napp-it  ALL=(ALL) NOPASSWD: ALL

- Configure napp-it with mini-httpd
- edit /etc/default/mini-httpd  (autostart with START=1)
- edit /etc/mini-httpd.conf for these settings


## Manage napp-it from a Browser (replace serverip with your current ip from ifconfig)
http://serverip:81

If you cannot connect; please rerun the wget installer a second time!!


## Stop napp-it manually (as root)
/etc/init.d/napp-it stop


## Start napp-it manually (as root)
/etc/init.d/napp-it start


Discuss Problems at
http://forums.servethehome.com/linux-unraid-openfiler/
http://hardforum.com//forumdisplay.php?f=29
http://www.hardwareluxx.de/community/f101/   (german)

- use device by-id disk names, if your pool use id's like sda, export/import the pool, it will use then ata, iscsi or wwn names.



Setup napp-it on Debian 7.3
setup mostly similar to Ubuntu

- Download netinstall iso
http://cdimage.debian.org/debian-cd/7.3.0/amd64/iso-cd/debian-7.3.0-amd64-netinst.iso
- upload to ESXi datastore

ESXi:
- new VM with UUID enabled (see Ubuntu setup)
- connect DVD to netinstall iso
- create a 16 GB bootdisk and install Debian
  with SSH Server

Install ZFS via Putty as root
http://bernaerts.dyndns.org/linux/75-debian/279-debian-wheezy-zfs-raidz-pool

wget http://archive.zfsonlinux.org/debian/pool/main/z/zfsonlinux/zfsonlinux 1%7Ewheezy all.deb
dpkg -i zfsonlinux_1~wheezy_all.deb
apt-get update
apt-get install debian-zfs parted ntfs-3g mountall


Install sudo
apt-get install sudo

Install SMB and NFS Server

apt-get install nfs-kernel-server samba

Install napp-it per wget
cd /$HOME
wget -O - www.napp-it.org/nappit  | perl


add napp-it to group sudo with command: gpasswd -a napp-it sudo

Edit /etc/sudoers (use WinSCP connected as root):
#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults    env_reset
Defaults    secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

## supress Console messages from sudo
Defaults logfile=/dev/null
Defaults !syslog
##

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root    ALL=(ALL:ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo    ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d

#no passwd for napp-it sudo (place at end of file)
napp-it  ALL=(ALL) NOPASSWD: ALL

Start/stop napp-it
manually
/etc/init.d/napp-it start  (stop)


Setup napp-it on other Linux distributions
- you must setup ZFS with NFS and SMB server
- sudo is required (for user napp-it without password)
- mini-httpd webserver is required for napp-it (run as user napp-it)
- disk identification is dev by-id

optionally compare the setup with Debian/ Ubuntu 7 and the
wget online installer in function  "sub linux"




napp-it 03.03.2024