How to connect Xenserver 7 to the DSS V7 ?

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)



Article ID: 2801
Last updated: 30 Nov, 2016
Revision: 1
Troubleshooting -> Software -> Xenserver -> How to connect Xenserver 7 to the DSS V7 ?
https://kb.open-e.com/how-to-connect-xenserver-7-to-the-dss-v7-_2801.html