免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 8662 | 回复: 10
打印 上一主题 下一主题

rp8420分区及双机RAC全记录 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-12-17 20:50 |只看该作者 |倒序浏览
进入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:

论坛徽章:
0
2 [报告]
发表于 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

论坛徽章:
0
3 [报告]
发表于 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

论坛徽章:
0
4 [报告]
发表于 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.

论坛徽章:
0
5 [报告]
发表于 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

论坛徽章:
0
6 [报告]
发表于 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 >;

论坛徽章:
0
7 [报告]
发表于 2007-07-03 11:24 |只看该作者
很长啊,只有复制了慢慢看

论坛徽章:
0
8 [报告]
发表于 2009-03-06 20:25 |只看该作者
很长啊,只有复制了慢慢看
本文来自: IXPUB技术社区(www.ixpub.net) 详细出处参考:http://www.ixpub.net/thread-639327-1-2.html

论坛徽章:
0
9 [报告]
发表于 2009-11-25 21:12 |只看该作者
没有RAC,真是岂有此理!

论坛徽章:
4
IT运维版块每日发帖之星
日期:2015-09-06 06:20:00数据库技术版块每日发帖之星
日期:2015-09-06 06:20:00数据库技术版块每日发帖之星
日期:2016-07-10 06:20:00IT运维版块每日发帖之星
日期:2016-07-12 06:20:00
10 [报告]
发表于 2012-04-01 14:07 |只看该作者
后面就要准备等价型,安装rac
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP