免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: susbin
打印 上一主题 下一主题

[原创] JumpStart 安装 Solaris10 --- 用CD images设置安装服务器及一些新功能的应用 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2007-02-06 11:39 |只看该作者
呵呵

论坛徽章:
0
12 [报告]
发表于 2007-02-06 15:50 |只看该作者
牛啊,收藏,tks

论坛徽章:
0
13 [报告]
发表于 2007-02-07 03:27 |只看该作者
感谢 race 版主及各位大侠的鼓励。

下面是安装完成后这个U45 workstation 的状态:

$ uname -a
SunOS dba01 5.10 Generic_118833-24 sun4u sparc SUNW,A70

$
$ df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/md/dsk/d10         16G   3.8G    12G    25%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                    11G   1.0M    11G     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
                        16G   3.8G    12G    25%    /platform/sun4u-us3/lib/libc_psr.so.1
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
                        16G   3.8G    12G    25%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                    11G     8K    11G     1%    /tmp
swap                    11G    48K    11G     1%    /var/run
/dev/dsk/c1t1d0s7      158G    64M   156G     1%    /data1
/dev/dsk/c1t0d0s3       16G    16M    16G     1%    /arch1
/dev/dsk/c1t0d0s4       16G    16M    16G     1%    /arch2
/dev/dsk/c1t2d0s3       16G    16M    16G     1%    /u01
/dev/dsk/c1t2d0s7      158G    64M   156G     1%    /data2
/dev/dsk/c1t1d0s3       16G    16M    16G     1%    /u04
/dev/dsk/c1t2d0s4       16G    16M    16G     1%    /u02
/dev/dsk/c1t2d0s5       16G    16M    16G     1%    /u03
/dev/dsk/c1t0d0s5       16G    16M    16G     1%    /arch3
/dev/dsk/c1t1d0s4       16G    16M    16G     1%    /u05
/dev/dsk/c1t0d0s7      158G    64M   156G     1%    /data0
/dev/dsk/c1t1d0s5       16G    16M    16G     1%    /u06

$
$ svcs | grep network
online         14:01:25 svc:/network/ntp:default
online         14:01:32 svc:/network/rpc/bind:default
online         14:01:32 svc:/network/nfs/status:default
online         14:01:33 svc:/network/inetd:default
online         14:01:33 svc:/network/nfs/nlockmgr:default
online         14:01:33 svc:/network/nfs/client:default
online         14:01:34 svc:/network/smtp:sendmail
online         14:01:35 svc:/network/rpc/smserver:default
online         14:01:35 svc:/network/ftp:default
online         14:01:35 svc:/network/rpc-100235_1/rpc_ticotsord:default
online         14:01:35 svc:/network/rpc-100083_1/rpc_tcp:default
online         14:01:35 svc:/network/rpc-100068_2-5/rpc_udp:default
online         14:01:35 svc:/network/ssh:default
online         14:04:32 svc:/network/pfil:default
online         14:04:32 svc:/network/loopback:default
online         14:04:36 svc:/network/physical:default
online         14:04:36 svc:/milestone/network:default
online         14:04:40 svc:/network/initial:default
online         14:04:40 svc:/network/service:default
online         14:04:40 svc:/network/dns/client:default

$

$ metadb
        flags           first blk       block count
     a m  p  luo        16              16384            /dev/dsk/c1t0d0s6
     a    p  luo        8208            16384            /dev/dsk/c1t0d0s6
     a    p  luo        16400           16384            /dev/dsk/c1t0d0s6
     a    p  luo        24592           16384            /dev/dsk/c1t0d0s6
     a    p  luo        32784           16384            /dev/dsk/c1t0d0s6
     a    p  luo        16              16384            /dev/dsk/c1t1d0s6
     a    p  luo        8208            16384            /dev/dsk/c1t1d0s6
     a    p  luo        16400           16384            /dev/dsk/c1t1d0s6
     a    p  luo        24592           16384            /dev/dsk/c1t1d0s6
     a    p  luo        32784           16384            /dev/dsk/c1t1d0s6
     a    p  luo        16              16384            /dev/dsk/c1t2d0s6
     a    p  luo        8208            16384            /dev/dsk/c1t2d0s6
     a    p  luo        16400           16384            /dev/dsk/c1t2d0s6
     a    p  luo        24592           16384            /dev/dsk/c1t2d0s6
     a    p  luo        32784           16384            /dev/dsk/c1t2d0s6

$

$ metastat
d20: Mirror
    Submirror 0: d21
      State: Okay         
    Submirror 1: d22
      State: Okay         
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 16784640 blocks (8.0 GB)

d21: Submirror of d20
    State: Okay         
    Size: 16784640 blocks (8.0 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s1          0     No            Okay   Yes


d22: Submirror of d20
    State: Okay         
    Size: 16784640 blocks (8.0 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s1          0     No            Okay   Yes


d10: Mirror
    Submirror 0: d11
      State: Okay         
    Submirror 1: d12
      State: Okay         
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 33561840 blocks (16 GB)

d11: Submirror of d10
    State: Okay         
    Size: 33561840 blocks (16 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t0d0s0          0     No            Okay   Yes


d12: Submirror of d10
    State: Okay         
    Size: 33561840 blocks (16 GB)
    Stripe 0:
        Device     Start Block  Dbase        State Reloc Hot Spare
        c1t1d0s0          0     No            Okay   Yes


Device Relocation Information:
Device   Reloc  Device ID
c1t1d0   Yes    id1,sd@n5000cca20cc447d2
c1t0d0   Yes    id1,sd@n5000cca20bf54c19

$

$ cat /var/sadm/system/logs/finish.log_2006_12_27
Starting finish script at 12.27.06 ...

total 4
drwxrwxrwx   2 root     root         512 Dec 27 11:03 .
drwxr-xr-x   3 root     root         512 Dec 27 11:03 ..
-rw-r--r--   1 root     root           0 Dec 27 11:03 /a/noautoshutdown
-rw-r--r--   1 root     root           0 Dec 27 11:03 /a/etc/.NFS4inst_state.domain
eeprom: OPROMSETOPT: Invalid argument
use-nvramrc?: invalid property.
local-mac-address?=true
use-nvramrc?=true
nvramrc=devalias altdisk /pci@1e,600000/pci@0/pci@9/pci@0/scsi@1/sd@1,0:a
boot-device=disk altdisk net
set md:mirrored_root_flag=1
-rw-r--r--   1 root     root         212 Dec 27 11:03 /a/etc/hosts.allow
-rw-r--r--   1 root     root           8 Dec 27 11:03 /a/etc/hosts.deny
-rw-r--r--   1 root     root         400 Dec 27 11:03 /a/var/svc/profile/site.xml
-rw-r--r--   1 root     root           0 Dec 27 11:03 /a/var/ntp/ntp.drift
-rw-------   1 root     sys         1268 Dec 27 11:03 /a/var/spool/cron/crontabs/root
-rw-r--r--   1 root     root         264 Dec 27 11:03 /a/usr/local/scripts/pkg.adm.file

Installing third party packages...

Installation of <SMCgcc> was successful.

Installation of <SMCliconv> was successful.

Installation of <SMClsof> was successful.

Installation of <SMCmd5> was successful.

Installation of <SMCossh44p1> was successful.

Installation of <SMCosl98d> was successful.

Installation of <SMCrsync> was successful.

Installation of <SMCtcpdwr> was successful.

Installation of <SMCtop> was successful.

Installation of <SMCwget> was successful.

Third party packages installation is done.

End of finish script.

$

[ 本帖最后由 susbin 于 2007-2-7 04:07 编辑 ]

论坛徽章:
0
14 [报告]
发表于 2007-02-07 03:53 |只看该作者
下文中几处省略号 "......" 代表许多类似的行,以节省篇幅。

$ cat /var/sadm/system/logs/install_log

Processing default locales
        - Specifying default locale (en_US.ISO8859-1)

Processing profile
        - Selecting cluster (SUNWCXall)
        - Selecting geographic region (Asia)
        - Selecting locale (en_US.ISO8859-1)
        - Selecting all disks
        - Configuring boot device
        - Configuring SVM State Database Replica on  (c1t0d0s6)
        - Configuring SVM State Database Replica on  (c1t1d0s6)
        - Configuring SVM State Database Replica on  (c1t2d0s6)
        - Configuring SVM Mirror Volume d10 on / (c1t0d0s0)
        - Configuring SVM Mirror Volume d10 on  (c1t1d0s0)
        - Configuring SVM Mirror Volume d20 on swap (c1t0d0s1)
        - Configuring SVM Mirror Volume d20 on SWAP_MIRROR (c1t1d0s1)
        - Configuring /arch1 (c1t0d0s3)
        - Configuring /arch2 (c1t0d0s4)
        - Configuring /arch3 (c1t0d0s5)
        - Configuring /u04 (c1t1d0s3)
        - Configuring /u05 (c1t1d0s4)
        - Configuring /u06 (c1t1d0s5)
        - Configuring  (c1t2d0s0)
        - Configuring  (c1t2d0s1)
        - Configuring /u01 (c1t2d0s3)
        - Configuring /u02 (c1t2d0s4)
        - Configuring /u03 (c1t2d0s5)
        - Configuring /data0 (c1t0d0s7)
        - Configuring /data1 (c1t1d0s7)
        - Configuring /data2 (c1t2d0s7)

Verifying disk configuration
        - WARNING: Changing the system's default boot device in the EEPROM

Verifying space allocation
        - Total software size:  3699.02 Mbytes

Configuring disk (c1t0d0)
        - Creating Solaris disk label (VTOC)

Configuring disk (c1t1d0)
        - Creating Solaris disk label (VTOC)

Configuring disk (c1t2d0)
        - Creating Solaris disk label (VTOC)

Creating and checking UFS file systems
        - Creating / (c1t0d0s0)
Warning: 2832 sector(s) in last cylinder unallocated
/dev/rdsk/c1t0d0s0:     33561840 sectors in 5463 cylinders of 48 tracks, 128 sectors
        16387.6MB in 342 cyl groups (16 c/g, 48.00MB/g, 5824 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
32, 98464, 196896, 295328, 393760, 492192, 590624, 689056, 787488, 885920,
Initializing cylinder groups:
...
super-block backups for last 10 cylinder groups at:
32638496, 32736928, 32835360, 32933792, 33032224, 33130656, 33229088,
33327520, 33425952, 33524384
        - Creating /arch1 (c1t0d0s3)
        - Creating /arch2 (c1t0d0s4)
        - Creating /arch3 (c1t0d0s5)
        - Creating /data0 (c1t0d0s7)
        - Creating  (c1t1d0s0)
        - Creating  (c1t1d0s1)
        - Creating /u04 (c1t1d0s3)
        - Creating /u05 (c1t1d0s4)
        - Creating /u06 (c1t1d0s5)
        - Creating /data1 (c1t1d0s7)
        - Creating /u01 (c1t2d0s3)
        - Creating /u02 (c1t2d0s4)
        - Creating /u03 (c1t2d0s5)
        - Creating /data2 (c1t2d0s7)

Creating SVM Meta Devices. Please wait ...
        - Creating SVM State Replica on disk c1t0d0s6
        - Creating SVM State Replica on disk c1t1d0s6
        - metadb: waiting on /etc/lvm/lock
        - Creating SVM State Replica on disk c1t2d0s6
        - Creating SVM Mirror Volume d10 (/)
        - Creating SVM Mirror Volume d20 (swap)

Beginning Solaris software installation
603 blocks

Installation of <SUNWocfd> was successful.
25624 blocks

Installation of <SUNWcsu> was successful.
5527 blocks
......

Installation of <SUNWgnome-ui-designer> was successful.

Solaris 10 software installation succeeded

Solaris 10 packages fully installed
                SUNWocfd
                SUNWcsu
                SUNWcsr
......
                SUNWgnome-ui-designer

Customizing system files
        - Mount points table (/etc/vfstab)
          fd    -       /dev/fd fd      -       no      -
          /proc -       /proc   proc    -       no      -
          /dev/md/dsk/d20       -       -       swap    -       no      -
          /dev/md/dsk/d10       /dev/md/rdsk/d10        /       ufs     1       no      logging
          /dev/dsk/c1t0d0s3     /dev/rdsk/c1t0d0s3      /arch1  ufs     2       yes     logging
          /dev/dsk/c1t0d0s4     /dev/rdsk/c1t0d0s4      /arch2  ufs     2       yes     logging
          /dev/dsk/c1t0d0s5     /dev/rdsk/c1t0d0s5      /arch3  ufs     2       yes     logging
          /dev/dsk/c1t0d0s7     /dev/rdsk/c1t0d0s7      /data0  ufs     2       yes     logging
          /dev/dsk/c1t1d0s7     /dev/rdsk/c1t1d0s7      /data1  ufs     2       yes     logging
          /dev/dsk/c1t2d0s7     /dev/rdsk/c1t2d0s7      /data2  ufs     2       yes     logging
          /dev/dsk/c1t2d0s3     /dev/rdsk/c1t2d0s3      /u01    ufs     2       yes     logging
          /dev/dsk/c1t2d0s4     /dev/rdsk/c1t2d0s4      /u02    ufs     2       yes     logging
          /dev/dsk/c1t2d0s5     /dev/rdsk/c1t2d0s5      /u03    ufs     2       yes     logging
          /dev/dsk/c1t1d0s3     /dev/rdsk/c1t1d0s3      /u04    ufs     2       yes     logging
          /dev/dsk/c1t1d0s4     /dev/rdsk/c1t1d0s4      /u05    ufs     2       yes     logging
          /dev/dsk/c1t1d0s5     /dev/rdsk/c1t1d0s5      /u06    ufs     2       yes     logging
          /devices      -       /devices        devfs   -       no      -
          ctfs  -       /system/contract        ctfs    -       no      -
          objfs -       /system/object  objfs   -       no      -
          swap  -       /tmp    tmpfs   -       yes     -
        - Network host addresses (/etc/hosts)
        - Network host addresses (/etc/hosts)
        - Environment variables (/etc/default/init)

Cleaning devices

Customizing system devices
        - Physical devices (/devices)
        - Logical devices (/dev)

Installing boot information
        - Installing boot blocks (c1t0d0s0)
        - Updating system firmware for automatic rebooting

Installing patches now
        Installing patch(es) from 192.168.1.48 of location type "nfs"
Validating patches...

Loading patches installed on the system...

Done!

Loading patches requested to install.

Done!

The following requested patches have packages not installed on the system
Package SUNWgzipS from directory SUNWgzipS in patch 120719-01 is not installed on the system. Changes for package SUNWgzipS will not be applied to the system.

......

The following requested patches are already installed on the system
Requested to install patch 120719-01 is already installed on the system.

......

Requested to install patch 122174-03 is already installed on the system.

The following requested patches do not update any packages installed on the system
Packages from patch 121236-02 are not installed on the system.

Checking patches that you specified for installation.

Done!

The following requested patches will not be installed because
the packages they patch are not installed on this system.

           0 All packages from patch 119254-06 are patched by higher revision patches.

           1 Packages from patch 121265-02 are not installed on the system.

           2 Packages from patch 120824-06 are not installed on the system.

           3 Packages from patch 118562-11 are not installed on the system.

Approved patches will be installed in this order:

118815-04 118872-04 119254-32 119578-30 124188-02 119059-20 121012-02 123186-01
118959-03 118833-24 119903-02 121004-03 119764-05 118712-11 118918-22 123304-02
120467-05 119757-04 120469-05 118560-02 121118-08 122911-02 121002-03 119130-26
122856-03 123256-02 124457-01 121308-08 119850-21

Checking installed patches...
Verifying sufficient filesystem capacity (dry run method)...
Installing patch packages...

Patch 118815-04 has been successfully installed.
See /a/var/sadm/patch/118815-04/log for details

Patch packages installed:
  SUNWesu
  SUNWxcu4

Checking installed patches...

......

Patch 119850-21 has been successfully installed.
See /a/var/sadm/patch/119850-21/log for details

Patch packages installed:
  SUNWcakr
  SUNWcar
  SUNWcsd
  SUNWcsu
  SUNWfruip
  SUNWhea
  SUNWkvm
  SUNWpd
  SUNWpdu
  SUNWpiclu

        - Making SVM Mirror Volume as boot device (/dev/md/dsk/d10)

$

[ 本帖最后由 susbin 于 2007-2-7 04:04 编辑 ]

论坛徽章:
0
15 [报告]
发表于 2007-02-07 08:34 |只看该作者
呵呵.看来我的推荐真的是很有用处.

论坛徽章:
0
16 [报告]
发表于 2007-02-07 08:39 |只看该作者
最近帖子多,沉低的太快,没及时加精,抱歉。

论坛徽章:
0
17 [报告]
发表于 2007-02-08 00:47 |只看该作者
原帖由 race 于 2007-2-7 08:39 发表
最近帖子多,沉低的太快,没及时加精,抱歉。



版主过谦了。这两周好像不少X86 和 OpenSolaris 的贴进来了, 够几位忙的。

以前俺还能把新贴都大概看看,现在是不成了。

再说,让各位网友先过过目,审查一下也很必要。

论坛徽章:
0
18 [报告]
发表于 2007-02-08 08:49 |只看该作者
好文章,收藏了.谢谢!!

论坛徽章:
0
19 [报告]
发表于 2007-02-08 13:12 |只看该作者
厉害啊~好东西~CU是我们永远的网络硬盘~

论坛徽章:
0
20 [报告]
发表于 2007-06-14 23:20 |只看该作者
感谢! 收藏。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP