(Logiciel informatique) OpenZFS PHP sudo Apache FreeBSD Sysadmin
ZFSmanager is built into our kadath Datawarehouse systems.
As it is both permissive (i.e. it allows remote execution of dangerous commands) and requires some (advanced) technical knowledge, ZFS Manager is usually not suited for end users: Sysadmins, Data managers and/or Power users have the best profile to use it.
The main goal of the ZFS Manager UI is to let its users quickly access the most helpful indices and functions for daily management of a Datawarehouse on ZFS Host. This includes:
—the creation and management of Filesystems (formatting and configuring Disks arrays, managing ZFS Pools, Filesets and Snapshots)
—the configuration and optimization of the Host Operating System (through Sysctls and including Firewall Rules)
—the reading of related system indices (like CPU/Memory Usage, running processes, accessing logs)
—the ability to remotely stop/start/restart the Host and the main services related to the Datastores.
One additional (important) step could be to upgrade any existing ZFS pools to latest version.
Open a shell as root:
zpool upgrade zroot
gpart show
For instance, you will see:
root@ns3322573:~ # gpart show
=> 40 3907029088 ada0 GPT (1.8T)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 33554432 2 freebsd-swap (16G)
33556480 3873472512 3 freebsd-zfs (1.8T)
3907028992 136 - free - (68K)
On output, note the label of boot disk/pool (ada0) and the id of freebsd-boot partition (1).
Then, update bootcode accordingly:
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 ada0
Check that everything is fine by rebooting immediately, then issuing a scrub and checking the health of your pool:
reboot
[...]zpool scrub zroot /root/zfs_health.sh
An unexpensive and reliable ZFS Storage system requires support for FreeBSD OS, a really steady and preferably fanless power supply (Platinum+), as much ECC RAM as you can get (32 Gb+ recommended), one or more SAS HBAs (JBoD mode) and at least one 10GbE or 40 GbE Networking adapter (an unexpensive switch of note supporting 10 GbE is the GS110EMX from Netgear). For storage, prefer professional disks (like Seagate Ironwolf Pro series or Crucial MX500 SSDs).
ZFSmanager can be installed on any FreeBSD system.
Ce document a été publié le 2018-06-28 14:25:35. (Dernière mise à jour : 2020-07-23 09:31:28.)