Installing the SANsymphony Storage Plugin for Proxmox
Explore this Page
- Overview
- Installing the SANsymphony Storage Plugin for Proxmox via APT Repository (Recommended)
- Installing the SANsymphony Storage Plugin for Proxmox via DPKG
- Manual Installation of SANsymphony Storage Plugin for Proxmox
- Configuration Updates Performed After Plugin Installation
Overview
The SANsymphony Storage Plugin for Proxmox connects Proxmox Virtual Environment (VE) with the SANsymphony storage system. This section explains how to install the plugin and helps you choose the method that works best for your setup.
- Perform the following steps on each Proxmox node in the PVE cluster.
- Installing the SANsymphony Storage Plugin for Proxmox using the APT repository or DPKG package methods updates several host-level configurations on the Proxmox VE node as part of the installation process. These configuration updates are applied immediately after the plugin installation completes and are required for correct operation with SANsymphony storage. For more information, refer to Configuration Updates Performed After Plugin Installation.
Installing the SANsymphony Storage Plugin for Proxmox via APT Repository (Recommended)
This installation method uses the APT repository to install the SANsymphony Storage Plugin for Proxmox on your Proxmox VE system. It simplifies the installation process.
This method ensures automatic updates and integrates the plugin into the Proxmox package management system, making future updates and management much easier.
Procedure:
- Download the PGP/GPG Public key: Before configuring the APT repository, you need to download the PGP/GPG public key used to sign the repository packages. This ensures the integrity and authenticity of the packages that will be installed on your system.
- Open a terminal on your Proxmox VE server and run the following command to download the key directly into the /usr/share/keyrings directory:
CopyThis command saves the ssy-pgp-key.public file in the /usr/share/keyrings directory. The key will be used later to verify the authenticity of the SANsymphony plugin packages.Commandwget -P /usr/share/keyrings https://github.com/DataCoreSoftware/Scripts/releases/download/SSY_PVE_Plugin/ssy-pgp-key.public - Configure the APT Repository: Once the public key is downloaded, the next step is to configure the APT repository that will provide access to the SANsymphony Storage Plugin for Proxmox package.
- Add the DataCore repository to your Proxmox VE system:
CopyNext, update APT and install the new ssy-plugin package.Commandecho "deb [signed-by=/usr/share/keyrings/ssy-pgp-key.public] https://datacoresoftware.github.io/Scripts/ssy-apt-repo stable main" | tee /etc/apt/sources.list.d/ssy.list
Installing the SANsymphony Storage Plugin for Proxmox via DPKG
The DPKG method requires you to manually download the .deb package and install it using the dpkg command on your Proxmox server. Unlike the APT method, this approach gives you more control but does not automatically handle dependencies.
Procedure:
- Download the DataCore Plugin Package: Run the following command on your Proxmox server to download the .deb package: CopyThis command downloads the SANsymphony-plugin_1.0.2_amd64.deb file from the specified URL.Command
wget https://github.com/DataCoreSoftware/Scripts/releases/download/SSY_PVE_Plugin/SANsymphony-plugin_1.0.2_amd64.deb - Install the Package Using DPKG:
- Once the .deb package is downloaded, the next step is to install it on your Proxmox server.
- Run the following command: The dpkg -i command installs the specified .deb package on your system. Once the installation starts, dpkg will unpack and install the files required for the plugin.
- After the SANsymphony plugin is installed, you can run the following command to check if the SANsymphony Storage Plugin for Proxmox has been installed:
When installing the SANsymphony Storage Plugin for Proxmox using the DPKG, existing iSCSI and Multipath configuration files are automatically backed up to "/var/backups/SANsymphony-Plugin-Backup", allowing you to restore the previous configuration if needed.
Before installation, ensure the multipath-tools and jq packages are installed on the Proxmox server.
Manual Installation of SANsymphony Storage Plugin for Proxmox
This method involves manually setting up the directory for the SANsymphony Storage Plugin for Proxmox and copying the necessary plugin files to the correct location on your Proxmox server.
Procedure:
-
Navigate to the Proxmox Storage plugin directory.
- Create the required directory (if it does not exist):
- Download the SANsymphonyPlugin.pm file from DataCore Software Proxmox Repository. Ensure the file name is exactly SANsymphonyPlugin.pm.
- If you already have the SANsymphonyPlugin.pm file, simply copy it into the newly created directory using this command:
- Download the ssy-plugin, ssy-multipath, and ssy-configure-iscsid files from the DataCore Software Proxmox Repository.
- Copy the files and place them in the user bin directory: CopyCommand
cp /path/to/ssy-plugin /usr/bin
cp /path/to/ssy-multipath /usr/bin
cp /path/to/ssy-configure-iscsid /usr/bin - Add execute permissions to the files so they can be run from any directory:
CopyCommand
chmod +x /usr/bin/ssy-plugin
chmod +x /usr/bin/ssy-multipath
chmod +x /usr/bin/ssy-configure-iscsid - Add DataCore Udev rules. Refer to SCSI Disk Timeout for more information.
- Configure iSCSI Settings. Refer to the iSCSI Settings section in the Proxmox Configuration Guide.
- Configure iSCSI Multipath. Follow the steps in the SCSI Multipath section of the documentation.
- Install jq Debian package:
If you encounter any issues or errors during the setup or operation, refer to the Troubleshooting section for assistance.
Configuration Updates Performed After Plugin Installation
When the SANsymphony Storage Plugin for Proxmox is installed using any of the supported methods (APT repository or DPKG package), the installer updates several host-level configurations immediately after the installation completes.
These updates are required for proper operation of SANsymphony storage with Proxmox VE and are applied as soon as the plugin is installed, without requiring manual configuration. The following sections describe the configuration changes that are applied during installation.
iSCSI Settings
On Proxmox VE nodes, the iSCSI service does not start automatically by default after a system reboot. During installation of the SANsymphony Storage Plugin for Proxmox, the installer updates the iSCSI configuration to ensure reliable connectivity to SANsymphony storage.
-
Configures the iSCSI initiator to start automatically by updating the /etc/iscsi/iscsid.conf file:
-
Updates the session replacement timeout from the default value of node.session.timeo.replacement_timeout (120 seconds) to the recommended value of 15 seconds.
-
Increases the initial login retry count to the recommended value of node.session.initial_login_retry_max (64) to handle scenarios where a port reinitialization prevents automatic login.
-
These changes are applied automatically by the plugin immediately after installation and do not require manual configuration.
-
A backup of the original iscsid.conf file is stored at the following location:
- For more information, refer to the iSCSI Settings section in the Proxmox Configuration Guide.
iSCSI Multipath Configuration
To ensure high availability and proper path management for SANsymphony virtual disks, the plugin installation updates the multipath configuration on the Proxmox VE node immediately after installation. Refer to iSCSI Multipath for more information.
As part of the installation, the plugin creates or updates the multipath configuration file at the following location:
If the multipath.conf file already exists, a backup of the original file is created at the following location:
The configuration applied includes DataCore-recommended defaults and device-specific settings equivalent to the following:
defaults {
user_friendly_names yes
polling_interval 60
find_multipaths "smart"
}
blacklist {
devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
devnode "^hd[a-z]"
}
devices {
device {
vendor "DataCore"
product "Virtual Disk"
path_checker tur
prio alua
failback 10
no_path_retry fail
dev_loss_tmo 60
fast_io_fail_tmo 5
rr_min_io_rq 100
path_grouping_policy group_by_prio
}
}
Multipath Service Restart
After applying the multipath configuration, the installer restarts the multipath service, so the changes take effect immediately:
Custom udev Rule for DataCore Disks
During installation, the plugin adds a custom udev rule to ensure appropriate SCSI timeout handling for SANsymphony virtual disks.
The following file is created or updated as part of the installation:
With the following rule:
SUBSYSTEM=="block", ACTION=="add", ATTRS{vendor}=="DataCore", ATTRS{model}=="Virtual Disk ", RUN+="/bin/sh -c 'echo 80 > /sys/block/%k/device/timeout' "
The udev rules are reloaded automatically by the SANsymphony Storage Plugin for Proxmox so the changes take effect immediately.
Post-Installation Proxmox Service Updates
During installation of the SANsymphony Storage Plugin for Proxmox, several Proxmox Virtual Environment (PVE) services are reloaded or restarted to ensure that plugin configurations are correctly applied and available immediately. The installer attempts to reload services first and performs a restart only when required, ensuring zero or minimal disruption during installation.
The following Proxmox services may be reloaded or restarted as part of the post-installation process:
- pvedaemon.service – Proxmox VE API daemon
- pveproxy.service – Proxmox VE web interface proxy
- pvestatd.service – Proxmox VE status update daemon
- pvescheduler.service – Proxmox VE task scheduler
- pve-ha-lrm.service – Proxmox VE HA local resource manager
The service reload and restart operations are safe and include fallback handling to ensure the installation continues even if a service is not currently running.
Learn More