免费注册 查看新帖 |

Chinaunix

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

昨天边做试验边总结的和nPar 相关的命令和步骤,希望对大家能有帮助! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-12-05 11:19 |只看该作者 |倒序浏览
昨天边做试验边总结的和nPar 相关的命令和步骤,希望对大家能有帮助!有错误的话还请大家指正!我也是个新手!:oops:
HP 9000 nPartition Management
1.Creating a Npar
1.1 Creating a Genesis Partition
GSP:CM> CC
This command allows you to change the complex profile.
WARNING: You must shut down all Protection Domains before executing
this command.
G - Genesis Complex Profile
L - Last Complex Profile
Select Profile: g
Enter Cabinet number: 0
Enter Slot number: 0
Do you want to modify the complex profile? (Y/[N]) y
-> The complex profile will be modified.
GSP:CM>

1.2 Boot Partition
1.2.1 Boot Step
1) Reset or Power On
2) Cell Self-Tests
3) Partition Rendezvous
4) BCH Interface          *10 sec interrupt, press any key enter BCH
5) ISL                   *If select “Y” enter ISL command line.
6) hpux Loader
7) vmunix Kernel
8) HP-UX Log-in
1.2.2 Boot Inactive Partition
GSP:CM> BO
This command boots the selected partition.
# Name
--- ----
0) jules00
1) jules01
Select a partition number: 0
Do you want to boot partition number 0? (Y/[N]) y
-> The selected partition will be booted.
GSP:CM>

2. Creating a New nPartition
When using the parcreate command, do not specify the -B option for
this procedure.
(The -B option causes parcreate to immediately boot the newly created
partition past the default ready for reconfig state, thus making the
nPartition active and preventing you from further modifying it.)
By not specifying -B, the new partition can be further modified because it
will remain inactive at a ready for reconfig state (until you boot it using
the service processor Command menu’s BO command).
If creating a single-cell nPartition, just use one -c option.
To create a multiple-cell nPartition, you should specify the -c option
multiple times (once for each cell) issuing a single command line.

# parcreate -c4:base:y:ri -c6:base:y:ri
Partition Created. The partition number is : 1
#

The parcreate command’s -c option is as follows:
-c cell:[cell_type]:[use_on_next_boot]:[failure_usage]

This option specifies the cell ID (cell) to be assigned to the partition.
• The only valid cell_type value is: base (base cell, the default).
• The valid use_on_next_boot values for cells are:
y Participate in reboot (the default).
n Do not participate in reboot.
• The only valid failure_usage value is: ri (reactivate with interleave,
the default).

3. Modify a nPartition
3.1 Use the parmodify command to modify the new nPartition’s
configuration and set the partition name (-P), boot paths (-b, -s, and
-t), and any core cell choices (-r).
When using the parmodify command you must use the -p# option to
specify the partition number for the nPartition.
# parmodify -p1 -P "hostname05"
Command succeeded.
# parmodify -p1 -r0/4 -r0/6
Command succeeded.
# parmodify -p1 -b 4/0/1/0/0.9
Command succeeded.
#

3.2 Modify the nPartition by issuing the parmodify -p# -a#... command
to add the cell.
The -p# option specifies the partition number (#) for the nPartition being
modified.
The -a cell:type:use:fail option specifies the cell ID and other details
for the cell to be added to the nPartition.
To add multiple cells you can specify the -a option multiple times in the
same command.
For example:
#parmodify -p1 -a0:base:y:ri -a2:base:y:ri
adds twocells (cell ID 0 and cell ID 2) to nPartition number 1.
The -a option (-a cell:type:use:fail) specifies the following details
for each cell that you add to the nPartition.
cell The cell to be added to the nPartition. You can
specify the cell in global (cell) format or in hardware
location (cabinet/slot) format.
type The cell type: base is the only supported cell type
and it is the default.
use The cell’s use-on-next-boot value: y or n. Use y (the
default) if the cell is to be an active member of the
partition, or use n if the cell is to remain an inactive
member.
fail The cell’s failure usage: ri (reactivate with
interleave) is the only supported failure usage
policy and it is the default.
You can optionally specify the parmodify command’s -B option to require
that the modified partition be rebooted.

4. Partition status command.
4.1 Use the parstatus -AC command to list all unassigned (available) cells
in the server complex.
# parstatus -AC
4.2 Use the parstatus -V -p# command to list all details about your
newly created and configured partition.
# parstatus -V -p1

5. Getting Product Licensing Information
• Unique Machine (Complex) Identifier
#getconf _CS_MACHINE_IDENT
• Unique nPartition Identifier
#getconf _CS_PARTITION_IDENT
• Machine (Complex) Serial Number
#getconf _CS_MACHINE_SERIAL
#parstatus -X
• Server (Complex) Product Number
#parstatus -X
• Hardware (Complex) Model String
#model
• HP-UX Version and Installed Bundles
For the HP-UX version:
#uname -r

以上参考:
HP System Partitions Guide
Administration for nPartitions
Revised Third Edition
Revision 3.1

论坛徽章:
0
2 [报告]
发表于 2006-12-05 12:24 |只看该作者
呵呵~ nPar的操作 不错~
支持~

论坛徽章:
0
3 [报告]
发表于 2006-12-05 12:28 |只看该作者
哈!终于有人顶了!!我会继续努力地!!谢谢上面这位了

论坛徽章:
0
4 [报告]
发表于 2006-12-05 12:31 |只看该作者
呵呵~ 是金子就会闪光,期待LZ更多的好帖~

论坛徽章:
0
5 [报告]
发表于 2006-12-06 19:16 |只看该作者
支持下楼主!

http://docs.hp.com/zh_cn/5991-1250/index.html
这有nPar的官方文档!

论坛徽章:
0
6 [报告]
发表于 2011-12-19 09:51 |只看该作者
十分感谢.. !{:3_200:}
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP