1993.10.28

SUBJECT: Disk Suite 1.0 Software install script ( Disk Mirroring )

Content:
1. 개요
2. Install s/w

Description:

1. 개요

   이 Install script는 광주은행의 서울지역 서버에서 수행한 Disk mirroring의 install절차를
   script로 작성한 것이다.

   기종은 SparcStation 10 Model 51이고, SunOS 4.1.3 with KLE 1.1.3 version이다.
   여기의 시스템 구성은 다음과 같다.

   +---------------------------------+
   |   SparcStation 10 /51           |
   |                                 | ---------------------+
   |   Internal 1.05GB *2            |                      | 
   +---------------------------------+                      |
             |                                              |
             |                                              |
   +---------------------------------+    +-------------------------------+
   |     Fedestal                    |    |   Fedestal                    |
   |                                 |    |                               |
   |     5GB 8mm Back-up Drive       |    |   5GB 8mm Back-up Drive       |
   |                                 |    |                               |
   |     2.1 GB * 3                  |    |                               |
   +---------------------------------+    +-------------------------------+

2. Install S/W

sl66000000sn141# cd /
/
sl66000000sn141# mkdir cdrom
sl66000000sn141# cd /
/
sl66000000sn141# mount -r /dev/sr0 /cdrom
sl66000000sn141# cd /cdrom
/cdrom
sl66000000sn141# ls
1.0_DiskSuite	bin		cdm		cdmanager
sl66000000sn141# ./cdm
./cdm Initializing .Done

Current program environment:

	Application: none
	Category:    all
	Directory:   /cdrom


----->>>>> CDM <<<<<-----

	1.  Select Application
	2.  Show Current Application
	3.  Install Application
	4.  Display Application Text File
	5.  Print Application Text File
	6.  List Applications
	7.  List Categories
	8.  Change Current Category
	9.  Change Current Directory
	10. Show Program Environment

Please enter a number or q to quit: 1

Applications available:

	1.  Sun Online: DiskSuite 1.0

Please enter a number or q for the main menu: 1

"Sun Online: DiskSuite 1.0" selected as new application.


----->>>>> CDM <<<<<-----

	1.  Select Application
	2.  Show Current Application
	3.  Install Application
	4.  Display Application Text File
	5.  Print Application Text File
	6.  List Applications
	7.  List Categories
	8.  Change Current Category
	9.  Change Current Directory
	10. Show Program Environment

Please enter a number or q to quit: 3

Begin installation now? (y/n):   y

Executing installation file ...
The following product will be installed:

1.0 Online:DiskSuite SPARC(R) FCS
CD-ROM (UFS file system format) 1 of 1       
Part Number: 704-2880-10

Copyright (c) 1990-1991 Sun Microsystems, Inc. All rights reserved.  
Copyright (c) 1980, 1986, 1990 The Regents of the University of California.  
All rights reserved.  Licensed from UNIX System Laboratories, Inc. "This 
product includes software developed by the University of California, Berkeley 
and its contributors".  SPARC is a registered trademark of SPARC International,
Inc.  SPARCserver is a trademark of SPARC International, Inc., licensed 
exclusively to Sun Microsystems, Inc.  Products bearing SPARC trademarks are 
based on an architecture developed by Sun Microsystems, Inc.  RESTRICTED RIGHTS
LEGEND: Use, duplication, or disclosure by the Government is subject to 
restrictions as set forth in subparagraph (c)(1)(ii) of the Rights
in Technical Data and Computer Software clause at DFARS 252.227-7013 (Oct. 1988) and 
FAR 52.227-19 (c) (June 1987).  Sun Microsystems, Inc., 2550 Garcia Avenue, 
Mountain View, California 94043.

Do you want to continue [y|n]? y

/cdrom/1.0_DiskSuite/../bin/extract_unbundled : Extracting Installation Scripts

/cdrom/1.0_DiskSuite/../bin/extract_unbundled : Begin Install Script Execution
Invoking /usr/tmp/unbundled/1.0_DiskSuite; log file is /usr/tmp/unbundled/1.0_DiskSuite.log

Installation should take approximately 3 minutes.


Here is the Current Free Disk space:
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/sd2a              32823   17313   12228    59%    /
/dev/sd2g             216159  147088   47456    76%    /usr
/dev/sd2h             225751  111743   91433    55%    /kjb
/dev/sd8g             704967  471313  163158    74%    /dba3
/dev/sd8h            1246862   36540 1085636     3%    /batch
/dev/sd9f            1071550  584049  380346    61%    /dba4
/dev/sd9g             535767  351106  131085    73%    /dba5
/dev/sd9h             344495   48607  261439    16%    /users
/dev/sd10g            976294  625041  253624    71%    /dba1
/dev/sd10h            975534  614812  263169    70%    /dba2
/dev/sd0a              32823   17362   12179    59%    /ROOT
/dev/sd0g             216159  147864   46680    76%    /USR
/dev/sd0h             225751  111838   91338    55%    /KJB
/dev/sd4g             704967       9  634462     0%    /DBA3
/dev/sd4h            1246862   36540 1085636     3%    /BATCH
/dev/sd5f            1071550       9  964386     0%    /DBA4
/dev/sd5g             535767  100750  381441    21%    /DBA5
/dev/sd5h             344495   43598  266448    14%    /USERS
/dev/sd6g             976294       9  878656     0%    /DBA1
/dev/sd6h             975534       9  877972     0%    /DBA2
/dev/sr0                6579    5007     915    85%    /cdrom

This software requires 2800 kbytes of disk space

Do you want to continue? [y|n] y

1.0_DiskSuite : This software is not compatible with the current operating system

     This is the list of compatible operating systems:
	4.1.1
	4.1.2

Do you want to continue? [y|n] y

Install Online: DiskSuite 1.0 on this machine (sun4m host sl66000000sn141)? [y|n] y

NOTE: the host installation will also affect sun4m clients

The following installations will be performed:

sun4m host (sl66000000sn141)
	executables in directory /usr
	kernel modules in directory /usr/kvm
sun4m clients
	executables in directory /export/exec/sun4 (-> /usr)
	kernel modules in directory /export/exec/kvm/sun4m (-> /usr/kvm)


Do you want to continue? [y|n] y

IMPORTANT: Please be sure that you know where you plan
 on putting your metadevice state database replicas 
(see Chapter 2 of the DiskSuite Administration Guide for details)


sun4m host installation

Ready to install 1.0_DiskSuite in /usr

Do you want to continue? [y|n] y

Installing sun4 files from /cdrom/1.0_DiskSuite to /usr
    Making backups in /usr :
	Saving 5bin/df in 5bin/df_413-
	Saving 5bin/du in 5bin/du_413-
	Saving bin/tar in bin/tar_413-
	Saving bin/bar in bin/bar_413-
	Saving bin/dd in bin/dd_413-
	Saving bin/df in bin/df_413-
	Saving bin/du in bin/du_413-
	Saving bin/ls in bin/ls_413-
	Saving bin/find in bin/find_413-
	Saving etc/clri in etc/clri_413-
	Saving etc/dump in etc/dump_413-
	Saving etc/fsck in etc/fsck_413-
	Saving etc/newfs in etc/newfs_413-
	Saving etc/umount in etc/umount_413-
	Saving etc/fsirand in etc/fsirand_413-
	Saving etc/rpc.lockd in etc/rpc.lockd_413-
	Saving etc/mkfs in etc/mkfs_413-
	Saving etc/dcheck in etc/dcheck_413-
	Saving etc/dumpfs in etc/dumpfs_413-
	Saving etc/edquota in etc/edquota_413-
	Saving etc/icheck in etc/icheck_413-
	Saving etc/mkproto in etc/mkproto_413-
	Saving etc/ncheck in etc/ncheck_413-
	Saving etc/quot in etc/quot_413-
	Saving etc/quotacheck in etc/quotacheck_413-
	Saving etc/repquota in etc/repquota_413-
	Saving etc/tunefs in etc/tunefs_413-
	Saving lib/acct/diskusg in lib/acct/diskusg_413-
	Saving ucb/quota in ucb/quota_413-
    Loading distribution files into /usr :
	x 5bin/df, 16439 bytes, 33 tape blocks
	x 5bin/du, 16439 bytes, 33 tape blocks
	x bin/tar, 147512 bytes, 289 tape blocks
	x bin/bar, 163896 bytes, 321 tape blocks
	x bin/dd, 11671 bytes, 23 tape blocks
	x bin/df, 9039 bytes, 18 tape blocks
	x bin/du, 4887 bytes, 10 tape blocks
	x bin/ls, 13447 bytes, 27 tape blocks
	x bin/find, 32825 bytes, 65 tape blocks
	x etc/clri, 16441 bytes, 33 tape blocks
	x etc/dump, 57459 bytes, 113 tape blocks
	x etc/fsck, 205245 bytes, 401 tape blocks
	x etc/growfs, 83 bytes, 1 tape blocks
	x etc/newfs, 11240 bytes, 22 tape blocks
	x etc/lockfs, 16443 bytes, 33 tape blocks
	x etc/umount, 24635 bytes, 49 tape blocks
	x etc/fsirand, 7924 bytes, 16 tape blocks
	x etc/rpc.lockd, 98758 bytes, 193 tape blocks
	x etc/mkfs, 36414 bytes, 72 tape blocks
	x etc/dcheck, 16443 bytes, 33 tape blocks
	x etc/dumpfs, 16384 bytes, 32 tape blocks
	x etc/edquota, 16444 bytes, 33 tape blocks
	x etc/icheck, 24635 bytes, 49 tape blocks
	x etc/mkproto, 24636 bytes, 49 tape blocks
	x etc/ncheck, 16443 bytes, 33 tape blocks
	x etc/quot, 24633 bytes, 49 tape blocks
	x etc/quotacheck, 24639 bytes, 49 tape blocks
	x etc/repquota, 16445 bytes, 33 tape blocks
	x etc/tunefs, 16443 bytes, 33 tape blocks
	x etc/metainit, 57456 bytes, 113 tape blocks
	x etc/metaclear, 49265 bytes, 97 tape blocks
	x etc/metad, 49261 bytes, 97 tape blocks
	x etc/metaonline, 49266 bytes, 97 tape blocks
	x etc/metastat, 57456 bytes, 113 tape blocks
	x etc/metasync, 57456 bytes, 113 tape blocks
	x etc/metattach, 49265 bytes, 97 tape blocks
	x etc/metadetach, 49266 bytes, 97 tape blocks
	x etc/metareplace, 49267 bytes, 97 tape blocks
	x etc/metaoffline, 49267 bytes, 97 tape blocks
	x etc/make_md, 2806 bytes, 6 tape blocks
	x etc/metadb, 57454 bytes, 113 tape blocks
	x etc/metascript, 15444 bytes, 31 tape blocks
	x etc/metarc, 2575 bytes, 6 tape blocks
	x etc/metahs, 57454 bytes, 113 tape blocks
	x etc/metaparam, 49264 bytes, 97 tape blocks
	x etc/metaconvert, 49267 bytes, 97 tape blocks
	x etc/lockfsintr, 1109 bytes, 3 tape blocks
	x include/quadops.h, 595 bytes, 2 tape blocks
	x lib/libserver.a, 7954 bytes, 16 tape blocks
	x lib/libserver_p.a, 9610 bytes, 19 tape blocks
	x lib/libserver.so.1.0, 24576 bytes, 48 tape blocks
	x lib/acct/diskusg, 16475 bytes, 33 tape blocks
	x man/man8/metadetach.8, 21 bytes, 1 tape blocks
	x man/man8/growfs.8, 3567 bytes, 7 tape blocks
	x man/man8/lockfs.8, 4834 bytes, 10 tape blocks
	x man/man8/metadb.8, 5740 bytes, 12 tape blocks
	x man/man8/metahs.8, 3860 bytes, 8 tape blocks
	x man/man8/metaparam.8, 3415 bytes, 7 tape blocks
	x man/man8/metaonline.8, 23 bytes, 1 tape blocks
	x man/man8/metaclear.8, 1392 bytes, 3 tape blocks
	x man/man8/metad.8, 1016 bytes, 2 tape blocks
	x man/man8/metainit.8, 3111 bytes, 7 tape blocks
	x man/man8/metaoffline.8, 1825 bytes, 4 tape blocks
	x man/man8/metareplace.8, 1974 bytes, 4 tape blocks
	x man/man8/metastat.8, 1737 bytes, 4 tape blocks
	x man/man8/metasync.8, 1929 bytes, 4 tape blocks
	x man/man8/metattach.8, 3381 bytes, 7 tape blocks
	x man/man8/mount.8, 15520 bytes, 31 tape blocks
	x man/man8/newfs.8, 6863 bytes, 14 tape blocks
	x man/man8/quotacheck.8, 2600 bytes, 6 tape blocks
	x man/man8/mkfs.8, 6464 bytes, 13 tape blocks
	x man/man8/fsck.8, 10640 bytes, 21 tape blocks
	x man/man8/metaconvert.8, 838 bytes, 2 tape blocks
	x man/man8/metascript.8, 1218 bytes, 3 tape blocks
	x man/man8/metarc.8, 930 bytes, 2 tape blocks
	x man/man5/fstab.5, 7350 bytes, 15 tape blocks
	x man/man5/md.conf.5, 12080 bytes, 24 tape blocks
	x man/man5/mddb.conf.5, 2303 bytes, 5 tape blocks
	x man/man5/metatab.5, 7889 bytes, 16 tape blocks
	x man/man3/lseek2.3, 3328 bytes, 7 tape blocks
	x man/man3/quadops.3, 1918 bytes, 4 tape blocks
	x man/man4/md.4s, 10735 bytes, 21 tape blocks
	x man/man2/statfs.2, 3664 bytes, 8 tape blocks
	x ucb/quota, 24634 bytes, 49 tape blocks
    Done

Ready to install Online: DiskSuite 1.0 sun4m kernel modules

Install Online: DiskSuite 1.0 sun4m kernel files in /usr/kvm? [y|n] y

Installing Online: DiskSuite 1.0 sun4m metadisk modules into /usr/kvm
    Making backups in /usr/kvm/sys :
    Loading distribution files into /usr/kvm/sys :
	x sun4m/OBJ/md.o, 74169 bytes, 145 tape blocks
	x sun4m/OBJ/md_subr.o, 64870 bytes, 127 tape blocks
	x sun4m/OBJ/md_mddb.o, 33589 bytes, 66 tape blocks
	x sundev/mdvar.h, 31193 bytes, 61 tape blocks
	x sundev/md_mddb.h, 7992 bytes, 16 tape blocks
	x sundev/mdinfo.h, 3944 bytes, 8 tape blocks
    Done

Installing metadisk includes from /cdrom/1.0_DiskSuite to /usr
    Making backups in /usr :
    Loading distribution files into /usr :
	x include/sundev/mdvar.h, 31193 bytes, 61 tape blocks
	x include/sundev/md_mddb.h, 7992 bytes, 16 tape blocks
	x include/sundev/mdinfo.h, 3944 bytes, 8 tape blocks
    Done


sun4m client installation

Online: DiskSuite 1.0 sun4 client utilities already installed
Online: DiskSuite 1.0 sun4m client kernel modules already installed

1.0_DiskSuite : **** Installation Completed ****


----->>>>> CDM <<<<<-----

	1.  Select Application
	2.  Show Current Application
	3.  Install Application
	4.  Display Application Text File
	5.  Print Application Text File
	6.  List Applications
	7.  List Categories
	8.  Change Current Category
	9.  Change Current Directory
	10. Show Program Environment

Please enter a number or q to quit: q
sl66000000sn141#


Revision History
Created                 on 28 OCT , 1993