- 论坛徽章:
- 0
|
环境说明
备份软件: Sun StorEdge Enterprise Backup Software™ 7.3.2
备份管理服务器: SUN Ultra 45
客户端: 4台HP安藤主机,两两做ORACLE 10G的RAC
带库: SUN StorEdge C4,配置2个LTO驱动器
一、SUN StorEdge C4硬件初始化操作
1、 拆除包装
2、 拆除C4内部的固定件,这个操作费了一番功夫,随机说明书只说一定要先拆除机箱内的固定件,但且没有说明怎么拆除,咨询了一些人,说是用随机带的竹棍捣,从小孔捣进去,捣的有手感了,就可以把两个磁带匣取出来,就可以看到固定件了。找了下包装箱,果然找到个大号牙签样的小竹棍,从哪捣阿,找了半天,看到机箱上有孔的地方都捣进去试了试,最后终于从机箱正面的小孔捣着把两个匣子抽出来了,这时可以看到机箱内的固定件了,用剪刀把扎带剪开,把固定用的泡沫垫抽出来就OK了,SUN这个做的有待改进阿。
3、 安装2个LTO 驱动器到C4机箱内。
4、 把StorEdge C4安装到机柜,把C4的FC端口、两个驱动器的一个FC端口分别连接到光纤交换机,把备份管理服务器的FC端口连接到光纤交换机。
5、 给带库StorEdge C4加电,查看液晶面板信息,确认带库初始化正常。
6、 用网线连接C4的管理口,用192.168.20.126这个默认管理地址登陆上去,默认用户名和口令都是admin。选择分区设置,把带库所有的硬件资源(左右两个装载端口、左右两个驱动器等)分配到一个分区,应用,然后重起,这个操作不能遗漏,我开始就是不知道要做分区设置,以为带库初始化正常就不用做任何设置了,导致走了很多弯路,浪费了很多的时间。(带库默认情况下,分区里最大磁带匣只有14个slot可用,导致我在备份管理服务器上,把EBS 软件装完,完成C4带库的配置以后,登陆到EBS CONSOLE,看到library Jukebox设备下,只有14个slot,当时还很纳闷,LTO磁带设备不是最多有38个slot可用吗,液晶屏上也显示了可用slot为38,察看液晶屏的分区信息,看到最大可用slot为14,才恍然大悟,我分区没有做设置造成的,只好返工重新来一遍。
分区示意图如下:
7、 从液晶屏菜单上,释放左右两个磁带匣,让后把LTO3磁带放进去,放之前用WEB连上去看一下左右两个匣子的SLOT的排列顺序,确认清楚以后,把磁带按照磁带标签顺序和匣子的SLOT顺序把磁带放进去,左边放12盒,放多了也没有,一边最多认12盒。右边放7盒,这样,总共放进去19盒。分区最多认26个SLOT,两个匣子各12个,加上中转用的2个SLOT。
8、 在液晶屏上看一下磁带、分区、驱动器等的信息,确认一切正常,就可以进行后面备份服务器的配置工作了。
二、在EBS SERVER主机上安装EBS 软件
放入ebs软件的第一张光盘1/8(每一张是一个平台的,for aix、for linux、for windows等,HP 居然有2张,1张FOR PA-RISC,一张FOR 安藤)
选择安装所有包,一共5个。
a. SUNWebsc (client software package)
b. SUNWebsn (storage node software package)
c. SUNWebss (server software package)
d. SUNWebsm (optional man pages)
e. LGTOlicm (optional NetWorker License Manager software package)
安装之前备份以下文件
cp /etc/rpc /etc/rpc.old
cp /etc/syslog.conf /etc/syslog.conf.old
安装软件包之前,先安装JRE
因为EBS 7.3是通过一个EBS CONSOLE SERVER来进行备份管理配置的,EBS CONSOLE下可以管理配置多个EBS SERVER,而EBS CONSOLE SERVER要用到JRE,版本要求在1.4.2_11及以上版本,但不包含1.6。安装光盘上提供了一个1.4.2_11的java版本。如果系统里已经安装,可以不装。
安装JRE:
/cdrom/cdrom0/solaris_64/j2re-1_4_2_11-solaris-sparc.sh
在SERVER上安装所有的软件包(必须),主要包含4种类型的功能模块
1. Client
2. Storage Node
3. Server
4. Console Server
pkgadd -d /cdrom/cdrom0/solaris_64
安装会提示你输入JAVA的路径,然后依次安装client、Storage Node、Server、Console Server,系统会安装到默认位置,当然也可以自定义安装位置。
安装完成使用pkginfo SUNWebss SUNWebsn SUNWebsd SUNWebsc SUNWebsm确认安装正常。
安装完成后进程会自动启动,察看进程确认
ps -ef | grep nsr
如果输出没有列出nsrd and nsrexecd 这两个进程
执行命令,手动启动进程
/etc/init.d/networker start
卸载软件用
pkgrm SUNWebss SUNWebsn SUNWebsd SUNWebsc SUNWebsm
安装完后从远程主机WEB登陆管理界面
http://ipadd:9000/
使用默认用户名administrator口令administrator登陆,会提示你没有安装JAVA虚拟机,点击页面上的下载按钮,下载安装JAVA 1.4.2,安装完后进入图形配置界面,一路next完成配置。
三、在EBS SERVER上配置带库
1、 先确认带库和驱动器是否正确实别
bash-3.00# cfgadm -a
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 CD-ROM connected configured unknown
c1 scsi-bus connected configured unknown
c1::dsk/c1t0d0 disk connected configured unknown
c1::dsk/c1t1d0 disk connected configured unknown
c1::scsi/direct/c1t0d0 disk connected configured unknown
c1::scsi/direct/c1t1d0 disk connected configured unknown
c2 fc connected unconfigured unknown
c3 fc-fabric connected configured unknown
c3::500e09e00b6ab300 med-changer connected configured unknown
c3::500e09e00b6ab310 tape connected configured unknown
c3::500e09e00b6ab320 tape connected configured unknown
2、为配置带库查询必要的信息
bash-3.00# cd /usr/sbin/nsr
bash-3.00# ./inquire
scsidev@1.0.0:SEAGATE ST314655SSUN146G0791|Disk, /dev/rdsk/c1t0d0s2
S/N: 26S1GPFR 3LN1GPFR
WWNN=5000C500050916BF
WWPN=5000C500050916BD
PORT=00000001
scsidev@1.1.0:SEAGATE ST314655SSUN146G0791|Disk, /dev/rdsk/c1t1d0s2
S/N: 26S1GJ6H 3LN1GJ6H
WWNN=5000C50005091D03
WWPN=5000C50005091D01
PORT=00000001
scsidev@3.0.0UANTUM PX500 001A|Autochanger (Jukebox), /dev/scsi/changer/c3t500E09E00B6AB300d0
S/N: QP0738BDC00256
ATNN=QUANTUM PX500 QP0738BDC00256
IENN=00E09EFFFF0B6AB3
WWNN=100000E09E0B6AB3
scsidev@3.1.0:HP Ultrium 3-SCSI M23Z|Tape, /dev/rmt/2cbn
S/N: HU10724JEK
ATNN=HP Ultrium 3-SCSI HU10724JEK
WWNN=500110A00101B426
WWPN=500E09E00B6AB310
PORT=00000001
scsidev@3.2.0:HP Ultrium 3-SCSI M23Z|Tape, /dev/rmt/1cbn
S/N: HU10724JFK
ATNN=HP Ultrium 3-SCSI HU10724JFK
WWNN=500110A00101B2FA
WWPN=500E09E00B6AB320
PORT=00000001
3、为配置带库确认必要的信息
bash-3.00# ./sjisn 3.0.0
Serial Number data for 3.0.0 (QUANTUM PX500 ):
Library:
Serial Number: QP0738BDC00256
SCSI-3 Device Identifiers:
ATNN=QUANTUM PX500 QP0738BDC00256
IENN=00E09EFFFF0B6AB3
WWNN=100000E09E0B6AB3
Drive at element address 128:
SCSI-3 Device Identifiers:
WWNN=500110A00101B427
Drive at element address 129:
SCSI-3 Device Identifiers:
WWNN=500110A00101B2FB
4、确认驱动器的路径
bash-3.00# luxadm inq /dev/rmt/1cbn
INQUIRY:
Physical Path:
/devices/pci@1e,600000/pci@0/pci@3/SUNW,qlc@0,1/fp@0,0/st@w500e09e00b6ab320,0:cbn
Vendor: HP
Product: Ultrium 3-SCSI
Revision: M23Z
Serial Number HU10724JFK
Device type: 0x1 (Tape device)
Removable media: yes
Medium Changer Element: no
ISO version: 0
ECMA version: 0
ANSI version: 3 (Device complies to SCSI-3)
Terminate task: no
Response data format: 2
Additional length: 0x5b
Cmd received on port: b
Command queueing: no
VENDOR-SPECIFIC PARAMETERS
Byte# Hex Value ASCII
36 00 00 00 00 48 55 31 30 37 32 34 4a 46 4b 00 00 ....HU10724JFK..
00 00 00 00 ....
#########################
bash-3.00# luxadm inq /dev/rmt/2cbn
INQUIRY:
Physical Path:
/devices/pci@1e,600000/pci@0/pci@3/SUNW,qlc@0,1/fp@0,0/st@w500e09e00b6ab310,0:cbn
Vendor: HP
Product: Ultrium 3-SCSI
Revision: M23Z
Serial Number HU10724JEK
Device type: 0x1 (Tape device)
Removable media: yes
Medium Changer Element: no
ISO version: 0
ECMA version: 0
ANSI version: 3 (Device complies to SCSI-3)
Terminate task: no
Response data format: 2
Additional length: 0x5b
Cmd received on port: b
Command queueing: no
VENDOR-SPECIFIC PARAMETERS
Byte# Hex Value ASCII
36 00 00 00 00 48 55 31 30 37 32 34 4a 45 4b 00 00 ....HU10724JEK..
00 00 00 00
5、执行jbconfig配置带库
./jbconfig
Jbconfig is running on host ultra45 (SunOS 5.10),
and is using ultra45 as the NetWorker server.
1) Configure an AlphaStor Library.
2) Configure an Autodetected SCSI Jukebox.
3) Configure an Autodetected NDMP SCSI Jukebox.
4) Configure an SJI Jukebox.
5) Configure an STL Silo.
What kind of Jukebox are you configuring? [1] 2
Scanning SCSI buses; this may take a while ...
Installing 'Standard SCSI Jukebox' jukebox - /dev/scsi/changer/c3t500E09E00B6AB300d0.
What name do you want to assign to this jukebox device? storc4
Attempting to detect serial numbers on the jukebox and drives ...
Will try to use SCSI information returned by jukebox to configure drives.
Turn NetWorker auto-cleaning on (yes / no) [yes]?
The drives in this jukebox cannot be auto-configured with the available
information. You will need to provide the path for the drives.
Is (any path of) any drive intended for NDMP use? (yes / no) [no] no
Is any drive going to have more than one path defined? (yes / no) [no]
Please enter the device path information in one of the following formats:
/dev/rmt/1cbn --for local path or
host:device-path --for remote node or NDMP device(s) or
host:drive-letter:directory path --for Windows disk file
Drive 1, element 128
Drive path ? /dev/rmt/2cbn
Drive 2, element 129
Drive path ? /dev/rmt/1cbn
Please select the appropriate drive type number:
1) 3480 24) 9840C 46) qic
2) 3570 25) 9940 47) SAIT-1
3) 3590 26) 9940B 4 SD3
4) 3592 27) adv_file 49) sdlt
5) 4890 2 dlt 50) sdlt320
6) 4mm 29) dlt vs160 51) sdlt600
7) 4mm 12GB 30) dlt-s4 52) SLR
4mm 20GB 31) dlt-v4 53) T10000
9) 4mm 4GB 32) dlt1 54) tkz90
10) 4mm 8GB 33) dlt7000 55) travan10
11) 4mm DAT160 34) dlt8000 56) TS1120
12) 4mm DAT72 35) dst 57) tz85
13) 8mm 36) dst (NT) 5 tz86
14) 8mm 20GB 37) dtf 59) tz87
15) 8mm 5GB 3 dtf2 60) tz88
16) 8mm AIT 39) file 61) tz89
17) 8mm AIT-2 40) himt 62) tz90
1 8mm AIT-3 41) logical 63) tzs20
19) 8mm AIT-4 42) LTO Ultrium 64) VXA
20) 8mm Mammoth-2 43) LTO Ultrium-2 65) VXA-172
21) 9490 44) LTO Ultrium-3 66) VXA-2
22) 9840 45) optical 67) VXA-320
23) 9840b
Enter the drive type of drive 1? 44
Are all the drives the same model? (yes / no) [yes]
Jukebox has been added successfully
The following configuration options have been set:
> Jukebox description to the control port and model.
> Autochanger control port to the port at which we found it.
> Networker managed tape autocleaning on.
> Barcode reading to on.
> Volume labels that match the barcodes.
> Slot intended to hold cleaning cartridge to 14. Please insure that a
cleaning cartridge is in that slot
> Number of times we will use a new cleaning cartridge to 5.
> Cleaning interval for the tape drives to 6 months.
You can review and change the characteristics of the autochanger and its
associated devices using the NetWorker Management Console.
Would you like to configure another jukebox? (yes/no) [no]
#
注意:通过前面inquire和./sjisn 3.0.0的输出确认路径,drive1 路径为/dev/rmt/2cbn、drive2路径为/dev/rmt/1cbn,两个驱动器路径不要搞混了。
配置完成后,登陆EBS CONSOLE后查看storage node可以看到未做配置前自动识别到的出现扳手的带库和2个驱动器图标没了,代之以以下图标
说明EBS SERVER和STORAGE NODE正确的识别和挂载了带库,可以进行后面备份相关的配置了。配置group、pool、client、volum等等,这部分配置全部是连接到CONSOLE上的图形界面配置,无法粘贴上来
四、注册软件
EBS软件安装完成以后,默认处于试用许可模式,各功能模块可以使用,但只有30天的试用期,需要对各功能模块分别注册才能获得永久使用期限。注册方式为,先在EBS SERVER上输入信封里的各功能模块的enabler code,输入enabler code后,各功能模块会获得45天的使用期限,作为注册获得Auth Code的过渡期限,然后把enabler code、用户信息(用户姓名、单位、地址、邮编、电话、传真)这些信息用邮件发给license@rrd.co.jp,这是日本的一个注册中心,然后会收到一个邮件,里面有Auth Code的附件。用这个Auth Code在EBS SERVER上注册,就可以获得各功能模块的永久使用权。在EBS SERVER上输入enabler code如下(当然也可以用客户端连接到EBS CONSOLE的图形界面下输入):
bash-3.00# nsrcap -v -c xxxxxxxxxxxxxxx
Read an enabler:
name: Autochanger Module, 64 slots/64
enabler code: xxxxxxxxxxxxxxx
license type: J64
demo days: 45 days
输入完成后,连接到EBS CONSOLE后,察看注册信息可以看到,原来只有一条信息,注明试用版试用期限在1月25日到期,现在那条信息没有了,代之以多条各功能模块的信息,在2月26日到期。
[ 本帖最后由 king3171 于 2008-4-1 11:40 编辑 ] |
|