Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1692821
  • 博文数量: 293
  • 博客积分: 10127
  • 博客等级: 上将
  • 技术积分: 3029
  • 用 户 组: 普通用户
  • 注册时间: 2010-08-12 19:05
文章分类

全部博文(293)

文章存档

2011年(11)

2010年(282)

我的朋友

分类:

2010-10-06 21:46:16

网上看到的一个朋友写的不错收藏着.
环境:两台P630:P630_1,P630_2
磁盘陈列:7133-D40
共享卷组:oravg
1、 在两台计算机上设置IP地址
(1) 在p630_1机上:
A. 配置第一块boot网卡
->#smitty
->Communications Applications and Services
->TCP/IP
->Minimum Configuration & Startup
select en2
* HOSTNAME [p630_1]
* Internet ADDRESS (dotted decimal) [10.10.9.1]
Network MASK (dotted decimal) [255.255.255.0]
* Network INTERFACE en1
NAMESERVER
Internet ADDRESS (dotted decimal) []
DOMAIN Name []
Default GATEWAY Address []
B. 配置第二块boot网卡
->#smitty
->Communications Applications and Services
->TCP/IP
->Minimum Configuration & Startup
select en1
* HOSTNAME [p630_1]
* Internet ADDRESS (dotted decimal) [10.10.10.1]
Network MASK (dotted decimal) [255.255.255.0]
* Network INTERFACE en3
NAMESERVER
Internet ADDRESS (dotted decimal) []
DOMAIN Name []
Default GATEWAY Address []
(2) 在p630_2机上:
A. 配置第一块boot网卡
->#smitty
->Communications Applications and Services
->TCP/IP
->Minimum Configuration & Startup
select en2
* HOSTNAME [p630_2]
* Internet ADDRESS (dotted decimal) [10.10.9.2]
Network MASK (dotted decimal) [255.255.255.0]
* Network INTERFACE en1
NAMESERVER
Internet ADDRESS (dotted decimal) []
DOMAIN Name []
Default GATEWAY Address []

B. 配置第二块boot网卡
->#smitty
->Communications Applications and Services
->TCP/IP
->Minimum Configuration & Startup
select en1
* HOSTNAME [p630_2]
* Internet ADDRESS (dotted decimal) [10.10.10.2]
Network MASK (dotted decimal) [255.255.255.0]
* Network INTERFACE en3
NAMESERVER
Internet ADDRESS (dotted decimal) []
DOMAIN Name []
Default GATEWAY Address []
2、 修改/etc/hosts文件,内容如下:
127.0.0.1 loopback localhost p630_1
10.10.9.1 boot_11 p630_1
10.10.10.1 boot_12 p630_1
192.168.1.1 service1
10.10.9.2 boot_21 p630_2
10.10.10.2 boot_22 p630_2
192.168.1.2 service2
3、 在p630_1上建立共享卷组
建立oravg共享卷组
->#smitty
->System Storage Management (Phisical & Logical Storage)
->Logical Volume Manager
->Volume Groups
->Add a Volume Group
VOLUME GROUP name [oravg]
Physical partition SIZE in megabytes [128]
* PHYSICAL VOLUME names [hdisk2]
Activate volume group AUTOMATICALLY [no]
at system restart?
Volume Group MAJOR NUMBER []
Create VG concurrent Capable? [yes]
Auto-varyon in Concurrent Mode? [no]
4、 在p630_2上import共享卷组
(1) import oravg共享卷组
->#smitty
->System Storage Management (Phisical & Logical Storage)
->Logical Volume Manager
->Volume Groups
->Import a Volume Group
VOLUME GROUP name [oravg]
* PHYSICAL VOLUME name [hdisk2]
Volume Group MAJOR NUMBER []
Make this VG Concurrent Capable no
Make default varyon of VG Concurrent? no
(2) 修改oravg共享卷组属性
->#smitty
->System Storage Management (Phisical & Logical Storage)
->Logical Volume Manager
->Volume Groups
->Set Characteristics of a Volume Group
->Change a Volume Group
select * VOLUME GROUP name [oravg]
VOLUME GROUP name [oravg]
* ACTIVATE volume group AUTOMATICALLY [no]
at system restart?
* A QUORUM of disks required to keep the volume [yes]
group on-line?
Convert this VG to Concurrent Capable? [no]
* Autovaryon VG in Concurrent Mode? [no]
5、 在p630_1 和p630_2上配置非TCP/IP网络
->#smitty
->Devices
->TTY
->Add a TTY
select tty rs232 Asynchronous Terminal
TTY type [tty]
TTY interface [rs232]
Description [Terminal asynchrone]
Parent adapter [sa3]
* PORT number [0]
BAUD rate [9600]
PARITY [none]
BITS per characte [8]
Number of STOP BITS [1]
TERMINAL type [dumb]
STATE to be configured at boot time [available]
...
...
Enable LOGIN [disable]
阅读(522) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~