您的位置:首页 > 运维架构 > Linux

Centos7下安装配置开源存储虚拟化QuadStor(1)------初始化QuadStor

2018-02-27 10:11 1806 查看

操作环境

OS[root@quadstor-node1 ~]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
QuadStorquadstor-virt-3.2.13-rhel.x86_64.rpm

操作步骤

QuadStor是一款开源存储产品,可以用来做虚拟磁带库以及存储虚拟化,本次作为存储虚拟化来介绍。
存储虚拟化功能如下:



可以在官网http://www.quadstor.com/storage-virtualization-enterprise-edition-downloads.html下载对应版本的软件包。
安装配置步骤参照http://www.quadstor.com/storage-virtualization-documentation.html进行。
1.安装依赖包#yum install httpd gcc perl kernel-devel sg3_utils iotop sysstat lsscsi2.安装quadstor[root@quadstor-node1 ~]# rpm -ivh quadstor-virt-3.2.13-rhel.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:quadstor-virt-3.2.13-rhel ################################# [100%]
QUADStor Storage Virtualization commercial edition software is distributed under the following terms

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

YOU AGREE NOT TO REVERSE ENGINEER, DECOMPILE, DISASSEMBLE, CREATE ANY DERIVATIVE WORK OF THIS SOFTWARE. YOU AGREE NOT TO REDISTRIBUTE THIS SOFTWARE WITHOUT PRIOR WRITTEN PERMISSION. THIS HOWEVER DOES NOT APPLY TO THIRD PARTY/OPEN SOURCE COMPONENTS DISTRIBUTED WITH THIS SOFTWARE. FOR THIRD PARTY/OPEN SOURCE COMPONENTS THEIR RESPECTIVE LICENSING APPLIES.

Copyright (C) QUADStor Systems.
All Rights Reserved.
For any queries contact support@quadstor.com.

Performing post install. Please wait...
Created symlink from /etc/systemd/system/multi-user.target.wants/quadstor.service to /usr/lib/systemd/system/quadstor.service.
Building required kernel modules
Running /quadstor/bin/builditf. This may take a few minutes.
3.启动httpd&quadstor[root@quadstor-node1 ~]# systemctl enable httpd
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
[root@quadstor-node1 ~]# systemctl enable quadstor
[root@quadstor-node1 ~]# systemctl start httpd
[root@quadstor-node1 ~]# systemctl start quadstor
4.登录quadstor管理界面



5.默认配置下是免密码登录quadstor管理页面的,下面配置需要密码登录
a.在/var/www/cgi-bin目录下创建.htacess文件,内容如下[root@quadstor-node1 cgi-bin]# vi .htaccess
AuthName "QUADStor Authentication"
AuthType Basic
AuthUserFile /var/www/cgi-bin/.htpasswd
Require valid-user
b.创建.htpasswd文件[root@quadstor-node1 cgi-bin]# htpasswd -s -b -c /var/www/cgi-bin/.htpasswd webadmin webadminc.配置httpd.conf文件中关于cgi-bin部分如下:<Directory "/var/www/cgi-bin">
AllowOverride AuthConfig Limit
Options None
Order allow,deny
Allow from all
</Directory>
d.重启httpd&quadstor[root@quadstor-node1 cgi-bin]# systemctl restart httpd
[root@quadstor-node1 cgi-bin]# systemctl restart quadstor
e.登录管理界面



在登录时,弹出对话框需要输入用户名密码webadmin/webadmin

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: