Should we include the NIC do not use during P2V?

There are 2 NIC cards in a physical machine, but only one is used.

During P2V, should we include both of them and remove one not in use on a virtual machine?  It is because we can choose the bad NIC card if we just choose a NIC card during the P2V process.

Your opinion is requested.

Hello

When you perform a P2V conversion, try to remove all the devices that you do not use from the server.  This is also your chance to allocate hardware resources such as CPU or memory more or less, or adjust the allocated disk space.

When the conversion is completed, you will need to reconfigure the network settings, so it is not really important which NIC you remove server.

Best wishes / Saludos

-

Tags: VMware

Similar Questions

  • the system configuration not saved during the last stop on the service console error

    Hello

    I m getting this msg of error on the service console

    the system configuration not saved during the last stop on the service console error

    but when I tried to run some commands s troubleshoot mode according to the vmware esxcfg-boot - b, esxcfg-boot - p I got an error message like

    bad interprator usr permission denied

    I guess you follow this KB: http://kb.vmware.com/kb/1002503

    But seems like you have file system errors.

    Try to restart your system in init 1

    Then use fsck command to check your ext3 file system (remember that the file systems are not in use and use the - f option).

    André

  • Cisco 1921: aboard the hw module not used?

    Hello

    I have a 1921 Cisco who has an IPSec connection to the outside, but despite this, it seems that the "Accelerator" hw module is not used because the stats are all zeros (see below). Also, I can see that the module is enabled (using the crypto engine see the brief), but the router connection to the sw module (with the help of see the crypto engine connections flow)

    What could that be caused by?

    See you soon,.

    Sylvain

    gw#show crypto engine accelerator statistic Device:   Onboard VPN Location: Onboard: 0      :Statistics for encryption device since the last clear       of counters 4294967 seconds ago                    0 packets in                           0 packets out                              0 bytes in                             0 bytes out                                0 paks/sec in                          0 paks/sec out                             0 Kbits/sec in                         0 Kbits/sec out                            0 packets decrypted                    0 packets encrypted                        0 bytes before decrypt                 0 bytes encrypted                          0 bytes decrypted                      0 bytes after encrypt                      0 packets decompressed                 0 packets compressed                       0 bytes before decomp                  0 bytes before comp                        0 bytes after decomp                   0 bytes after comp                         0 packets bypass decompr               0 packets bypass compres                    0 bytes bypass decompres               0 bytes bypass compressi                    0 packets not decompress               0 packets not compressed                    0 bytes not decompressed               0 bytes not compressed                    1.0:1 compression ratio                1.0:1 overall           Last 5 minutes:                    0 packets in                           0 packets out                              0 paks/sec in                          0 paks/sec out                             0 bits/sec in                          0 bits/sec out                             0 bytes decrypted                      0 bytes encrypted                          0 Kbits/sec decrypted                  0 Kbits/sec encrypted                     1.0:1 compression ratio                1.0:1 overall gw#show crypto engine brief         crypto engine name:  Virtual Private Network (VPN) Module         crypto engine type:  hardware                      State:  Enabled                   Location:  onboard 0               Product Name:  Onboard-VPN                 HW Version:  1.0                Compression:  Yes                        DES:  Yes                      3 DES:  Yes                    AES CBC:  Yes (128,192,256)                   AES CNTR:  No      Maximum buffer length:  0000           Maximum DH index:  0000           Maximum SA index:  0000         Maximum Flow index:  2000       Maximum RSA key size:  0000         crypto engine name:  Cisco VPN Software Implementation         crypto engine type:  software              serial number:  02FBA4F2        crypto engine state:  installed      crypto engine in slot:  N/A gw#show crypto engine connections flow Crypto engine: Software Crypto Engine       flow_id   ah_conn_id  esp_conn_id     comp_spi           245                 245       0x2F12           246                 246       0x4E13 Crypto engine: Onboard VPN       flow_id   ah_conn_id  esp_conn_id     comp_spi 

    Hey, Sylvain.

    If you are looking for suite-B on hardware support, then you must upgrade to train 15.2 (4) M.

    See the release notes for more details

    http://www.Cisco.com/en/us/docs/iOS/15_2m_and_t/release/notes/15_2m_and_t.PDF

    "IPSec required with Suite B algorithms are now supported by the hardware encryption engine on the.

    Cisco Integrated Services routers generation 2:800 Series, series of 1900, 2901, 2911, 2921, 2935R,

    3925th and 3945TH, which each integrated hardware acceleration of encryption VPN.

    Suite B necessary includes four suites in the user interface of encryption algorithms to use with IKE

    and IPsec, which are described in RFC 6379 and RFC 6380. Each suite consists of a cipher

    algorithm, a digital signature algorithm, an algorithm agree key and a digest of hash or message

    algorithm.

    Suite B provides an improvement in the overall security of Cisco's VPN IPsec, and it allows additional

    Security for large scale deployments. Suite B is the recommended solution for organizations that need

    Advanced security encryption for the wide area network (WAN) between remote sites.

    To get detailed information on the features of Cisco IOS IPsec to 15.2 (4 M) that support the Suite B"

    This should answer your question.

  • Include the attribute custom report using the disc

    I'm to customize a script provided by Alan Renouf in his PowerGUI Powerpack.  The script I'm customization in the Powerpack is named 'VM disk sizes.

    His screenplay does everything we need from a point of view of output except that we can also include a custom attribute (Custom Field) VM as well as the information of the disk space.  I have included the below custom script, please note that this is a script/PowerGUI PowerPack we customize but was initially written and provided by Alan Renouf and all credit for this original work must be given to Alan.

    I have included our custom below script and have "in bold Red" line in the script that does not work:

    $AllVMs = get-View - ViewType VirtualMachine. Where {-not $_.} Config.Template}
    $SortedVMs = $AllVMs | Select *, @{N = "NumDisks"; E={@($_. Guest.Disk.Length)}} | Sort-Object-down NumDisks
    {ForEach ($VM to $SortedVMs)
    $Details = new-object PSObject
    $Details | Add-Member-Name name-value $VM.name - Membertype NoteProperty
    $Details | Add-Member - MemberType NoteProperty-name CustomFields-value (($VM.)) CustomFields | %{"$($_. Key) = $($_.) (Value)'}) - join ',')
    $DiskNum = 0
    Foreach ($disk in $VM. Guest.Disk) {}
    $Details | Add-Member-name "drive$ ($DiskNum) path"-MemberType NoteProperty-value $Disk.DiskPath
    $Details | Add-Member-Name "Disk$ ($DiskNum) Capacity (MB)"-MemberType NoteProperty-value ([math]: round ($disk.) Capacity / 1 MB))
    $Details | Add-Member-Name "Disk$ ($DiskNum) FreeSpace (MB)"-MemberType NoteProperty-value ([math]: round ($disk.) FreeSpace / 1 MB))
    $DiskNum ++
    } # end foreach nested
    $Details.PSTypeNames.Clear)
    $Details.PSTypeNames.Add ('Virtu-al'.PowerPack.VMGuestDisks) '
    $Details.PSTypeNames.Add ('Virtu-al'.PowerPack.VM) '
    $Details
    } # end foreach

    When you use the Get view as seen on the first line of the script, it appears the CustomField information not available in the generated view.  How to develop the view to include CustomFields/CustomAttributes for each virtual computer in our environment and then report on their subject?

    Please let me know if I did a poor job explaining the scenario and what I'm after here.  Any help is greatly appreciated!

    Hello, jSun311-

    Yes, you are right - there is no such thing as the "CustomFields" property on a managed object VirtualMachine .  You can always get the names and the corresponding values of the custom fields, you just have a little.  For example, you could change the line to:

    ...## make a comma-separated string that holds the custom field key/value pairs, like "cust0 = myValue0,cust1 = myDateInfo"$Details | Add-Member -MemberType NoteProperty -Name CustomFields -Value (($VM.Value | %{$oCustFieldStrValue = $_; "{0} = {1}" -f ($VM.AvailableField | ?{$_.Key -eq $oCustFieldStrValue.Key}).Name, $oCustFieldStrValue.Value}) -join ",")...
    

    and you should be happy as a clam.

    BTW, this call Get-view on your first line could be optimized a little using the - Filter parameter, like:

    $AllVMs = Get-View -ViewType VirtualMachine -Filter @{"Config.Template" = "false"}
    

    Pretty minimal in this case, but can be very useful in other scenarios of Get-View.  And, you may want to retrieve only the properties of the managed VirtualMachine object that you plan to use, so that the memory usage is reduced to the minimum, speed is optimized, etc. (do you this by using the - Get-mode property param).

    Anyway, how does do for you?

  • PHP includes the file is not read.

    I made a php include file that contains all of the generic actions mail processing script.  When I deploy my page contact form with appropriately updated code and linking using the include() function code and then provide a path to the file, it does not work.  The end result is that I get an email to my account that I put in place must be sent to me as an alert if there is a problem reading the include file.  I'll give you the coding for the include file and the feedback form page:

    Include a file code:

    <? PHP
    If (isset($_SERVER['SCRIPT_NAME']) & & strpos ($_SERVER ['SCRIPT_NAME'],))
    Inc.php')) "exit";
    Remove characters from exhaust AFTER table
    If (via PHP_VERSION < 6 & & get_magic_quotes_gpc()) {}
    function stripslashes_deep ($value) {}
    $value = is_array ($value)? array_map ('stripslashes_deep', $value): stripslashes ($value);
    return $value;
    }
    $_POST = array_map ('stripslashes_deep', $_POST);
    }
    Suppose that there is nothing suspicious
    $suspect = false;

    create a model to identify suspicious phrases
    $pattern = ' / content-Type. Bcc. Cc: / I ';

    function to check suspicious phrases
    function isSuspect ($val, $pattern and $suspect) {}
    If the variable is an array, loop through each element
    and pass it to the same function recursively
    If (is_array ($val)) {}
    {foreach ($val as $item)
    isSuspect ($item, $pattern, $suspect);
    }
    }
    else {}
    If one of the suspicious phrases is found, the Boolean true value
    If (preg_match ($pattern, $val)) {}
    $suspect = true;
    }
    }
    }

    Check the array $_POST and suspicious content subdashboards
    isSuspect ($_POST, $pattern, $suspect);
    If (! empty($_POST['url'])) {}
    $suspect = true;
    }
    If {($suspect)
    $mailSent = false;
    unset ($missing);
    } else {}
    treat the variables of $_POST
    foreach ($_POST as $key = > $value) {}
    assign a temporary variable and strip space if this isn't a table
    $temp = is_array ($value)? $value: trim ($value);
    so empty and if necessary, add to the $missing table
    If (empty ($temp) & & in_array ($key, $required)) {}
    return ($manquant, $key);
    } else if (in_array ($key, $expected)) {}
    Otherwise, assign to a variable of the same name as $key
    ${$key} = $temp;
    }
    }
    }

    validate email address
    If (! empty ($email)) {}
    Regex to identify illegal characters in the e-mail address
    $checkEmail = ' / ^ [^ @] + @[^ \s\r\n\'";,@%]+$/';]
    reject the e-mail address, if it does not
    If (! preg_match ($checkEmail, $email)) {}
    $suspect = true;
    $mailSent = false;
    unset ($missing);
    }
    }

    go forward only if all OK required fields
    If (! $suspect & & empty ($missing)) {}
    Initialize the variable $message
    $message = ";
    loop in the $expected table
    {foreach ($expected as $item)
    assign the value of the current item to $val
    If (isset(${$item}) & &! empty(${$item})) {}
    $val = ${$item};
    } else {}
    If she has no value, set "not chosen".
    $val = "not sΘlectionnΘe";
    }
    If a table, expand under chain comma-gap
    If (is_array ($val)) {}
    $val = implode (', ', $val);
    }
    Add the label and value to the message body
    $message. = ucfirst ($item). ' ': $val\r\n\r\n ";
    }

    the length of the line is limited to 70 characters
    $message = wordwrap ($message, 70);

    Create the Reply-To header
    If (! empty ($email)) {}
    $headers. = "\r\nReply-To: $email";
    }

    Send it
    $mailSent = mail ($ $subject, $message, $headers);
    If {($mailSent)
    $missing is more necessary if the email is sent, so unplugged it
    unset ($missing); ECHO ('please contact Solutions Web common wealth');
    }
    }
    ? >
    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    " < html xmlns =" http://www.w3.org/1999/xhtml ">
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"
    < title > Untitled Document < /title >
    < / head >
    < body >
    < / body >
    < / html >

    Code of the feedback form page (with the code include line, note the path of the file that I used.  I do indeed follow the include file; process_mail. Inc.php in a folder include in the main public_html directory.  It should work.  "Maybe there is somethiing wrong with my code?) :

    <? PHP
    If (array_key_exists ('Send', $_POST)) {}
    mail processing script
        $to = ' [email protected] '; / / use your own e-mail address
    $subject = "contact form investigation."

    list fields should
    $expected is array ('name', 'email', 'phone', 'Comments');.
    Set required fields
    $required = array ('name', 'email', 'Comments');
    create an empty array for all the missing fields
    $missing = array();
    create additional headers
    $headers = "from: Caleb Wright < . " [email protected] > \r\n";
    $headers. = "content-Type: text/plain;" charset = utf-8\r\n ";
    $headers. = "cc: " [email protected] '; 
    If (! empty ($email)) {}
    $headers. = "\r\nReply-To: $email";
    }
    $process = '.. / includes/process_mail. Inc.php';
    If (file_exists ($process) & & is_readable ($process)) {}
    include ($process);
    } else {}
    $mailSent = false;
    mail ("$ ' server problem","$process cannot be read", $headers);
    }
    }
    ? >
    <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    " < html xmlns =" http://www.w3.org/1999/xhtml ">
    < head >
    < name meta = "description" content = "" Common Wealth Web Solutions: Web development, Graphic Design, Media Consultant, Community Engagement "/ >"
    < name meta = "keywords" content = "' Common, wealth, Web, Design, graphic design, development, interactivity, services, fla sh, php, javascript, ajax, professional Solution, Caleb Wright, Peter Wallis, artist, video, multimedia, production, search engine optimization, SEO, video production design" / > "
    < meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"
    < title > Common Wealth Web Solutions: < /title > Contact form
    < link href = "stylesMain.css" rel = "stylesheet" type = "text/css" / > "
    <!-[if lt IE 7] >
    < link rel = "stylesheet" type = "text/css" href = "PNGfix.css" / > "
    <! [endif]-->
    <!-[if lte IE 7] >
    < style type = "text/css" >
    #hornav ul li {padding: 0 0 0 10px ;}}
    < / style >
    <! [endif]-->
    <!-[if lte IE 6] >
    < style type = "text/css" >
    #wrapper - body, #wrapper - 1, #wrapper-2, #wrapper - 3 {height: 1% ;}}
    < / style >
    <! [endif]-->
    < script type = "text/javascript" src = "scripts.js" > < / script >
    < script src = "Scripts/swfobject_modified.js" type = "text/javascript" > < / script > "
    < script src = "SpryAssets/SpryAccordion.js" type = "text/javascript" > < / script > "
    < style type = "text/css" >
    {#apDiv1}
    position: absolute;
    Width: 1844px;
    height: 43px;
    z-index: 1;
    left: 64px;
    top: 253px;
    }
    {body
    background-color: #FFF;
    }
    < / style >
    < link href = "SpryAssets/SpryAccordion_flexible.css" rel = "stylesheet" type = "text/css" / > "
    < style type = "text/css" >
    a: link {}
    Color: #00F;
    }
    < / style >
    < link href = "contact.css" rel = "stylesheet" type = "text/css" / > "
    < script type = "text/javascript" >

    var _gaq = _gaq. [];
    _gaq.push (['_setAccount ', 'UA-3119473-5']);
    _gaq.push (['_setDomainName ', 'none']);
    _gaq.push (["_setAllowLinker", true]);
    _gaq.push (['_trackPageview ']);

    (function() {}
    GA var = document.createElement ('script'); GA.type = ' text/javascript '; GA. Async = true;
    ga.src = ("https:" == document.location.protocol? ) https://SSL ' : ' http://www ( ') + «.google-analytics.com/ga.js ";
    var s = document.getElementsByTagName ('script') [0]; ParentNode.InsertBefore (ga, s);
    })();

    < /script >
    < script type = "text/javascript" >

    var _gaq = _gaq. [];
    _gaq.push (['_setAccount ', 'UA-3119473-6']);
    _gaq.push (['_setDomainName ', 'none']);
    _gaq.push (["_setAllowLinker", true]);
    _gaq.push (['_trackPageview ']);

    (function() {}
    GA var = document.createElement ('script'); GA.type = ' text/javascript '; GA. Async = true;
    ga.src = ("https:" == document.location.protocol? ) https://SSL ' : ' http://www ( ') + «.google-analytics.com/ga.js ";
    var s = document.getElementsByTagName ('script') [0]; ParentNode.InsertBefore (ga, s);
    })();

    < /script >
    < / head >
    < body >
    < div id = "wrapper" body >
    < div id = "wrapper-1" >
    < div id = "branding" >
    < h1 >
    < object classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width = "700" height = "250" id = 'FlashID' title = "Common Wealth banniΦre" > "
    < param name = "movie" value = "commonwealthbanner.swf" / > "
    < param name = "quality" value = "high" / >
    < param name = "wmode" value = "opaque" / >
    < param name = "swfversion' value ="6.0.65.0"/ >
    <!-this param tag prompts users with Flash Player 6.0 r65 or later to download the latest version of Flash Player. Delete it if you do not want users to display the prompt. ->
    < param name = "expressinstall" value = "Scripts/expressInstall.swf" / > "
    <!-next object tag is for non - IE browsers. Then he hide from IE using IECC. ->
    <!-[if! IE] >->
    < object type = "application/x-shockwave-flash" data = "commonwealthbanner.swf" width = "700" height = "250" > "
    <!-<! [endif]-->
    < param name = "quality" value = "high" / >
    < param name = "wmode" value = "opaque" / >
    < param name = "swfversion' value ="6.0.65.0"/ >
    < param name = "expressinstall" value = "Scripts/expressInstall.swf" / > "
    <!-the browser displays the following alternative content for users of Flash Player 6.0 and higher. ->
    < div >
    < h4 > the content of this page requires a newer version of Adobe Flash Player. < / h4 >
    " < p > < a href =" http://www.Adobe.com/go/getflashplayer_fr "> < img src = ' http://www.Adobe.com/images/shared/download_buttons/get_flash_player.gif "alt = 'Get Adobe Flash player' width = '112' height ="33"/ > < /a > < /p > "
    < / div >
    <!-[if! IE] >->
    < / object >
    <!-<! [endif]-->
    < / object >
    < / h1 >
    < div > < / div >
    < / div >
    < div id = "wrapper-2" >
    < div id = "top content" class = "png" > < / div >
    < div id = "wrapper-3" >
    < div id = "content-1" >
    < div class = "content wrap" >
    < div id = "Accordion1" class = "Accordion" tabindex = "0" >
    < div class = "AccordionPanel" >
    < div class = "AccordionPanelTab" > Site Navigation < / div >
    < div class = "AccordionPanelContent" > < a href = "index.php" > Mission < /a > < / div > ""
    < / div >
    < div class = "AccordionPanel" >
    < div class = "AccordionPanelTab" > Services < / div >
    < div class = "AccordionPanelContent" >
    < p > < a href = "Services_Web Design.php" title = "Home" > Web Design < /a > < /p >
    < p > < a href = 'Design.php of Production' video > video Production Design < /a > < /p >
    < p > < a href = "SEO.php ' > Search Engine Optimization < /a > < /p >" "
    < / div >
    < / div >
    < div class = "AccordionPanel" >
    < div class = "AccordionPanelTab" > about us < / div >
    < div class = "AccordionPanelContent" >
    < p > < a href = "AboutCaleb.php" > Caleb Wright < /a > < /p > ""
    < p > Coming Soon... < /p >
    < /P > < p > Peter Wallis
    < / div >
    < / div >
    < div class = "AccordionPanel" >
    < div class = "AccordionPanelTab" > Contact < / div >
    < div class = "AccordionPanelContent" >
    < p > < a href = "Contact Form.php" > form < /a > < /p >
    < / div >
    < / div >
    < / div >
    < p > < / p >
    < / div >
    < / div >
    < div id = "content-2" >
    < div class = "content wrap" >
    Contact us < h1 > < / h1 >
    <? PHP
    If ($_POST & & isset ($missing) & &! empty ($missing)) {}
    ? >
    < class p = 'WARNING' > please fill in the missing elements indicated. < /p >
    <? PHP
    } else if ($_POST & &! $mailSent) {}
    ? >
    < p > < strong > your message has been sent. Thanks for choosing Web Solutions common wealth.
    < facilities > < / p >
    <? PHP}? >
    < p > < / p >
    < form action = "<?" PHP echo $_SERVER ['PHP_SELF'];? ">" method = "post" name = 'Contact us' class = "content-wrap" id = "contact us" >
    < fieldset > < class legend = "AccordionPanelContent" > contact information < / legend > < p >
    < label for = "name" > < span class = "fieldname" > name: </span >
    <? PHP
    If (isset ($missing) & & in_array ('name', $missing)) {? >}
    < span class = "WARNING" > please enter your name < span > <? PHP}? >
    < / label >
    < label for = "name" > < / label >
    < span id = "sprytextfield1" >
    < input name = "name" type = "text" class = "textInput" id = 'name '.
    <? PHP if (isset ($missing)) {}
    "' echo ' value =" ".htmlentities ($_POST ['name'], ENT_COMPAT, ' UTF - 8' UTF - 8') .e. '" ';
    } ? >
    / >
    </span > < / p >
    < class p 'fieldname' = >
    < label for = "email" > Email:? PHP
    If (isset ($missing) & & in_array ('email', $missing)) {? >}
    < span class = "WARNING" > enter your e-mail < span > <? PHP}? >
    < / label >
    < input name = "email" type = "text" class = "textInput" id = "email".
    <? PHP if (isset ($missing)) {}
    "' echo ' value =" ".htmlentities ($_POST ['email'], ENT_COMPAT, ' UTF - 8' UTF - 8') .e. '" ';
    } ? >
    / >
    < /p >
    < p >
    < label class "phone" = "fieldname" = > phone: < br / >
    < / label >

    < input name = "phone" type = "text" class = "textInput" id = "phone".
    <? PHP if (isset ($missing)) {}
    "' echo ' value =" ".htmlentities ($_POST ['Telephone'], ENT_COMPAT, ' UTF - 8' UTF - 8') .e. '" ';
    } ? >
    / >
    < /p >
    < / fieldset >
    < p > < / p >
    < fieldset >
    < class = "AccordionPanelContent" legend > how can we help you? < / legend >
    < label for 'Comments' = > < br / >
    <? PHP
    If (isset ($missing) & & in_array ('Comments', $missing)) {? >}
    Please enter your feedback < span > <? PHP}? >
    < / label >
    < = 'comments' id = cols 'comments' textarea name = "100" rows = "5" > <? PHP
    If (isset ($missing)) {}
    echo htmlentities ($_POST ['comment'] ", ENT_COMPAT, ' UTF-8 ');
    } ? > < / textarea >
    < /p >

    < p >
    < input type = "submit" name = "send" id = "send" value = "Send comments" / >
    < /p >
    < id p = "website" >
    website < label = 'url' >: < / label >
    < /p >
    < / make >
    < / div >
    < / div >
    < div id = "content-bottom" > < / div >
    < / div >
    < div id = "footer" >
    < p > < strong > common wealth Web Solutions < facilities >
    < script type = "text/javascript" >
    <!--
    applesearch.init ();
    ->
    < /script > < strong > © 2011 < facilities > < / p >
    < / div >
    < / div >
    < / div >
    < / div >
    < script type = "text/javascript" >
    var Accordion1 = new Spry.Widget.Accordion ("Accordion1", {useFixedPanelHeights: false, defaultPanel:-1});
    < /script >
    < / body >
    < / html >

    The code immediately preceding is the code with php feedback form page.

    Since your email is a failure I will assume the rest of your script works.  I'm looking specifically at these lines:

      $process = '../includes/process_mail.inc.php';
        if (file_exists($process) && is_readable($process)) {
            include($process);
    

    Things that must be confirmed here are that the path is right and it has the appropriate permissions.  Have you tried to delete this statement 'and' in your 'if' and see if those who operate independently.  I have a feeling that if the path is right that the file does not have the appropriate permissions on your server for access global read which would, "is_readable" fail and thus put an end to your script.

    Can you test those and after return?

  • onLoad - javascript - where should I include the code?

    Hi, have searched the forum and found that the pleace to include onLoad call should be included in the HTML Body section but when I try to apply changes I get the error message:

    1 error has occurred

    * You cannot set declaratively developing the slider if you specify an ONLOAD in this attribute. You can set update of the slider programmatically by using the following syntax:

    OnLoad = "mystuff (); first_field(); »

    My appeal is:

    OnLoad = "Alert ('test')"; "

    Thank you

    Hello

    Take a look at the Page change the attributes of your page. Now there is a focus of the cursor control - make sure it is set to "do not cursor focus. You can only have one for the body tag onload, so you can't have your javascript and this set to "first item on the page.

    Andy

  • Should I charge the battery before first use?

    Hello

    Should I charge the battery before using the iPad 2 air for the first time?

    I made this whith many peripheral but never with an Apple product. Is it recommended?

    Thank you for answer

    It is not necessary. Just use it, load it when it is convenient to do so.

  • Have a new iPad 2.  Should I charge the battery before first use?

    I have an air new iPad 2 I need to charge the battery before first use?

    N °

    The battery is probably not 100% responsible, but she should be responsible enough for you to set up your new device.

  • When the CBO would not use bitmap indexes available?

    I have a large data warehouse table in a star schema classic, with an index number of bitmap for the dimension tables. When you run queries that contain parameters for multiple indexes, the CBO will only use generally one or rarely two bitmap index.

    It seems to me that if the indexes are valid, statistics, the values of the parameters are present, etc and the CBO uses a bitmap index in an AND condition, he would like to use all those she could.

    there all the parameters that affect or bitmap how indexes him CBO will use? I'm looking for some advice on what to look for or research.

    Database is 11.2.0.3 base with no patch.

    Thanks in advance,

    Sean

    rp0428 - who has been deliberate because my question is not "how to solve this problem", that's exactly what I pointed out in my post. Just trying to see if there are all the controls to weight the decision-making community organizations in this area.

    OK - then let me simply state it.

    No - there are NO these parameters. But most of the posters are not really looking for a simple yes/no answer even if of many word of questions like that.

    See my response as of March 18, 2012 19:21 in this thread: https://community.oracle.com/message/10219613?

    Here I provide a simple table with SIX bitmap index, a query that uses predicates that combine values since the execution plan and the six columns indicating the different INDEX of BITMAP UNIQUE BITMAP, BITMAP or operations and BITMAP CONVERSION to ROWID.

    I won't repeat everything here, but this example should show you that Oracle will limit itself the way you suggest.

  • Should I include the Javascripts in a new website?

    I keep reading the articles in computer magazines that JavaScript involving several should not be used. It is not secure; not all browsers can display the pages containing it is phased out; etc.

    I was looking for something to use in a new web site, that I am considering, and recently graduated in programming of web sites to the class 2 (infants), I tend to buy or get useful features, which many are written in Javascript.

    This means that the web site resulting will come crashing into a not-so-distant future?

    I have perhaps also confusing Javascript and Flash.

    Many of us have never used Flash and Yes, do not use it. JavaScript, on the other hand, is frequently used by many web developers of quality.

    JavaScript has some security flaws, but this isn't a problem if you allow Javascript jobs for that is good and leave some tasks, as a form of treatment, to PHP.

  • Team a full license can be used by another user, when the user does not use them?

    We currently have 2 cs5.5 master collection or allowed to 2c5.5 standard design.

    2 licenses of master collection are used full-time by 2 designers, but the design 2 licenses standards are shared between 4 users who only needs to access the software from time to time and us enable or disable on their computer as needed. Can do us the same thing with CC for teams and have installed more than users but activate it as a user has a need and then a week later, disable and let another user can access?

    Rafrafi: Hello. Welcome to the assistance of Adobe.

    Rafrafi: I received your request. Allow me a moment to check your account and review the details of your request.

    Ted Newman: ok thanks

    Rafrafi: With each license for creative cloud you can activate the product on 2 different machines but can use only one instance at a time.

    Rafrafi: Means that you cannot use these 2 machine together.

    Ted Newman: We want to purchase 8 licenses complete team, install all 8 on 20 computers and our peak load can be used at the same time, most of the time just 3 or 4 is used, but they will be spread across 20 machines from day to day, not always the same machine, is it possible? Do you understand what I mean. If a maxium of 8 but a dynamic distributed in 20 users who soak in one off but never more than 8 at the same time?

    Rafrafi: With creative cloud you invite users in the team.

    Rafrafi: With 8 licenses, you can invite 8 users.

    Rafrafi: It works 1 license per user.

    Rafrafi: So if you have 2 different users, using the same machine with a different user name to connect to the computer, it will not work.

    Ted Newman: up to 20 users needs 20 licenses of team?

    Rafrafi: Yes.

    Ted Newman: 8 even if only access at the same time

    Rafrafi: For a better understanding, you can contact our team of sales at 800-585-0774.

    Rafrafi: Yes. Because if you have 8 licenses you can activate it on 16 machines.

    Rafrafi: But can only use only 8 machine at any given time.

    Rafrafi: So you can activate creative cloud on 2 machines, but can only use 1 instance at a time.

    Ted Newman: ok purchase 8 licenses and install on 16 machines and use only 8 at the time. Have we not use the administration console to add and remove occasional users whenever they need to access? or is - this a withdraw permanent for users who leaves the company?

    Rafrafi: Yes you can remove users from the administration console and add them to the time where you need to add.

    Rafrafi: whenever you add them back they must accept the invitation.

    Ted Newman: ok great, thanks a lot

    Rafrafi: You're welcome.

    Rafrafi: Is there anything else that you need help?

    Ted Newman: No thanks

    Rafrafi: Should I close this case solved?

    Ted Newman: Yes please

  • locking the computer: if not using computer for a while, it locks and requires the initial password to get in

    So do not use computer for a while, it locks and requires the initial password to get back in. When it becomes available, we've been thrown off internet, or another program we are.

    I don't know why Mr. Murphy suggested a system restore. Maybe he interpreted your post differently I did. You have your screen standby/power options defined on too short a time. You can also disable the requirement for a password during the recovery.

    Right-click on an empty area of the desktop and click on personalize. To customize the applet opens. Click the screen saver. Change the timeout to something reasonable like 10 or 20 minutes. You will see where you can clear the check box next to the "password required on curriculum vitae... ».

    Now do the same in the (Control Panel) Power Options applet. This link contains pictures showing you how to disable this option:

    http://www.mydigitallife.info/2008/06/29/disable-Windows-XP-and-Vista-from-asking-for-password-to-unlock-on-wake-up-resume-from-sleepstandby/

    MS - MVP - Elephant Boy computers - don't panic!

  • How to disable the password screen when the computer is not used for a few minutes

    original title: password problems

    How can I stop my computer from ebb to needing a password, if not used for a few minutes

    Right-click your desktop image and select Customize,

    Click on the link at the bottom right, screen saver

    Uncheck the underlined

  • Join the nearest date "not used".

    I need to join the following tables by the next date "not previously signed" the nearest:

    start_table:

    st_id start_dt
    start031-dec-2014
    Start1

    January 3, 2015

    Start2January 5, 2015
    start3January 7, 2015
    Debut48 January 2015
    Debut5January 14, 2015

    end_table:

    end_id end_dt
    end0January 1, 2015
    End1January 2, 2015
    End2January 13, 2015
    End3January 15, 2015
    bout4January 17, 2015
    end519 January 2015
    end6January 20, 2015

    Result:

    st_id end_id
    start0end0
    Start1End2
    Start2End3
    start3bout4
    Debut4end5
    Debut5end6

    start0 joined end0, because the closer to the date of the next 31-dec-2014 is 1 January 2015

    Start1 joined end2, because the closer to the date of the next January 3, 2015 is January 13, 2015.

    Start2 joined end3, because as well as the date of the next more close January 5, 2015 is 13 January 2015, this is already accompanied Start1, so she joined next January 15, 2015.

    start3 joined bout4, because the date of the next although most close January 7, 2015 is 13 January 2015, this one is already joined by Start1, earliest date is January 15, 2015, but is also already joined by start2, then he joined the next available date January 17, 2015.

    Database: 11g

    Thanks in advance

    [UPDATE: changed line 37 to add "or cnt > = 0".] [This covers cases where there are more departures that ends at first.]

    Jiri.Machotka - Oracle wrote:

    I found a non recursive algorithm for this problem...

    I came up with something similar: no recursion, no joins, each table read only once.

    1. UNION ALL marked times 1 tables, with lines of departure and end marked lines - 1
    2. Order by date (first lines) and get a combination of 1's and - 1's.
      so when there are too many lines to end, the sum is negative.
    3. Get the previous cumulative minimum! Then take that end with a sum running lines, at less than the previous minimum.
    4. The remaining lines will have an end of line for each line of departure. Now number lines starting from 1 to N and the lines at the end of 1 to N, then match lines start and end in pairs. I use PIVOT to do this.
    WITH end_table (end_id, end_dt) AS (
      select 'end0',to_date('01-jan-2015','dd-mon-yyyy') from dual union all
      select 'end1',to_date('02-jan-2015','dd-mon-yyyy') from dual union all
      select 'end2',to_date('13-jan-2015','dd-mon-yyyy') from dual union all
      SELECT 'end3',to_date('15-jan-2015','dd-mon-yyyy') FROM dual UNION ALL
      select 'end4',to_date('17-jan-2015','dd-mon-yyyy') from dual union all
      SELECT 'end5',to_date('19-jan-2015','dd-mon-yyyy') FROM dual UNION ALL
      SELECT 'end6',to_date('20-jan-2015','dd-mon-yyyy') FROM dual
    )
    ,start_table (start_id, start_dt) AS (
      select 'start0',to_date('31-dec-2014','dd-mon-yyyy') from dual union all
      select 'start1',to_date('03-jan-2015','dd-mon-yyyy') from dual union all
      select 'start2',to_date('05-jan-2015','dd-mon-yyyy') from dual union all
      select 'start3',to_date('07-jan-2015','dd-mon-yyyy') from dual union all
      select 'start4',to_date('08-jan-2015','dd-mon-yyyy') from dual union all
      SELECT 'start5',to_date('14-jan-2015','dd-mon-yyyy') FROM dual
    )
    , start_and_end as (
      select -1 rowtype, end_id id, end_dt dt from end_table
      union all
      select 1, s.* from start_table s
    )
    , running_count as (
      select se.*,
        sum(rowtype) over(order by dt, rowtype desc) cnt
      from start_and_end se
    )
    , filtered_ends as (
      select rowtype, id, dt from (
        select rc.*,
          min(decode(rowtype,-1,cnt)) over(
            order by dt, rowtype desc
            rows between unbounded preceding and 1 preceding
          ) mincnt
        from running_count rc
      )
      where cnt >= nvl(mincnt,0) or cnt >= 0
    )
    select * from (
      select rowtype, id,
      row_number() over(partition by rowtype order by dt) rn
      from filtered_ends
    )
    pivot(max(id) for rowtype in(1 st_id, -1 end_id))
    order by rn;
    

    ST_ID END_ID RN

    ---------- ------ ------

    1 start0 end0

    2 Start1 end2

    3 Start2 end3

    4 start3 bout4

    5 debut4 end5

    Debut5 6 end6

  • Flatten all layers including the background (but not locked layers)

    Is there a way of

    Flatten all layers including the background excluding all locked layers Layer

    and then turn off visibility for locked layers

    Any help most welcome!

    After my previous error, I tried a solution, and you can give it a try:

    2015, use it at your own risk.

    #target photoshop

    If (app.documents.length > 0) {}

    myDocument var = app.activeDocument;

    var theLayers = getLayersIndexAndID ();

    Hide locked;

    for (var m = 0; m< thelayers.length;="" m++)="">

    If (theLayers [m] [3] == true) {hideByID (theLayers [m] [2])}

    };

    Merge visible layers;

    myDocument.activeLayer = myDocument.layers [myDocument.layers.length - 1];

    myDocument.layers [myDocument.layers.length - 1] .visible = true;

    // =======================================================

    var idMrgV = charIDToTypeID ("MrgV");

    executeAction (idMrgV, undefined, DialogModes.NO);

    };

    ////////////////////////////////////

    function getLayersIndexAndID () {}

    Var ref = new ActionReference();

    ref.putEnumerated (charIDToTypeID ("Dcmn"), charIDToTypeID ("Ordn"), charIDToTypeID ("Trgt"));

    var applicationDesc = executeActionGet (ref);

    var number = applicationDesc.getInteger (stringIDToTypeID ("numberOfLayers"));

    var theArray = new Array;

    work in layers.

    for (var m = number; m > = 0; m-) {}

    try {}

    Var ref = new ActionReference();

    ref.putIndex (charIDToTypeID ("Lyr"), m);

    var layerDesc = executeActionGet (ref);

    var layerSet is typeIDToStringID (layerDesc.getEnumerationValue (stringIDToTypeID ("layerSection")));.

    isBackground var = layerDesc.getBoolean (stringIDToTypeID ('background'));

    theName var = layerDesc.getString (stringIDToTypeID ('name'));

    theID var = layerDesc.getInteger (stringIDToTypeID ('layerID'));

    locking of the var = layerDesc.getObjectValue (stringIDToTypeID ("layerLocking"));

    anyLock var = false;

    for (var a = 0;< locking.count;="" a++)="">

    var thisLock = locking.getBoolean (locking.getKey (a));

    If (thisLock == true) {anyLock = true}

    };

    ////////////////////////////////////

    If start of Group:

    If (layerSet! = "layerSectionEnd" & isBackground! = true) {}

    theArray.push ([theName, m, anyLock theID])

    };

    ////////////////////////////////////

    }

    catch (e) {};

    };

    the results;

    return theArray

    };

    hide the layer.

    function hideByID (theID) {}

    // =======================================================

    idHd var = charIDToTypeID ('Hd');

    var desc2 = new ActionDescriptor();

    var idnull = charIDToTypeID ("null");

    var list1 = new ActionList();

    var ref1 = new ActionReference();

    Ref1.putIdentifier (charIDToTypeID ("Lyr"), theID);

    List1.putReference (ref1);

    desc2.putList (idnull, list1);

    executeAction (idHd desc2, DialogModes.NO);

    };

Maybe you are looking for