Open-E Knowledgebase

How to connect Xenserver 7 to the DSS V7 ?

Article ID: 2801
Last updated: 30 Nov, 2016

PROBLEM: rc.local script is not supported on version 7 of xenserver, I cannot add iptables rule at startup

SOLUTION: Go to the Xenserver CLI - command line interface. Execute this two commands:

# chmod u+x /etc/rc.d/rc.local
# systemctl start rc-local

Note: The initial file permissions are not set to allow for scripts to be executed, so you'd see beforehand:

# ls -l /etc/rc.d/rc.local
-rw-r--r--. 1 root root 473 Jun 14 06:36 /etc/rc.d/rc.local

"systemctl" command should make it run across reboots. If you run the check first, you should see it disabled initially:

# systemctl status rc-local
   rc-local.service - /etc/rc.d/rc.local Compatibility
   Loaded: loaded (/usr/lib/systemd/system/rc-local.service; static; vendor preset: disabled)
   Active: inactive (dead)

This article was:   Helpful | Not helpful Report an issue


Article ID: 2801
Last updated: 30 Nov, 2016
Revision: 1
Views: 769
Posted: 25 Oct, 2016 by Stolarczyk M.
Updated: 30 Nov, 2016 by Kula T.
print  Print email  Subscribe email  Email to friend share  Share pool  Add to pool
Prev     Next
Xenserver       Hardware

The Knowledge base is managed by Open-E data storage software company.