I have not worked on HDS before, so I dont know if you can get unique LUN IDs. you can try the following:
1) compile a little utility that comes with HPUX called scsi_io
cc -o scsi_io /usr/contrib/src/scsi_io.c
2) run this utility against any one of your dsk devices
./scsi_io /dev/dsk/c#t#d#
output should look something like this:
The thing claims to be: \
HP OPEN-E*2 011804007E0C0384 1H
generally, the first column is the array brand name, second is the type/model of the lun and third is the firmware level+the LUN ID
you can collect the data of the third column for all the disks in each VG you have.
you can then write a script to run scsi_io on all the disks the system sees after you've done your reconnections.
you can then get the mapping of dsk device files to lun ids, and use the list of new device files to do the import.
ofcourse this can all be automated with a script but it will take time and work.
usually you can rely on a vgscan of vgimport -s to do the work.
The manual said the program requires Windows 95 or better, so I installed Linux !