Wondering how to Display Logical volumes in slave node LVM manager of your SolusVM? We can help you!
At times we may notice that Logical volumes are not displayed at the LVM manager.
Here at Bobcares, we handle requests from our customers to fix similar errors as a part of our Server Management Services.
Today we will see how our Support Engineers fix this for our customers.
How to Display Logical volumes in slave node LVM manager
Now we will see the steps that our Support Techs follow to fix this error.
Cause
The Slave node is running OS vendor PHP version.
Steps to follow:
a) We must switch to svmstack PHP version first.
This can be done with a script using the following steps:
1. First, we need to connect to the SolusVM Master/slave server over SSH.
2. Then download and execute the script to switch to the latest stack:
# curl -o svmupgradestack.sh https://raw.githubusercontent.com/solusvm-support/helpers/master/svmupgradestack.sh && sh svmupgradestack.sh
3. In the prompt we can either select Master or Slave depending upon the type of node.
For switching to svmstack PHP version manually we can use the below steps:
1. First run the following command:
# yum update svmstack-php && mv /usr/bin/php /usr/bin/backup-php
2. Then to Create a link to SolusVM PHP binary we can use the following:
# ln -s /usr/local/svmstack/php/bin/php /usr/bin/php
b) After that we can Install the SolusVM repository using the following command:
# yum install solusvm-release
c) Now we will stop and disable the Lighttpd web server using the following command:
# service lighttpd stop
# chkconfig lighttpd off
d) Install Nginx web server and legacy configuration:
For Master server:
# yum install svmstack-nginx svmstack-nginx-legacy-master-config
For Slave server:
# yum install svmstack-nginx svmstack-nginx-legacy-slave-config
e) After this we can enable svmstack-* services using the following:
# chkconfig svmstack-nginx on
# chkconfig svmstack-fpm on
f) Finally, we can start services using the following:
# service svmstack-nginx restart
# service svmstack-fpm restart
[Need assistance? We can help you]
Conclusion
In short, we saw the steps that our Support Techs follow to Display Logical volumes in LVM manager in Solusvm for our customers.
0 Comments