RIGHT:[[Sun 関係覚え書き]]
#contents
*Sun StorEdge L8
**ドライバ
Sun Download Center より
-SUNWqus.tar.Z
-SUNWqusx.tar.Z
-SUNWqusu.tar.Z
-SUNWqusux.tar.Z
を get.
また,パッチポータルから 112697-04.zip も get.
# zcat SUNWqus.tar.Z | tar xvf -
# zcat SUNWqusx.tar.Z | tar xvf -
# zcat SUNWqusu.tar.Z | tar xvf -
# zcat SUNWqusux.tar.Z | tar xvf -
# pkgadd -d . SUNWqus
# pkgadd -d . SUNWqusu
# pkgadd -d . SUNWqusux
# pkgadd -d . SUNWqusx
# reboot -- -r
再起動後,
# unzip 112697-04.zip
# patchadd 112697-04
# reboot -- -r
*Sun StorEdge EBS(Solstice Backup, Networker)
**インストール
rpc ファイル, syslog.conf ファイルのバックアップ
# cp /etc/rpc /etc/rpc.org
# cp /etc/syslog.conf /etc/syslog.conf.org
Sun StorEdge EBS ローカライズ版 CDROM をセットし,
まず英語版のサーバノードをインストールする.
# pkgadd -d /cdrom/cdrom0/SOLARIS/Sparc
The following packages are available:
1 SUNWebsc Sun StorEdge(TM) Enterprise Backup Client
(sparc) 7.0,REV=395
2 SUNWebsd Sun StorEdge(TM) Enterprise Backup Device Drivers
(sparc) 7.0,REV=395
3 SUNWebsm Sun StorEdge(TM) Enterprise Backup Man
(sparc) 7.0,REV=395
4 SUNWebsn Sun StorEdge(TM) Enterprise Backup Storage Node
(sparc) 7.0,REV=395
5 SUNWebss Sun StorEdge(TM) Enterprise Backup Server
(sparc) 7.0,REV=395
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
Processing package instance <SUNWebsc> from </cdrom/ebs_l10n_1/SOLARIS/Sparc>
Sun StorEdge(TM) Enterprise Backup Client
(sparc) 7.0,REV=395
Sun Microsystems, Inc.
NetWorker(TM) - Release 7.0.Build.395
Copyright (c) 1990-2003, Legato Systems, Inc. All rights reserved.
This product includes software developed by the University of
California, Berkeley and its contributors.
To set up a NetWorker storage node, licensing manager or client, you
need to supply a directory for the nsrexecd state file.
Below is a list of some of the filesystems, with their free space, which you
might consider:
/ :30598851
/usr/local : 9728602
/var : 9141619
Directory to use for client, licensing and server information [/nsr]?
The nsrexecd program restricts access to a select set of NetWorker
servers. Please enter the names of each computer running a NetWorker
server that will back up this computer, one name at a time. If a
computer has more than one network interface, please enter each
interface's name (one at a time).
Enter the first NetWorker server's name [no more]: tfdb01
Enter the next NetWorker server's name [no more]:
Start NetWorker daemons at end of install [yes]?
Using </usr> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
The following files are already installed on the system and are being
used by another package:
/usr/bin <attribute change only>
Do you want to install these conflicting files [y,n,?,q] y
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWebsc> [y,n,?] y
Installing Sun StorEdge(TM) Enterprise Backup Client as <SUNWebsc>
## Installing part 1 of 1.
/usr/bin/nsr/networker <symbolic link>
...
/usr/sbin/nsr/savepnpc <symbolic link>
[ verifying class <none> ]
## Executing postinstall script.
Directory /nsr, does not exist.
Creating directory /nsr.
nsr-izing system files
nsr-izing system files
Initializing //nsr/res/servers
Creating /etc/init.d/networker
Creating /etc/rc2.d/S95networker
Creating /etc/rc0.d/K05networker
Completing Installation
Starting NetWorker daemons
NetWorker successfully installed on `tfdb01'!
Installation of <SUNWebsc> was successful.
Processing package instance <SUNWebsd> from </cdrom/ebs_l10n_1/SOLARIS/Sparc>
Sun StorEdge(TM) Enterprise Backup Device Drivers
(sparc) 7.0,REV=395
Copyright (c) 1990-2003, Legato Systems, Inc.
All Rights Reserved.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWebsd> [y,n,?] y
Installing Sun StorEdge(TM) Enterprise Backup Device Drivers as <SUNWebsd>
## Executing preinstall script.
## Installing part 1 of 1.
/usr/kernel/drv/lus
...
/usr/lib/nsr/libscsi27.so.1
Legato SCSI passthrough driver configured and loaded
Legato optical driver configured - will load at next boot.
Installation of <SUNWebsd> was successful.
Processing package instance <SUNWebsm> from </cdrom/ebs_l10n_1/SOLARIS/Sparc>
Sun StorEdge(TM) Enterprise Backup Man
(sparc) 7.0,REV=395
Sun Microsystems, Inc.
Using </usr> as the package base directory.
## Processing package information.
## Processing system information.
3 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWebsm> [y,n,?] y
Installing Sun StorEdge(TM) Enterprise Backup Device Drivers as <SUNWebsd>
## Executing preinstall script.
## Installing part 1 of 1.
/usr/kernel/drv/lus
/usr/kernel/drv/lus.conf
...
usr/share/man/man5/resource.5
[ verifying class <none> ]
## Executing postinstall script.
Creating /usr/lib/nsr/nsr_man
Installation of <SUNWebsm> was successful.
Processing package instance <SUNWebsn> from </cdrom/ebs_l10n_1/SOLARIS/Sparc>
Sun StorEdge(TM) Enterprise Backup Storage Node
(sparc) 7.0,REV=395
Sun Microsystems, Inc.
NetWorker(TM) - Release 7.0.Build.395
Copyright (c) 1990-2003, Legato Systems, Inc. All rights reserved.
This product includes software developed by the University of
California, Berkeley and its contributors.
The following NetWorker programs are currently running and must be
shutdown before continuing:
683 ? S 0:00 /usr/sbin/nsr/nsrexecd
689 ? S 0:00 /usr/sbin/nsr/nsrexecd
Shutdown currently running NetWorker programs [yes]? yes
Start NetWorker daemons at end of install [yes]? yes
Using </usr> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWebsn> [y,n,?] y
Installing Sun StorEdge(TM) Enterprise Backup Storage Node as <SUNWebsn>
## Installing part 1 of 1.
/usr/sbin/nsr/dasadmin
...
/usr/sbin/nsr/stk_eject
/usr/sbin/nsr/tapeexercise
[ verifying class <none> ]
## Executing postinstall script.
Completing Installation
Starting NetWorker daemons
NetWorker successfully installed on `tfdb01'!
Installation of <SUNWebsn> was successful.
Processing package instance <SUNWebss> from </cdrom/ebs_l10n_1/SOLARIS/Sparc>
Sun StorEdge(TM) Enterprise Backup Server
(sparc) 7.0,REV=395
Sun Microsystems, Inc.
NetWorker(TM) - Release 7.0.Build.395
Copyright (c) 1990-2003, Legato Systems, Inc. All rights reserved.
This product includes software developed by the University of
California, Berkeley and its contributors.
The following NetWorker programs are currently running and must be
shutdown before continuing:
856 ? S 0:00 /usr/sbin/nsr/nsrexecd
859 ? S 0:00 /usr/sbin/nsr/nsrexecd
Shutdown currently running NetWorker programs [yes]? yes
Enter the tape or disk device(s) that are going to be used by the
NetWorker server. Use the no-rewind, BSD-semantics name for each tape
device (i.e., use /dev/rmt/0mbn instead of /dev/rmt/0mb).
Enter device name ([Return] if no more): /dev/rmt/0mbn
Select the device type for "/dev/rmt/0mbn".
The possible types are:
...
sdlt320 - 160/320GB SuperDLT 320.
...
From the following choices, 3480 3570 3590 4890 4mm 4mm_4GB 4mm_8GB
4mm_12GB 4mm_20GB 8mm 8mm_5GB 8mm_20GB 8mm_AIT 8mm_AIT-2 8mm_AIT-3
8mm_Mammoth-2 8mm_Mammoth-3 9490 9840 9840b 9940 dlt dlt1 dlt7000
dlt8000 sdlt sdlt320 dtf dtf2 dst file adv_file himt LTO_Ultrium
LTO_Ultrium-2 optical qic sd3 slr tz85 tz86 tz87 tz88 tz89 tz90 tzs20
tkz90 vhs VXA
Select device type for /dev/rmt/0mbn [4mm]: sdlt320
Enter device name ([Return] if no more):
Start NetWorker daemons at end of install [yes]?
Using </usr> as the package base directory.
## Processing package information.
## Processing system information.
1 package pathname is already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWebss> [y,n,?] y
Installing Sun StorEdge(TM) Enterprise Backup Server as <SUNWebss>
## Installing part 1 of 1.
/usr/lib/nsr/networker.fm_start
...
/usr/sbin/nsr/savegrp
[ verifying class <none> ]
## Executing postinstall script.
Modifying /etc/rpc
Modifying /etc/syslog.conf
Restarting syslog daemon
Completing Installation
Starting NetWorker daemons
NetWorker successfully installed on `tfdb01'!
Installation of <SUNWebss> was successful.
The following packages are available:
1 SUNWebsc Sun StorEdge(TM) Enterprise Backup Client
(sparc) 7.0,REV=395
2 SUNWebsd Sun StorEdge(TM) Enterprise Backup Device Drivers
(sparc) 7.0,REV=395
3 SUNWebsm Sun StorEdge(TM) Enterprise Backup Man
(sparc) 7.0,REV=395
4 SUNWebsn Sun StorEdge(TM) Enterprise Backup Storage Node
(sparc) 7.0,REV=395
5 SUNWebss Sun StorEdge(TM) Enterprise Backup Server
(sparc) 7.0,REV=395
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: q
//------------------------------------------------------------
次に日本語のロケールをインストールする.
# pkgadd -d /cdrom/cdrom0/SOLARIS/Sparc/ja
The following packages are available:
1 SUNWjaebm Sun StorEdge(TM) Enterprise Backup Japanese Man (EUC)
(sparc) 7.0,REV=395
2 SUNWjaebs Sun StorEdge(TM) Enterprise Backup Japanese Locale
(sparc) 7.0,REV=395
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
Processing package instance <SUNWjaebm> from </cdrom/ebs_l10n_1/SOLARIS/Sparc/ja>
Sun StorEdge(TM) Enterprise Backup Japanese Man (EUC)
(sparc) 7.0,REV=395
Sun Microsystems, Inc.
Using </usr> as the package base directory.
## Processing package information.
## Processing system information.
2 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWjaebm> [y,n,?] y
Installing Sun StorEdge(TM) Enterprise Backup Japanese Man (EUC) as <SUNWjaebm>
## Installing part 1 of 1.
/usr/share/man/ja/man1m/EMASS_silo.1m
...
Installation of <SUNWjaebm> was successful.
Processing package instance <SUNWjaebs> from </cdrom/ebs_l10n_1/SOLARIS/Sparc/ja>
Sun StorEdge(TM) Enterprise Backup Japanese Locale
(sparc) 7.0,REV=395
Sun Microsystems, Inc.
NetWorker(TM) - Release 7.0.Build.395
Copyright (c) 1990-2003, Legato Systems, Inc. All rights reserved.
This product includes software developed by the University of
California, Berkeley and its contributors.
The following NetWorker programs are currently running and must be
shutdown before continuing:
1023 ? S 0:00 /usr/sbin/nsr/nsrexecd
1025 ? S 0:00 /usr/sbin/nsr/nsrexecd
1027 ? S 0:00 /usr/sbin/nsr/nsrd
1037 ? S 0:00 /usr/sbin/nsr/nsrmmdbd
1038 ? S 0:00 /usr/sbin/nsr/nsrindexd
1043 ? S 0:00 /usr/sbin/nsr/nsrmmd -n 1
Shutdown currently running NetWorker programs [yes]? yes
Using </> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
This package contains scripts which will be executed with super-user
permission during the process of installing this package.
Do you want to continue with the installation of <SUNWjaebs> [y,n,?] y
Installing Sun StorEdge(TM) Enterprise Backup Japanese Locale as <SUNWjaebs>
## Installing part 1 of 1.
/nsr/gls/GL_LANG
/nsr/gls/cv/e007e01c.cvo
...
/usr/openwin/lib/locale/ja/app-defaults/Networker
[ verifying class <none> ]
## Executing postinstall script.
Installation of <SUNWjaebs> was successful.
The following packages are available:
1 SUNWjaebm Sun StorEdge(TM) Enterprise Backup Japanese Man (EUC)
(sparc) 7.0,REV=395
2 SUNWjaebs Sun StorEdge(TM) Enterprise Backup Japanese Locale
(sparc) 7.0,REV=395
Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: q
//--------------------
**オートチェンジャ
inquire コマンドで SCSI およびファイバチャネルデバイスの確認
# /usr/sbin/nsr/inquire
scsidev@0.6.0:TOSHIBA DVD-ROM SD-M17111005|CD-ROM, /dev/rdsk/c0t6d0s2
scsidev@2.0.0:ADIC FastStor 2 F10r|Autochanger (Jukebox)
S/N: 0336F10117
scsidev@2.5.0:QUANTUM SDLT320 3838|Tape, /dev/rmt/0cbn
S/N: RBD30Y1258
ATNN:QUANTUM SDLT320 RBD30Y1258
IENN:00E09E6000118F62
WWNN:500E09E000118F62
scsidev@5.0.0:Symbios StorEDGE A1000 0301|Disk
//---
sjisn コマンドを実行.
引数には inquire コマンドで表示された SCSI ID を指定する.
(上記の例では,2.0.0)
# /usr/sbin/nsr/sjisn 2.0.0
Serial Number data for 2.0.0 (ADIC FastStor 2 ):
Library:
Serial Number: 0336F10117
Drive at element address 82:
SCSI-3 Device Identifiers:
VENN:RBD30Y1258
//--
Sun StorEdge EBS デーモンが実行されていることを確認.
# ps -ef|grep nsr
//--
jbconfig コマンド実行.
# /usr/sbin/nsr/jbconfig
1) Configure an AlphaStor/SmartMedia Jukebox.
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
Installing 'Standard SCSI Jukebox' jukebox - scsidev@2.0.0.
What name do you want to assign to this jukebox device? StorEdgeL8
Turn NetWorker auto-cleaning on (yes / no) [yes]?
The following drive(s) can be auto-configured in this jukebox:
1> sdlt320 @ 2.5.0 ==> /dev/rmt/0cbn
These are all the drives that this jukebox has reported.
To change the drive model(s) or configure them as shared or NDMP drives,
you need to bypass auto-configure. Bypass auto-configure? (yes / no) [no]
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 off because it does not appear that this jukebox has
a barcode reader
> Slot intended to hold cleaning cartridge to 8. 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 nwadmin.
Would you like to configure another jukebox? (yes/no) [no]
//-------------------------------------------------
*後はいつものとおり Networker の設定だ.
変更点として
[Customize]->[Notifications] で [Bootstrap] の Action を
/usr/bin/lp -s -c -t bootstrap -d%PRINTER
から
/usr/ucb/mail -s "bootstrap" root
に変更.
**Customize/Schedules
[Full Every Saturday]を新規作成
:Period|Week
で土曜日がフルバックアップ,それ以外をインクリメンタル
**Customize/Policies
[BiWeek]を新規作成
:Period|Weeks
:Number of periods|2
**Customize/Notifications
[Bootstrap]
Action を
/usr/bin/lp -s -c -t bootstrap -d%PRINTER
から
/usr/ucb/mail -s "bootstrap" root
に変更.
**Media/Pools
[tfdb01pool]を新規作成
:Enableshd|Yes
:PoolType|Backup
:Label template|Default
:Groups|Default
:Devices|/dev/rmt/0cbn
**Media/Jukebox
[StoreEdgeL8]を修正
:Auto media management|Yes
**Clients/Client Setup
tfdb01 を編集
:Schedule|Full Every Saturday
:Browse policy|BiWeek
:Retention policy|BiWeek
:Group|Default