This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # On Hyper-V and Xen Virtual Machines we want to add memory and cpus as soon as they appear | |
| ATTR{[dmi/id]sys_vendor}=="Microsoft Corporation", ATTR{[dmi/id]product_name}=="Virtual Machine", GOTO="vm_hotadd_apply" | |
| ATTR{[dmi/id]sys_vendor}=="Xen", GOTO="vm_hotadd_apply" | |
| GOTO="vm_hotadd_end" | |
| LABEL="vm_hotadd_apply" | |
| # Memory hotadd request | |
| SUBSYSTEM=="memory", ACTION=="add", DEVPATH=="/devices/system/memory/memory[0-9]*", TEST=="state", ATTR{state}!="online", ATTR{state}="online" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <? | |
| define('ORA_CHARSET_DEFAULT', 'SPANISH_SPAIN.AL32UTF8'); | |
| define('ORA_CONNECTION_TYPE_DEFAULT', 1); | |
| define('ORA_CONNECTION_TYPE_PERSISTENT', 2); | |
| define('ORA_CONNECTION_TYPE_NEW', 3); | |
| define('ORA_MESSAGES_NOT_CONNECTED', 'Not connected to Oracle instance'); | |
| class ORACLE { | |
| private static $_instance; | |
| private $conn_handle; |