This process helps to identify and configure FalconStor to work on both Single and Dual VIOS. This process requires Internet access.
Check configuration:
- Log in to your FalconStor StoreSafe System as root.
- Check for the multipath library and service status.
- Run the below command to check the multipath library status
ldd /usr/sbin/multipath | grep -i "not found\|failed"
Sample Output:
- Run the following command to check the status of the "multipathd" service
systemctl status multipathd
Sample Output:
- Run the below command to check the multipath library status
- Run the following command to check if the path is empty
ls -l /etc/multipath/
Sample Output:
- Run the following command to determine if multipath is enabled
multipath -ll
Sample Output: - If you find libraries missing and the multipath service in a failed state when performing the above checks proceed to the next section.
Installing Missing Libraries:
- Run
yum update -y
installing missing libraries
If the installation failed because the URL in the repository was no longer available then the repository URL needs to be updated. Use the following commands to update the repository URL so that yum can install the required missing libraries
Execute the below commands one by one to update the repository URL
cd /etc/yum.repos.d/
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
Please rerun theyum update -y
again.
- Now install the missing library package for multipathing using the below command
yum install liburcu*
Sample output:
Verification:
- Once the missing package is installed, verify for any other missing packages.
Check the multipath library status using below commandldd /usr/sbin/multipath | grep -i "not found\|failed"
If this command returns empty then all required packages are installed if not, please contact Skytap Support for further assistance.
Updating dracut.conf:
- We need to add the multipath module to the dracut.conf file. Run the following command to check if this entry is available:
cat /etc/dracut.conf | grep -i 'add_dracutmodules+=" lvm multipath "'
- If the above command returned an empty line, run the following command to add the configuration
echo 'add_dracutmodules+=" lvm multipath "' >> /etc/dracut.conf
The resulting file should look like below
Creating multipath configuration:
- Execute the following commands to create the /etc/multipath.conf configuration file, load the multipath module, and set chkconfig for the multipathd to on
mpathconf --enable
- Edit /etc/multipath.conf file using vi or nano editor and update the file with the following entries.
vi /etc/multipath.conf
defaults {
user_friendly_names yes
find_multipaths yes
}
devices {
device {
vendor "AIX"
product "VDASD"
path_grouping_policy "multibus"
path_checker "directio"
features "0"
hardware_handler "0"
prio "const"
failback immediate
rr_weight "uniform"
no_path_retry 60
}
}
blacklist {
}
Rebuilding initramfs
- Rebuild the initramfs with the following command
dracut -f -v
Rebooting the LPAR
- Post rebuild the initramfs, reboot the LPAR using the below command
shutdown -Fr now
Now your VM should be configured for the multipathing and can seamlessly transition from Single VIOS to Dual VIOS and this is a one-time configuration. If you encounter any issues in this procedure please reach out to Skytap Support support@skytap.com for further assistance.
Comments
0 comments
Article is closed for comments.