Fev 2, 1999 frc7v-cl1: Server Solaris 2.6、cc ドライバのテスト システム設定---クライアント側(その1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (http://www-online.kek.jp/~inoue/CAMAC/ onl8v1-sol2.6-serv/camac-step02.txt) 高エネルギー加速器研究機構 素粒子原子核研究所 物理、オンライングループ 井上 栄二 (1). 現状確認 (A). 株式会社ロジックハウスの白田様より SPARC CPU-8VT と、VMEドライバ v2.3.1 を借用した。 (B). 株式会社ロジックハウスの白田様より Server Solaris 2.6 のシステム    がインストールされているハードディスクを借用した。 (C). 借用したハードディスクのサーバ側のシステム設定を変更して、KEK の FP クラスタ上で立ち上げた。 (2). ここでやるべきこと 借用したハードディスクのクライアント(その1)側のシステム設定を変更して KEK のネットワークで使えるようにする。 (3). frc8vt、サーバ上のアカウント inoue、と root の環境設定をする frc8vt% pwd /export/home/kek frc8vt% ls -la total 13674 drwxr-xr-x 4 kek staff 512 Dec 7 17:42 . drwxr-xr-x 3 root other 512 Dec 7 14:28 .. -rw------- 1 kek staff 100 Dec 7 17:42 .Xauthority -rw-r--r-- 1 kek staff 124 Dec 7 14:28 .cshrc drwxr-xr-x 11 kek staff 512 Dec 7 17:44 .dt -rwxr-xr-x 1 kek staff 5111 Dec 7 14:42 .dtprofile -rw-r--r-- 1 kek staff 575 Dec 7 14:28 .login drwx------ 2 kek staff 512 Dec 7 17:42 .solregis -rw-r--r-- 1 kek staff 158 Dec 7 17:01 .solsticerc -r-xr-xr-x 1 kek staff 5601792 Dec 7 17:08 frcdrv-2.5.pkg -r-xr-xr-x 1 kek staff 172094 Dec 7 17:08 rn209747.pdf -r-xr-xr-x 1 kek staff 1179014 Dec 7 17:08 um204936.pdf frc8vt% df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t3d0s0 192175 25844 147114 15% / /dev/dsk/c0t3d0s6 769254 481287 234120 68% /usr /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd /dev/dsk/c0t3d0s3 2201106 6926 2150158 1% /export /dev/dsk/c0t3d0s7 384367 53400 292531 16% /export/root /dev/dsk/c0t3d0s4 384367 131161 214770 38% /export/swap /dev/dsk/c0t3d0s5 192175 71399 101559 42% /opt swap 158512 12 158500 1% /tmp frc8vt% ls -l /.???* -rw------- 1 root other 100 Dec 7 14:26 /.Xauthority -rw------- 1 root root 1028 Jan 27 11:36 /.cpr_config -rwxr-xr-x 1 root other 5111 Dec 7 14:27 /.dtprofile -rw-r--r-- 1 root other 12 Dec 7 14:14 /.new frc8vt% (3-1). onl8v1 のルートおよびユーザホームのスライスをマウントする frc8vt# mkdir /mnt1 frc8vt# mount /dev/dsk/c0t2d0s0 /mnt frc8vt# mount /dev/dsk/c0t2d0s7 /mnt1 frc8vt# df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0t3d0s0 192175 25845 147113 15% / /dev/dsk/c0t3d0s6 769254 481287 234120 68% /usr /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd /dev/dsk/c0t3d0s3 2201106 6926 2150158 1% /export /dev/dsk/c0t3d0s7 384367 53400 292531 16% /export/root /dev/dsk/c0t3d0s4 384367 131161 214770 38% /export/swap /dev/dsk/c0t3d0s5 192175 71399 101559 42% /opt swap 158260 12 158248 1% /tmp /dev/dsk/c0t2d0s0 63159 22909 33935 41% /mnt /dev/dsk/c0t2d0s7 3008031 136143 2811728 5% /mnt1 frc8vt# (3-2). onl8v1 のルートおよびユーザホームの環境変数をコピーする (3-2-1). ルートの環境変数の設定 frc8vt# pwd / frc8vt# ls -l .???* -rw------- 1 root other 100 Dec 7 14:26 .Xauthority -rw------- 1 root root 1028 Jan 27 11:36 .cpr_config -rwxr-xr-x 1 root other 5111 Dec 7 14:27 .dtprofile -rw-r--r-- 1 root other 12 Dec 7 14:14 .new frc8vt# ls -l /mnt/.???* -rw------- 1 root root 1028 Jan 20 11:38 /mnt/.cpr_config -rw-r--r-- 1 root other 195 Jan 25 16:24 /mnt/.cshrc -rw-r--r-- 1 root other 575 Nov 4 14:24 /mnt/.login -rw-r--r-- 1 root other 560 Nov 4 14:25 /mnt/.profile frc8vt# cp /mnt/.cshrc . frc8vt# cp /mnt/.login . frc8vt# cp /mnt/.profile . frc8vt# ls -l .???* -rw------- 1 root other 100 Dec 7 14:26 .Xauthority -rw------- 1 root root 1028 Jan 27 11:36 .cpr_config -rw-r--r-- 1 root other 195 Jan 27 16:16 .cshrc -rwxr-xr-x 1 root other 5111 Dec 7 14:27 .dtprofile -rw-r--r-- 1 root other 575 Jan 27 16:16 .login -rw-r--r-- 1 root other 12 Dec 7 14:14 .new -rw-r--r-- 1 root other 560 Jan 27 16:16 .profile frc8vt# (3-2-2). ユーザ、inoue の環境変数の設定 frc8vt[6]% pwd /export/home/frc8vt/inoue frc8vt[7]% cp /mnt1/onl8v1/inoue/.cshrc . frc8vt[8]% cp /mnt1/onl8v1/inoue/.login . frc8vt[9]% cp /mnt1/onl8v1/inoue/.profile . frc8vt[10]% cp /mnt1/onl8v1/inoue/.rhosts . frc8vt[11]% touch .history (4). /kek シンボリックリンクを作る / ディレクトリに /kek のシンボリックリンクを作る frc8vt# pwd / frc8vt# ls -l total 110 drwxr-xr-x 2 root root 512 Dec 7 14:27 TT_DB/ lrwxrwxrwx 1 root root 9 Dec 7 13:35 bin -> ./usr/bin/ drwxr-xr-x 2 root nobody 512 Dec 7 17:08 cdrom/ drwxrwxr-x 18 root sys 4608 Jan 27 11:36 dev/ drwxrwxr-x 5 root sys 512 Dec 7 17:04 devices/ drwxr-xr-x 30 root sys 3584 Jan 27 13:42 etc/ drwxrwxr-x 10 root sys 512 Dec 7 16:32 export/ dr-xr-xr-x 1 root root 1 Jan 27 11:36 home/ dr-xr-xr-x 1 root root 1 Jan 27 11:36 kekfs/ drwxr-xr-x 9 root sys 512 Dec 7 13:35 kernel/ lrwxrwxrwx 1 root root 9 Dec 7 13:35 lib -> ./usr/lib/ drwx------ 2 root root 8192 Dec 7 13:32 lost+found/ drwxr-xr-x 25 root root 512 Jan 20 16:39 mnt/ drwxr-xr-x 4 root root 512 Nov 5 14:46 mnt1/ dr-xr-xr-x 1 root root 1 Jan 27 16:46 net/ drwxrwxr-x 12 root sys 512 Dec 7 17:05 opt/ drwxr-xr-x 4 root sys 512 Dec 7 17:04 platform/ dr-xr-xr-x 43 root root 16064 Jan 27 16:54 proc/ drwxr-xr-x 2 root root 512 Dec 7 16:32 rplboot/ drwxrwxr-x 2 root sys 512 Dec 7 13:38 sbin/ drwxr-xr-x 2 root root 512 Dec 7 16:43 tftpboot/ drwxrwxrwt 6 sys sys 362 Jan 27 16:48 tmp/ drwxrwxr-x 32 root sys 1024 Dec 7 14:01 usr/ drwxrwxr-x 25 root sys 512 Dec 7 14:23 var/ dr-xr-xr-x 6 root root 512 Jan 27 11:36 vol/ dr-xr-xr-x 1 root root 1 Jan 27 11:36 xfn/ frc8vt# frc8vt# ln -s kekfs/kek kek frc8vt# ls -l total 112 drwxr-xr-x 2 root root 512 Dec 7 14:27 TT_DB/ lrwxrwxrwx 1 root root 9 Dec 7 13:35 bin -> ./usr/bin/ drwxr-xr-x 2 root nobody 512 Dec 7 17:08 cdrom/ drwxrwxr-x 18 root sys 4608 Jan 27 11:36 dev/ drwxrwxr-x 5 root sys 512 Dec 7 17:04 devices/ drwxr-xr-x 30 root sys 3584 Jan 27 13:42 etc/ drwxrwxr-x 10 root sys 512 Dec 7 16:32 export/ dr-xr-xr-x 1 root root 1 Jan 27 11:36 home/ lrwxrwxrwx 1 root other 9 Jan 27 16:56 kek -> kekfs/kek/ dr-xr-xr-x 1 root root 1 Jan 27 11:36 kekfs/ drwxr-xr-x 9 root sys 512 Dec 7 13:35 kernel/ lrwxrwxrwx 1 root root 9 Dec 7 13:35 lib -> ./usr/lib/ drwx------ 2 root root 8192 Dec 7 13:32 lost+found/ drwxr-xr-x 25 root root 512 Jan 20 16:39 mnt/ drwxr-xr-x 4 root root 512 Nov 5 14:46 mnt1/ dr-xr-xr-x 1 root root 1 Jan 27 16:46 net/ drwxrwxr-x 12 root sys 512 Dec 7 17:05 opt/ drwxr-xr-x 4 root sys 512 Dec 7 17:04 platform/ dr-xr-xr-x 43 root root 16064 Jan 27 16:56 proc/ drwxr-xr-x 2 root root 512 Dec 7 16:32 rplboot/ drwxrwxr-x 2 root sys 512 Dec 7 13:38 sbin/ drwxr-xr-x 2 root root 512 Dec 7 16:43 tftpboot/ drwxrwxrwt 6 sys sys 362 Jan 27 16:48 tmp/ drwxrwxr-x 32 root sys 1024 Dec 7 14:01 usr/ drwxrwxr-x 25 root sys 512 Dec 7 14:23 var/ dr-xr-xr-x 6 root root 512 Jan 27 11:36 vol/ dr-xr-xr-x 1 root root 1 Jan 27 11:36 xfn/ frc8vt# /kek ディレクトリーに正しくマウントできたかどうかチェック。 frc8vt# ls -lL /kek total 8 drwxrwxr-x 23 root sys 512 Apr 1 1995 SUNWspro/ drwxrwxr-x 10 10101 10101 512 Jun 3 1997 cern/ drwxr-xr-x 5 root other 512 Mar 4 1998 compilers/ drwxr-xr-x 34 10101 10101 1024 Mar 26 1998 local/ frc8vt# ok. うまくマウントできた。 (5). frc8vt、サーバ上の frc7v-cl1 のシステム設定を変更する frc8vt# pwd /export/root/frc7v-cl1/etc frc8vt# ls TIMEZONE@ hostname.le0 nscd.conf security/ acct/ hosts@ nsswitch.conf services@ aliases@ inet/ nsswitch.files setmnt@ asppp.cf* inetd.conf@ nsswitch.nis shadow auto_home init@ nsswitch.nisplus shutdown@ auto_master init.d/ opt/ skel/ autopush@ initpipe| pam.conf snmp/ chroot@ inittab passwd sock2path@ clri@ install@ path_to_inst sulogin@ crash@ ioctl.syscon path_to_inst.old swap@ cron@ iu.ap power.conf swapadd@ cron.d/ killall@ printers.conf sysdef@ datemsk labelit@ profile syslog.conf dcopy@ lib/ protocols@ system default/ link@ prtconf@ tar@ defaultdomain log@ prtvtoc@ telinit@ device.tab logindevperm publickey termcap@ devlink.tab lp/ pwck@ tm/ dfs/ magic rc0@ ttydefs dgroup.tab mail/ rc0.d/ ttysrch dhcp/ minor_perm rc1@ uadmin@ dmi/ mkfs@ rc1.d/ umount@ driver_aliases mknod@ rc2@ umountall@ driver_classes mle/ rc2.d/ unlink@ dumpdates mnttab rc3@ utmp@ ff@ motd rc3.d/ utmppipe| fmthard@ mount@ rc5@ utmpx@ format@ mountall@ rc6@ uucp/ format.dat mvdir@ rcS@ vfstab fs/ name_to_major rcS.d/ volcopy@ fsck@ name_to_sysnum reboot@ vold.conf fsdb@ ncheck@ release wall@ fstyp@ net/ remote whodo@ fuser@ netconfig rmmount.conf wtmp@ getty@ netmasks@ rmt@ wtmpx@ group networks@ rpc grpck@ nfssec.conf rpld.conf halt@ nodename saf/ frc8vt# (5-1). auto_master の修正 frc8vt# pwd /export/root/frc7v-cl1/etc frc8vt# ls -l auto_master* -rw-r--r-- 1 root bin 113 Dec 7 16:37 auto_master frc8vt# mv auto_master auto_master.org frc8vt# cp auto_master.org auto_master frc8vt# ls -l auto_master* -rw-r--r-- 1 root other 113 Jan 28 11:47 auto_master -rw-r--r-- 1 root bin 113 Dec 7 16:37 auto_master.org frc8vt# chgrp bin auto_master frc8vt# ls -l auto_master* -rw-r--r-- 1 root bin 113 Jan 28 11:47 auto_master -rw-r--r-- 1 root bin 113 Dec 7 16:37 auto_master.org frc8vt# frc8vt# pwd /export/root/frc7v-cl1/etc frc8vt# vi auto_master # Master map for automounter # +auto_master /net -hosts -nosuid,nobrowse /home auto_home -nobrowse /xfn -xfn /kekfs /etc/auto_kekfs ~ ~ "auto_master" 7 lines, 145 characters frc8vt# (5-2). auto_kekfs の作成 frc8vt# pwd /export/root/frc7v-cl1/etc frc8vt# ls -l auto_kekfs* No match frc8vt# vi auto_kekfs #Auto.kekfs for KEK Workstation support File server mount kek -ro,intr,suid kiwifs:/public/sun/Solaris2 ~ ~ "auto_kekfs" [New file] 3 lines, 119 characters frc8vt# (5-3). defaultdomain の作成 frc8vt# pwd /export/root/frc7v-cl1/etc frc8vt# ls -l defaultdomain* -rw-r--r-- 1 root root 1 Dec 7 16:39 defaultdomain frc8vt# cat defaultdomain frc8vt# mv defaultdomain defaultdomain.org frc8vt# cp defaultdomain.org defaultdomain frc8vt# ls -l defaultdomain* -rw-r--r-- 1 root other 1 Jan 28 14:36 defaultdomain -rw-r--r-- 1 root root 1 Dec 7 16:39 defaultdomain.org frc8vt# chgrp root defaultdomain frc8vt# ls -l defaultdomain* -rw-r--r-- 1 root root 1 Jan 28 14:36 defaultdomain -rw-r--r-- 1 root root 1 Dec 7 16:39 defaultdomain.org frc8vt# vi defaultdomain kek.jp ~ ~ "defaultdomain" 1 line, 7 characters frc8vt# (5-4). defaultrouter の作成 frc8vt# pwd /export/root/frc7v-cl1/etc frc8vt# ls -l defaultrouter* No match frc8vt# vi defaultrouter ICCFP1 ~ ~ "defaultrouter" [New file] 1 line, 7 characters frc8vt# (5-5). group の修正 frc8vt# pwd /export/root/frc7v-cl1/etc frc8vt# ls -l group* -rw-r--r-- 1 root sys 278 Dec 7 16:37 group frc8vt# mv group group.org frc8vt# cp group.org group frc8vt# ls -l group* -rw-r--r-- 1 root other 278 Jan 28 15:25 group -rw-r--r-- 1 root sys 278 Dec 7 16:37 group.org frc8vt# chgrp sys group frc8vt# ls -l group* -rw-r--r-- 1 root sys 278 Jan 28 15:25 group -rw-r--r-- 1 root sys 278 Dec 7 16:37 group.org frc8vt# vi group root::0:root,inoue other::1: bin::2:root,bin,daemon sys::3:root,bin,sys,adm adm::4:root,adm,daemon uucp::5:root,uucp mail::6:root tty::7:root,tty,adm lp::8:root,lp,adm nuucp::9:root,nuucp staff::10: daemon::12:root,daemon sysadmin::14: nobody::60001: noaccess::60002: nogroup::65534: ~ ~ "group" 16 lines, 284 characters frc8vt# (5-6). hostname.le0 の修正 frc8vt# pwd /export/root/frc7v-cl1/etc frc8vt# ls -l hostname.le0 -rw-rw-rw- 1 root root 10 Dec 7 16:43 hostname.le0 frc8vt# cat hostname.le0 frc7v-cl1 frc8vt# (5-7). hosts の修正 frc8vt# pwd /export/root/frc7v-cl1/etc/inet frc8vt# ls -l hosts* -r--r--r-- 1 root sys 94 Dec 7 16:39 hosts frc8vt# mv hosts hosts.org frc8vt# cp hosts.org hosts frc8vt# ls -l hosts* -r--r--r-- 1 root other 94 Jan 28 15:35 hosts -r--r--r-- 1 root sys 94 Dec 7 16:39 hosts.org frc8vt# chgrp sys hosts frc8vt# chmod u+w hosts frc8vt# ls -l hosts* -rw-r--r-- 1 root sys 94 Jan 28 15:35 hosts -r--r--r-- 1 root sys 94 Dec 7 16:39 hosts.org frc8vt# vi hosts # # Internet host table # 127.0.0.1 localhost 130.87.217.126 frc8vt 130.87.217.127 frc7v-cl1 130.87.217.128 frc7v-cl2 # #172.16.0.89 frc7v-cl1 #172.16.0.88 frc8vt frc8vt ~ ~ "hosts" 10 lines, 175 characters frc8vt# chmod u-w hosts frc8vt# ls -l hosts* -r--r--r-- 1 root sys 175 Jan 28 15:39 hosts -r--r--r-- 1 root sys 94 Dec 7 16:39 hosts.org frc8vt# (5-8). netmasks の修正 frc8vt# pwd /export/root/frc7v-cl1/etc/inet frc8vt# ls -l netmasks* -r--r--r-- 1 root sys 590 Dec 7 16:39 netmasks frc8vt# mv netmasks netmasks.org frc8vt# cp netmasks.org netmasks frc8vt# ls -l netmasks* -r--r--r-- 1 root other 590 Jan 28 15:43 netmasks -r--r--r-- 1 root sys 590 Dec 7 16:39 netmasks.org frc8vt# chgrp sys netmasks frc8vt# chmod u+w netmasks frc8vt# ls -l netmasks* -rw-r--r-- 1 root sys 590 Jan 28 15:43 netmasks -r--r--r-- 1 root sys 590 Dec 7 16:39 netmasks.org frc8vt# vi netmasks # # The netmasks file associates Internet Protocol (IP) address # masks with IP network numbers. # # network-number netmask # # The term network-number refers to a number obtained from the Internet Network # Information Center. Currently this number is restricted to being a class # A, B, or C network number. In the future we should be able to support # arbitrary network numbers per the Classless Internet Domain Routing # guidelines. # # Both the network-number and the netmasks are specified in # "decimal dot" notation, e.g: # # 128.32.0.0 255.255.255.0 # 130.87.0.0 255.255.252.0 ~ ~ "netmasks" 18 lines, 597 characters frc8vt# ls -l netmasks* -rw-r--r-- 1 root sys 597 Jan 28 15:45 netmasks -r--r--r-- 1 root sys 590 Dec 7 16:39 netmasks.org frc8vt# chmod u-w netmasks frc8vt# ls -l netmasks* -r--r--r-- 1 root sys 597 Jan 28 15:45 netmasks -r--r--r-- 1 root sys 590 Dec 7 16:39 netmasks.org frc8vt# (5-9). networks の修正 frc8vt# pwd /export/root/frc7v-cl1/etc/inet frc8vt# ls -l networks* -r--r--r-- 1 root sys 372 Dec 7 16:37 networks frc8vt# mv networks networks.org frc8vt# cp networks.org networks frc8vt# ls -l networks* -r--r--r-- 1 root other 372 Jan 28 16:05 networks -r--r--r-- 1 root sys 372 Dec 7 16:37 networks.org frc8vt# chgrp sys networks frc8vt# chmod u+w networks frc8vt# ls -l networks* -rw-r--r-- 1 root sys 372 Jan 28 16:05 networks -r--r--r-- 1 root sys 372 Dec 7 16:37 networks.org frc8vt# vi networks #ident "@(#)networks 1.4 92/07/14 SMI" /* SVr4.0 1.1 */ # # The networks file associates Internet Protocol (IP) network numbers # with network names. The format of this file is: # # network-name network-number nicnames . . . # # # The loopback network is used only for intra-machine communication # loopback 127 # # Internet networks # arpanet 10 arpa # Historical FP-cluster-1 130.87.216 ~ ~ "networks" 18 lines, 399 characters frc8vt# chmod u-w networks frc8vt# ls -l networks* -r--r--r-- 1 root sys 399 Jan 28 16:09 networks -r--r--r-- 1 root sys 372 Dec 7 16:37 networks.org frc8vt# (5-10). nodename の修正 frc8vt# pwd /export/root/frc7v-cl1/etc frc8vt# cat nodename frc7v-cl1 frc8vt# nodename は変更しないで、このまま使用する。 (5-11). nsswitch.conf の修正 frc8vt# pwd /export/root/frc7v-cl1/etc frc8vt# ls -l nsswitch.conf* -rw-r--r-- 1 root root 686 Dec 7 17:12 nsswitch.conf frc8vt# mv nsswitch.conf nsswitch.conf.org frc8vt# cp nsswitch.conf.org nsswitch.conf frc8vt# ls -l nsswitch.conf* -rw-r--r-- 1 root other 686 Jan 28 16:15 nsswitch.conf -rw-r--r-- 1 root root 686 Dec 7 17:12 nsswitch.conf.org frc8vt# chgrp root nsswitch.conf frc8vt# vi nsswitch.conf # # /etc/nsswitch.files: # # An example file that could be copied over to /etc/nsswitch.conf; it # does not use any naming service. # # "hosts:" and "services:" in this file are used only if the # /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports. passwd: files group: files hosts: files dns networks: files protocols: files rpc: files ethers: files netmasks: files bootparams: files publickey: files # At present there isn't a 'files' backend for netgroup; the system will # figure it out pretty quickly, and won't use netgroups at all. netgroup: files automount: files aliases: files services: files sendmailvars: files ~ ~ "nsswitch.conf" 26 lines, 690 characters frc8vt# (5-12). passwd, shadow, oshadow の修正 ユーザ名 inoue と、root のアカウントが利用できるように修正する。 frc8vt# ls -l passwd* -rw-r--r-- 1 root sys 445 Dec 7 16:44 passwd frc8vt# mv passwd passwd.org frc8vt# cp passwd.org passwd frc8vt# ls -l passwd* -rw-r--r-- 1 root other 445 Jan 28 16:50 passwd -rw-r--r-- 1 root sys 445 Dec 7 16:44 passwd.org frc8vt# chgrp sys passwd frc8vt# ls -l passwd* -rw-r--r-- 1 root sys 445 Jan 28 16:50 passwd -rw-r--r-- 1 root sys 445 Dec 7 16:44 passwd.org frc8vt# vi passwd : : frc8vt# frc8vt# pwd /export/root/frc7v-cl1/etc frc8vt# ls -l shadow* -r-------- 1 root sys 265 Dec 7 16:44 shadow frc8vt# mv shadow shadow.org frc8vt# cp shadow.org shadow frc8vt# ls -l shadow* -r-------- 1 root other 265 Jan 29 09:33 shadow -r-------- 1 root sys 265 Dec 7 16:44 shadow.org frc8vt# chgrp sys shadow frc8vt# ls -l shadow* -r-------- 1 root sys 265 Jan 29 09:33 shadow -r-------- 1 root sys 265 Dec 7 16:44 shadow.org frc8vt# chmod u+w shadow frc8vt# vi shadow frc8vt# frc8vt# pwd /export/root/frc7v-cl1/etc frc8vt# ls -l oshadow* No match frc8vt# vi oshadow frc8vt# chgrp root oshadow frc8vt# chmod u-w oshadow frc8vt# ls -l oshadow -r-------- 1 root root 297 Jan 29 09:41 oshadow frc8vt# (5-13). resolv.conf の修正 frc8vt# pwd /export/root/frc7v-cl1/etc frc8vt# ls -l resolv.conf* No match frc8vt# vi resolv.conf domain kek.jp nameserver 130.87.216.2 nameserver 130.87.34.6 nameserver 130.87.34.2 ~ ~ "resolv.conf" [New file] 5 lines, 109 characters frc8vt# (5-14). services の修正 servicesファイルは変更しないでこのままにしておく。 (5-15). vfstab の修正 frc8vt# pwd /export/root/frc7v-cl1/etc frc8vt# cat vfstab #device device mount FS fsck mount mount #to mount to fsck point type pass at boot options # #/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes - /proc - /proc proc - no - fd - /dev/fd fd - no - swap - /tmp tmpfs - yes - frc8vt:/export/root/frc7v-cl1 - / nfs - - rw frc8vt:/export/swap/frc7v-cl1 - /dev/swap nfs - - - /dev/swap - - swap - - - frc8vt:/export/exec/Solaris_2.6_sparc.all/usr - /usr nfs - r o frc8vt# vfstab は変更しないで、このまま使用する。 (6). サーバ・システムを立ち上げ直す frc8vt console login: root Password: Last login: Thu Jan 28 10:56:00 on console Jan 29 10:12:32 frc8vt login: ROOT LOGIN /dev/console Sun Microsystems Inc. SunOS 5.6 Generic August 1997 Starting OpenWindows in 5 seconds (type Control-C to interrupt) ^C# # # # /usr/sbin/shutdown -i0 -g0 Shutdown started. Fri Jan 29 10:12:44 JST 1999 Do you want to continue? (y or n): y Broadcast Message from root (console) on frc8vt Fri Jan 29 10:12:46... THE SYSTEM IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged rwall: Can't send to frc7v-cl1 frc7v-cl1: RPC: Rpcbind failure - RPC: Timed out rwall: Can't send to frc7v-cl2 frc7v-cl2: RPC: Rpcbind failure - RPC: Timed out Changing to init state 0 - please wait # INIT: New run level: 0 The system is coming down. Please wait. System services are now being stopped. Print services stopped. Stopping the syslog service. syslogd: going down on signal 15 umount: /net/onlsun1/home3 busy umount: /net/onlsun1/export busy umount: /net/onlsun1/home1 busy umount: /net/onlsun1/home4 busy umount: /net/onlsun1/usr busy umount: /net busy Jan 29 10:13:32 snmpdx: received signal 15 umount: /net/onlsun1/home3/local busy umount: /net/onlsun1/home3 busy umount: /net/onlsun1/export busy umount: /net/onlsun1/home1 busy umount: /net/onlsun1/home4 busy umount: /net/onlsun1/usr busy umount: /net busy The system is down. syncing file systems... done Program terminated Type help for more information ok Power-On Self Test IU Register File Test MMU Context Table Reg Test MMU Context Register Test MMU Sync Fault Stat Reg Test MMU Sync Fault Addr Reg Test D-Cache Tag Ram Test D-Cache Data Ram Test D-TLB CAM Test D-TLB RAM Test I-Cache Tag Ram Test I-Cache Data Ram Test E-Cache Addr Bus Test E-Cache Tag Bus Test E-Cache Data Ram Test E-Cache Tag Ram Test Snoop Ram Test IOMMU-TLB Test IOMMU Control Register Test IOMMU Base Addr Register Test IOMMU SBus Config Registers Test Set RAH to 3 Set WS to 3 DRAM Data Bus Test Probing Bank 0 -- 32 Megs Found Probing Bank 1 -- 32 Megs Found Probing Bank 2 -- 0 Megs Found Probing Bank 3 -- 0 Megs Found Probing Bank 4 -- 0 Megs Found Probing Bank 5 -- 0 Megs Found Probing Bank 6 -- 0 Megs Found Probing Bank 7 -- 0 Megs Found DRAM Address Bus Test Memory Address Pattern Test D-Cache Hit Miss Test D-TLB Hit Miss Test I-TLB Hit Miss Test I-Cache Hit Miss Test E-Cache Hit Miss Test, cache_size=0x00080000 bytes I-TLB Ram Test FPU Register File Test FPU Misaligned Reg Pair Test FPU Single-precision Tests FPU Double-precision Tests FPU SP Invalid CEXC Test FPU SP Overflow CEXC Test FPU SP Divide-by-0 CEXC Test FPU SP Inexact CEXC Test FPU SP Trap Priority > Test FPU SP Trap Priority < Test FPU DP Invalid CEXC Test FPU DP Overflow CEXC Test FPU DP Divide-by-0 CEXC Test FPU DP Inexact CEXC Test FPU DP Trap Priority > Test FPU DP Trap Priority < Test PROC0 Interrupt Regs Tests Soft Interrupts OFF Test Soft Interrupts ON Test PROC0 User Timer Test PROC0 Counter/Timer Test DMA2 E_CSR Register Test LANCE Address Port Tests LANCE Data Port Tests DMA2 D_CSR Register Test DMA2 D_ADDR Register Test DMA2 D_BCNT Register Test DMA2 D_NADDR Register Test ESP Registers Tests DMA2 P_CSR Register Test DMA2 P_ADDR Register Test DMA2 P_BCNT Register Test PPORT Registers Tests NVRAM Access Test TOD Registers Test screen not found. Can't open input device. Keyboard not present. Using tty for input and output. SPARC CPU-8VT, No Keyboard ROM Rev. 2.15.1, 64 MB memory installed, Serial #9172389. Ethernet address 0:80:42:b:85:a5, Host ID: 808bf5a5. Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: SunOS Release 5.6 Version Generic_105181-05 [UNIX(R) System V Release 4.0] Copyright (c) 1983-1997, Sun Microsystems, Inc. / Type help for more information ok boot -r Resetting ... screen not found. Can't open input device. Keyboard not present. Using tty for input and output. SPARC CPU-8VT, No Keyboard ROM Rev. 2.15.1, 64 MB memory installed, Serial #9172389. Ethernet address 0:80:42:b:85:a5, Host ID: 808bf5a5. Rebooting with command: -r Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: - r SunOS Release 5.6 Version Generic_105181-05 [UNIX(R) System V Release 4.0] Copyright (c) 1983-1997, Sun Microsystems, Inc. configuring network interfaces: le0. Hostname: frc8vt Configuring the /devices directory FRCvme V2.3.1 VME Nexus (FGA-5000 FGA-5100) vmemem0 at VME0: vme32d16 0x0 vmemem1 at VME0: vme16d16 0x0 vmemem2 at VME0: vme24d16 0x0 vmemem3 at VME0: vme32d32 0x0 vmemem4 at VME0: vme16d32 0x0 vmemem5 at VME0: vme24d32 0x0 vmeplus0 at VME0: vme16d16 0x0 and vme24d16 0x0 and vme32d16 0x0 and vme16d32 0x 0 and vme24d32 0x0 and vme32d32 0x0 and space 0x2f offset 0x0 and space 0x6f offset 0x0 and space 0x10 offset 0x0 and space 0x11 offset 0x0 and space 0x50 offset 0x0 and space 0x51 offset 0x0 vmedma0 at VME0 vmefdma0 at VME0 vmedvma0 at VME0 vmectl0 at VME0 Configuring the /dev directory Configuring the /dev directory (compatibility devices) The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c0t3d0s5: is clean. /dev/rdsk/c0t3d0s4: is clean. /dev/rdsk/c0t3d0s7: is clean. /dev/rdsk/c0t3d0s3: is clean. add net default: gateway ICCFP1 NIS domainname is kek.jp starting rpc services: rpcbind keyserv done. Setting netmask of le0 to 255.255.252.0 Setting default interface for multicast: add net 224.0.0.0: gateway frc8vt syslog service starting. Print services started. volume management starting. Wnn6: Key License Server started.... Nihongo Multi Client Server (Wnn6 R2.30) Finished Reading Files The system is ready. frc8vt console login: ***************************************************************************** * * Starting Desktop Login on display :0... * * Wait for the Desktop Login screen before logging in. * ***************************************************************************** ***************************************************************************** * * The X-server can not be started on display :0... * ***************************************************************************** frc8vt console login: frc8vt console login: ok. サーバシステムは正常に立ち上がった。 (6-1). クライアント・システムを立ち上げる frc8vt console login: frc8vt console login: Timeout waiting for ARP/RARP packet Lost Carrier (transceiver cable problem?) Cable problem or twisted pair hub link-test disabled. Use the PROM command "help ethernet" for more information. Timeout waiting for ARP/RARP packet Type help for more information ok ok ok boot -r frc7v-cl1 net Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000 File and args: -r frc7v-c l1 net Got a non-data packetGot a non-data packetGot a non-data packet ok ok ok boot frc7v-cl1 Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000 File and args: frc7v-cl1 Got a non-data packetGot a non-data packet ok ok ok boot Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000 File and args: Got a non-data packetGot a non-data packet ok NG. 正常なブートパケットを受け取れない。 ブートできない。 (7). クライアントの設定を見直す サーバ・システムは正常に立ち上がっているが、クライアント・システムが 立ち上がれない。 クライアントの設定に問題がありそうなので見直す。 (7-1). ロジックハウスへ確認する ロジックハウスで、このサーバ・システムをインストールされた高橋さん に話を聞いてみる。 高橋さんの話:    (1). ロジックハウスでクライアント・システムが立ち上がるのを確認した。 (2). /etc/hostsファイルを変更する時、ファイルを直接変更すると不都合    が生じるかもしれない。 変更には、Solstice のホストマネージャを    使う。 (3). 当面の問題として、/etc/hostsファイルを直接変更した場合、クライ アント・システムをブートできるようにするためには、/tftpboot の 下のリンク・ファイルを変更すれば済むかもしれない。(ヘキサのIP値) (4). 上記の(3)の変更で起動できないようであれば、Solstice のホスト マネージャを使ってIP値の設定を変更するしかないだろう。 (7-2). /tftpboot の下のリンク・ファイルを変更 frc8vt[49]% pwd /tftpboot frc8vt[50]% su Password: # csh frc8vt# source /.cshrc frc8vt# ls -l total 362 lrwxrwxrwx 1 root root 26 Dec 7 16:39 AC100059 -> inetboot.sun4m .Solaris_2.6 lrwxrwxrwx 1 root root 26 Dec 7 16:39 AC100059.SUN4M -> inetboot .sun4m.Solaris_2.6 lrwxrwxrwx 1 root root 26 Dec 7 16:43 AC10005A -> inetboot.sun4m .Solaris_2.6 lrwxrwxrwx 1 root root 26 Dec 7 16:43 AC10005A.SUN4M -> inetboot .sun4m.Solaris_2.6 -rw-r--r-- 1 root root 171460 Dec 7 16:33 inetboot.sun4m.Solaris_2.6 lrwxrwxrwx 1 root root 1 Dec 7 16:32 tftpboot -> ./ frc8vt# ln -s inetboot.sun4m.Solaris_2.6 8257C775 frc8vt# ln -s inetboot.sun4m.Solaris_2.6 8257C775.SUN4M frc8vt# ls -l total 366 lrwxrwxrwx 1 root other 26 Jan 29 17:07 8257C775 -> inetboot.sun4m .Solaris_2.6 lrwxrwxrwx 1 root other 26 Jan 29 17:08 8257C775.SUN4M -> inetboot .sun4m.Solaris_2.6 lrwxrwxrwx 1 root root 26 Dec 7 16:39 AC100059 -> inetboot.sun4m .Solaris_2.6 lrwxrwxrwx 1 root root 26 Dec 7 16:39 AC100059.SUN4M -> inetboot .sun4m.Solaris_2.6 lrwxrwxrwx 1 root root 26 Dec 7 16:43 AC10005A -> inetboot.sun4m .Solaris_2.6 lrwxrwxrwx 1 root root 26 Dec 7 16:43 AC10005A.SUN4M -> inetboot .sun4m.Solaris_2.6 -rw-r--r-- 1 root root 171460 Dec 7 16:33 inetboot.sun4m.Solaris_2.6 lrwxrwxrwx 1 root root 1 Dec 7 16:32 tftpboot -> ./ frc8vt# (7-3). ここでシステムをブートし直す frc8vt console login: frc8vt console login: root Password: Last login: Fri Jan 29 15:39:28 on console Jan 29 17:11:22 frc8vt login: ROOT LOGIN /dev/console Sun Microsystems Inc. SunOS 5.6 Generic August 1997 Starting OpenWindows in 5 seconds (type Control-C to interrupt) ^C# # # /usr/sbin/shutdown -i0 -g0 Shutdown started. Fri Jan 29 17:11:33 JST 1999 Do you want to continue? (y or n): y Broadcast Message from root (console) on frc8vt Fri Jan 29 17:11:35... THE SYSTEM IS BEING SHUT DOWN NOW ! ! ! Log off now or risk your files being damaged rwall: Can't send to frc7v-cl2 frc7v-cl2: RPC: Rpcbind failure - RPC: Timed out rwall: Can't send to frc7v-cl1 frc7v-cl1: RPC: Rpcbind failure - RPC: Timed out Changing to init state 0 - please wait # INIT: New run level: 0 The system is coming down. Please wait. System services are now being stopped. Print services stopped. Stopping the syslog service. syslogd: going down on signal 15 Jan 29 17:12:21 snmpdx: received signal 15 The system is down. syncing file systems... done Program terminated Type help for more information ok ok boot -r Resetting ... screen not found. Can't open input device. Keyboard not present. Using tty for input and output. SPARC CPU-8VT, No Keyboard ROM Rev. 2.15.1, 64 MB memory installed, Serial #9172389. Ethernet address 0:80:42:b:85:a5, Host ID: 808bf5a5. Rebooting with command: -r Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0 File and args: - r SunOS Release 5.6 Version Generic_105181-05 [UNIX(R) System V Release 4.0] Copyright (c) 1983-1997, Sun Microsystems, Inc. configuring network interfaces: le0. Hostname: frc8vt Configuring the /devices directory FRCvme V2.3.1 VME Nexus (FGA-5000 FGA-5100) vmemem0 at VME0: vme32d16 0x0 vmemem1 at VME0: vme16d16 0x0 vmemem2 at VME0: vme24d16 0x0 vmemem3 at VME0: vme32d32 0x0 vmemem4 at VME0: vme16d32 0x0 vmemem5 at VME0: vme24d32 0x0 vmeplus0 at VME0: vme16d16 0x0 and vme24d16 0x0 and vme32d16 0x0 and vme16d32 0x 0 and vme24d32 0x0 and vme32d32 0x0 and space 0x2f offset 0x0 and space 0x6f offset 0x0 and space 0x10 offset 0x0 and space 0x11 offset 0x0 and space 0x50 offset 0x0 and space 0x51 offset 0x0 vmedma0 at VME0 vmefdma0 at VME0 vmedvma0 at VME0 vmectl0 at VME0 Configuring the /dev directory Configuring the /dev directory (compatibility devices) The system is coming up. Please wait. checking ufs filesystems /dev/rdsk/c0t3d0s5: is clean. /dev/rdsk/c0t3d0s4: is clean. /dev/rdsk/c0t3d0s7: is clean. /dev/rdsk/c0t3d0s3: is clean. add net default: gateway ICCFP1 NIS domainname is kek.jp starting rpc services: rpcbind keyserv done. Setting netmask of le0 to 255.255.252.0 Setting default interface for multicast: add net 224.0.0.0: gateway frc8vt syslog service starting. Print services started. volume management starting. Wnn6: Key License Server started.... Nihongo Multi Client Server (Wnn6 R2.30) Finished Reading Files The system is ready. frc8vt console login: ***************************************************************************** * * Starting Desktop Login on display :0... * * Wait for the Desktop Login screen before logging in. * ***************************************************************************** ***************************************************************************** * * The X-server can not be started on display :0... * ***************************************************************************** frc8vt console login: frc8vt console login: ok. サーバ・システムは正常に立ち上がった。 (7-4). クライアント・システムを起動する frc8vt console login: Timeout waiting for ARP/RARP packet Lost Carrier (transceiver cable problem?) Cable problem or twisted pair hub link-test disabled. Use the PROM command "help ethernet" for more information. Type help for more information ok ok ok boot Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000 File and args: Got a non-data packet ok NG. 症状は以前と同じ。立ち上がれない。 Solstice のホストマネージャを使ってクライアントの設定をやり直す --- (6). セクション (6-1). サブセクション (6-1-1). サブサブセクション