Sponsored Content
Full Discussion: HP-UX server cloning
Operating Systems HP-UX HP-UX server cloning Post 302596622 by Shirishlnx on Wednesday 8th of February 2012 12:24:30 PM
Old 02-08-2012
Thanks methyl & Peasant ,

Apologies for confusion!!

Am new on HP-UX ..Smilie

methyl that is annotation (Java application)...sorry for typo .


-> We have a Hp-UX server with installed applications (application data resides on SAN (as vg01) ), Requirement is to clone the existing system and SAN data on local HDD, move the server to other location and run as standalone for few months .
-> The new system have same H/W specification .
-> Installed Applications configurations are distributed on both VG00 and VG01


## Have mirrored the disk as mentioned in my last post ..but am worried have missed some steps ...
Active disk: c0t2d0 and c1t2d0
New Disk : c2t0do

# pvcreate -B /dev/rdsk/c2t0d0
# vgextend -f /dev/vg00 /dev/dsk/c2t0d0
# mkboot /dev/rdsk/c2t0d0
# mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c2t0d0

## Mirror Process
# lvextend -m 2 /dev/vg00/lvol1 /dev/dsk/c2t0d0

## Write Script
# cat lvmirr.sh
for i in 2 3 4 5 6 7 8 9
do
lvextend -m 2 /dev/vg00/lvol${i} /dev/dsk/c2t0d0
--> Why -m 2 :> Because current mirror number is 1 i.e 2 disks are already active mode state
done

# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
/dev/dsk/c2t2d0 (0/0/2/0.2.0) -- Boot Disk
/dev/dsk/c2t0d0 (0/0/2/0.0.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
/dev/dsk/c2t0d0
Root: lvol3 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
/dev/dsk/c2t0d0
Swap: lvol2 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
/dev/dsk/c2t0d0
Dump: lvol2 on: /dev/dsk/c1t2d0, 0

## Then Have removed this disk from Server-A and instared on Server-B .. (Have to remove that disk from VG00 to get rid of error )

I missed to take-screen-shot of actual error .

That got automatically reboot after below prompt msg on boot

Processor is booting from first available device.
To discontinue, press any key within 10 seconds.

Boot
: disk(0/0/1/1.2.0.0.0.0.0;0)/stand/vmunix
10723328 + 1888256 + 4559768 start 0x1f90e8

alloc_pdc_pages: Relocating PDC from 0xffff800000 to 0x7fa00000.

--> restarted with rechecking status of io.memory and processor ..


==> With ignite backup restore as I understand I require to have tape drive but I don't have any tape drive stot available with my server it's old 2003 made model: 9000/800/L3000-7x


Also am worried that it will not take restoration of my application configuration .. Please let me know if that can also be possibale without tape drive .


Please help me if am wrong somewhere ...

---------- Post updated at 11:27 AM ---------- Previous update was at 12:17 AM ----------

IS there anyone who can suggest me best way to achieve to clone the HP-UX system with all installed application with LVM mirroring ...

--Shirish


---------- Post updated at 12:24 PM ---------- Previous update was at 11:27 AM ----------

Am stuck with this is any one help me out on this ...
Smilie
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Aix Cloning

Is there anyone out there who knows anything about aix cloning? I would be very grateful for any information at all. Thanking you in advance :) (4 Replies)
Discussion started by: annette
4 Replies

2. Filesystems, Disks and Memory

Unix Cloning

I'm looking for software that can clone Unix Partitions. (2 Replies)
Discussion started by: jimv2502893
2 Replies

3. SCO

Disk cloning

Hello everybody, :confused: I have to change the system disk on an old PC running SCO 5.0.5. The disk is up and running, this is a preventive action. My experience on UNIX is very limited and I look for the easyest solution to clone this unit. Is it possible with commands or through a clone... (2 Replies)
Discussion started by: mhachez
2 Replies

4. UNIX for Dummies Questions & Answers

HP10.20 Cloning

Good day all. So, here's the situation. I have (7x) B180L VISUALIZE WORKSTATION's with Transtec 5100 RAID (RAID 5, 9.1 GB HDD's) towers running of UNIX HP10.20. It's time to replace the RAID's with new ones, them being Fibrenetix FX606 5 bay SATA RAID, 5 bay SATA-SCSI desktop RAID including 80Gb... (1 Reply)
Discussion started by: Tony_dw
1 Replies

5. Red Hat

cloning a server

I wish to clone a RedHat EL5 server. What's the easiest way to do this? Thanks :) (4 Replies)
Discussion started by: wazzu62
4 Replies

6. Shell Programming and Scripting

Cloning

Hi, Is there disadvantages if we do AIX Serevr cloning to the new AIX server. Thanks in advance (0 Replies)
Discussion started by: kmsekhar
0 Replies

7. AIX

AIX Server Cloning

Hi, Is there disadvantages if we do AIX Serevr cloning to the new AIX server. Thanks in advance (2 Replies)
Discussion started by: kmsekhar
2 Replies

8. Ubuntu

dd cloning of whole disk

I am using 'dd' to clone an entire hard drive which only has Ubuntu 11.10 and some data with no special options. The disks are both 1Tb, However, I did re-partition the target disk with gparted successfully. The new partions are not the same size as the source disk. When starting 'dd' no partitions... (24 Replies)
Discussion started by: Royalist
24 Replies

9. Linux

Disk cloning ?

Dear All I needed to clone my disk to another hard drive . I did it as the following : #dd if=/dev/sdb of=/dev/sdc But after a while, the procedure ended with the "writing to /dev/sdc input/output error" message. Can you please let me know how can I overcome this as the fdisk now returns as "... (1 Reply)
Discussion started by: hadimotamedi
1 Replies
mkdevmaps(1M)						  System Administration Commands					     mkdevmaps(1M)

NAME
mkdevmaps - make device_maps entries SYNOPSIS
/usr/sbin/mkdevmaps DESCRIPTION
The mkdevmaps command writes to standard out a set of device_maps(4) entries describing the system's frame buffer, audio, and removable media devices. The mkdevmaps command is used by the init.d(4) scripts to create or update the /etc/security/device_maps file. Entries are generated based on the device special files found in /dev. For the different categories of devices, the mkdevmaps command checks for the following files under /dev: audio /dev/audio, /dev/audioctl, /dev/sound/... tape /dev/rst*, /dev/nrst*, /dev/rmt/... floppy /dev/diskette, /dev/fd*, /dev/rdiskette, /dev/rfd* removable disk /dev/dsk/c0t?d0s?, /dev/rdsk/c0t?d0s? frame buffer /dev/fb ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Obsolete | +-----------------------------+-----------------------------+ SEE ALSO
allocate(1), bsmconv(1M), attributes(5) NOTES
mkdevmaps might not be supported in a future release of the Solaris operating system. SunOS 5.10 8 Oct 2003 mkdevmaps(1M)
All times are GMT -4. The time now is 06:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy