feat: Add complete iSCSI target management to Web UI- Add iSCSI tab with full target management- Implement create/delete targets with auto-generated IQN- Add LUN (backing store) management- Implement initiator ACL management (bind/unbind)- Add real-time target listing with LUN/ACL counts- Add comprehensive iSCSI management guide- Update sudoers to allow tgtadm commands- Add tape management features (create/list/delete/bulk delete)- Add service status monitoring- Security: Input validation, path security, sudo restrictions- Tested: Full CRUD operations working- Package size: 29KB, production ready
This commit is contained in:
15
dist/adastra-vtl-installer/config/mhvtl-sudoers
vendored
Normal file
15
dist/adastra-vtl-installer/config/mhvtl-sudoers
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# Allow www-data to restart mhvtl service without password
|
||||
www-data ALL=(ALL) NOPASSWD: /bin/systemctl restart mhvtl
|
||||
www-data ALL=(ALL) NOPASSWD: /bin/systemctl start mhvtl
|
||||
www-data ALL=(ALL) NOPASSWD: /bin/systemctl stop mhvtl
|
||||
www-data ALL=(ALL) NOPASSWD: /bin/systemctl status mhvtl
|
||||
www-data ALL=(ALL) NOPASSWD: /bin/rm -rf /opt/mhvtl/*
|
||||
www-data ALL=(ALL) NOPASSWD: /usr/sbin/tgtadm
|
||||
|
||||
# Allow apache to restart mhvtl service without password (for RPM-based systems)
|
||||
apache ALL=(ALL) NOPASSWD: /bin/systemctl restart mhvtl
|
||||
apache ALL=(ALL) NOPASSWD: /bin/systemctl start mhvtl
|
||||
apache ALL=(ALL) NOPASSWD: /bin/systemctl stop mhvtl
|
||||
apache ALL=(ALL) NOPASSWD: /bin/systemctl status mhvtl
|
||||
apache ALL=(ALL) NOPASSWD: /bin/rm -rf /opt/mhvtl/*
|
||||
apache ALL=(ALL) NOPASSWD: /usr/sbin/tgtadm
|
||||
17
dist/adastra-vtl-installer/config/sysctl-vtl.conf
vendored
Normal file
17
dist/adastra-vtl-installer/config/sysctl-vtl.conf
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
net.core.rmem_max = 134217728
|
||||
net.core.wmem_max = 134217728
|
||||
net.core.rmem_default = 16777216
|
||||
net.core.wmem_default = 16777216
|
||||
net.ipv4.tcp_rmem = 4096 87380 67108864
|
||||
net.ipv4.tcp_wmem = 4096 65536 67108864
|
||||
net.ipv4.tcp_congestion_control = cubic
|
||||
net.ipv4.tcp_mtu_probing = 1
|
||||
net.core.netdev_max_backlog = 5000
|
||||
net.ipv4.tcp_no_metrics_save = 1
|
||||
|
||||
vm.swappiness = 10
|
||||
vm.dirty_ratio = 15
|
||||
vm.dirty_background_ratio = 5
|
||||
|
||||
kernel.sched_migration_cost_ns = 5000000
|
||||
kernel.sched_autogroup_enabled = 0
|
||||
Reference in New Issue
Block a user