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
pcata(7D)																 pcata(7D)

NAME
pcata - PCMCIA ATA card device driver SYNOPSIS
pcata@socket#:a -u pcata@socket#:a -u,raw The PCMCIA ATA card device driver supports PCMCIA ATA disk and flash cards that follow the following standards: o PC card 2.01 compliance (MBR+fdisk table required for all platforms). o PC card ATA 2.01 compliance. o PC card services 2.1 compliance. The driver supports standard PCMCIA ATA cards that contain a Card Information Structure (CIS). For PCMCIA, nodes are created in /devices that include the socket number as one component of the device name referred to by the node. However, the names in /dev, /dev/dsk, and /dev/rdsk follow the current conventions for ATA devices, which do not encode the socket number in any part of the name. For example, you may have the following: +------------------------+---------------------------+---------------------+ | Platform | | | +------------------------+---------------------------+---------------------+ |/devices name | | | +------------------------+---------------------------+---------------------+ +------------------------+-/dev/dsk-name-------------+---------------------+ |/devices/isa/pcic@1,3e0 | | | +------------------------+---------------------------+---------------------+ |/disk@0:a | | | +------------------------+---------------------------+---------------------+ +------------------------+-/devices/iommu@f,e0000000-/sbus@f,e0001000-/SUNW, pcmcia@3,0 /disk@0:a |SPARC | | /dev/dsk/c1d0s0 | | | | | | | | | +------------------------+---------------------------+---------------------+ PRECONFIGURATION
If a PC Card ATA device is recognized, the pcata driver is automatically loaded, IRQs allocated, devices nodes created, and special files created (if they do not already exist). Known Problems and Limitations o vold does not support pcata. File systems must be mounted manually. o You need to umount the file system before removing the disk. o The ufs file systems on removable media (PC Card ATA) should have one of the onerror={panic, lock, umount} mount options set. CONFIGURATION
Configuration topics include initial installation and configuration, identifying an unrecognized device, special files and hot-plugging. Initial Installation and Configuration 1. Install the Solaris software. 2. Boot the system. 3. Insert the PC card ATA device. Identifying an Unrecognized Device If you insert a PC card ATA device and it is not recognized (no special files created), use the prtconf command to identify the problem. 1. Run the prtconf -D command to see if your pcata card is recognized. (A recognized device will appear at the end of the prtconf output. For example: # prtconf -D . . . pcic, instance #0 (driver name: pcic) . . . disk, instance #0 2. If pcata does not appear in the prtconf output, there is a problem with the PC card adapter configuration or with the hardware. Check to see whether the problem is with the card or the adapter by trying to use the card on another machine and by seeing if it works on the same machine using DOS. Special Files For PC card devices, nodes are created in /devices that include the socket number as one component of a device name that the node refers to. However, the /prtc/dev names and the names in /dev/dsk and /dev/rdsk do follow the current convention for ATA devices, which do not encode the socket number in any part of the name. Hot-Plugging o If you want to remove the disk, you must unmount the file system. o Use the mkfs_pcfs(1M) command to create a pcfs file system: # mkfs -F pcfs /dev/rdsk/c#d#p0:d o To mount a pcfs file system, type: # mount -F pcfs /dev/dsk/c#d#p0:c /mnt o If you want to create a ufs file system, use the newfs command and type: # newfs /dev/rdsk/c#d#s# o To mount a ufs file system, type: # mount -F ufs /dev/dsk/c#d#s# /mnt o To create a Solaris partition, run the format command and go to the Partition menu. For more information, see the format(1M) man page. /kernel/drv/pcata pcata driver See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE | +-----------------------------+-----------------------------+ |VALUE | | +-----------------------------+-----------------------------+ |Availability |SUNWpsdpr | +-----------------------------+-----------------------------+ format(1M), mount(1M), newfs(1M), pcmcia(7D), attributes(5), pcfs(7FS) 20 Oct 2000 pcata(7D)
All times are GMT -4. The time now is 11:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy