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

unix

    Next

  • 1. Find memory allocation by each library
    Hi, I wanted to find out memory allocations done by each shared library. The libraries are written in C++. One way I can think of is overload new/delete operator and pass the library name each time you cal new and a centrally overloaded new/ delete does the accounting for you. Since, there are many new and delete its tough to change each of them. Is there any other way we can do the memory accounting at shared library level. Thanks in advance.
  • 2. How to find name of global zone from non-global container?
    I want to have a fancy prompt informing people logging in that they are in a container. How do I find the name of the global zone while in non-global? >From global zone I can easily see them all: [ZONE:global:copprd01:/]$ zoneadm list -v ID NAME STATUS PATH 0 global running / 16 copprcp01 running /export/home/zones/copprcp01 17 copfdrp01 running /export/home/zones/copfdrp01 [ZONE:global:copprd01:/]$ zonename global >From the containers I cannot. # zoneadm list -v ID NAME STATUS PATH 16 copprcp01 running / # zonename copprcp01 I suppose I could just use zonename and test if I'm on global or not, but that still doesn't tell me the name of the global zone. I want one .profile I can push to all the hosts, not have to tweak each one. Any ideas?
  • 3. Opensolaris patch question...
    Hi, What Opensolaris version should I run at home? Solaris Express, Community Edition or Developer Edition? Since it will be my firewall/nat, I need to be able to apply latest security patches, is this possible with Opensolaris? I haven't seen any patch tools or strategies mentioned when it comes to Opensolaris.. Regards, Daniel

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

Postby gxmsgx » Thu, 27 Aug 2009 18:27:17 GMT

i all,
I want to put a local disk (DGLOCAL) on a Sun Cluster node but scconf
command explodes

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:
----------------------------------------------------
# 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:

# 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

# cldg status

=== Cluster Device Groups ===

--- Device Group Status ---

Device Group Name Primary Secondary Status
----------------- ------- --------- ------
DGCLUSTER clab1 c

Similar Threads:

1.Sun Cluster + QFS or Sun Cluster + Veritas

Right now I've got some 3.5 Veritas Clusters running Oracle8
that are due for an upgrade.

I'm playing around with the idea of getting rid of all of
our Veritas software and replacing it with Sun software
(since cluster is now free).

So it would be:

Solaris 10 (01/06 HW release, latest patches)
Sun Volume Manager
MPXIO
QFS
Sun Cluster 3.1

I've used Veritas for so long now & am weary of mixing it in
with Sun Cluster.  Ideally - I'd like to just go with one vendor
for my clustering.

Is MPXIO comparable to DMP?  Are people actually running Sun volume 
manager under production Oracle DB's?  I've used SVM for mirroring
boot drives on web servers and app servers but never in the database
tier.

I've read that QFS can do the volume management all on it's own -
is that what people are typically using with Sun Clusters?

I'm reading the FAQs and white papers right now but would love to
hear from some people with real world experience with the stuff.

-Sanjay

2.Clustering Sun: Sun cluster or Veritas?

Any of you have experience with Sun Cluster software and/or Veritas
Cluster?

I have worked with IBMS HACMP but none of the other solutions.  Even
that was fairly simple active/passive clusters, nothing too fancy.

Any pros/cons to running either Suns cluster software or Veritas' on
Sun systems? Probably either V880s or V1280s.  I have been looking at
the docs. on Suns site about Sun Cluster 3.1 but of course that is
just technical info, always best to hear from others with real
experience too :)

TIA.

3.Best Practices "Migrating Veritas VCS Cluster to SUN Cluster"

Salut

Do you have any Best Practicies or Blueprints Paper?

Thanks for your support

cu

4.Veritas Cluster versus SUN Cluster

hi all

we would like to migrate Veritas Cluster 3.5 with VxVM, VxFS to Sun Cluster
3.0. has anyone a cockbook or a migration ?

thanks in advance


5.How to replace Sun A5000 disk and restore Veritas volume from spare disk

   Our Sun E3500 server is running Solaris 9 and Veritas 3.5.  It is
attached to two Sun A5100 storage arrays.  Each array has one bad
disk. As a result, the Veritas volumes have been reallocated to the
hot spare disks in each diskgroup. See outputs below.

   Would anyone know what commands and procedure in replacing the 2
bad disks in each Sun A5100 array ?  Is there anything we need to do
in Veritas before or after the 2 defective disks replacement ? e.g.,
moving the volume data from "spare" drive and initializing the 2 new
disks in Veritas.

Thanks,

Humphrey



============================================================
# luxadm display  array-1

                                   SENA
                                 DISK STATUS
SLOT   FRONT DISKS       (Node WWN)          REAR DISKS        (Node
WWN)
0      On (O.K.)         200000203722b8e2    On (O.K.)
200000203722ba47
1      Not Installed                         Not Installed
2      Not Installed                         Not Installed
3      On (O.K.)         2000002037330cdf    On (O.K.)
200000203722bca2
4      On (O.K.)         200000203733112f    On (O.K.)
200000203793e7a2
5      On (O.K.)         200000203722bdb5    On (O.K.)
200000203722bb22
6      On(Not Readable)  20000020372b446f    On (O.K.)
200000203797cb90
7      Not Installed                         Not Installed
8      Not Installed                         Not Installed
9      Not Installed                         Not Installed
10     On (O.K.)         200000203722bd81    On (O.K.)
20000020370f3b13

============================================================

# luxadm display array-2

                                   SENA
                                 DISK STATUS
SLOT   FRONT DISKS       (Node WWN)          REAR DISKS        (Node
WWN)
0      On(Not Readable)  2000002037267c15    On (O.K.)
20000020372685ae
1      Not Installed                         Not Installed
2      Not Installed                         Not Installed
3      On (O.K.)         20000020372b2074    On (O.K.)
2000002037268325
4      On (O.K.)         20000020372b415f    On (O.K.)
20000020372b9d1c
5      On (O.K.)         2000002037267c37    On (O.K.)
2000002037330c85
6      On (O.K.)         20000020372b3fc4    On (O.K.)
20000020372685a7
7      Not Installed                         Not Installed
8      Not Installed                         Not Installed
9      Not Installed                         Not Installed
10     On (O.K.)         200000203726804f    On (O.K.)
2000002037267fed

============================================================

# vxdisk list

c3t16d0s2    sliced    disk316      a5000-co01dg online spare
c3t19d0s2    sliced    disk319      a5000-co01dg online
c3t20d0s2    sliced    disk320      a5000-co01dg online
c3t21d0s2    sliced    disk321      a5000-co01dg online
c3t22d0s2    sliced    disk322      a5000-co01dg online
c3t26d0s2    sliced    disk326      a5000-co01dg online
c4t35d0s2    sliced    disk435      a5000-co02dg online
c4t36d0s2    sliced    disk436      a5000-co02dg online
c4t37d0s2    sliced    disk437      a5000-co02dg online
c4t38d0s2    sliced    disk438      a5000-co02dg online
c4t42d0s2    sliced    disk442      a5000-co01dg online
c4t48d0s2    sliced    disk448      a5000-co02dg online spare
c4t51d0s2    sliced    disk451      a5000-co02dg online
c4t52d0s2    sliced    disk452      a5000-co02dg online
c4t53d0s2    sliced    disk453      a5000-co02dg online
c4t54d0s2    sliced    disk454      a5000-co02dg online
c4t58d0s2    sliced    disk458      a5000-co02dg online
-            -         disk432      a5000-co02dg failed was:c4t32d0s2
-            -         disk36       a5000-co01dg failed was:c3t6d0s2


# vxprint -th | grep u14pr

v  u14pr        -            ENABLED  ACTIVE   35348480 SELECT
-        fsgen
pl u14pr-01     u14pr        ENABLED  ACTIVE   35349910 STRIPE
2/128    RW
sd disk35-01    u14pr-01     disk35   0        17674902 0/0
c3t5d0   ENA
sd disk316-01   u14pr-01     disk316  0        17674902 1/0
c3t16d0  ENA
pl u14pr-02     u14pr        ENABLED  ACTIVE   35349910 STRIPE
2/128    RW
sd disk320-01   u14pr-02     disk320  0        17674902 0/0
c3t20d0  ENA
sd disk319-01   u14pr-02     disk319  0        17674902 1/0
c3t19d0  ENA


# vxprint -th | grep u21pr

v  u21pr        -            ENABLED  ACTIVE   17674240 SELECT
-        fsgen
pl u21pr-01     u21pr        ENABLED  ACTIVE   17674902 CONCAT
-        RW
sd disk448-01   u21pr-01     disk448  0        17674902 0
c4t48d0  ENA
pl u21pr-02     u21pr        ENABLED  ACTIVE   17674902 CONCAT
-        RW
sd disk458-01   u21pr-02     disk458  0        17674902 0
c4t58d0  ENA

6. Problem during Veritas VM upgrade on a Sun Cluster 3.0

7. SUN Cluster mount Veritas Volume as raw-device

8. Sun Cluster 3 vs.Veritas VCS 3.5



Return to unix

 

Who is online

Users browsing this forum: No registered users and 51 guest