Query one of the twos

I have a table (tbl1) as follows:
col1      col2      col3
1111      CM      XXXX
1111      ML      XXXX
1111      AB      XXXX
2222      ML      XXXX
2222      AB      XXXX
From the above table, how do I retrieve a record according to the following criteria?
Retrieve the record where col2 = 'CM'. If 'CM' is not available for a record retrieve the record where col2 is 'ML'. From the above data, I am supposed to be getting only the one record with 'CM' for '1111' and the one with 'ML' for '2222'. I am not sure how this can be achieved. If I use DECODE, the problem is, I am getting 2 records for col1 = '1111', since both 'CM' and 'ML' are present for the col1 = '1111'.
Is there a better way to do this query?

SQL> create table aron.tbl1(col1 number, col2 varchar2(2), col3 varchar2(5))
Table created
SQL> insert into aron.tbl1 values(1111, 'CM', 'XXXX')
1 row inserted
SQL> insert into aron.tbl1 values(1111, 'ML', 'XXXX')
1 row inserted
SQL> insert into aron.tbl1 values(1111, 'AB', 'XXXX')
1 row inserted
SQL> insert into aron.tbl1 values(2222, 'ML', 'XXXX')
1 row inserted
SQL> insert into aron.tbl1 values(2222, 'AB', 'XXXX')
1 row inserted
SQL> select *
from (select t.*, rank() over (partition by col1 order by col1, col2) r
     from aron.tbl1 t
     where col2 in ('CM', 'ML')
where r = 1
      COL1 COL2 COL3           R
      1111 CM   XXXX           1
      2222 ML   XXXX           1
2 rows selected

Similar Messages

  • Report with two Command is empty if one of the two commands returns no data

    Hi all,
    I have a report with two Commands not linked together.
    If ONLY one of the two Commands returns no data, the full report is empty (although the other Command returns data).
    I'm using Crystal Report 2008 and the CRJ 12.2.205
    Have an idea?

    Hi Ted,
    how can I solve the problem, please? It is important.
    If I can help yourself, the problem is appeared in many reports since I updated the library (the old library version 11.8.4.1094 works fine with all). I'm waiting for your answer, please.
    Thank you very much.

  • Imessage on my iMac has created two iMessage account both asking for Apple ID....and no option to - (delete) one of the two duplicate accounts....how can I delete one of them it just bothers me due to sign in issues....goes inactive when signed in on othe

    imessage on my iMac has created two iMessage account both asking for Apple ID....and no option to - (delete) one of the two duplicate accounts....how can I delete one of them it just bothers me due to sign in issues....when signed into one it signs out the other and goes inactive I just wanted to delete one of them so this issue doesn't happen....why doesn't it give the option to delete ONLY these two accounts

    1. Don't confuse "Apple ID" with iTunes Account ID.  You can have many Apple IDs but only one iTunes account active at a time.
    2. If you "changed" your iTunes account ID, you actually have 2 accounts - one under the old name plus the new name.
    3. You can't merge the accounts - they remain separate.  Apps purcahsed under the old account name will update ONLY WHEN THE PHONE IS SIGNED IN TO THE OLD ACCOUNT NAME  and visa versa.
    4. Likewise, you can sync only the apps, music, media purchased under the account the phone AND iTunes are signed in to.

  • I had made a copy of the main revel file on my mac, and then i put it in my google drive folder for safety. I accidentally deleted one of the two libraries form my iPhone. I opened it up and panicked and thankfully I guess I had a backup of the other libr

    I had made a copy of the main revel file on my mac, and then i put it in my google drive folder for safety. I accidentally deleted one of the two libraries form my iPhone. I opened it up and panicked and thankfully I guess I had a backup of the other library in my spouses phone... but mine is still gone. I don't have them saved to my computer... the pictures are important and I really really need them back.  Is there a way for me to get the pictures back from what I believed at the time was a smart way to backup when i made a duplicate of that main mac file to my google drive? The best way to let me know is my email... [email protected]  I am really relying on you guys if there is a way?

    Hi meghage,
    From your code, it is a WebForm project.
    This forum is to discuss problems of Windows Forms. Your question is not related to the topic of this forum.
    You can consider posting it in asp.net forum for supports . Thanks.
    ASP.NET: http://forums.asp.net
    Regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Deactivating one of the two registration with Photoshop Elements 8

    My old computer has been cleared from all programs and the system. I'd like to use the Adobe Photoshop Elemets 8 product on my new computer, but I need the one of the two registration of the product cleared to be able to use it. I can not deactivate from my Dell computer as it has been already cleared. Please help me to solve the problem.
    Best regards
    Adam Tertak

    Contact Support to reset the activation count

  • ZFS mirror on root, one of the two devices appears offline

    Hello everybody,
    I'm a new Archlinux user. I've managed to install it on a pool (called RAID1) composed of two LUKS encrypted devices (/dev/mapper/HD3 and /dev/mapper/HD10).
    This is the pool:
    # zpool status
    pool: RAID1
    state: ONLINE
    scan: resilvered 11.4M in 0h0m with 0 errors on Mon Jan 13 07:41:13 2014
    config:
    NAME STATE READ WRITE CKSUM
    RAID1 ONLINE 0 0 0
    mirror-0 ONLINE 0 0 0
    HD10 ONLINE 0 0 0
    HD3 ONLINE 0 0 0
    errors: No known data errors
    I wrote a custom hook, run before the zfs hook, which opens a small (5MB) LUKS image (/etc/keys.img) asking for its key, and mounts it under /keys. Then, for each device in /etc/earlycrypttab, it opens the device taking the respective keyfile from /keys.
    Here is the code, if it could help debug the problem. Feel free to use it, if it might be useful to you. Sorry if it's not too good.
    http://pastebin.com/PAbaTUcq   /etc/earlycrypttab
    http://pastebin.com/JULEdHx9   /usr/lib/initcpio/hooks/customcrypt
    http://pastebin.com/Ew44anvY   /usr/lib/initcpio/install/customcrypt
    Now, the problem is this: for some reason, after booting, HD3 is shown as offline and the pool is shown as DEGRADED. /dev/mapper/HD3 is open and working, though. Running a simple
    # zpool online RAID1 HD3
    fixes the pool.
    I know for sure that after the customcrypt hook is run, that LUKS device is open. I've managed to get into ash just after the customcrypt hook, and the LUKS device is open, but
    # zpool list
    keeps saying that HD3 is offline.
    Anyway, if (still inside ash, after the customcrypt hook and before the zfs hook) I run
    # zpool export RAID1
    # zpool import
    zpool finds both devices as online.
    I first thought it could be a problem of the /etc/zfs/zpool.cache file. I tried recreating it and recreating the initram (with mkinitcpio -p linux), but still no luck.
    Do you have any idea about what could be the problem?
    Thank you very much for your time!

    @stefa : Did you get any resolution on this?  I ran into the exact same problem two days ago and I can't seem to find the "right" fix.  I'm using a zfs mirror on top of luks and figured it was due to the luks device not being online but after reading your post... I'm not so sure.
    Post boot I'm able to offline the missing device and online it without issue.  My only concern is why isn't this coming up with both disks at the time of import and will it boot if the offline drive is the only one of the two active at the time of boot?  I setup the mirror so I could have a drive fail and still boot...
    @esko: I've got zfs set to auto-mount and the mount points are all working properly.

  • At home I have two wifi networks , I try to use one of them depending on their strength of signal, can I not save  both their passwords on Apple TV , so that I can switch to one of the two wifi networks as required

    At home I have two wifi networks , I try to use one of them depending on their strength of signal, can I not save  both their passwords on Apple TV , so that I can switch to one of the two wifi networks as required
    Also the passwords are long and cumbersome to type every time on the apple  TV remote, what is the alternative if I cannot store them on the memory of the Apple TV

    Is it possible that you are using the same password for the old O2 Study and newer O2 Apple Base Station networks?
    If so, Keychain Access is storing the old information about the old network and may be associating it with your AirPort Extreme settings based on the BSSID that William has mentioned.
    If that's the case, open Macintosh HD > Applications > Utilities > KeyChain Access and look for a listing with the old network name. Delete this entry. You may need to power down both the computer and the AirPort Extreme and restart them.

  • If Firefox 5 is not compatible with Avast... what am I supossed to do? Choose one of the two or what?

    With Firefox 5 freshly installed I learn it's not compatible with Avast! What do I do now? Do I choose '''''one of the two''''' or what?

    Hi Amarillo,
    There are a few different toolbars and plugins which are not yet compatible with Firefox 5 including Google, avast and AVG ([http://www.canadiancontent.net/commtr/firefox-rather-soon-released_1093.html source]). I bet it's going to take a day or two for updates to be released.

  • Qosmio X300 - One of the two fans rattles abnormally

    This started about two weeks ago.
    One of the two fans under the laptop rattles abnormally. If I tilt the laptop for a while the rattling stops... but it's embarassing in the very least to have to do that on such an advanced laptop.
    Sometimes the rattling stops when the fan's been running a while...
    So anyone else had this issue? I've got next business day on-site support but would need to take a day off work if I want them to come out so am tryin to avoid that.
    Aanyone had the issue? If so how was it addressed?

    right... Toshiba sent someone out today.... and guess what... Toshiba managed to mess the whole thing up!
    The way support works (well my understanding of ti following the disaster today) is as follows:
    1) customer logs call with Toshiba
    2) Toshiba order parts necessary and contact a support company that is not actually a part of Toshiba, but is contracted to carry out support
    3) support company replaces parts as necessary
    so, i 1) called Toshiba they told me they'd send someone over with 2 cooling fans, 2) they ordered two thermal conductors for the graphics boards (NOT FANS, JUST THE METAL PLATES!!!), 3) support guy came, when i told him what the problem was he was surprised Toshiba gave him thermal conductors and not fans. so we called Toshiba and logged a new call
    i had to call Toshiba and log a new call... however, i insisted the operator note in the call records that this is the second time i am calling for the same issue as the first time they gave the poor support guy the wrong parts. now my contract only supports next business day on site visit.... as it's not practical for me to take this laptop with me to work i took a day off to be at home.....
    Now that means i'll have to do it again,... so i think, hang on, Toshiba offer 24/7 on site support, so i'll ask them if, as it was their fault, they'll send someone over the weekend. "it's not within our power to do that" toshiba said "you'll have to contact the engineers company and ask them if they'll do it"... i didn't make the mistake, why should i ask?
    The engineer didn't make the mistake, so why should his company have to be generous and give me a free day on site on a weekend?
    Toshiba made the mistake, they should pay the engineers company to have him back on a weekend.
    that is what i shall be arguing on the phone tomorrow (to Toshiba and not the engineering company) when the engineer calls up and no doubt says Toshiba are only paying for me to have a monday to friday service.
    A customer should not have to worry about who Toshiba award their contracts to.
    Oh, and on the matter of the fans themselves, the engineer took them out, he could find nothing inside... i tapped the fans and am very sure one of them is a lil loose although the engineer didn't think tha should be causing the level of noise he heard. however, he stood there and did hear the awful noice it was making, as if repeatedly scraping against something as the blades rushed past.
    So... more updates as soon as possible... but Toshiba really screwed this one up and it's cost me a day of my annual leave... thanks Toshiba.

  • HT1657 Why is only one of the two movies I've payed for from iTunes store refusing to download onto my iTouch 4 gen?

    I payed for two movies through iTunes store on my computer, after they were ready to be transfered to the iTouch from my
    rental library, only one successfully went through. The other film completely disregarded the attempt to show even a 'loading' bar.

    no, i had to leave so i logged out and when i opened itunes on my mac and went into the downloads tab it only had one paused download listed. i resumed the download for the one movie listed and the other one never showed up. its been about two weeks since i initially bought the two movies so i figured something was wrong.

  • Oracle RAC performance Suddenly terminates on one of the two node cluster

    I have a strange problem that happens frequently from time to time when My M400 Machine which is a part of two node RAC cluster goes down suddenly
    I tried so many times to understand what's the cause behind that but when I read the logs there are so many messages related to the Oracle RAC which I don't have any experience or knowledge about so I hope I can find here any one who can explain to me these log messages knowing that they are always the same
    Jun 18 08:30:00 kfc-rac1 sendmail[17709]: [ID 702911 mail.crit] My unqualified host name (kfc-rac1) unknown; sleeping for retry
    Jun 18 08:31:00 kfc-rac1 sendmail[17709]: [ID 702911 mail.alert] unable to qualify my own domain name (kfc-rac1) -- using short name
    Jun 18 11:44:15 kfc-rac1 iscsi: [ID 454097 kern.notice] NOTICE: unrecognized ioctl 0x403
    Jun 18 11:44:15 kfc-rac1 scsi: [ID 243001 kern.warning] WARNING: /pseudo/fcp@0 (fcp0):
    Jun 18 11:44:15 kfc-rac1 Invalid ioctl opcode = 0x403
    Jun 18 17:09:41 kfc-rac1 Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] launching method <bin/rac_udlm_monitor_stop> for resource <rac-udlm-rs>, resource group <rac-fw-rg>, node <kfc-rac1
    , timeout <300> secondsJun 18 17:09:41 kfc-rac1 Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] launching method <bin/rac_framework_monitor_stop> for resource <rac-fw-rs>, resource group <rac-fw-rg>, node <kfc-r
    ac1>, timeout <3600> seconds
    Jun 18 17:09:41 kfc-rac1 Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] launching method <bin/rac_svm_monitor_stop> for resource <rac-svm-rs>, resource group <rac-fw-rg>, node <kfc-rac1>,
    timeout <300> seconds
    Jun 18 17:09:41 kfc-rac1 Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] launching method <scal_dg_monitor_stop> for resource <scal-racdg-rs>, resource group <scal-racdg-rg>, node <kfc-rac
    1>, timeout <300> seconds
    Jun 18 17:09:41 kfc-rac1 Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] launching method <scal_mountpoint_monitor_stop> for resource <racfs-mntpnt-rs>, resource group <racfs-mntpnt-rg>, n
    ode <kfc-rac1>, timeout <300> seconds
    Jun 18 17:09:41 kfc-rac1 Cluster.RGM.global.rgmd: [ID 515159 daemon.notice] method <bin/rac_framework_monitor_stop> completed successfully for resource <rac-fw-rs>, resource group <rac-fw-rg>
    , node <kfc-rac1>, time used: 0% of timeout <3600 seconds>
    Jun 18 17:09:41 kfc-rac1 Cluster.RGM.global.rgmd: [ID 515159 daemon.notice] method <bin/rac_udlm_monitor_stop> completed successfully for resource <rac-udlm-rs>, resource group <rac-fw-rg>, n
    ode <kfc-rac1>, time used: 0% of timeout <300 seconds>
    Jun 18 17:09:41 kfc-rac1 Cluster.RGM.global.rgmd: [ID 515159 daemon.notice] method <bin/rac_svm_monitor_stop> completed successfully for resource <rac-svm-rs>, resource group <rac-fw-rg>, nod
    e <kfc-rac1>, time used: 0% of timeout <300 seconds>
    Jun 18 17:09:41 kfc-rac1 Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] launching method <bin/rac_udlm_stop> for resource <rac-udlm-rs>, resource group <rac-fw-rg>, node <kfc-rac1>, timeo
    ut <300> seconds
    Jun 18 17:09:41 kfc-rac1 Cluster.RGM.global.rgmd: [ID 515159 daemon.notice] method <scal_dg_monitor_stop> completed successfully for resource <scal-racdg-rs>, resource group <scal-racdg-rg>,
    node <kfc-rac1>, time used: 0% of timeout <300 seconds>
    Jun 18 17:09:41 kfc-rac1 Cluster.RGM.global.rgmd: [ID 515159 daemon.notice] method <scal_mountpoint_monitor_stop> completed successfully for resource <racfs-mntpnt-rs>, resource group <racfs-
    mntpnt-rg>, node <kfc-rac1>, time used: 0% of timeout <300 seconds>
    Jun 18 17:09:41 kfc-rac1 Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] launching method <scal_mountpoint_postnet_stop> for resource <racfs-mntpnt-rs>, resource group <racfs-mntpnt-rg>, n
    ode <kfc-rac1>, timeout <300> seconds
    Jun 18 17:09:41 kfc-rac1 SC[SUNW.rac_udlm.rac_udlm_stop]: [ID 854390 daemon.notice] Resource state of rac-udlm-rs is changed to offline. Note that RAC framework will not be stopped by STOP me
    thod.
    Jun 18 17:09:41 kfc-rac1 Cluster.RGM.global.rgmd: [ID 515159 daemon.notice] method <bin/rac_udlm_stop> completed successfully for resource <rac-udlm-rs>, resource group <rac-fw-rg>, node <kfc
    -rac1>, time used: 0% of timeout <300 seconds>
    Jun 18 17:09:42 kfc-rac1 samfs: [ID 320134 kern.notice] NOTICE: SAM-QFS: racfs: Initiated unmount filesystem: vers 2
    Jun 18 17:09:43 kfc-rac1 samfs: [ID 522083 kern.notice] NOTICE: SAM-QFS: racfs: Completed unmount filesystem: vers 2
    Jun 18 17:09:43 kfc-rac1 Cluster.RGM.global.rgmd: [ID 515159 daemon.notice] method <scal_mountpoint_postnet_stop> completed successfully for resource <racfs-mntpnt-rs>, resource group <racfs-
    mntpnt-rg>, node <kfc-rac1>, time used: 0% of timeout <300 seconds>
    Jun 18 17:09:43 kfc-rac1 Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] launching method <scal_dg_postnet_stop> for resource <scal-racdg-rs>, resource group <scal-racdg-rg>, node <kfc-rac
    1>, timeout <300> seconds
    Jun 18 17:09:43 kfc-rac1 Cluster.RGM.global.rgmd: [ID 515159 daemon.notice] method <scal_dg_postnet_stop> completed successfully for resource <scal-racdg-rs>, resource group <scal-racdg-rg>,
    node <kfc-rac1>, time used: 0% of timeout <300 seconds>
    Jun 18 17:09:43 kfc-rac1 Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] launching method <bin/rac_svm_stop> for resource <rac-svm-rs>, resource group <rac-fw-rg>, node <kfc-rac1>, timeout
    <300> seconds
    Jun 18 17:09:43 kfc-rac1 SC[SUNW.rac_svm.rac_svm_stop]: [ID 854390 daemon.notice] Resource state of rac-svm-rs is changed to offline. Note that RAC framework will not be stopped by STOP metho
    d.
    Jun 18 17:09:43 kfc-rac1 Cluster.RGM.global.rgmd: [ID 515159 daemon.notice] method <bin/rac_svm_stop> completed successfully for resource <rac-svm-rs>, resource group <rac-fw-rg>, node <kfc-r
    ac1>, time used: 0% of timeout <300 seconds>
    Jun 18 17:09:43 kfc-rac1 Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] launching method <bin/rac_framework_stop> for resource <rac-fw-rs>, resource group <rac-fw-rg>, node <kfc-rac1>, ti
    meout <300> seconds
    Jun 18 17:09:43 kfc-rac1 SC[SUNW.rac_framework.rac_framework_stop]: [ID 854390 daemon.notice] Resource state of rac-fw-rs is changed to offline. Note that RAC framework will not be stopped by
    STOP method.
    Jun 18 17:09:43 kfc-rac1 Cluster.RGM.global.rgmd: [ID 515159 daemon.notice] method <bin/rac_framework_stop> completed successfully for resource <rac-fw-rs>, resource group <rac-fw-rg>, node <
    kfc-rac1>, time used: 0% of timeout <300 seconds>
    Jun 18 17:09:44 kfc-rac1 root: [ID 702911 user.error] Oracle CRSD 3932 set to stop
    Jun 18 17:09:44 kfc-rac1 root: [ID 702911 user.error] Oracle CRSD 3932 shutdown completed
    Jun 18 17:09:44 kfc-rac1 root: [ID 702911 user.error] Oracle EVMD set to stop
    Jun 18 17:09:44 kfc-rac1 root: [ID 702911 user.error] Oracle CSSD being stopped
    Jun 18 17:09:45 kfc-rac1 xntpd[980]: [ID 866926 daemon.notice] xntpd exiting on signal 15
    Jun 18 17:09:45 kfc-rac1 ip: [ID 646971 kern.notice] ip_create_dl: hw addr length = 0
    Jun 18 17:09:45 kfc-rac1 pppd[516]: [ID 702911 daemon.notice] Connection terminated.
    Jun 18 17:09:47 kfc-rac1 pppd[9462]: [ID 860527 daemon.notice] pppd 2.4.0b1 (Sun Microsystems, Inc.) started by root, uid 0
    Jun 18 17:09:47 kfc-rac1 pppd[9462]: [ID 702911 daemon.notice] Connect: sppp0 <--> /dev/dm2s0
    Jun 18 17:09:47 kfc-rac1 rpc.metamedd: [ID 702911 daemon.error] Terminated
    Jun 18 17:09:48 kfc-rac1 inetd[482]: [ID 702911 daemon.warning] inetd_offline method for instance svc:/network/rpc/scrcmd:default is unspecified. Taking default action: kill.
    Jun 18 17:09:48 kfc-rac1 inetd[482]: [ID 702911 daemon.warning] inetd_offline method for instance svc:/network/rpc/metacld:default is unspecified. Taking default action: kill.
    Jun 18 17:09:49 kfc-rac1 inetd[482]: [ID 702911 daemon.warning] inetd_offline method for instance svc:/network/rpc/scadmd:default is unspecified. Taking default action: kill.
    Jun 18 17:09:50 kfc-rac1 pppd[9462]: [ID 702911 daemon.notice] local IP address 192.168.224.2
    Jun 18 17:09:50 kfc-rac1 pppd[9462]: [ID 702911 daemon.notice] remote IP address 192.168.224.1
    Jun 18 17:09:50 kfc-rac1 cl_eventlogd[1554]: [ID 247336 daemon.error] Going down on signal 15.
    Jun 18 17:09:52 kfc-rac1 ip: [ID 372019 kern.error] ipsec_check_inbound_policy: Policy Failure for the incoming packet (not secure); Source 192.168.224.001, Destination 192.168.224.002.
    *Jun 18 17:09:56 kfc-rac1 ip: [ID 646971 kern.notice] ip_create_dl: hw addr length = 0*
    *Jun 18 17:09:56 kfc-rac1 pppd[9462]: [ID 702911 daemon.notice] Connection terminated.*
    *Jun 18 17:09:56 kfc-rac1 Cluster.PNM: [ID 226280 daemon.notice] PNM daemon exiting.*
    *Jun 18 17:09:57 kfc-rac1 pseudo: [ID 129642 kern.info] pseudo-device: tod0*
    *Jun 18 17:09:57 kfc-rac1 genunix: [ID 936769 kern.info] tod0 is /pseudo/tod@0*
    *Jun 18 17:09:57 kfc-rac1 pseudo: [ID 129642 kern.info] pseudo-device: pm0*
    *Jun 18 17:09:57 kfc-rac1 genunix: [ID 936769 kern.info] pm0 is /pseudo/pm@0*
    *Jun 18 17:09:57 kfc-rac1 rpc.metad: [ID 702911 daemon.error] Terminated*
    Jun 18 17:10:01 kfc-rac1 syslogd: going down on signal 15
    *Jun 18 17:10:07 kfc-rac1 rpcbind: [ID 564983 daemon.error] rpcbind terminating on signal.*
    *Jun 18 17:10:32 kfc-rac1 Cluster.RGM.fed: [ID 831843 daemon.notice] SCSLM thread WARNING pools facility is disabled*
    *Jun 18 17:10:40 kfc-rac1 genunix: [ID 672855 kern.notice] syncing file systems...*
    *Jun 18 17:10:40 kfc-rac1 genunix: [ID 904073 kern.notice] done*
    Jun 19 14:20:12 kfc-rac1 genunix: [ID 540533 kern.notice] ^MSunOS Release 5.10 Version Generic_141444-09 64-bit
    Jun 19 14:20:12 kfc-rac1 genunix: [ID 943908 kern.notice] Copyright 1983-2009 Sun Microsystems, Inc. All rights reserved.
    Jun 19 14:20:12 kfc-rac1 Use is subject to license terms.
    Jun 19 14:20:12 kfc-rac1 genunix: [ID 678236 kern.info] Ethernet address = 0:21:28:2:21:b2
    Thanks in advance for all of you
    your response is highly appreciated

    Hi I have checked the interconnect between the two nodes and it's as follow
    ifconfig -a
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
    inet 10.1.100.126 netmask ffffff00 broadcast 10.1.100.255
    groupname sc_ipmp0
    ether 0:14:4f:3a:6c:19
    bge0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
    inet 10.1.100.127 netmask ffffff00 broadcast 10.1.100.255
    bge0:2: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4> mtu 1500 index 2
    inet 10.1.100.140 netmask ffffff00 broadcast 10.1.100.255
    bge1: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 6
    inet 172.16.0.129 netmask ffffff80 broadcast 172.16.0.255
    ether 0:14:4f:3a:6c:1a
    nxge0: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 3
    inet 10.1.100.128 netmask ffffff00 broadcast 10.1.100.255
    groupname sc_ipmp0
    ether 0:21:28:d:c9:8e
    nxge1: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 5
    inet 172.16.1.1 netmask ffffff80 broadcast 172.16.1.127
    ether 0:21:28:d:c9:8f
    e1000g1: flags=1008843<UP,BROADCAST,RUNNING,MULTICAST,PRIVATE,IPv4> mtu 1500 index 4
    inet 172.16.1.129 netmask ffffff80 broadcast 172.16.1.255
    ether 0:15:17:81:15:c3
    clprivnet0: flags=1009843<UP,BROADCAST,RUNNING,MULTICAST,MULTI_BCAST,PRIVATE,IPv4> mtu 1500 index 7
    inet 172.16.4.1 netmask fffffe00 broadcast 172.16.5.255
    ether 0:0:0:0:0:1
    sppp0: flags=10010008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4,FIXEDMTU> mtu 1500 index 8
    inet 192.168.224.2 --> 192.168.224.1 netmask ffffff00
    ether 0:0:0:0:0:0
    root@kfc-rac1 #
    and it's direct attached between both nodes interfaces
    back to back
    and about the status of the hba cards here is it as well
    fcinfo hba-port -l
    HBA Port WWN: 2100001b3284c042
    OS Device Name: /dev/cfg/c1
    Manufacturer: QLogic Corp.
    Model: 375-3355-02
    Firmware Version: 05.01.00
    FCode/BIOS Version:  BIOS: 1.24; fcode: 1.24; EFI: 1.8;
    Serial Number: 0402R00-0844647023
    Driver Name: qlc
    Driver Version: 20090519-2.31
    Type: N-port
    State: online
    Supported Speeds: 1Gb 2Gb 4Gb
    Current Speed: 4Gb
    Node WWN: 2000001b3284c042
    Link Error Statistics:
    Link Failure Count: 0
    Loss of Sync Count: 0
    Loss of Signal Count: 0
    Primitive Seq Protocol Error Count: 0
    Invalid Tx Word Count: 0
    Invalid CRC Count: 0
    HBA Port WWN: 2100001b321c462b
    OS Device Name: /dev/cfg/c2
    Manufacturer: QLogic Corp.
    Model: 375-3355-02
    Firmware Version: 05.01.00
    FCode/BIOS Version:  BIOS: 1.24; fcode: 1.24; EFI: 1.8;
    Serial Number: 0402R00-0844646557
    Driver Name: qlc
    Driver Version: 20090519-2.31
    Type: N-port
    State: online
    Supported Speeds: 1Gb 2Gb 4Gb
    Current Speed: 4Gb
    Node WWN: 2000001b321c462b
    Link Error Statistics:
    Link Failure Count: 0
    Loss of Sync Count: 0
    Loss of Signal Count: 0
    Primitive Seq Protocol Error Count: 0
    Invalid Tx Word Count: 0
    Invalid CRC Count: 0
    HBA Port WWN: 2100001b32934b3c
    OS Device Name: /dev/cfg/c3
    Manufacturer: QLogic Corp.
    Model: 375-3294-01
    Firmware Version: 05.01.00
    FCode/BIOS Version:  BIOS: 2.2; fcode: 2.1; EFI: 2.0;
    Serial Number: 0402R00-0947745866
    Driver Name: qlc
    Driver Version: 20090519-2.31
    Type: N-port
    State: online
    Supported Speeds: 1Gb 2Gb 4Gb
    Current Speed: 4Gb
    Node WWN: 2000001b32934b3c
    Link Error Statistics:
    Link Failure Count: 0
    Loss of Sync Count: 0
    Loss of Signal Count: 0
    Primitive Seq Protocol Error Count: 0
    Invalid Tx Word Count: 0
    Invalid CRC Count: 0
    HBA Port WWN: 2101001b32b34b3c
    OS Device Name: /dev/cfg/c4
    Manufacturer: QLogic Corp.
    Model: 375-3294-01
    Firmware Version: 05.01.00
    FCode/BIOS Version:  BIOS: 2.2; fcode: 2.1; EFI: 2.0;
    Serial Number: 0402R00-0947745866
    Driver Name: qlc
    Driver Version: 20090519-2.31
    Type: unknown
    State: offline
    Supported Speeds: 1Gb 2Gb 4Gb
    Current Speed: not established
    Node WWN: 2001001b32b34b3c
    Link Error Statistics:
    Link Failure Count: 0
    Loss of Sync Count: 0
    Loss of Signal Count: 0
    Primitive Seq Protocol Error Count: 0
    Invalid Tx Word Count: 0
    Invalid CRC Count: 0
    root@kfc-rac1 #
    In addition here is the ocssd log file as well
    http://www.4shared.com/file/Txl9DqLW/log_25155156.html?
    you'll find on the lines for the dates in which this issue happens
    look at 2012-06-09
    2012-06-18
    2012-06-21
    you'll see something related to the voting disk
    it suddenly becomes unavailable which causes the problem
    thanks a lot for your help
    I'm waiting for your recommendation
    hope these logs gives more look for the problem
    Thanks in advance :)

  • TLS cipher suites: Is there any Windows application that is using one of the two NULL cipher suites?

    My question is about these two standard cipher suites from Windows 7/8 (and Windows Servers):
    TLS_RSA_WITH_NULL_SHA256
    TLS_RSA_WITH_NULL_SHA
    Question: Is there any native Windows 7 application/process that must use one of these two ciphers?
    If not, I would simply kick them out to make sure that they are never used.
    Bonus question: Is there any reason to keep these on any Windows Server?

    Thank you for your response. I kicked out the NULL ciphers and everything weaker than 3DES. Consequently I also deactivated SSLv3 on five windows clients (computers and not servers, no server admin here). Rearranged the order of preference according to
    my needs. So far I don't experience any issues. Did the same with JRE many years ago (just kicked it out), now I lean back and enjoy the show.

  • If I accidently open a 2nd session of firefox resulting in two open windows when I close one window they both close and I lose my tab groups. How can I close just one of the two windows?

    I have 3 profiles, one of which I typically use. I have firefox prompt for the profile when it loads. I recently renamed the profiles (earlier this week). So... the profiles do not exactly match the folder names for the profiles.

    I don't understand what happened above, but ericn1, wasn't your problem that you tried to close one browser window using the red X, and ALL of them closed? How did any of the above help you solve your problem? jscher2000 gave you alternate methods of closing windows but said that closing a window with the red X "should" work. It doesn't work, because it is closing ALL your windows, not just the one you are clicking on. I am now having the same problem. with Firefox.
    Understand I do not have the problem with any other program. In other words, I can open multiple windows in Paint Shop Pro, IE, Notepad, etc. and close one with the red X and all others remain open. It ONLY happens when using the Firefox browser.
    The red X should close only the window that you are in when you click on it.
    NOW, before someone suggests tabs, I don't like them and don't use them. My choice. Before someone says my browser is out-of-date, (3.6.13) I am using it because it was the last version that worked reliably on my computers, both at home (Windows 7 Professional) and my office (Windows XP Professional).
    When I updated to the last Firefox browser, both computers started seizing up (nothing worked and had to reboot using power button) Removing that version of Firefox and going back to this version solved that problem. Fact remains, version has little to do with this problem. I've seen other posts around the net about this with different (newer) versions of Firefox.
    So . . . does anyone have a solution to this that doesn't involve using keystrokes or hot keys to close windows instead of the red X that should work properly?

  • How to delete one of the two admin accounts on my Mac

    When I migrated from a ppc to OSX I found that I have 2 admin accounts. One from the old computer. I want to delete the old account but am afraid
    That action will do a lot of harm

    Ensure that account's not currently logged in, open the Users & Groups pane of System Preferences, unlock the pane, select it, and press the - button.
    (82229)

  • How to hide one of the two Multi level categorization blocks in SRVR?

    Hi
    I am trying to hide one of the multilevel categorization blocks in SRVR(SERVICE request)
    Can it be done by configuration in BSP workbench. If yes then how? I went to the view but I am not able to remove the block
    Please help.
    Thanks
    Tarang

    Go to BSP_WD_CMPWB and create a new view by copying existing and remove the 2nd category block.
    This can also be done directly from webui.
    Regards
    Surya

Maybe you are looking for