Open-E Knowledgebase
Search:     Advanced search

How to connect Xenserver 7 to the DSS V7 ?

Article ID: 2801
Last updated: 30 Nov, 2016
Views: 791
Posted: 25 Oct, 2016
Updated: 30 Nov, 2016
by: Kula T.

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:   Excellent | Very Good | Good | Fair | Poor
Prev   Next
Updates     Mounting JovianDSS NFS share under XEN environment

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