- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to mirror between two SAN disk in HP-UX 1...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2019 08:41 PM
11-04-2019 08:41 PM
How to mirror between two SAN disk in HP-UX 11.31
As per customer requirement , we need to mirror from existing SAN disk to new SAN disk.
We have presented one LUN from HPE MSA 2040, size 325GB and then installed OS here. Now OS is functioning. DBA team also installed their required tools here. For mirror purpose , we have present another LUN from seperate MSA 2040 with same size. Customer wants to check OS is functining by mirror disk.
Mention that this is HPE SD-2 system and OS version is 11.31
So I need sugession from expert end to do the task with details procedure CLi and also SMH GUI.
Waiting for response as soon as possible.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2019 06:09 AM
11-05-2019 06:09 AM
Re: How to mirror between two SAN disk in HP-UX 11.31
This is a good guide to mirror VG00 on an Itanium system.
https://kerneltalks.com/howto/root-disk-mirroring-in-itanium-hpux/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2019 01:50 AM
11-26-2019 01:50 AM
Re: How to mirror between two SAN disk in HP-UX 11.31
Hi Patrick;
Thanks for your quick response with recommendations. I will follow it and will share the output soon here.
Mention that here there is no server physical HDD. Both disk is presented from two different MSA storage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2019 04:17 AM
12-08-2019 04:17 AM
Re: How to mirror between two SAN disk in HP-UX 11.31
I have execute the required command for mirror between two SAN disk (MSA storage)
Please check the bellow command output after created mirror. Here disk-4 is original and disk-14 is mirror disk.
bash-4.3# ioscan -m dsf
Persistent DSF Legacy DSF(s)
========================================
/dev/rdisk/disk4 /dev/rdsk/c6t0d0
/dev/rdsk/c4t0d0
/dev/rdisk/disk4_p1 /dev/rdsk/c6t0d0s1
/dev/rdsk/c4t0d0s1
/dev/rdisk/disk4_p2 /dev/rdsk/c6t0d0s2
/dev/rdsk/c4t0d0s2
/dev/rdisk/disk4_p3 /dev/rdsk/c6t0d0s3
/dev/rdsk/c4t0d0s3
/dev/rdisk/disk11 /dev/rdsk/c4t0d1
/dev/rdsk/c6t0d1
/dev/rdisk/disk14 /dev/rdsk/c5t0d0
/dev/rdsk/c7t0d0
/dev/rdisk/disk14_p1 /dev/rdsk/c7t0d0s1
/dev/rdisk/disk14_p2 /dev/rdsk/c7t0d0s2
/dev/rdisk/disk14_p3 /dev/rdsk/c7t0d0s3
bash-4.3# dmesg | grep -i "Boot device"
Boot device's HP-UX HW path is: 35/0/2/2/0/0/1.0x227000c0ff2585a5.0x0
bash-4.3# setboot
Primary bootpath : 35/0/2/2/0/0/1.0x227000c0ff2585a5.0x0 (/dev/rdisk/disk4)
HA Alternate bootpath : 33/0/1/0/0/0/0/2/0/0/1 (LAN Interface)
Alternate bootpath : 35/0/2/2/0/0/1.0x227000c0ff257a8a.0x0 (/dev/rdisk/disk14)
Autoboot is ON (enabled)
Hyperthreading : ON
: ON (next boot)
bash-4.3# cat /stand/bootconf
l /dev/disk/disk4_p2
l /dev/disk/disk14_p2
bash-4.3# vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 2976
VGDA 4
PE Size (Mbytes) 64
Total PE 5932
Alloc PE 4864
Free PE 1068
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 2976g
VG Max Extents 47616
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 10240
Current LE 160
Allocated PE 320
Used PV 2
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 32768
Current LE 512
Allocated PE 1024
Used PV 2
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 20480
Current LE 320
Allocated PE 640
Used PV 2
LV Name /dev/vg00/lvol4
LV Status available/syncd
LV Size (Mbytes) 20480
Current LE 320
Allocated PE 640
Used PV 2
LV Name /dev/vg00/lvol5
LV Status available/syncd
LV Size (Mbytes) 30720
Current LE 480
Allocated PE 960
Used PV 2
LV Name /dev/vg00/lvol6
LV Status available/syncd
LV Size (Mbytes) 10240
Current LE 160
Allocated PE 320
Used PV 2
LV Name /dev/vg00/lvol7
LV Status available/syncd
LV Size (Mbytes) 10240
Current LE 160
Allocated PE 320
Used PV 2
LV Name /dev/vg00/lvol8
LV Status available/stale
LV Size (Mbytes) 20480
Current LE 320
Allocated PE 640
Used PV 2
--- Physical volumes ---
PV Name /dev/disk/disk4_p2
PV Status available
Total PE 2966
Free PE 534
Autoswitch On
Proactive Polling On
PV Name /dev/disk/disk14_p2
PV Status available
Total PE 2966
Free PE 534
Autoswitch On
Proactive Polling On
bash-4.3# vgcfgrestore -n vg00 -l
Volume Group Configuration information in "/etc/lvmconf/vg00.conf"
VG Name /dev/vg00
---- Physical volumes : 2 ----
/dev/rdisk/disk4_p2 (Bootable)
/dev/rdisk/disk14_p2 (Bootable)
bash-4.3# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk4_p2 -- Boot Disk
/dev/disk/disk14_p2 -- Boot Disk
Boot: lvol1 on: /dev/disk/disk4_p2
/dev/disk/disk14_p2
Root: lvol3 on: /dev/disk/disk4_p2
/dev/disk/disk14_p2
Swap: lvol2 on: /dev/disk/disk4_p2
/dev/disk/disk14_p2
Dump: lvol2 on: /dev/disk/disk4_p2, 0
lvlnboot: Couldn't query physical volume "/dev/dsk/c0t0d1":
The specified path does not correspond to physical volume attached to
this volume group
bash-4.3#
Chekinfg steps after mirror :
1. Unpresent SAN disk (original OS disk) from one MSA and then reboot. Select alternate disk from boot manager during boot . Successfully OS is boot .
2. Finally again present SAN disk (original OS disk) from MSA and still 2nd disk from another MSA is presented.
Reboot the OS and then OS is booted from original OS automatically.
Issue face:
-->After unpresent original OS, when rebooting , it failed during autoboot from primary disk and also from alternate disk.
it works only when I select alternate path during booting from boot manager.
Please share opnion from HP-UX expert end how to solve the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2019 12:44 PM
12-08-2019 12:44 PM
Re: How to mirror between two SAN disk in HP-UX 11.31
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2019 07:42 PM
12-08-2019 07:42 PM
Re: How to mirror between two SAN disk in HP-UX 11.31
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2019 01:14 AM
12-10-2019 01:14 AM
Re: How to mirror between two SAN disk in HP-UX 11.31
Have anyone solution for my previous queries ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2019 08:49 AM - edited 12-10-2019 09:03 AM
12-10-2019 08:49 AM - edited 12-10-2019 09:03 AM
Re: How to mirror between two SAN disk in HP-UX 11.31
Your HA alternate path points to LAN, better point to the mirror disk.
setboot -h /dev/rdisk/disk14
Regarding quorum mode:
echo "boot vmunix -lq" > /tmp/AUTOfile
efi_cp -d /dev/rdisk/disk4_p1 /tmp/AUTOfile /EFI/HPUX/AUTO
efi_cp -d /dev/rdisk/disk14_p1 /tmp/AUTOfile /EFI/HPUX/AUTO
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2019 12:28 AM
12-11-2019 12:28 AM
Re: How to mirror between two SAN disk in HP-UX 11.31
Hi Torsten,
Thanks for your quick response.
Please check the bellow output.
Booting HP-UX Primary Boot: 35/0/2/2/0/0/1.0x227000c0ff2585a5.0x0
Boot Failed. HP-UX Primary Boot: 35/0/2/2/0/0/1.0x227000c0ff2585a5.0x0
Booting HP-UX HA Alternate Boot: 35/0/2/2/0/0/1.0x227000c0ff257a8a.0x0
Boot Failed. HP-UX HA Alternate Boot: 35/0/2/2/0/0/1.0x227000c0ff257a8a.0x0
Booting HP-UX Alternate Boot: 35/0/2/2/0/0/1.0x227000c0ff257a8a.0x0
Boot Failed. HP-UX Alternate Boot: 35/0/2/2/0/0/1.0x227000c0ff257a8a.0x0
Booting LAN [MAC(D8D385F8A152,0x0)/IPv4(0.0.0.0)]
Performing a non-directed lanboot...
Boot Failed. LAN [MAC(D8D385F8A152,0x0)/IPv4(0.0.0.0)]
Searching for devices.
Copyright (c) 2000-2012 Broadcom Corporation
Broadcom NetXtreme II 10 Gig Ethernet EFI driver v5.2.60
bash-4.3# setboot
Primary bootpath : 35/0/2/2/0/0/1.0x227000c0ff2585a5.0x0 (/dev/rdisk/disk4)
HA Alternate bootpath : 35/0/2/2/0/0/1.0x227000c0ff257a8a.0x0 (/dev/rdisk/disk14)
Alternate bootpath : 35/0/2/2/0/0/1.0x227000c0ff257a8a.0x0 (/dev/rdisk/disk14)
Autoboot is ON (enabled)
Hyperthreading : ON
: ON (next boot)
bash-4.3# echo "boot vmunix -lq" > /tmp/AUTOFILE
bash-4.3# efi_cp -d /dev/rdisk/disk4_p1 /tmp/AUTOFILE /EFI/HPUX/AUTO
bash-4.3# efi_cp -d /dev/rdisk/disk14_p1 /tmp/AUTOFILE /EFI/HPUX/AUTO
HP-UX Boot Loader for IPF -- Revision 2.047
Press Any Key to interrupt Autoboot
\EFI\HPUX\AUTO ==> boot vmunix-lq
Seconds left till autoboot - 0
AUTOBOOTING...Could not open file vmunix-lq to check for a directory
Could not open vmunix-lq
loading failed
HPUX>
Steps done:
1.set the second disk as HA boot path as per your recommendation but same result (OS booting failed.)
2. run command provided from you. (at this time both disk is presented)
bash-4.3# echo "boot vmunix -lq" > /tmp/AUTOFILE
bash-4.3# efi_cp -d /dev/rdisk/disk4_p1 /tmp/AUTOFILE /EFI/HPUX/AUTO
bash-4.3# efi_cp -d /dev/rdisk/disk14_p1 /tmp/AUTOFILE /EFI/HPUX/AUTO
3. Reboot OS but OS booting is failed from primary disk and also from alternate disk. (Both disk is present)
Error shown for both disk as above.
Please suggest how to overcome this. We need to boot oS from primary disk again. Then we will check again for mirror.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2019 12:41 AM
12-11-2019 12:41 AM
Re: How to mirror between two SAN disk in HP-UX 11.31
@ranin_das wrote:
Press Any Key to interrupt Autoboot
\EFI\HPUX\AUTO ==> boot vmunix-lq
Seconds left till autoboot - 0
AUTOBOOTING...Could not open file vmunix-lq to check for a directory
Could not open vmunix-lqloading failed
There is a space missing:
boot vmunix-lq
boot vmunix <SPACE> -lq
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!