Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1047216
  • 博文数量: 74
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 2950
  • 用 户 组: 普通用户
  • 注册时间: 2007-05-15 00:17
文章分类

全部博文(74)

文章存档

2009年(1)

2008年(73)

我的朋友

分类: 服务器与存储

2008-03-06 20:35:15

上周帮某客户实施完了一个同城容灾项目,数据在两个磁盘阵列上实现同步.
 
后客户要求需要挂载备机盘来实现oracle的备份.
 
下面就是给他们的方案,记录一下
 
 
In the following example, the system has a domain, testing_domain,
on two disks on the old machine called dsk3 and dsk4. This domain
contains two filesets: sample1 and sample2. These filesets are mounted
on /sample1 and /sample2. Assume you know that the domain that you
are moving had partitions dsk3c, dsk4a, dsk4b, and dsk4g. Take the
following steps to move the disks:
1. Shut down the working machine to which you are moving the disks.
2. Connect the disks from the bad machine to the good one.
3. Reboot. You do not need to reboot in single-user mode.
4. Determine the device nodes created for the new disks.
# /sbin/hwmgr -show scsi -full
Check the Device Name column to find the names for the disks that you
just added. These have the highest disk numbers.
5. Assume the new disk IDs in this example are disk 7 and disk 8.
Modify your /etc/fdmns directory to include symbolic links from the
transferred domains.
# mkdir -p /etc/fdmns/testing_domain
# cd /etc/fdmns/testing_domain
# ln -s /dev/disk/dsk7c .
# ln -s /dev/disk/dsk8a .
# ln -s /dev/disk/dsk8b .
# ln -s /dev/disk/dsk8g .
# mkdir /sample1
# mkdir /sample2
6. Edit the /etc/fstab file to add the fileset mount-point information
for the transferred filesets.
testing_domain#sample1 /sample1 advfs rw 1 0
testing_domain#sample2 /sample2 advfs rw 1 0
7. Mount the volumes.
# mount /sample1
# mount /sample2
阅读(1554) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~