|
NetVault 6.5 Install 〜for RedHat 7.2〜
NetVault 6.5 Install
〜for RedHat 7.2〜
0.更新履歴
- 2002.03.12 新規作成
- 2002.03.14 根本的にインストールを間違えていたので,やり直した.
- 2003.03.27 FAQへのリンク先が変更されていたのに伴い,リンク先を修正.
1.はじめに
このドキュメントでは,BakBone SOFTWARE社(http://www.bakbone.co.jp)のバックアップソフト,NetVault
6.5をインストールする手順を示す.
対象は,RedHat Linux 7.2(Kernel 2.4.7-10)のマシンである.
2.パッケージのインストール
[babadon@msc-db babadon]$ su - root
Password:■■■■■■■■■■■■■■
[root@msc-db root]#
|
[root@msc-db root]# mkdir /opt/NetVault
[root@msc-db root]#
|
[root@msc-db root]# mount /dev/cdrom /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
[root@msc-db root]#
|
[root@msc-db cdrom]# ls
aix hp linux24 readme_e.txt sol2678 uware213 w2k
doc irix nt readme_j.txt solx86 uware711 win9x
freebsd linux opensvr sol251 tru64 vaultdrc
[root@msc-db cdrom]#
|
- 今回は,Linuxを対象としているので,該当ディレクトリに移動して中身を確認する.
[root@msc-db cdrom]# cd linux24
[root@msc-db linux24]# ls -la
total 38132
dr-xr-xr-x 1 root root 2048 Jan 8 14:26 .
dr-xr-xr-x 1 root root 2048 Mar 13 18:33 ..
-r-xr-xr-x 1 root root 395 Nov 21 08:53 1st_euc.txt
-r-xr-xr-x 1 root root 403 Nov 21 08:54 1st_sjis.txt
-r-xr-xr-x 1 root root 26476 Nov 10 20:48 install
-r-xr-xr-x 1 root root 313273 Dec 1 13:09 netvault
-r-xr-xr-x 1 root root 8270 Dec 1 13:10 nvconfigurator
-r-xr-xr-x 1 root root 40546304 Oct 20 11:51 nvdist
-r-xr-xr-x 1 root root 787 Oct 20 11:54 readme.txt
-r-xr-xr-x 1 root root 133 Nov 20 15:09 xapplication
[root@msc-db linux24]#
|
- マニュアルによると,rpm版もあるらしい.
- /mnt/cdrom/linux24/rpmというディレクトリがあれば...
- 残念ながら,このCD-ROMにはrpmが無い.
- よって,インストーラを起動する.
root@msc-db linux]# ./install ./nvdist
NetVault 6 - Release V650_R011018
Copyright (c) BakBone Software Inc. 2000-2001
Unix Installation/Removal Utility
-- BAKBONE SOFTWARE, INC. --
SOFTWARE LICENSE AGREEMENT
-IMPORTANT-
Read This Carefully Before Opening The Media Package
DO NOT PROCEED WITH INSTALLATION OR USE THIS SOFTWARE UNTIL YOU,
THE INDIVIDUAL OR ENTITY PURCHASING THIS PRODUCT OR SERVICE HAVE
READ THIS SOFTWARE LICENSE AGREEMENT ("AGREEMENT").
BY INSTALLING OR USING ANY OF THE PRODUCTS OR SERVICES PROVIDED
BY BAKBONE SOFTWARE, INC. (OR AUTHORIZING ANY OTHER PERSON TO DO
SO), YOU ARE CONSENTING TO BE BOUND BY AND ARE BECOMING A PARTY
TO THIS AGREEMENT.
Press any key
)
|
- パッケージにNetVault6とかかれているが,実はVer6.5だったのが確認できた.
- ENTERキーを入力する.
IF YOU DO NOT ACCEPT THE TERMS AND CONDITIONS OF THIS AGREEMENT,
YOU SHALL NOT HAVE ANY RIGHTS TO INSTALL, USE OR OTHERWISE
BENEFIT FROM THE PRODUCTS OR SERVICES.
BAKBONE SOFTWARE LICENSE
1. EVALUATION LICENSE.
Notwithstanding any provision of this license
agreement to the contrary, the following terms and
conditions shall apply to any evaluation license
acquired. An evaluation license will be deemed to exist
any time certain software ("Evaluation Software") is
provided to you, the end user, for the purposes of your
evaluation of the same. Any evaluation license to use
the Evaluation Software shall terminate fourteen (14)
Press any key
)
|
days from the date of your initial installation of the
Evaluation Software. Evaluation Software may be used
solely for your own, internal, non-commercial
evaluation purposes. Evaluation Software may not be
transferred, is licensed to you without fee, and is
provided for all intents and purposes "as is." To the
maximum extent permitted by applicable law, you agree
to release, defend, indemnify and hold BAKBONE
harmless from any claims and/or damages of any kind
by any party or entity, arising out of your use of any
Evaluation Software. You hereby acknowledge that
BAKBONE shall not be responsible for any damage or
loss resulting from, without limitation, any data or
information loss and from any and all system failure
that may occur upon expiration of the evaluation
Press any key
)
|
license. All other terms and conditions of this license
agreement shall otherwise apply to any evaluation
license granted hereunder.
2. GRANT OF LICENSE.
BakBone Software, Inc. and its affiliates, including but
not limited to, its parent, subsidiaries, successors and
assigns and any entity merged into or with BakBone
Software, Inc. ("BAKBONE"), grants to you, the end
user, a personal, nonexclusive, nonsublicensable,
nonassignable license to use a single copy of this
software program, including any updates, additional
modules, or additional software provided by
BAKBONE through an authorized distributor in
Press any key
)
|
connection therewith (the "Software"), solely for you
own use, and solely in accordance with the terms and
conditions of this license agreement. You may copy the
Software into the memory of any computer, solely as
necessary to use the Software in accordance with this
license agreement. You may use one copy of the
Software (Single Server or Enterprise Edition), and
related documentation (a) on a single backup server at
any one time (b) you may use a single copy of the
Software on an unlimited number of workstations
connected to the backup server (c) you may use a single
copy of the Software on an unlimited number of
workstations connected to the backup server and (d)
you may copy the Software program into any computer-
readable or printed form for backup or modification
Press any key
)
|
purposes required in support of your use of the
software.
3. COPYRIGHT AND COPIES.
The Software (including any copy thereof), is owned by
BAKBONE or its suppliers and is protected by United
States, local and international copyright and/or patent
laws and international treaty provisions. The Software
copy is licensed, not sold to you, and you are not an
owner of any copy thereof. You may either (a) make
one copy of the Software solely for backup or archival
purposes, or (b) transfer the Software to a single hard
disk provided you keep the original solely for backup or
archival purposes. You may not otherwise copy the
Press any key
)
|
Software, and you may not copy the written materials
accompanying the Software. BAKBONE hereby
reserves all rights not explicitly granted in this software
license agreement.
4. MODIFICATIONS AND REVERSE ENGINEERING.
Except as otherwise provided herein,
you shall not copy, modify, reverse engineer, map,
decompile, enhance, or make derivative works or
compilations or portions or otherwise the source code,
internal structure, organization or any other aspect of
the Software or any part thereof or aid, abet or permit
others to do so. Any unauthorized modifications,
derivative works, or any other intellectual property,
Press any key
)
|
created directly or indirectly using or referring to the
Software, or components thereof, or enhancements of
the Software, shall belong exclusively to BAKBONE
and you hereby assign any and all rights in them
(including without limitation moral rights) to
BAKBONE. You hereby agree to promptly enter into
any further documentation required by BAKBONE in
its sole discretion to legally or commercially effect such
assignment, including, without limitation, ensuring that
its employees and/or contractors do the same. You
hereby expressly waive any rights you may obtain
inconsistent with the foregoing through application of
the law of any other country or otherwise. You hereby
acknowledge that you have no right whatsoever and
shall have no right whatsoever, whether by the express
Press any key
)
|
terms of this Agreement or by any course of conduct, to
use, review, or access the source code for the Software.
5. OTHER RESTRICTIONS.
You may not rent or lease the Software, but you may transfer
the Software and accompanying written materials on a
permanent basis provided you retain no copies and the
recipient agrees to the terms of this Agreement. If the
Software is an update, any transfer must include the
update and all prior versions. You may not modify or
translate the Software. You further agree (i) not to
remove any Software identification or notices of any
proprietary or copyright restrictions from the Software
or any support material; (ii) except for archival or
Press any key
)
|
6. DUAL MEDIA.
If the Software package contains more than one form of media,
such as a 3.5" diskette and a CD-ROM, then you may use only one
of the media appropriate for your computer or computer
system. You may not use the other media on another
Press any key
)
|
another except as part of the permanent transfer (as
provided above), of all Software and written materials.
7. LIMITED WARRANTY AND REMEDY.
BAKBONE warrants the physical media
(e.g. diskette(s) or CD-ROM), and the physical
documentation, to be free of defects in materials and
workmanship for a period 90 days from the original
purchase date. If BAKBONE receives notification
within this warranty period of any such defects and
such notification is determined to be correct,
BAKBONE will, at its sole option and discretion, either
repair or replace the media or documentation, or
Press any key
)
|
provide you a full refund. The foregoing is your sole
and exclusive remedy and states BAKBONE's entire
liability arising out of this warranty. Any other
warranty claim, if any, must be brought to Distributor,
who you agree shall be the sole party you look to for
warranty claims and damages beyond the express,
limited warranty set out herein. Moreover, this limited
warranty is void if the damage or defect has resulted
from accident, abuse or misapplication.
8. NO OTHER WARRANTIES.
THE LIMITED WARRANTY ABOVE IS EXCLUSIVE
AND IN LIEU OF ALL OTHER CONDITIONS AND
WARRANTIES FOR THE SOFTWARE AND
Press any key
)
|
DOCUMENTATION. BAKBONE AND ITS
SUPPLIERS MAKE NO OTHER CONDITIONS OR
WARRANTIES, EXPRESS, IMPLIED, STATUTORY
OR OTHERWISE, AND EXPRESSLY DISCLAIM
ALL OTHER CONDITIONS AND WARRANTIES,
INCLUDING BUT NOT LIMITED TO, IMPLIED
CONDITIONS OR WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE, AND NON-
INFRINGMENT FOR THE SOFTWARE AND
DOCUMENTATION.
9. LIMITED LIABILITY.
TO THE MAXIMUM EXTENT PERMITTED BY
Press any key
)
|
APPLICABLE LAW, IN NO EVENT AND UNDER
NO LEGAL THEORY SHALL BAKBONE OR ITS
SUPPLIERS BE LIABLE TO YOU FOR ANY COSTS
OF SUBSTITUTE PRODUCTS, OR FOR ANY
CONSEQUENTIAL, SPEICAL, INCIDENTAL,
PUNITIVE OR INDIRECT DAMAGES OF ANY
KIND ARISING OUT OF THE LICENSE OR, USE
OF, OR INABILITY TO USE ANY BAKBONE
SOFTWARE OR DOCUMENTATION, EVEN IF
BAKBONE HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES. IN NO
EVENT SHALL BAKBONE'S OR ITS SUPPLIERS'
LIABILITY EXCEED THE LICENSE FEE PAID BY
YOU. THIS LIMITATION OF LIABILITY AND
RISKS IS REFLECTED IN THE PRICE OF THE
Press any key
)
|
SOFTWARE LICENSE.
10. TERM.
This license is effective until terminated.
You may terminate it at any time by
destroying the Software together with all copies,
modifications and merged portions in any form. It will
also terminate automatically upon your failure to
comply with any term or condition of this Agreement.
In the event of such termination, you agree to promptly
destroy the Software together with all copies,
modifications and merged portions in any form.
Press any key
)
|
11. GOVERNING LAW.
You acknowledge that BAKBONE is based in the State of
California, U.S.A. and requires uniformity and consistency
in the laws under which it deals directly or indirectly with
all of the licensees and sub-licensees of its Software,
documentation and trademarks. In addition, you
acknowledge that BAKBONE is the proponent of this
Agreement and the business transactions contemplated
by this Agreement. Accordingly, this Agreement shall
be governed by and interpreted only in accordance with
the laws of the State of California, U.S.A., without
reference to conflict of laws principles.
12. FORUM SELECTION AND DISPUTE RESOLUTION
Press any key
)
|
(a) Except as otherwise provided below,
any controversy or claim arising out of or relating
to this Agreement shall be submitted to final
and binding arbitration before, and in accordance with,
the rules of the International Chamber of Commerce
("ICC"). If the claim seeks damages of U.S. 100,000 dollars
or less, it shall be decided by a single independent
arbitrator. If the claim seeks damages in excess of U.S.
100,000 dollars, it shall be decided by three independent
arbitrators, one nominated by each party and one
selected by the ICC, in accordance with ICC's rules and
procedures. All arbitrators shall have expertise in the
subject matter of the dispute. The arbitration process,
including selection of the arbitrator or arbitrators,
exchanges of requests for information and the
Press any key
)
|
arbitration hearing shall be completed within 60 days
following the initiation of the arbitration by either
party, and the actual arbitration hearing shall be limited
to one (1) day. The arbitrator(s) shall issue a written
judgment within ten (10) days following the arbitration
hearing. Judgment upon any arbitration award may be
entered in any court having jurisdiction thereof. This
provision is self executing, and in the event that either
party fails to appear at any properly noticed arbitration
proceeding, an award may be entered against such party
notwithstanding said failure to appear. Such arbitration
shall be conducted in San Diego, California. This
clause shall survive the termination of this Agreement.
(b) Notwithstanding the foregoing:
Press any key
)
|
(1) any claim relating to the validity of the
BAKBONE Software, the BAKBONE trademarks, or
other proprietary technology or intellectual property
shall not be determined by arbitration, but only by a
court located in the Southern District of California, to
whose jurisdiction the parties hereby consent or such
other court with BAKBONE, in its sole discretion as
owner of the licensed intellectual property, shall select;
and
(2) you acknowledge that any breach of your
obligations under this Agreement which relates to the
proprietary rights, or which is otherwise not subject to
remedy by monetary damages, will cause BAKBONE
irreparable harm, and that BAKBONE accordingly will
be entitled to injunctive and other equitable relief in
Press any key
)
|
addition to all other remedies provided by this
Agreement or available at law, in any court of
competent jurisdiction.
13. MISCELLANEOUS.
This is the entire Agreement between you and BAKBONE, and
supersedes any prior agreement, or representations of
Distributor, if any, whether written or oral, relating to
the subject matter of this Agreement. The parties
disclaim the application of the United Nations
Convention on the International Sale of Goods. You
may not export or re-export the Software of
documentation without the appropriate United States or
foreign government licenses. If any provision of this
Press any key
)
|
Agreement is ruled invalid, such invalidity shall not
affect the validity of the remaining portions of this
Agreement.
NVE 7005-1A 10/11
Do you accept all the terms of the preceding license agreement
If you choose No this setup will close. To install NetVault you must
accept this agreement
Press y to accept, n otherwise (y/n)
|
Press y to accept, n otherwise (y/n)y
This program will install NetVault 6 V650_R011018
Are you sure you want to continue? (y/n):
|
This program will install NetVault 6 V650_R011018
Are you sure you want to continue? (y/n): y
Please enter the path where you would like the NetVault directory
to be created (The NetVault database directory will be specified separately)
Installation Directory ('/usr'):
|
Installation Directory ('/usr'): /opt/NetVault
Please enter the path for the NetVault database directory
Database Directory: (/opt/NetVault/NetVault6/nvdb):
|
- データベースを作成するディレクトリを指定する.
- そのままで良いので,ENTERを入力する.
Please enter the path for the NetVault database directory
Database Directory: (/opt/NetVault/NetVault6/nvdb):
Please select the type of installation to perform:
1) Server
2) Client
3) Custom
Please select (1-3):
|
Please select (1-3): 1
Enter a name that this machine will be known as by the other NetVault
machines on your network
NetVault Machine Name ('msc-db'):
|
- NetVaultのネットワーク名を入力する.
- ホスト名がデフォルトで表示されているので,そのままENTERキーを入力する.
Enter the password that will be required to access this system from
other NetVault nodes on your network
Password:
|
- NetVaultの管理用ユーザのパスワードを入力する.(確認用と2回分)
Password:■■■■■■■■■■■■
Confirm Password:■■■■■■■■■■
Please wait while the software is installed...
Copying 'Core files': \
|
Please wait while the software is installed...
Copying 'Core files': copied
Copying 'Server files': copied
Copying 'Device control files': copied
Copying 'Data Plugin files': copied
Copying 'GUI files': copied
Copying 'Online help files': copied
Creating symbolic links: done
Checking for additional packages: done
Successfully installed '/opt/NetVault/NetVault6/packages/con1110.npk'
Successfully installed '/opt/NetVault/NetVault6/packages/cpy1110.npk'
Successfully installed '/opt/NetVault/NetVault6/packages/nvd1310.npk'
Successfully installed '/opt/NetVault/NetVault6/packages/nvf1810.npk'
Successfully installed '/opt/NetVault/NetVault6/packages/raw1710.npk'
\License installed: 'TRUE'
Will link to '/opt/NetVault/NetVault6/etc/startup.sh'
Installed NetVault services
Restarting NetVault services... ok
Installation completed successfully.
[root@msc-db linux24]#
|
- インストールに成功したようである.
- どんな感じで入っているか確認する.
[root@msc-db NetVault6]# pwd
/opt/NetVault/NetVault6
[root@msc-db NetVault6]# ls
bin devices gui lib logs packages pit.old replaced scripts util
config etc help locale nvdb pit RELEASE reports tmp
[root@msc-db NetVault6]# du -s -k *
4 RELEASE
13004 bin
76 config
2968 devices
32 etc
152 gui
11240 help
5864 lib
4 locale
2064 logs
356 nvdb
1872 packages
332 pit
324 pit.old
12 replaced
116 reports
12 scripts
4 tmp
11356 util
[root@msc-db NetVault6]#
|
3.カーネル関連パラメータの設定
- Linux Kernel 2.4系でNetVaultを使う場合,カーネル関連パラメータの設定を行う.
- LinuxがスキャンするSCSI LUN(Logical Unit Number)を設定する為.
- これは,該当機種を使っている場合だけである.
- 接続されているSCSIデバイスを確認してみる.
[babadon@msc-db babadon]$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: DELL Model: PERCRAID RAID5 Rev: 0001
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 06 Lun: 00
Vendor: SONY Model: TSL-11000 Rev: L0u6
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 06 Lun: 01
Vendor: SONY Model: TSL-11000 Rev: L0u6
Type: Medium Changer ANSI SCSI revision: 02
[babadon@msc-db babadon]$
|
3.1./etc/modules.confファイルの編集
- /etc/modules.confファイルを確認する.
[root@msc-db NetVault6]# cat /etc/modules.conf
alias parport_lowlevel parport_pc
alias eth0 eepro100
alias scsi_hostadapter aic7xxx
alias scsi_hostadapter aacraid
alias scsi_hostadapter1 aic7xxx
alias usb-controller usb-ohci
[root@msc-db NetVault6]#
|
[root@msc-db NetVault6]# cat /etc/modules.conf
alias parport_lowlevel parport_pc
alias eth0 eepro100
alias scsi_hostadapter aic7xxx
alias scsi_hostadapter aacraid
alias scsi_hostadapter1 aic7xxx
alias usb-controller usb-ohci
options scsi_mod max_scsi_luns=8
[root@msc-db NetVault6]#
|
- これを設定することで,LUN0〜LUN7までの8つの論理ユニットを認識できる.
3.2.ブートイメージファイルの作成
[root@msc-db NetVault6]# uname -a
Linux msc-db 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown
[root@msc-db NetVault6]#
|
- この場合は,2.4.7と解釈する.
- ブートイメージファイルの作成を行う.
[root@msc-db NetVault6]# mkinitrd /boot/initrd-2.4.7.scsiluns.img `uname -r`
[root@msc-db NetVault6]#
|
3.3.ブートローラの設定
- 今回の対象マシンでは,LILO,,,ではなくてGRUBを使っているので,それにあった設定を行う.
- grub.confファイルを確認する.
[root@msc-db NetVault6]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,1)
# kernel /boot/vmlinuz-version ro root=/dev/sda2
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.7-10)
root (hd0,1)
kernel /boot/vmlinuz-2.4.7-10 ro root=/dev/sda2
initrd /boot/initrd-2.4.7-10.img
[root@msc-db NetVault6]#
|
[root@msc-db NetVault6]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,1)
# kernel /boot/vmlinuz-version ro root=/dev/sda2
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.7-10)
root (hd0,1)
kernel /boot/vmlinuz-2.4.7-10 ro root=/dev/sda2
# initrd /boot/initrd-2.4.7-10.img
initrd /boot/initrd-2.4.7.scsiluns.img
[root@msc-db NetVault6]#
|
4.プロセスを確認してみる
- NetVault系のプロセスがあがっている事を確認する.
[root@msc-db root]# ps -ef | grep nv
root 865 1 0 18:39 ? 00:00:00 /opt/NetVault/NetVault6/bin/nvpm
root 866 865 0 18:39 ? 00:00:00 nvcmgr 2
root 880 865 0 18:39 ? 00:00:00 nvnmgr 3
root 881 865 0 18:39 ? 00:00:00 nvlogdaemon 7
root 882 865 0 18:39 ? 00:00:00 nvmedmgr 4
root 883 865 0 18:39 ? 00:00:00 nvsched 5
[root@msc-db root]#
|
- なんかあがっているらしい.
- 実行ファイルを確認してみる.
root@msc-db bin]# pwd
/opt/NetVault/NetVault6/bin
[root@msc-db bin]# ls
convplgkey nvcmgr nvdevicescan nvjobmgr nvnmgr nvreadlog
getmachineid nvconfigupdate nvdevmgr nvkill nvpassword nvsched
installplugin nvconfigurator nvduplicate nvlogdaemon nvpitupdate nvsysexec
latentinstall nvconsolidate nvfs nvmedmgr nvplgscript nvutility
licenseinstall nvcoreplg nvgui nvmsg nvpmgr nvverify
nvbrowsedb nvdatacopy nvguidisplay nvndmpchgmgr nvpview txtconfig
nvchgmgr nvdbplugin nvguiproxy nvndmpdevmgr nvraw uncompress
[root@msc-db bin]#
|
|
|