Applicable to:
- SolusVM
Question
How to know the license types of all the Slave nodes?
Answer
- Connect to SolusVM master node via SSH
- Access the database:
# MYSQL_PWD=`cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $3}'` mysql `cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $1}'` -u`cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $2}'` -h`cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $4}'`
- Execute the following query:
MYSQL_LIN: SELECT nodeid, name, ip, licensetype FROM nodes;
licensetype can be 0(Standard), 1(Mini) and 2(Micro).
Comments
0 commentsPlease sign in to leave a comment.