Chinaunix

标题: rp8420分区及双机RAC全记录 [打印本页]

作者: 浪迹天涯2006    时间: 2006-12-17 20:50
标题: rp8420分区及双机RAC全记录
进入cm状态
[uninitialized] MP>; cm


                Enter HE to get a list of available commands


用命令cc 进入复杂配置模式(complex configure)
[uninitialized] MP:CM>; cc

This command allows you to change the complex profile.

WARNING: You must either shut down the OSs for reconfiguration or
         execute the RR (reset for reconfiguration) command for all
         partitions before executing this command.

    G - Build Genesis complex profile
    L - Restore Last complex profile
        Select profile to build or restore: g


The genesis complex profile creates one single cell partition.

WARNING: The genesis complex profile automatically ENABLES partition
         reconfiguration.  This allows partitions to issue platform
         reconfiguration commands that could affect other partitions.

         Use the PARPERM command to disable partition reconfiguration.

Choose the cell to use.
    Enter cell number: 0

    Do you want to modify the complex profile? (Y/[N]) y

    ->; The complex profile will be modified.

Sorry, command failed: RtnCodeCellSlotNotBootBlocked
// 因为分区0的系统还没有shutdown,所以产生上述错误。



BIB:         boot  is  blocked




首先进行分区0系统的shutdown -ty
等系统关闭后,进入mp状态

[uninitialized] MP:CM>; rs

This command resets the selected partition.

WARNING: Execution of this command irrecoverably halts all system
         processing and I/O activity and restarts the selected
         partition.


  Part#  Name
  -----  ----
     0)  Partition 0
     1)  partition 1 ux

    Select a partition number: 0

    Do you want to reset partition number 0? (Y/[N]) y

    ->; The selected partition will be reset.
[uninitialized] MP:CM>;

[uninitialized] MP:CM>; cc

This command allows you to change the complex profile.

WARNING: You must either shut down the OSs for reconfiguration or
         execute the RR (reset for reconfiguration) command for all
         partitions before executing this command.

    G - Build Genesis complex profile     //清除分区的选项
    L - Restore Last complex profile
        Select profile to build or restore: g


The genesis complex profile creates one single cell partition.

WARNING: The genesis complex profile automatically ENABLES partition
         reconfiguration.  This allows partitions to issue platform
         reconfiguration commands that could affect other partitions.

         Use the PARPERM command to disable partition reconfiguration.

Choose the cell to use.
    Enter cell number: 0

    Do you want to modify the complex profile? (Y/[N]) y

The complex profile will be modified.
//上述信息表明,分区已经被清除,此时因为原先有两个分区,所以应该还有一个分区
进入mp,用co进console状态,可以看到结果如下,此时表明确实只有一个分区存在:
[uninitialized] MP>; co

    Partitions available:

  Part#  Name
  -----  ----
     0)  Partition 0
     Q)  Quit

    Please select partition number:
作者: 浪迹天涯2006    时间: 2006-12-17 20:50
清除第二个分区:

[uninitialized] MP>; cm           // 首先进入cm状态
                Enter HE to get a list of available commands
[uninitialized] MP:CM>; rr        //其次,resets for reconfiguration

This command resets for reconfiguration the selected partition.

WARNING: Execution of this command irrecoverably halts all system
         processing and I/O activity and restarts the selected
         partition in a way that it can be reconfigured.


  Part#  Name
  -----  ----
     0)  Partition 0

    Select a partition number: 0

    Do you want to reset for reconfiguration partition number 0? (Y/[N]) y

    ->; The selected partition will be reset for reconfiguration.
[uninitialized] MP:CM>; cc      // 再次,进入cc状态

This command allows you to change the complex profile.

WARNING: You must either shut down the OSs for reconfiguration or
         execute the RR (reset for reconfiguration) command for all
         partitions before executing this command.

    G - Build Genesis complex profile
    L - Restore Last complex profile
        Select profile to build or restore: g


The genesis complex profile creates one single cell partition.

WARNING: The genesis complex profile automatically ENABLES partition
         reconfiguration.  This allows partitions to issue platform
         reconfiguration commands that could affect other partitions.

         Use the PARPERM command to disable partition reconfiguration.

Choose the cell to use.
    Enter cell number: 0

    Do you want to modify the complex profile? (Y/[N]) y

    ->; The complex profile will be modified.         //另一个分区被清除
[uninitialized] MP:CM>; co

Unknown Command.  Type HE for a list of commands.    //此时可以看到结果是分区已经全部没有了

[uninitialized] MP:CM>;

注意点:   分区的操作系统要shutdown
           从分区0开始删除
           用rr命令,进行resets for reconfiguration
作者: 浪迹天涯2006    时间: 2006-12-17 20:51
重新安装第一个分区:
命令列表:
BO      : Boot a partition.
DATE    : Set the time and date
DF      : Display FRU information of an Entity.
FW      : Firmware Update Utility
DFW     : Duplicate Firmware
MA      : Return to the Main menu.
MR      : Modem Reset
OSP     : Online Scan Programming Utility
PE      : Power entities on or off.
PWRGRD  : Allows user to configure the power grid
RE      : Reset entity.
RR      : Reset a partition for reconfiguration.
RS      : Reset a partition.
SYSREV  : Returns all System Revisions
作者: 浪迹天涯2006    时间: 2006-12-17 20:51
首先在cm状态下,用rs命令
[uninitialized] MP:CM>; rs

This command resets the selected partition.

WARNING: Execution of this command irrecoverably halts all system
         processing and I/O activity and restarts the selected
         partition.


  Part#  Name
  -----  ----
     0)  Partition 0

    Select a partition number: 0

    Do you want to reset partition number 0? (Y/[N]) y

    ->; The selected partition will be reset.
[uninitialized] MP:CM>; ma
[uninitialized] MP:CM>;

    MP MAIN MENU:

         CO: Consoles
        VFP: Virtual Front Panel (partition status)
         CM: Command Menu
         CL: Console Logs
         SL: Show Event Logs
         HE: Help
          X: Exit Connection

[uninitialized] MP>; co

    Partitions available:

  Part#  Name
  -----  ----
     0)  Partition 0
     Q)  Quit

    Please select partition number:
此时,可以看到有分区的存在了

下面将开始安装操作系统的工作:
[uninitialized] MP>; co

    Partitions available:

  Part#  Name
  -----  ----
     0)  Partition 0
     Q)  Quit

    Please select partition number: ^


        Connecting to Console: Partition 0

        (Use ^B to return to main menu.)


- - - - - - - - - - Prior Console Output - - - - - - - - - -

     SERvice menu                      Displays service commands

     DIsplay                           Redisplay the current menu
     HElp [<menu>;|<command>;]           Display help for menu or command
     REBOOT                            Restart Partition
     RECONFIGRESET                     Reset to allow Reconfig Complex Profile
----
Main Menu: Enter command or menu >;

- - - - - - - - - - - - Live Console - - - - - - - - - - - -

[Read-only - use ^Ecf to attach to console.]

[Read-only - use ^Ecf to attach to console.]
按^Ecf进入到BCH状态,这是 引导控制台处理程序,相当于常说的10秒中断阶段。

[Bumped user - Admin.]

Main Menu: Enter command or menu >; sea all
//查看所有的可引导设备
Searching for potential boot device(s)
This may take several minutes.
作者: 浪迹天涯2006    时间: 2006-12-17 20:52
重新安装第二个分区:
第二个分区的安装的大体思想是在第一个分区的操作系统启动后,用root用户登录
然后,用命令parcreate -P “partition 1 UX” -c 1:0:0:0 创建第二个分区。
分区创建好后,可以用命令 parstatus 来查看



配置cpu:
在bch状态(10秒中断)进入co
用cpuconfig可以进行管理

Main Menu: Enter command or menu >; co

---- Configuration Menu ------------------------------------------------------

     Command                           Description
     -------                           -----------
     BootID [<cell>;[<cpu>;[<bootid>;]]]  Display or set Boot Identifier
     BootTimer [0-200]                 Seconds allowed for boot attempt
     COreCell [<choice>; <cell>;]        Display or set core cell
     CPUconfig [<cell>;[<cpu>;[ON|OFF]]] Config/Deconfig processor
     DataPrefetch [ENABLE|DISABLE]     Display or set data prefetch behavior
     DEfault                           Set the Partition to predefined values
     FastBoot [test][RUN|SKIP]         Display or set boot tests execution
     KGMemory [<value>;]                Display or set KGMemory requirement
     PathFlags [PRI|HAA|ALT] [<value>;] Display or set Boot Path Flags
     PD [<name>;]                       Display or set Partition name values
     ResTart [ON|OFF]                  Set Partition Restart Policy
     TIme [cn:yr:mo:dy:hr:mn:[ss]]     Read or set the real time clock
     ZLco [ON|OFF]                     Display or set ZLCO behavior

     BOot [PRI|HAA|ALT|<path>;]         Boot from specified path
     DIsplay                           Redisplay the current menu
     HElp [<command>;]                  Display help for specified command
     REBOOT                            Restart Partition
     RECONFIGRESET                     Reset to allow Reconfig Complex Profile
     MAin                              Return to Main Menu




进cm,rs选分区1
Vfp就是看分区的引导状态
如果正常就可以安装操作系统了

即 进co,
此时应该是bch状态
sea all   查找可引导的介质
bo p2
作者: 浪迹天涯2006    时间: 2006-12-17 20:52
安装中的异常事件
如果启动分区的时候,一直停在bch状态不下去,那么要在mp的cm命令状态下rs,做reset的工作,但是还是不行,原因是自动启动的分区设置不对,要用pathflags命令进行设置:
Primary Boot Path Action
          Boot Actions:  Go to BCH.
首选就到bch了
应该是最次选的启动到bch

     Primary Boot Path Action
          Boot Actions:  Boot from this path.
                         If unsuccessful, go to next path.

HA Alternate Boot Path Action
          Boot Actions:  Boot from this path.
                         If unsuccessful, go to next path.

   Alternate Boot Path Action
          Boot Actions:  Boot from this path.
                         If unsuccessful, go to BCH.





Configuration Menu: Enter command >; pathflags

     Primary Boot Path Action
          Boot Actions:  Go to BCH.

HA Alternate Boot Path Action
          Boot Actions:  Go to BCH.

   Alternate Boot Path Action
          Boot Actions:  Go to BCH.

Configuration Menu: Enter command >; pathflags Pri

     Primary Boot Path Action
          Boot Actions:  Go to BCH.

Configuration Menu: Enter command >; pathflags Alt

   Alternate Boot Path Action
          Boot Actions:  Go to BCH.

Configuration Menu: Enter command >; help pathflags

---- PATHFLAGS Help ----------------------------------------------------------

     PATHFLAGS displays or sets the boot control flag for each boot path.
     The boot control flag setting determines what action should be taken
     when booting from the specified path and what to do should the boot
     be unsuccessful.

     PathFlags                 Display the boot path flag for each boot path
     PathFlags <path>;          Display the boot path flag for specified path
     PathFlags <path>; <value>;  Set the boot path flag for the specified path

               <path>;  = [PRI|HAA|ALT]
               <value>; = 0     Go to BCH (Boot Console Handler)
                         1     Boot from this path. If unsuccessful, go to BCH
                         2     Boot from this path. If unsuccessful, go to next
                               path
                         3     Skip this path and go to next path

          Path Order = PRIMARY ->; HA ALTERNATE ->; ALTERNATE ->; BCH

     Short Command for PathFlags:   PF
----
Configuration Menu: Enter command >; pf pri 2

     Primary Boot Path Action
          Boot Actions:  Boot from this path.
                         If unsuccessful, go to next path.

Configuration Menu: Enter command >; pf HA 2

ERROR: Bad Argument(s)

Configuration Menu: Enter command >; pf HA 2

ERROR: Bad Argument(s)

Configuration Menu: Enter command >; pf

     Primary Boot Path Action
          Boot Actions:  Boot from this path.
                         If unsuccessful, go to next path.

HA Alternate Boot Path Action
          Boot Actions:  Go to BCH.

   Alternate Boot Path Action
          Boot Actions:  Go to BCH.

Configuration Menu: Enter command >; pf HA Alt 2

ERROR: Bad Argument(s)

Configuration Menu: Enter command >; pf HAA 2

HA Alternate Boot Path Action
          Boot Actions:  Boot from this path.
                         If unsuccessful, go to next path.

Configuration Menu: Enter command >; pf Alt 1

   Alternate Boot Path Action
          Boot Actions:  Boot from this path.
                         If unsuccessful, go to BCH.

Configuration Menu: Enter command >;
Configuration Menu: Enter command >;
Configuration Menu: Enter command >;
Configuration Menu: Enter command >; pf

     Primary Boot Path Action
          Boot Actions:  Boot from this path.
                         If unsuccessful, go to next path.

HA Alternate Boot Path Action
          Boot Actions:  Boot from this path.
                         If unsuccessful, go to next path.

   Alternate Boot Path Action
          Boot Actions:  Boot from this path.
                         If unsuccessful, go to BCH.

Configuration Menu: Enter command >; ma

---- Main Menu ---------------------------------------------------------------

     Command                           Description
     -------                           -----------
     BOot [PRI|HAA|ALT|<path>;]         Boot from specified path
     PAth [PRI|HAA|ALT] [<path>;]       Display or modify a path
     SEArch [ALL|<cell>;|<path>;]        Search for boot devices
     ScRoll [ON|OFF]                   Display or change scrolling capability

     COnfiguration menu                Displays or sets boot values
     INformation menu                  Displays hardware information
     SERvice menu                      Displays service commands

     DIsplay                           Redisplay the current menu
     HElp [<menu>;|<command>;]           Display help for menu or command
     REBOOT                            Restart Partition
     RECONFIGRESET                     Reset to allow Reconfig Complex Profile
----
Main Menu: Enter command or menu >;
作者: tangxudong_cs    时间: 2007-07-03 11:24
很长啊,只有复制了慢慢看
作者: lilijun1221    时间: 2009-03-06 20:25
很长啊,只有复制了慢慢看
本文来自: IXPUB技术社区(www.ixpub.net) 详细出处参考:http://www.ixpub.net/thread-639327-1-2.html
作者: yjyf8026    时间: 2009-11-25 21:12
没有RAC,真是岂有此理!
作者: wxwlhyll    时间: 2012-03-30 12:04
大哥还没 发完啊
作者: yanggq    时间: 2012-04-01 14:07
后面就要准备等价型,安装rac




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2