Visit Our UNIX and Linux User Community


scconf crash: registering a Veritas local disk on Sun Cluster (localonly=true)


 
Thread Tools Search this Thread
Operating Systems Solaris scconf crash: registering a Veritas local disk on Sun Cluster (localonly=true)
# 1  
Old 08-26-2009
Network scconf crash: registering a Veritas local disk on Sun Cluster (localonly=true)

Hi all,
I want to put a local disk on a Sun Cluster node but scconf command explodes Smilie

My system:

* two node cluster on two VMWare virtual machines
* Solaris 10 SunOS 5.10 Generic_141415-05 i86pc i386 i86pc
* Sun Cluster 3.2 u2
* Veritas Volume manager

The situation is:
Code:
# vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
c1t0d0s2     auto:none       -            -            online invalid
c1t1d0s2     auto:none       -            -            online invalid
c2t0d0s2     auto:cdsdisk    DGLOCAL01    DGLOCAL      online
c2t1d0s2     auto:cdsdisk    DGCLUSTER01  DGCLUSTER    online
...cut...

# vxdisk -g DGLOCAL check DGLOCAL01
c2t0d0s2: Okay

# didadm -l
8        clab1:/dev/rdsk/c2t0d0         /dev/did/rdsk/d8    
...cut...

# cldev status
Device Instance               Node              Status
---------------               ----              ------
/dev/did/rdsk/d8              clab1             Ok
...cut...

# fstyp /dev/vx/rdsk/DGLOCAL/DGLOCAL_VOL1
ufs

Test mount ok.
Is not an hard disk problem.
When I try:
Code:
# scconf -a -D type=vxvm,name=DGLOCAL,localonly=true
Segmentation Fault (core dumped)
 
truss output:
...cut...
xstat(2, "/opt/VRTSvxvm/lib/libvxvmsc.so", 0x080462C0) = 0
resolvepath("/opt/VRTSvxvm/lib/libvxvmsc.so", "/opt/VRTSvxvm/lib/libvxvmsc.so", 1023) = 30
open("/opt/VRTSvxvm/lib/libvxvmsc.so", O_RDONLY) = 5
mmap(0x00010000, 32768, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ALIGN, 5, 0) = 0xCE220000
mmap(0x00010000, 200704, PROT_NONE, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON|MAP_ALIGN, -1, 0) = 0xCDC30000
mmap(0xCDC30000, 125325, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_TEXT, 5, 0) = 0xCDC30000
mmap(0xCDC5E000, 10982, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_INITDATA, 5, 122880) = 0xCDC5E000
munmap(0xCDC4F000, 61440)                       = 0
memcntl(0xCDC30000, 15708, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0
close(5)                                        = 0
munmap(0xCE220000, 32768)                       = 0
    Incurred fault #6, FLTBOUNDS  %pc = 0xCDC91FA9
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
    Received signal #11, SIGSEGV [default]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000

core output:
core 'core' of 6256:    scconf -a -D type=vxvm,name=DGLOCAL,localonly=true
 cdc91fa9 scds_add_ds_local (809bae7, 0, 2, 0, 2, 0) + 451
 cdc92711 scds_add_ds (809bae7, 0, 0, 0, 2, 0) + 135
 ceb93619 scconf_add_ds_vers2 (809badd, 809bae7, 0, 0, 0, 2) + 79
 0805ca3b ???????? (8047e3d, 8047d40, 0)
 08053235 ???????? (4, 8047d7c, 8047d40, 0)
 08052853 main     (4, 8047d7c, 8047d90) + 363
 0805245a ???????? (4, 8047e30, 8047e37, 8047e3a, 8047e3d, 0)

/var/adm/messages silent

I have also tried to change the Veritas disk naming scheme from enclosure based OFF to ON (although this is not a problem with WWN names).

PS: shared disk (DGCLUSTER) work fine
Code:
# cldg status

=== Cluster Device Groups ===

--- Device Group Status ---

Device Group Name     Primary     Secondary     Status
-----------------     -------     ---------     ------
DGCLUSTER             clab1       clab2         Online

Any ideas?
# 2  
Old 08-26-2009
it seems that is a bug mmm
If you try the registration with clsetup?
Is Vxvm 5.* ?
# 3  
Old 08-26-2009
Quote:
Originally Posted by Alessio Dini
it seems that is a bug mmm
If you try the registration with clsetup?
Is Vxvm 5.* ?
Hi Alessio,
thanks for reply.

VxVM 5.0: I've tried with:
Code:
 # cldg create -t vxvm -p localonly=true -n clab1 DGLOCAL

(the same command used by clsetup) this not explodes but fails ...without error output

/var/adm/messages
Code:
Aug 26 14:47:47 clab1 Cluster.CCR: [ID 801593 daemon.notice] stdout: 
Aug 26 14:47:47 clab1 Cluster.CCR: [ID 801593 daemon.notice] stderr:

I try to investigate better with truss and watching the CCR ...to be continued

Previous Thread | Next Thread
Test Your Knowledge in Computers #761
Difficulty: Medium
Every core of a multi-core CPU has a dedicated L1 cache and that cache is usually shared between the cores
True or False?

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to extend a disk in veritas volume manager in veritas cluster?

Hi Experts, I wanted to extend a veritas file system which is running on veritas cluster and mounted on node2 system. #hastatus -sum -- System State Frozen A node1 running 0 A node2 running 0 -- Group State -- Group System Probed ... (1 Reply)
Discussion started by: Skmanojkum
1 Replies

2. Solaris

Sun cluster 4.0 - zone cluster failover doubt

Hello experts - I am planning to install a Sun cluster 4.0 zone cluster fail-over. few basic doubts. (1) Where should i install the cluster s/w binaries ?. ( global zone or the container zone where i am planning to install the zone fail-over) (2) Or should i perform the installation on... (0 Replies)
Discussion started by: NVA
0 Replies

3. Solaris

Veritas disk group not the same on each cluster node.

Need help getting all disk devices back on node 2 the same as node 1. Recently Veritas and/or Sun cluster got wrecked on my 2 node Sun cluster after installing the latest patch cluster. I backed out the patches and then node 2 could see only half of the devices and Veritas drives (though format... (0 Replies)
Discussion started by: buggin
0 Replies

4. Solaris

Sun cluster and Veritas cluster question.

Yesterday my customer told me to expect a vcs upgrade to happen in the future. He also plans to stop using HDS and move to EMC. Am thinking how to migrate to sun cluster setup instead. My plan as follows leave the existing vcs intact as a fallback plan. Then install and build suncluster on... (5 Replies)
Discussion started by: sparcguy
5 Replies

5. Solaris

Veritas Cluster

How to create your cluster members routes and manual nat, and proxy. (2 Replies)
Discussion started by: padmaja@tech
2 Replies

6. Solaris

True or false ? - Sun cluster 3.2 U3 questions...

I'm using clustered zones on my machine. i'm only at the test phase of my design and ultimately the oracle zones will be using VxVM. When the testing phase is complete, VxVM will be used in the containers. It is necessary for VxVM to run in the global zone for the containers to use it (is... (5 Replies)
Discussion started by: frustin
5 Replies

7. Solaris

Veritas Cluster

Can I make a veritas cluster on Sun vertual box or Vmwere. Please help me. (4 Replies)
Discussion started by: saga499
4 Replies

8. High Performance Computing

SUN Cluster Vs Veritas Cluster

Dear All, Can anyone explain about Pros and Cons of SUN and Veritas Cluster ? Any comparison chart is highly appreciated. Regards, RAA (4 Replies)
Discussion started by: RAA
4 Replies

9. Solaris

veritas cluster

Hi I want to install VCS 5 on solaris 10 the product states it needs 3 nic cards. how to install it if I have 2 cards only (this is just for demo)? thank you for your help. (3 Replies)
Discussion started by: melanie_pfefer
3 Replies

Featured Tech Videos