6140 SAN Array CAM

Hi
i want to upgrade my CAM software from 5.1.x to 6.2.x version. My question is do i need to reconfigure my drive volumes and mappings.
Currently i have alot of disk drives are mapped and managed by the webinterface of the CAM SOftware.
Seond question i have is. i need to replace the cache batteries. is there any other way other than service advisor on the webinterface of CAM, because that is not working for me. i need to disabel the cache batteries before i can replace them. right now they are in used mode.
any help will be appreciated.
Wasim

Morning,
mwasim wrote:
Hmmmmm,
i thought there will be a button or so in Service Advisor to move the battery in Offline status or something.
No there isn't any such button for the battery.
Then question is why is there LED on the back of Battery that has a sign of exit or pulll out. i mean i am looking for something either in Service Advisor or somewhere else to turn that LED On before i
can pull the battery out.There are no such function in CAM and I'm confirming that the battery is hot swappable.
If you need more details about this, you can read through the Sun CR 6895705 and 6895982 via Sunsolve.
>
SO what you are telling me to just take the battery out with out doing any thing, i understand that 6140 cache batteries are hot swapeable, but right now arent they being used in the system.The cache is used, but not the battery. The firmware perfectly manages the cache when you pull the battery, it will just disable the write back and enable it back when the new battery is inserted and fully charged. This behavior is perfectly managed by the controller firmware.
>
Regarding the CAM Upgrade, i am trying to avoid downtime as we are extremly time dependant. so the solution from SUN Tech said upgrade to CAM6.2 as it is compatible with Firmware 6.6( that i will upgrade to) and so i will not require the downtime.CAM 6.5 is perfectly compatible with the firmware 06.60.22.10 and 07.60.18.10, see below for more details.
In other words if i upgrade CAM to 6.5 the minimum firmware that is compatible with CAM6.5 is version 7.x and so i will need the downtime.
That is an incorrect statement. CAM 6.5 brings two firmware (for the 6140) which are:
07.60.18.10
06.60.22.10
If you have a 6140 running 06.xx, you can upgrade CAM to 6.5 and then upgrade ONLINE to 06.60.22.10, CAM will never suggest you to upgrade to 07.xx since CAM cannot perform such upgrade.
If however you want later to upgrade to 07.xx, you can use the special upgrade utility (https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=SSTK6000SAFWUU-10.36.x1.06-OTH-G-F@CDS-CDS_SMI).
If you need a proof, you can read through the document http://www.sun.com/storage/management_software/resource_management/cam/821-0136-10.pdf which shows you all the firmware we are supporting with CAM 6.5 and for the different arrays. Look at the page 3, you will see two firmware for the 6140, this is what I described above.
As a result of this, you should upgrade to CAM 6.5, then proceed with an online upgrade to 06.60.22.10.
We are keeping the 06.xx firmware in every CAM release because we have customers who cannot have a downtime to upgrade to 07.xx, hence we have to offer the possibility to remain with 06.xx.
CAM 6.5 supports both streams (06.xx and 07.xx) and it automatically detects what firmware is running on the array. If this is 06.xx, it will only suggest to upgrade to the latest 06.xx firmware, if this is 07.xx, it will only suggest to upgrade to the latest 07.xx firmware.
Hope this is clear, if not, let me know.
what is driver firmware by the way.
I certainly made a mistake, I wanted to say drive (instead of driver) firmware.
Regards
Nicolas
the firmware version that i am talkiing about is the one when i login to the webinterface of CAM and i see it at the first page.
let me know your thoughts,
wasim

Similar Messages

  • MacOS X San Array support on Xserve Intel

    Hello,
    We have a datacenter with several XServe Intel connected to XServe RAID using FC (for Apple file sharing services). A part of the datacenter is migrating to VMware ESX. The XServe RAID cannot be used under VMware (no official support and performance problems) and we cannot have two SAN array.
    Is it possible to connect the Apple XServe (with MacOS X 10.4 or 10.5) using FC to anything else than an XServe RAID ? For example an EMC Clariion ?

    I successfully connected an Intel Xserve to an EMC Clariion X600 array this past summer for testing purposes. Just make sure you get the UUID of the SAN from the System Admin of the SAN array. Similarly you'll have to give the SAN admin the UUID for your Fibre Channel interface. The UUID is like an Ethernet MAC address and allows you to see the SAN array over the Fibre Channel connection. We also had to get an SFP adapter for our Fibre Channel card as our SAN switch was all fiber optic connections.
    Once we configured both ends of the Fibre Channel and the System Admin had allocated a 100GB slice to my UUID, I initially couldn't see the SAN. After about a day of delays and double-checking the SAN admin rebooted the SAN, I rebooted the Xserve and the 100GB slice magically showed up in Disk Utility as unformatted storage directly attached to the machine. I don't know if there's any trick to configuring the Clariion box. I know they made no adjustments or changes to get the Mac to work on the SAN side. The system admin of the SAN kept saying, "We've never done this before,... You have to install the drivers for the SAN,... what interface is the Mac using?...Who manufactures it?...Do they provide any drivers whatsoever for the Mac?...
    Also our on-campus Mac re-seller directed me to alienRAID.org
    http://alienraid.org/
    There's some entries there on hooking Apple Fibre Channel to Clariion hardware:
    http://alienraid.org/article.php?story=macosxemcsupport

  • New SAN array not all paths login until reboot

    We have a senerio with some of our UCS domains.  when we add a new storage array some paths will login to the array but not all will login until we reboot a host.  We have 4 UCS domains 6140x, 6248 and 2 x 6296.  the older 6140 seems to always login and have no issues the newer seems to only login a single path and sometimes none until a reboot of the blades occurs. the FI up link to Brocade 5300 FC switches.  This does not appear Firmware related as the newer 6296 are on 2.2.3b and the other are on 2.1.3e until next main window.  I am thinking there is some issues with the upstream brocades and RSCN passing toe th newer FI .  Any thoughts and direction as i really don't want to spend the next month rebooting hosts.

    Hi ehphillipsme,
    Since you are using multiple domains have you verified that you don't have duplicate wwpns between your UCS domains?

  • Storagetek 6140 & serial port

    I'm trying to access with a PC, using the serial port, to the Storagetek 6140's VT 100 console. I connected the ps2-6-pins-to-rj45 cable (530-3544-01) + RJ45-DB9 DTE adapter (530-3100-01), on Controller A and to com1 of my Windows pc. I downloaded TTerm (so I can send the ctrl-break), I configured com port like 6140's manual, but with no fortune. When I send ctrl-break nothing happens. I change the pc, com, I controlled the cable, but it's all ok. I think I made some mistake, but where?
    Thanks

    praxis22 wrote:
    from there I was able to hit alt-break and it gave me the options of S for service menu or space for baud rate
    I his S (capital S) and it asked me for a password, but since I wanted to reset the Array password that wasn't immediately useful. but I figure I can google or ask Sun for that. We are a little further on at
    least,.I think you are mixing the different passwords. The password which is requested when you type "S" is kra16wen and it cannot be reset. This password is documented in the customer documentations for the 6140.
    The array password is a different one, it can be reset by accessing the Service Interface Menu. It can be set and/or modified using CAM. Everytime you proceed with modifications on the array, CAM will read this password in the array and compare it with the one CAM has in its internal DB. If the password is similar, CAM proceeds with the modification, however if it is different, CAM will report an error. If you do not remember this password, you can use the Service Interface Menu to reset it. If you remember and want to change it or get CAM in sync with the real password in the array, you can use CAM to do that.
    Hope this clears things.

  • CAM giving error "Locked because of execeeding wrong password attempts"

    Hello,
    I ahve a 6140 managed through CAM. While discovering I have used a wrong password by mistake for 2-3 times. I have the array now registered with the right password. When I try to update the firmware, I am getting an error message " Locked . exceeding wrong password attempts".
    Kindly help me in unlocking the 6140 in CAM so that I am able to upgare the firmware on it.
    Many thanks in advance
    Ushas Symon

    A while ago I had the same problem. I restarted CAM and I could go on with the upgrade.

  • Using Xserve with Sun StorageTek Disk Array

    Hi
    Is it possible to connect an Xserve with a Fibre Channel Card installed to a Sun StorageTek 6140 Disk Array?
    I don't see any devices in /dev. Is the Xserve limited to the Xserve RAID or can it be used with other storage solutions? Do I need to purchase Xsan to do this (e.g. partition, format and mount a device from the Sun disk array)?
    Xserve (Intel)   Mac OS X (10.4.9)  

    Oh my, I should retire...
    When I read that page I somehow confused all that X* stuff... :o/
    I was wondering if it is possible to connect other
    storage solutions than the Xserve RAID (like the Sun
    StorageTek ones) directly (or via switch) to an
    Xserve (the pizza box server )
    Of course you can connect any DAS storage device that presents itself as a raw device on the device channel in use (fc, scsi, ...).
    But reading the specs on that special Sun Raid I'd say that it falls into another category: SAN storage. And therefore it needs OS support/drivers which seem to be available only for Solaris, Linux and Win.
    How exactly do I partition, format and mount the
    virtual device under Mac OS X Server?
    DiscUtility.app? In CLI: diskutil
    I want to try this procedure:
    Connect the Sun Diskarray to the Xserve via the
    copper cables.
    (Perhaps reboot the Xserve)
    Partition with pdisk
    mkfs.xfs (or something similar mac os like)
    /dev/sda(x)
    mount /dev/sda1 /Users/
    diskutil
    see man diskutil
    But as said I guess you can't access this kind of SAN storage device.
    Am I completely wrong? It's the procedure in Linux,
    so it can't be very different in BSD (say: Mac OS
    X)...
    Same procedure as every year: install the driver then drink.
    -Ralph

  • ZFS and StorageTek 6140 performance

    We have a Sun StorageTek 6140 Disk array and currently two Solaris 10 x86 hosts connected to it via Fibre channel through a Qlogic 5602 FC Switch.
    One system is our production E-mail system (Running Sun Messaging) the other is a backup server.
    The backup server is running CAM software an periodically issues a snapshot to be done on the 6140. I have noticed that copying or taring up files on either the production volume or the snapshot volume has very poor performance.
    Basically between 2-4MB/s
    We have patched the kernel 5.10 Generic_127128-11 i86pc i386 i86pc and tried various settings in /etc/system
    set zfs:zfs_prefetch_disable=1
    set zfs:zfs_nocacheflush=1
    But still the performance is not improving. The array seems to function properly (that is if I use "dd" then the array performs quickly so I must believe that it has something to do with ZFS).
    Has anyone else had issues with ZFS performance on a 6140 array or similar? What kind of speeds are you seeing with actual file system usage?
    I should also add that If I used a UFS formatted filesystem on the array I saw cp/tar speeds around 10-12MB/s
    thanks,
    -Tomas

    Hello Nik,
    Fortunately I have generated supportdata package before upgrading and CAM version is 6.7.0.12. In addition to your reply I found an article at http://www.tune-it.ru/web/bender/blogs/-/blogs/восстановление-томов-на-массивах-6000-и-2000-серии , for not-russian speakers: the article provides the similar solution with /opt/SUNWsefms/bin/service utility, but the author made a note about an offset=<blocks> field, he multiplies the value from profile by 512, I had some volumes being stored on a single Vdisk, and I'm not sure now, because in your's and author's service utulity template it was clearly marked that the value of an argument is in blocks, and the stored in profile value is also in blocks (not in bytes, the piece of my profile - "+...GB (598923542528 bytes) Offset (blocks): ...+"), is he right by multiplying the value from profile?
    - Second question - does a service utility provide a functionality to change wwn's on volumes and Storage array identifier (SAID) at whole device? I found out that the previous license files are not accepted, because of another Feature Enable Identifier (I think it is calculated from a changed value of Storage array identifier, am I right?), and why I want to change the wwn's and mappings (mappings will correct from the bui) on recreated volumes as per profile is is that I want to avoid problems by possible misrecognition them by vxvm at a server side (target numbering change) and further recorrecting/reimporting vxvm disks and disk group ownership.

  • Best practices for sharing a SAN-attached tape loader between servers.

    When configuring zones to allow a tape loader to be shared by multiple servers, is there a preferred zoning method?
    For instance, I have my primary fabric configured so that the zone for each data server using a LUN on my array consists of the primary port of the HBA on the server and the primary port of the HBA for each controller on my array.
    My backup server does not use any LUNs on the array, so its zone consists solely of its primary HBA port and the HBA port of the tape loader.
    If I want give my data servers access to the tape loader, should I add the tape loader's port to the zone of each server, or should I add the port of each server to the zone that currently consists of only the backup server and the tape loader?
    Or does it matter?
    The network is small:
    One Windows server dedicated to backup, three NetWare servers handling data storage and 12 other VM servers running a mixture of Linux, NetWare, and Windows that handle various services but don't contain any significant amounts of data.
    My intent is to give the 3 data servers access to the tape loader directly, so that their backup streams don't involve the LAN.
    The remaining servers are small enough that backing them up over the LAN is not an issue.
    I doubt that it matters for this, but the SAN switches are MDS9124's and the SAN array is an HDS AMS2100 with active/active controllers.
    All server HBA's are dual port, as are the HBA's on each array controller.
    In addition to the primary zone, each server and the array controllers are attached to a failover zone via the 2nd port of the HBA's.
    Unfortunately, my backup software doesn't support NDMP, so I can't back up the array LUN's directly to the tape loader.

    NDMP is for backing up NAS platforms.
    Does your backup software support "LAN-Free" backup ? Typically enterprise backup software like Netbackup, TSM, Networker require a special license/agent that gets loaded on server where you are going to implement LAN-Free backups. Without that software/license servers will be fighting for tape resources and it will be a mess (if it works at all). Also you want to use dedicated HBA or port on dual HBA for tape traffic, do not mix tape and disk traffic on the same HBA/port. In big shops people configure dedicated "tape" VSANs but that would be an overkill for your current environment.
    @dynamoxxx

  • Quicktime disables one of the disks in my RAID 5 array.

    Hi,
    I have just installed ver 7.2 of Quicktime and after I began playing a Quicktime movie file one of the disks on my RAID array came up as failed. I have managed to recover this problem, but is there anything I can do to stop this happening again???... (apart from going back to XP )
    Cheers,
    Mark.

    I just had the same problem. This is the second time I'm having this issue, the first time was when I installed Quicktime the first time a couple months ago, I don't remember which version it was (cannot remember if it was during the installation of the first file I played). I lost one of my drive in my RAID 0 or 1 (mirroring), fortunately I was able to rebuilt the image.
    The second was few minutes ago when I was trying to play the HD trailer of Rush Hour 3. But this time my computer could reboot, my 2 drives was marked as failed!!! I was really scared to lose my data. Fortunately when I went in the RAID controller setup, it was able to find one of my drive and now the second one is rebuilding. The first thing I did when I rebooted was to uninstall that crap of quicktime and will never install it again.
    My config: Vista Ultimate 64, motherboard Asus P5B Deluxe with Intel Matrix Storage. Quicktime 7.2 updated few days ago.

  • Couldn't see LUNS fpr  Compaq Storage array 1000 solaris box

    Hi All,
    I want to connect Compaq storage Works SAN array to solaris10 Box. I can see array as connected but state as unusable.
    How can i see the luns from the storage on solaris box??
    dmesg output:
    Feb  1 08:29:54 testappl        ndi_devi_online: failed for array-controller: target=11000 lun=0 ffffffff
    Feb  1 08:30:25 testappl fctl: [ID 517869 kern.warning] WARNING: fp(7)::PLOGI succeeded: no skip(2) for D_ID 11000
    Feb  1 08:30:25 testappl genunix: [ID 599346 kern.warning] WARNING: Page83 data not standards compliant COMPAQ   MSA1000          2.38
    Feb  1 08:30:25 testappl scsi: [ID 243001 kern.info] /pci@1d,700000/SUNW,emlxs@2/fp@0,0 (fcp7):
    Feb  1 08:30:25 testappl        ndi_devi_online: failed for array-controller: target=11000 lun=0 ffffffff
    Feb  1 08:47:27 testappl emlxs: [ID 349649 kern.info] [ 5.05F8]emlxs3: NOTICE: 730: Link reset.
    Feb  1 08:47:27 testappl emlxs: [ID 349649 kern.info] [ 5.0337]emlxs3: NOTICE: 710: Link down.
    Feb  1 08:47:30 testappl emlxs: [ID 349649 kern.info] [ 5.054D]emlxs3: NOTICE: 720: Link up. (2Gb, fabric, initiator)
    Feb  1 08:47:30 testappl genunix: [ID 599346 kern.warning] WARNING: Page83 data not standards compliant COMPAQ   MSA1000          2.38
    Feb  1 08:47:30 testappl scsi: [ID 243001 kern.info] /pci@1d,700000/SUNW,emlxs@2/fp@0,0 (fcp7):
    Feb  1 08:47:30 testappl        ndi_devi_online: failed for array-controller: target=11000 lun=0 ffffffff
    cfgadm -al output:
    bash-3.00# cfgadm -al
    Ap_Id                          Type         Receptacle   Occupant     Condition
    c0                             scsi-bus     connected    configured   unknown
    c0::dsk/c0t0d0                 CD-ROM       connected    configured   unknown
    c1                             scsi-bus     connected    configured   unknown
    c1::dsk/c1t0d0                 disk         connected    configured   unknown
    c1::dsk/c1t1d0                 disk         connected    configured   unknown
    c1::dsk/c1t2d0                 disk         connected    configured   unknown
    c2                             fc           connected    unconfigured unknown
    c5                             scsi-bus     connected    unconfigured unknown
    c6                             fc           connected    unconfigured unknown
    c7                             fc-fabric    connected    configured   unknown
    c7::500805f3000186d9           array-ctrl   connected    configured   unusable
    usb0/1                         usb-device   connected    configured   ok
    usb0/2                         unknown      empty        unconfigured ok
    usb1/1                         unknown      empty        unconfigured ok
    usb1/2                         unknown      empty        unconfigured okthanks in advance.

    Looks like the LUN is not configured correctly on the storage array. The kernel can't take the LUN online.
    I have seen this on various boxes, most of the time it was either that the LUN wasn't set online on the SAN box or there is a SCSI reservation on the LUN.
    Can you access the LUN from another host?

  • About ASM and SAN...

    Hello Guys,
    I have to implement 3 nodes RAC 10gR2 ob centOS4 operating system. I have study so many documents about rac instaltion and configurations. I have learn how to set the network requirements with private, public and virtual IPs and all other stuff. I have learn installtion of clusterware and database with cluster enable functionality.
    BUT the storage options are still not clear to me. We have purchases SAN and we are planning to implement ASM for the storage. Now i want to know:
    How many disk and disk partitions 3 node structure will require on SAN?
    How ASM will access SAN, or you can say OS will access this shared storage?
    Voting disk and OCR can not be store on sharted storage and need to be store on raw devices... what these raw device can be? How it can be access by all nodes?
    Above three questions are disturbing me a lot. If they are clear to me the whole storage concept will be clear and i can implement RAC.
    Please help me by answering the above 3 questions. I will be vert greatful to you.
    Regards,
    Imran

    How many disk and disk partitions 3 node structure will require on SAN?
    There's no real answer to that! With Oracle generally, RAC or no RAC, the answer to how many disks you should have is "as many as possible". Partitioning is really up to you, too, depending on what you find easiest to manage. If you have a single SAN array, for example, comprised of 15 disks that you choose to partition into three or four logical volumes so that you can call one 'data', one 'redo', one 'OS', and one 'other' -that's entirely up to you, since Oracle could care less how you partition, what you call them or how many of them there are. Moreover, everything on every partition is being striped across those 15 disks anyway, so who cares?
    I think, however, you might be thinking of the RAC-specific issues of the voting disk and the Oracle Cluster Registry. If you were using a cluster file system, they could be just two files on the file system, about 120M in size between them. Since you are going to use ASM and these two elements can't be stored inside an ASM array, you'll have to create two raw partitions for this purpose. The rest you then chop up for ASM's use.
    It is NOT true, incidentally, that "Voting disk and OCR can not be store on sharted storage". By definition, the voting disk and OCR must be on shared storage! Indeed, raw partitions, ASM arrays and cluster file systems are ALL shared storage technologies. It just so happens that those two files can't use ASM... but raw or cfs are fine.
    A raw partition is not, of course, intrinsically 'shared storage'... but if it's a raw partition on your SAN, to which all three of your nodes are physically attached, then it is shareable. It's shareable simply because three nodes can see it. And because there's no file system there with exclusive and blocking file locks, what one node does to a raw partition doesn't stop another node accessing it simultaneously (which is the definition of shared storage, of course).
    How will ASM access SAN? By you partitioning the SAN into a number of logical volumes, each one of which will be kept raw, and you then declaring each such volume as a candidate disk. You'll wrap all candidate disks up into an ASM disk group... and then Oracle will write to that disk group and hence through to the underlying logical volumes. Which comes back to the original question: how many logical volumes should you create out of, say, a 15 disk LUN on a SAN?
    Depends, as I said, on a lot of things, but for example RAID5 runs best when there are either 5 or 9 disks in the array (or did when last I looked at an EMC Clariion SAN!). So if your underlying RAID technology was going to be RAID5, you might well create 3 5-disk logical volumes on the one LUN. To let ASM use all 15 disks, you'd then create a 3-disk diskgroup (where 1 ASM disk = 1 SAN logical volume). On the other hand, you might want to keep some disks back for future storage, in which case a 1-disk ASM diskgroup representing a single 9-disk logical volume might be the go, with the remaining 6 disks on the LUN available for future expansion.
    It's a complicated topic, unfortunately. You're dealing with physical storage which is already abstracted into logical volumes and then abstracted even further by wrapping those logical volumes up into ASM disk groups. You balance performance, expandability, management convenience, your SAN vendor's optimisation tricks and so on... and hopefully come out with something that works for you!

  • Empty camera names in Flash Player with Google Chrome

    So, it seems we got another problem with devices (cameras and microphones) in Flash Player integrated with Google Chrome (PPAPI). Many Flash developers can remember clickjacking problem and ugly fix for this issue implemented in Google Chrome. For now, if you have some application that uses camera or microphone, Google Chrome users must allow access to their devices twice: for Flash Player (small window centered in Flash-object) and for Google Chrome (gray panel with buttons under address bar).
    Until recently the whole process of granting camera access looked like this:
    Application want to attach camera to Video object or NetStream.
    Even without permission you can get camera names and populate some UI components with them.
    Flash Player show security panel with "Allow" and "Deny" buttons.
    Google Chrome show it's own security panel, so both security panels are visible at the same time.
    Users press "Allow" button in Flash Player security panel.
    Now you have false for camera.muted property, but camera show zero FPS, because access is still denied in browser.
    Users press "Allow" button in browser security panel.
    Win! You have access granted everywhere.
    Of course, that second security panel of Google Chrome is a real pain. Users just don't notice it. Flash developers handled this issue with hints inside application and FAQ pages. But now we have another big problem.
    Recently the process of granting camera access changed to this:
    Application want to attach camera to Video object or NetStream.
    You can't get camera names until access granted in browser. There will be just spaces (" ", symbol with code 32) in camera.name property.
    Flash Player show security panel with "Allow" and "Deny" buttons.
    Google Chrome will not show it's security panel until access granted in Flash Player.
    Users press "Allow" button in Flash Player security panel.
    Now you have false for camera.muted property, but camera show zero FPS and have no name, because access is still denied in browser.
    Google Chrome show it's own security panel.
    Users press "Allow" button in browser security panel (this panel shown twice for some reason).
    Now you have access granted everywhere, but devices still have just spaces instead of real names.
    Unfortunately, AS3 will not update camera names after access granted in browser. Camera names are empty event in Flash Player settings window before browser access granting. So it's impossible now to get camera names in Flash application running in Google Chrome without reloading. User need to grant access in browser first, than reload application and only after that we can get camera names in AS3. I have tried to use flash.media.scanHardware() to refresh camera names, but it seems it's not working.
    Also I have created a small example and posted it online. You can test it by yourself in Google Chrome. Just don't forget to clear your choice each time. You need to remove "http://wonderfl.net:80" entry from list on chrome://settings/contentExceptions#media-stream to clear your prevoius choice.
    Also I got similar complaints from Opera users.
    Here is my code:
    package
        import flash.display.Sprite;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
        import flash.events.Event;
        import flash.events.TimerEvent;
        import flash.media.Camera;
        import flash.media.Microphone;
        import flash.media.Video;
        import flash.media.scanHardware;
        import flash.text.TextField;
        import flash.utils.Timer;
        public class BrowserPermissionTest extends Sprite
            private var output:TextField;
            private var timer:Timer;
            public function BrowserPermissionTest()
                super();
                addEventListener(Event.ADDED_TO_STAGE, addedToStageHandler);
            private function addedToStageHandler(event:Event):void
                removeEventListener(Event.ADDED_TO_STAGE, addedToStageHandler);
                stage.scaleMode = StageScaleMode.NO_SCALE;
                stage.align = StageAlign.TOP_LEFT;
                output = new TextField();
                output.border = true;
                output.multiline = true;
                output.wordWrap = true;
                output.x = output.y = 10;
                addChild(output);
                updateView();
                stage.addEventListener(Event.RESIZE, stage_resizeHandler);
                var i:int;
                var numCameras:int = 0;
                var numMicrophones:int = 0;
                if (Camera.isSupported)
                    var cameraNames:Array = Camera.names;
                    numCameras = cameraNames ? cameraNames.length : 0;
                    if (numCameras > 0)
                        log("Cameras:");
                        for (i = 0; i < numCameras; i++)
                            var cameraName:String = cameraNames[i];
                            log((i + 1) + ". \"" + cameraName + "\"");
                    else
                        log("Camera not found.");
                else
                    log("Camera is not supported.");
                log("");
                if (Microphone.isSupported)
                    var microphoneNames:Array = Microphone.names;
                    numMicrophones = microphoneNames ? microphoneNames.length : 0;
                    if (numMicrophones > 0)
                        log("Microphones:");
                        for (i = 0; i < numMicrophones; i++)
                            var microphoneName:String = microphoneNames[i];
                            log((i + 1) + ". \"" + microphoneName + "\"");
                    else
                        log("Microphone not found.");
                else
                    log("Microphone is not supported.");
                log("");
                if (numCameras > 0 || numMicrophones > 0)
                    if (numCameras > 0)
                        var defaultCamera:Camera = Camera.getCamera();
                        var video:Video = new Video(1, 1);
                        addChild(video);
                        video.attachCamera(defaultCamera);
                        defaultCamera.muted ? devicesMutedInFlashPlayer() : devicesUnmutedInFlashPlayer();
                    else if (numMicrophones > 0)
                        var defaultMicrophone:Microphone = Microphone.getMicrophone();
                        defaultMicrophone.setLoopBack(true);
                        defaultMicrophone.muted ? devicesMutedInFlashPlayer() : devicesUnmutedInFlashPlayer();
                    else
                        log("No devices found for test.");
            private function devicesMutedInFlashPlayer():void
                log("Devices are muted in Flash Player.");
                log("Starting permission check timer...");
                timer = new Timer(100);
                timer.addEventListener(TimerEvent.TIMER, flashPlayerPermissionTimer_timerHandler);
                timer.start();
            private function flashPlayerPermissionTimer_timerHandler(event:TimerEvent):void
                var defaultCamera:Camera = Camera.getCamera();
                if (!isDevicesMutedInFlashPlayer())
                    timer.stop();
                    timer.removeEventListener(TimerEvent.TIMER, flashPlayerPermissionTimer_timerHandler);
                    timer = null;
                    devicesUnmutedInFlashPlayer();
            private function devicesUnmutedInFlashPlayer():void
                log("Devices are unmuted in Flash Player.");
                isDevicesMutedInBrowser() ? devicesMutedInBrowser() : devicesUnmutedInBrowser();
            private function devicesMutedInBrowser():void
                log("Devices are muted in browser.");
                log("Starting permission check timer...");
                timer = new Timer(100);
                timer.addEventListener(TimerEvent.TIMER, browserPermissionTimer_timerHandler);
                timer.start();
            private function browserPermissionTimer_timerHandler(event:TimerEvent):void
                scanHardware();
                if (!isDevicesMutedInBrowser())
                    timer.stop();
                    timer.removeEventListener(TimerEvent.TIMER, browserPermissionTimer_timerHandler);
                    timer = null;
                    devicesUnmutedInBrowser();
            private function devicesUnmutedInBrowser():void
                log("Devices are unmuted in browser.");
            private function isDevicesMutedInFlashPlayer():Boolean
                var cameraNames:Array = Camera.names;
                var numCameras:int = cameraNames ? cameraNames.length : 0;
                if (numCameras > 0)
                    var defaultCamera:Camera = Camera.getCamera();
                    return defaultCamera.muted;
                else
                    var microphoneNames:Array = Camera.names;
                    var numMicrophones:int = microphoneNames ? microphoneNames.length : 0;
                    if (numMicrophones > 0)
                        var defaultMicrophone:Microphone = Microphone.getMicrophone();
                        return defaultMicrophone.muted;
                return true;
            private function isDevicesMutedInBrowser():Boolean
                var cameraNames:Array = Camera.names;
                var numCameras:int = cameraNames.length;
                for (var i:int = 0; i < numCameras; i++)
                    var cameraName:String = cameraNames[i];
                    if (cameraName != " ")
                        return false;
                var microphoneNames:Array = Microphone.names;
                var numMicrophones:int = microphoneNames.length;
                for (i = 0; i < numMicrophones; i++)
                    var microphoneName:String = microphoneNames[i];
                    if (microphoneName != " ")
                        return false;
                return true;
            private function log(text:String):void
                output.appendText(text + "\n");
            private function updateView():void
                output.width = stage.stageWidth - 2 * output.x;
                output.height = stage.stageHeight - 2 * output.y;
            private function stage_resizeHandler(event:Event):void
                updateView();
    So, I wonder if it's a bug or some kind of new security feature implemented by Google Chrome team? Maybe someone already faced this problem and can share more info about it.
    For now it looks like modern browsers killing Flash with all that features and ugly solutions.
    PS: You can find some silly mistakes in my message. Sorry for my English.
    Updated code to check microphones also.

    After couple of tests I have found strange behavior of PPAPI Flash.
    The test was made with two SWFs working simultaneously on the same page. The first one was asking for device access like some regular application (by calling video.attachCamera). The second SWF was created/removed in cycle by JavaScript to avoid this thing:
    Scanning the hardware for cameras takes time. When the runtime finds at least one camera, the hardware is not scanned again for the lifetime of the player instance.
    I have made both SWFs to get all devices names and post them to screen. So I was able to see all changes regarding devices in first SWF (before and after permission granted) and in refreshable second SWF (each second). Also I have used scanHardware in both SWfs.
    I have found that second (refreshable) SWF got correct list of devices, but first one got only microphones. Camera names was empty.
    So it looks like we have another bug of PPAPI Flash here. I don't have another explanation for this. I mean, why do they need to update only microphones, but not cameras?

  • How to combine 3 or more set of 2D array to make a 3D array

    Hi all,
    I have few sets of 2D array , I want them to group together in a 3D array so each 2D array will be in a different page. Is there a way to do that. I tried reshape array but was not successfull since my understanding of handling array is less. Can you please help me out.(example data is attached)
    Thanks,
    Ankit G
    Solved!
    Go to Solution.
    Attachments:
    2D data.vi ‏11 KB

    Build Array should do what you want.
    Note that I changed the value of the first element in arrays 2 and 3 so you can tell where the data on different pages in appended array came from.
    Lynn
    Attachments:
    2D data.2.vi ‏9 KB

  • SAN Replication with ZFS

    We have Solaris 10 Oracle database servers, with ZFS filesystems on an HP XP SAN array. We are going to replicate the data to a backup data center using the XP array itself. We will build identical servers at the backup data center. My question is, how will the servers at the backup data center recognize the data once it is replicated by the SAN? Will I simply need to import the zpool, and is it that simple? I can't find any documentation on the topic. Thanks.

    I've used Business Copy (BC) on an HP XP1024 array and imported a copy of a ZFS storage pool on a different host using something like ( Veritas Volume Mgr example ) :
    zpool import -d /dev/vx/dsk/hpxpdg1 -f poolHPXP0

  • Can't Own a Camera Phone

    I work in the Government sector and am not allowed to have a camera or camera phone at work. Has anyone heard if Apple has plans on manufacturing the same IPhone sans the camera? AT&T, Verizon, etc. currently do this with other popular phones models, such as some of their Blackberry's and the Palm Treo's.
    If a IPhone without camera installed is not forthcoming, does anyone know if the camera can be tenporarily or permanently disabled?

    It isn't AT&T or Verizon that do this - it is the cell phone manufacturer that offers a non-camera model which the cellular provider decides to carry.
    No one here knows if Apple has such plans but IMO I think this is very doubtful.
    I recall a thread here a while back regarding this very thing. Are you saying you would be able to present the iPhone at the security desk each day or each time when entering the building demonstrating that the camera function has been disabled - permanently or temporarily? If temporarily would be acceptable, how about a case that completely covers the small camera lens located on the back side of the iPhone?
    Disabling the camera function itself would require hacking the iPhone to remove the camera operation.

Maybe you are looking for

  • Can Windows Server Backup spread a single backup job across multiple disks if they are not set up as a virtual disk?

    This may be a dumb question, but I can't seem to find any definitive information after having done many, many searches.  Short question is - can Windows Server Backup spread a single backup job across multiple disks if they are not in a storage pool

  • More than one dataprovider for a datagrid

    Is there a way that i can provide more than one dataprovider with a comma or a semicolon seperated values in the datagrid? Since i need to display values from two different providers. Thanks, Geetha

  • File resources in clustered environment

              I understand that resource on file system cannot be clustered.           We have an application packaged as an ear file but unfortunately we get the properties           files from the file system. We usually copy these resources while inst

  • Cannot view images in Lighroom

    When I import files the files are there but cannot see the images ? Have updated and re- installed any ideas

  • Cursor is in URL field, not (Google) search box

    This problem is referred to on so many forums, but after half the afternoon going from site to site trying out suggestions, I haven't been able to fix it... When I open Firefox (Google is my homepage), the cursor is in the Google search box, but if I