HP-UX中SAN客户端软件的配置
一 组网需求:
在HP-UX客户端主机中下载有SAN客户端软件,并且HP主机和存储之间路由可达。
二 组网图:
无
三 配置步骤:
使用Putty工具登陆到HP-UX客户端主机的命令行界面,假设SAN客户端软件下载在tmp目录下,名称为sanclient-4.50-906.tar。
输入如下的命令:
# cd /tmp
# ls
# tar xvf sanclient-4.50-906.tar
解压缩 sanclient-4.50-906.tar文件,系统会生成若干gen_pkg为后缀的文件。
# swinstall -s `pwd`/gen_pkg
安装SAN客户端软件,“`”符号在键盘Tab键的正上方。
安装完成之后必须退出再重新登陆系统的命令行界面。
# sanclient
Storage Server Client v4.50 (build 906)
Copyright 2001-2005 by FalconStor. All Rights Reserved.
Usage: sanclient [start|stop|restart|status|monitor|devices|shutdown]
这条命令可以检验SAN客户端软件是否安装成功。显示以上信息时表示安装成功。
确认SAN客户端软件安装成功之后,可以运行/usr/local/sanclient/bin目录下sanclient工具。
# cd /usr/local/sanclient/bin
# ls
# ./sanclient monitor
Storage Server Client v4.50 (build 906)
Copyright 2001-2005 by FalconStor. All Rights Reserved.
Warning: san client daemon is not running!
Viewing client configuration needs a running client daemon.
Enter "sanclient start" to start san client.
SAN/IP protocol is not available for this client due to missing client kernel package!
Do you wish to enable Fibre Channel protocol support for this client? (y|n)[n] n
Do you wish to enable iSCSI protocol support for this client? (y|n)[n] y
Select an item:
0. < Quit >
1. List Storage Server Client Configuration
2. List Storage Server Devices
3. Add Storage Server Servers
4. Delete Storage Server Servers
5. Rescan Storage Server Devices
6. Attach Storage Server Devices
7. Detach Storage Server Devices
8. Enable Protocol
9. Disable Protocol
10. View Configured Protocol
Choose a number: 3
Adding a Server.
Enter name (or IP address) of your Storage Server Server : 200.200.10.103
Enter a login ID from the Storage Server admin group on your Storage Server Server: root
Enter password:
Getting shared secret..
Adding client to server's configuration file..
Done.
Does this Client have more Servers to configure? (y|n)[y] n
1 Storage Server Server(s) added.
Please run "sanclient restart" to make your change effective.
在上图中选择启用客户端得iSCSI协议支持,在下面的选择菜单中选择3添加存储的IP地址以及用户名、密码。
接着可以使用sanclient start来启用SAN客户端。
# sanclient start
Storage Server Client v4.50 (build 906)
Copyright 2001-2005 by FalconStor. All Rights Reserved.
kmpath is a wrapper script which exists for compatibility reasons only.
The underlying command used is 'kcpath'. New or modified scripts or
procedures should use kcpath directly.
About to execute: kcpath -x
adb: info: Option -k is deprecated.
adb: warning: Unrecognized format character - 'D'.
Starting san Client (Daemon)..........[OK]
此时存储中的客户端中会自动创建一个与主机名相对应的客户端。
如果需要查看系统当前的SAN客户端运行状态,可以使用sanclient status命令。
# sanclient status
Storage Server Client v4.50 (build 906)
Copyright 2001-2005 by FalconStor. All Rights Reserved.
san Client (Daemon)..........[RUNNING]
四 配置关键点:
1.注意安装软件时要使用位于键盘Tab键的正上方的“`”符号。
2.安装完SAN客户端软件之后必须关闭当前的控制界面,再重新打开一个。
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作