Veritas blues

 
Arunvijai_4
Honored Contributor

Veritas blues

Hi All,

Whenever i issue veritas related commands, i get the following errors,

# vxprint -l
vxvm:vxprint: ERROR: IPC failure: Configuration daemon is not accessible

# vxconfigd -k
vxvm:vxconfigd: ERROR: enable failed: Error in disk group configuration copies
No valid disk found containing disk group; transactions are disabled.

Any helps would be really helpful.
OS : 11.11
# swlist |grep -i veritas
Base-VXVM B.03.50.5 Base VERITAS Volume Manager Bundle 3.5 for HP-UX

TIA,
Arun
"A ship in the harbor is safe, but that is not what ships are built for"
9 REPLIES 9
Adisuria Wangsadinata_1
Honored Contributor

Re: Veritas blues

Hi Arun,

Check the thread below :

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=871309

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=648467

You need to check this document also (VERITAS Volume Managerâ ¢ 3.5 Administratorâ s Guide HP-UX) :

http://www.docs.hp.com/en/5187-1369/index.html

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Arunvijai_4
Honored Contributor

Re: Veritas blues

I checked with the forums you have provided. Its not useful though,

# vxconfigd -k
vxvm:vxconfigd: ERROR: enable failed: Error in disk group configuration copies
No valid disk found containing disk group; transactions are disabled.

# vxdctl mode
mode: disabled

# vxdctl enable
vxvm:vxconfigd: ERROR: enable failed: Error in disk group configuration copies
No valid disk found containing disk group; transactions are disabled.
vxvm:vxdctl: ERROR: enable failed: Error in disk group configuration copies

-Arun

"A ship in the harbor is safe, but that is not what ships are built for"
Robert-Jan Goossens
Honored Contributor

Re: Veritas blues

Arun,

Check this doc.

Title: vxconfigd fails with errors on disk group configuration copies
Document ID: UBOOTKBRC00014840
Last Modified Date: 8/4/05

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000079994161

Regards,
Robert-Jan
Arunvijai_4
Honored Contributor

Re: Veritas blues

Hi Robert,

Thanks for the doc, I have done what is it given in the doc and getting the following error.

# ls /var/vxvm
/var/vxvm not found
# /sbin/mkdir /var/vxvm
# /sbin/chmod 755 /var/vxvm
# vxconfigd -x cleartempdir

vxvm:vxconfigd: ERROR: cannot open /dev/vx/config: Device is already open

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Robert-Jan Goossens
Honored Contributor

Re: Veritas blues

Arun,

is this a fresh veritas install, are you configuring a veritas rootdg ?

Robert-Jan

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080048252

Adisuria Wangsadinata_1
Honored Contributor

Re: Veritas blues

Hi,

If this is the first installation, you need to configure it first. Check the url that I refer to you on previous.

Cheers,
AW
now working, next not working ... that's unix
Arunvijai_4
Honored Contributor

Re: Veritas blues

It's not a fresh install though. But rootdg is not with Veritas.

# cat /etc/vx/reconfig.d/state.d/install-db

# vxinstall

VxVM uses license keys to control access. If you have not yet installed
a VxVM license key on your system, you will need to do so if you want
to use the full functionality of the product.

Licensing information:
System host ID: 383457852
Host type: 9000/800/rp3410

Are you prepared to enter a license key [y,n,q,?] (default: n) n

Volume Manager Installation
Menu: VolumeManager/Install

VxVM will use the following format to name disks on the host:

_

In the above format, is the logical name of the enclosure
to which the disk belongs. VxVM assigns default enclosure names which can
be changed according to the user requirements.

Some examples would be:

hitachi0_2 - second disk detected in enclosure 'hitachi0'
enggdept_2 - second disk detected in enclosure 'enggdept'
dgc1_1 - first disk detected in enclosure 'dgc1'
jbod_1 - first disk detected in the jbod category

For non-public loop disks (Ex. FC disks directly connected to the host
or through hubs), you could choose to use the c#t#d#s# naming format.

Do you want to use enclosure based names for all disks ?
[y,n,q,?] (default: n)
Populating VxVM DMP device directories ....

Generating list of attached disk arrays ....

Volume Manager Installation
Menu: VolumeManager/Install/VolumeManager/Install

The Volume Manager has detected the following categories of storage
connected to your system:

Enclosures: EMC0 OTHER_DISKS

Hit RETURN to continue.

Volume Manager Installation
Menu: VolumeManager/Install/VolumeManager/Install

You will now be asked if you wish to use Quick Installation or
Custom Installation. Custom Installation allows you to select how
the Volume Manager will handle the installation of each disk
attached to your system.

Quick Installation examines each disk attached to your system and
attempts to create volumes for all non-LVM and non-root disks.

If you want to exclude any devices from being seen by VxVM or not
be multipathed by vxdmp then use the Prevent multipathing/Suppress
devices from VxVM's view option, before you choose Custom Installation
or Quick Installation.

If you do not wish to use some disks with the Volume Manager, or if
you wish to reinitialize some disks, use the Custom Installation
option Otherwise, we suggest that you use the Quick Installation
option.

Hit RETURN to continue.

Volume Manager Installation Options
Menu: VolumeManager/Install/VolumeManager/Install

1 Quick Installation
2 Custom Installation
3 Prevent multipathing/Suppress devices from VxVM's view

? Display help about menu
?? Display help about the menuing system
q Exit from menus

Select an operation to perform: 1

Volume Manager Quick Installation
Menu: VolumeManager/Install/VolumeManager/Install/QuickInstall

Volume Manager Quick Installation
Menu: VolumeManager/Install/VolumeManager/Install/QuickInstall/EMC0
Generating list of disks in disk array EMC0....


-
The Volume Manager has detected the following disks on disk array EMC0:

c9t0d0

Hit RETURN to continue.

Volume Manager Quick Installation For Disk Array EMC0
Menu: VolumeManager/Install/VolumeManager/Install/QuickInstall/EMC0

Initialize all non-LVM/non-root disks on this disk array ? (destroys data on these disks)
[y,n,q,?] (default: n) y

Are you sure ? (destroys data on these disks)
[y,n,q,?] (default: n) y

Volume Manager will now initialize all the disks on this disk array
Hit RETURN to continue.

Volume Manager Quick Installation
Menu: VolumeManager/Install/VolumeManager/Install/QuickInstall/EMC0/Init

Use default disk names for these disks? [y,n,q,?] (default: y)

The c9t0d0 disk will be given disk name disk01

Hit RETURN to continue.

Volume Manager Quick Installation
Menu: VolumeManager/Install/VolumeManager/Install/QuickInstall/EMC0/OTHER_DISKS
Generating list of disks in disk array OTHER_DISKS....




No disks were found in disk array OTHER_DISKS !
Hit RETURN to continue.

Volume Manager Quick Installation
Menu: VolumeManager/Install/VolumeManager/Install/QuickInstall/EMC0/OTHER_DISKS

The following is a summary of your choices.

c9t0d0 disk01


Is this correct [y,n,q,?] (default: y)

The Volume Manager is now reconfiguring (partition phase)...

Volume Manager: Initializing c9t0d0 as a new disk.

The Volume Manager is now reconfiguring (initialization phase)...

Volume Manager: Adding disk01 (c9t0d0) as a new disk.

======================
It's hangs here. I wanted add c2t0d0 and c2t1d0 disks. But its getting excluded.




"A ship in the harbor is safe, but that is not what ships are built for"
Robert-Jan Goossens
Honored Contributor

Re: Veritas blues

Arun,

I don't think it is possible what you are doing. Maybe i'm wrong and the 3.5 version has an option for converting lvm root disks into a rootdg.

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080090367

http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080090331

Regards,
Robert-Jan
Arunvijai_4
Honored Contributor

Re: Veritas blues

Hi Robert,

Thanks again, I am trying to add a spare disk (unused) c2t1d0 to VxVM. I have some trobule with Symmetrix disk c9t0d0. for adding c2t1d0, I tried # vxvmconvert and it hangs again. Not sure what the problem is...

-Arun

"A ship in the harbor is safe, but that is not what ships are built for"