远程升级jdstest27(Sparc)系统到s11u1b11_xb12

来源:互联网 发布:淘宝如何加入ifashion 编辑:程序博客网 时间:2024/05/16 18:15
root@jdstest27:~# beadm list
BE                Active Mountpoint Space Policy Created          
--                ------ ---------- ----- ------ -------          
s11u1_11          NR     /          7.59G static 2012-03-14 14:38
s11u1_11-backup-1 -      -          63.0K static 2012-03-14 15:39
root@jdstest27:~# pkg info entire
          Name: entire
       Summary: Incorporation to lock all system packages to the same build
   Description: This package constrains system package versions to the same
                build.  WARNING: Proper system update and correct package
                selection depend on the presence of this incorporation.
                Removing this package will result in an unsupported system.
      Category: Meta Packages/Incorporations
         State: Installed
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.175.1.0.0.11.0
Packaging Date: March  5, 2012 10:24:12 PM
          Size: 5.46 kB
          FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.1.0.0.11.0:20120305T222412Z
root@jdstest27:~# pkg update --be -name s11u1b11_xb12
Creating Plan                  

pkg update: 's11u1b11_xb12' matches no installed packages

root@jdstest27:~# pkg info entire
          Name: entire
       Summary: Incorporation to lock all system packages to the same build
   Description: This package constrains system package versions to the same
                build.  WARNING: Proper system update and correct package
                selection depend on the presence of this incorporation.
                Removing this package will result in an unsupported system.
      Category: Meta Packages/Incorporations
         State: Installed
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.175.1.0.0.11.0
Packaging Date: March  5, 2012 10:24:12 PM
          Size: 5.46 kB
          FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.1.0.0.11.0:20120305T222412Z
root@jdstest27:~# /opt/onbld/bin/bnu -o -u http://xserver.us.oracle.com:10000 -U x-nightly -t s11u1b11_xb12

bash: /opt/onbld/bin/bnu: No such file or directory


root@jdstest27:~# pkg install onbld
           Packages to install:  3
       Create boot environment: No
Create backup boot environment: No

DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  3/3     668/668      3.6/3.6

PHASE                                        ACTIONS
Install Phase                                788/788

PHASE                                          ITEMS
Package State Update Phase                       3/3
Image State Update Phase                         2/2
root@jdstest27:~# /opt/onbld/
bin/ env/ etc/ gk/  lib/ man/
root@jdstest27:~# /opt/onbld/bin/
bindrop          cryptodrop       hg-active        mkclosed         sccsrm           ws
bldenv           cstyle           hgsetup          mktpl            signit           wsdiff
bringovercheck   elfcmp           i386/            nightly          signproto        wx
build_cscope     elfsigncmp       Install          onu              sparc/           wx2hg
cddlchk          find_elf         interface_check  protocmp.terse   validate_flg     xref
check_elfstub    findcrypto       interface_cmp    rtichk           validate_paths   xref.mk
check_rtime      flg.flp          jstyle           sccscheck        validate_pkg     
checkpaths       genoffsets       keywords         sccscp           wdiff            
checkproto       get_depend_info  make_pkg_db      sccshist         webrev           
copyrightchk     hdrchk           mapfilechk       sccsmv           which_scm        
root@jdstest27:~# /opt/onbld/bin/pkg info onbld
bash: /opt/onbld/bin/pkg: No such file or directory
root@jdstest27:~# pkg info onbld
          Name: developer/build/onbld
       Summary: OS-Net Build Tools
   Description: tools used to build the OS-Net consolidation
      Category: Development/Distribution Tools
         State: Installed
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.175.1.0.0.11.0
Packaging Date: March  5, 2012 09:10:39 PM
          Size: 3.49 MB
          FMRI: pkg://solaris/developer/build/onbld@0.5.11,5.11-0.175.1.0.0.11.0:20120305T211039Z
root@jdstest27:~# pkg publisher
PUBLISHER                             TYPE     STATUS   URI
solaris                               origin   online   http://pkg801.cn.oracle.com/s11u1/
root@jdstest27:~# /opt/onbld/bin/onu -O -u http://xserver.us.oracle.com:10000 -U x-nightly -t s11u1b11_xb12
Preparing zone: global (1/1)
Updating                               
            Packages to update: 106    
       Create boot environment:  No
Create backup boot environment:  No

DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                              106/106     373/373    17.8/17.8

PHASE                                        ACTIONS
Removal Phase                                639/639
Install Phase                                533/533
Update Phase                                 588/588

PHASE                                          ITEMS
Package State Update Phase                   212/212
Package Cache Update Phase                   106/106
Image State Update Phase                         2/2

---------------------------------------------------------------------------
NOTE: Please review release notes posted at:

http://www.oracle.com/pls/topic/lookup?ctx=E23824&id=SERNS
---------------------------------------------------------------------------

updating /tmp/onu.e5ayYc//platform/sun4v/boot_archive
root@jdstest27:~# reboot
Connection to jdstest27 closed by remote host.
Connection to jdstest27 closed.
bash-4.1$ 


==============================

bash-4.1$ bash
bash-4.1$ ssh -l work jdstest27
Password:
Last login: Thu Mar 15 13:17:24 2012 from freekick.cn.ora
Oracle Corporation      SunOS 5.11      11.1    March 2012
work@jdstest27:~$ su
Password:

root@jdstest27:~# beadm list
BE                Active Mountpoint Space Policy Created          
--                ------ ---------- ----- ------ -------          
s11u1_11          -      -          9.59M static 2012-03-14 14:38
s11u1_11-backup-1 -      -          63.0K static 2012-03-14 15:39
s11u1b11_xb12     NR     /          8.23G static 2012-03-15 14:06
root@jdstest27:~# pkg info X-incorporation  //查X是否起来

This command reports the infomation bout X-incorporation. After theinstallation, it should report *.12*. It means the X build 12 isinstalled onto the box.
It is not used for checking whether X start up correctly or not.

If you want to check whether X start up, run "ps -ef|grep X", to checkwhether Xorg process is there or not.
BTW: jdstest27 doesn't have video card inside, so usually Xorg processis not there.












原创粉丝点击