Import guest OS into Oracle VM manager template

I am getting ready to install the Oracle VM Manager template on my Oracle Virtual Server. Originally I had the VM manager on a separate machine than the OVS. I have decided that I want to free up that machine and use the VM manager template. From the instructions on installing the template it does not seem that difficult. My question is since I currently already have a few guest OS's running on my current Manager how do I import those into the VM manager template when I get it installed. Because the VM manager template will be in the running pool with the other guest OS so how does it register those guest os's that have been previously created?
Thanks

If your servers are already registered with an Oracle VM Manager, the template will not work -- it's designed to create a new server pool, which will fail. If you want to switch to the template, dismantle the pool first (but don't delete the VMs!) and then run the template installer script. It will automatically create a pool and add the server on which you start the VM. You can then add the remaining server(s) and then import the existing VMs.

Similar Messages

  • How to import legacy claims into Oracle Trade Management using API

    Oracle has provided OZF_Claim_PUB .create_claim API to create claim but there is no documentation about mandatory fields/examples. Please provide an example usage of API.

    I haven't used this particular API, but have used similar for claims. These API's are quite well documented in the doc:
    Oracle® Marketing
    API Reference Guide
    Release 11i
    Part No. B10587-01

  • Fresh install of Oracle VM Manager Template into Oracle VM Server

    Hi,
    I am trying to install the Oracle VM Manager template and then
    create an Oracle VM Manager client.
    I have already done a 'fresh install' of Oracle VM Server.
    I do not have another machine available to use to contain the
    'Oracle VM Manager', therefore, I am attempting to install the
    Oracle VM Manager template directly into an Oracle VM Manager Server and
    run the client.
    I am following the instructions of the Oracle VM Server Users Guide
    in section 4.3.
    When I extract the zip file contents into the
    /OVS/seed_pool directory, I get the following files.
    Deploy_Manager_Template.sh
    OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz
    So far, so good.
    Next, I used 'tar' to help me extract the directories of the .tgz file.
    So far, so good.
    Next, as instructed, I used 'python' and 'print randomMAC()' to create a new MAC address.
    Inside the /OVS/seed_pool/OVM_EL5U3_X86_OVM_MANAGER_PVM/vm.cfg file
    I modified the vif MAC address. I replaced the
    xx:xx:xx with the 'last three' that were generated by the python randomMAC
    function from above.
    vif = [ 'mac=00:16:3E:<my generated numbers>', ]
    So far, so good?
    In the Oracle VM Server Users Guide in section 4.3.,
    The next step, expains that I should run
    xm create mv.cfg
    I did this. When I ran this I received back the error.
    Using config file "./vm.cfg"
    Error disk is not accessible.
    When I peek inside my vm.cfg file.
    I see file references starting with the following
    file:/OVS/running_pool/ ...
    Of, course my running_pool directory is empty.
    (Again, this is a fresh install of Oracle VM Server).
    My first question is the following.
    Sometime in this process was I supposed to run
    the the following executable?
    ./Deploy_Manager_Template.sh
    If so, should I have done this early?
    Was the modification of the vif (of adding the MAC address
    into the vm.cfg file, something I 'should have not done'
    or 'something that could be ignored' because the
    './Deploy_Manager_Template.sh' would have done this for me?
    My second question is the following.
    Would the following process be 'more correct?'
    ..1 Not modify the vm.cfg' file.
    ..2 run ./Deploy_Manager_Template.sh.
    ..3 In the /OVS/running_pool/ directory find my
    vm.cfg file of interest, then modify the vif with a new MAC address.
    ..4 In /OVS/running_pool/Change my current location to my directory of interest
    run xm create vm.cfg (to run my Oracle VM Manager)?
    Any help or ideas whould be appreciated.
    Thank you very much,
    AIM

    Hi,
    This is the README file for Oracle VM Manager 2.2.0
    Readme for Media Pack B57738-01
    Print: Access key=P Close: Access key=C
    Oracle VM Templates for Oracle VM Manager 2.2.0 Media Pack v1 for x86 (32 bit)
    =====================================================================
    Template Version 2.3
    Oracle VM Manager Version 2.2.0
    This document contains:
    1. Prerequisites for Oracle VM Manager virtual machine (VM) deployment
    2. Oracle VM Manager Template description
    3. Creating an Oracle VM Manager Virtual Machine from
    Oracle VM Manager Template
    4. Deployment Interview
    5. Known Issues
    For more information on Oracle VM Manager, please refer to
    the "Oracle VM Manager Installation Guide" and the "Oracle VM Manager
    User's Guide" available at:
    http://download.oracle.com/docs/cd/E15458_01/index.htm
    1. Prerequisites
    ================
    - A new install of Oracle VM Server 2.2 that has NOT been managed by another
    Oracle VM Manager. Manager Template 2.2 is intended to be installed on Oracle
    VM 2.2 server. If you have a new Oracle VM 2.1.5 server and want to deploy
    Oracle VM Manager template, please use the Oracle VM 2.1.5 Manager template.
    Note: root access to the server's dom0 is required.
    - It's highly recommended that you upgrade the default agent (ovs-agent-2.3-19)
    to ovs-agent-2.3-27 or later. You can get the latest Oracle VM 2.2 packages
    from Oracle's Unbreakable Linux Network (http://linux.oracle.com).
    Note: Alternate location to get Oracle VM agent 2.3-27 is
    http://oss.oracle.com/oraclevm/server/2.2/RPMS/ovs-agent-2.3-27.noarch.rpm
    - A working directory of the Oracle VM Server 2.2 has at least 4GB free space
    for downloading and installing the template. The working directory can be any
    directory on the Oracle VM server except /OVS/running_pool.
    Note: The /root partition of the default Oracle VM server install may not have
    enough space to temporarily host the template installation. Please use other
    directory that has sufficient free space.
    - At least 15GB of free space in the cluster root storage repository. For storage
    and repository configuration, please refer to Oracle VM 2.2 Server User Guide:
    http://download.oracle.com/docs/cd/E15458_01/doc.22/e15444/storage.htm
    and
    http://download.oracle.com/docs/cd/E15458_01/doc.22/e15444/repository.htm
    - At least 2GB of free memory on the Oracle VM Server
    - A static IP address for the Oracle VM Manager
    - If enabling HA (high availability) for the Oracle VM Manager,
    mount a clustered OCFS2 or NFS filesystem on /OVS. If ext3 or a
    local OCFS2 filesystem is used, enabling HA will cause the high availability
    prerequisite checking to fail. The Oracle VM Manager configuration
    process will exit without completing the configuration.
    - The Oracle VM Manager will register the first VM that it detects.
    To have Oracle VM Manager be the first VM registered,
    make sure there are no virtual machine images besides the Oracle VM Manager
    virtual machine in the /OVS/running_pool directory on the Oracle VM Server.
    - A desktop or other system with a VNC Viewer installed
    The steps below assume that the Oracle VM Server used is not currently
    or was not previously managed by another Oracle VM Manager. If this is not
    the case, the instructions below will ask user clean up Oracle VM Agent DB
    before running the Oracle VM Manager.
    2. Oracle VM Manager Template Description
    =========================================
    The Oracle VM Manager Template is distributed as one archive file which
    includes:
    File Version
    OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz 2.3
    Deploy_Manager_Template.sh 2.3
    The OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz archive contains two disk images,
    a VM configuration file and a readme file:
    - Oracle Enterprise Linux 5.3 x86 system disk image
    - Oracle VM Manager 2.2 disk image
    - vm.cfg
    - README
    The system image is a JeOS (Just enough OS) installation of Oracle
    Enterprise Linux 5.3. It is a smaller footprint install that contains
    the only packages needed by Oracle VM Manager.
    Oracle VM Manager is configured to use Oracle Database 10g
    Express Edition (included).
    Deploy_Manager_Template.sh is used to check the prerequisite and
    create virtual machine.
    During the first boot of the Oracle VM Manager virtual machine,
    the Oracle VM Manager configuration process will create server pool
    and import the Oracle VM Manager virtual machine.
    Two OS user accounts are created by default:
    user: root password: ovsroot
    user: oracle password: oracle
    The user 'oracle' belongs to the 'oinstall' and 'dba' groups.
    The default vnc console password is 'oracle'
    3. Creating the Oracle VM Manager virtual machine
    =================================================
    1) Download the Oracle VM Manager Template (V19215-01.zip)
    from http://edelivery.oracle.com/oraclevm
    2) Login to the Oracle VM Server's dom0 as 'root'
    Copy V19215-01.zip to your working directory with at least 4GB free space.
    You can choose any directory on OVM Server except /OVS/running_pool.
    This zip file contains the archive file OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz
    and a deploy script Deploy_Manager_Template.sh
    3) As root, run
    # unzip V19215-01.zip
    4) As 'root', run the deployment script:
    # chmod 755 Deploy_Manager_Template.sh
    # ./Deploy_Manager_Template.sh
    The deployment script Deploy_Manager_Template.sh will complete the following
    tasks:
    a) prerequisite checking
    b) uncompress OVM_EL5U3_X86_OVM_MANAGER_PVM.tgz file to directory
    /OVS/running_pool. This directory will contain the files following files:
    /OVS/running_pool/OVM_EL5U3_X86_OVM_MANAGER_PVM
    |- System.img (OS image file)
    |- Manager.img (Manager image file)
    |- vm.cfg (VM configuration file)
    |- README (Readme file)
    c) generate and assign new MAC address to the virtual machine
    d) interview the user for VM and VM Manager configuration parameters
    (next section 'Deployment interview' provides the list of questions)
    e) create and boot the virtual machine from the Oracle VM Server
    command line
    f) display the access information for Oracle VM Manager and Oracle VM
    Manager VM
    4. Deployment Interview
    =======================
    The deployment script will prompt a user to enter
    a) Agent password
    The agent password is required for the prerequisites check.
    b) Storage configuration
    Storage Source: NFS address, OCFS2 partition path
    The script will automatically detect your cluster root storage repository
    if you have configured it. Or it prompts users to input their storage source
    and the script tries to set it up as cluster root.
    NOTE: how to manually create your own storage repository in OracleVM server 2.2.x
    1) Register your storage source. Example:
    /opt/ovs-agent-2.3/utils/repos.py -n myhost:/mynfslocation
    /opt/ovs-agent-2.3/utils/repos.py -n /dev/sdb3
    Note that the storage source should have at least 15GB free space.
    If the storage source is successfully registered, note down the uuid genereated
    by the command above, such as:
    51d4c69b-e439-41ac-8b31-3cc485c993b0 => /dev/sdb3
    2) Mount your storage repository.
    If the agent version is 2.3-27 or higher, execute:
    /opt/ovs-agent-2.3/utils/repos.py -i
    otherwise, complete the following commands:
    [1] mkdir -p /var/ovs/mount/$(echo <uuid> | sed s/-//g | tr '[:lower:]' \
    '[:upper:]')"
    where '<uuid>' is the uuid noted down in step 2)
    [2] mount your storage source to the directory made in step [1].
    3) If /OVS exists, delete or move /OVS
    mv /OVS "/OVS.$(date '+%Y%m%d-%H%M%S').orig"
    create a symbolic link from storage repository to /OVS
    ln -nsf /var/ovs/mount/<UUID>/ /OVS
    c) Network configuration
    Static IP address
    Netmask
    Default Gateway IP address
    DNS Server IP address
    Hostname
    d) Password for database accounts:
    'SYS' and 'SYSTEM' (the same password the same password is used)
    'OVS'
    'oc4jadmin'
    'admin'
    e) Web Service configuration (supported in template in version 1.2)
    Web Service password (at least 6 characters)
    Enable HTTPS or not
    f) SMTP server (outgoing mail server SMTP hostname)
    E-mail Address for account 'admin'
    g) Data for the manager services configuration:
    Oracle VM Server Pool Name
    Oracle VM Server login user name
    Oracle VM Server login password
    Note that Oracle VM Manager is critical for managing Oracle VM Server Pools.
    Do not pause, suspend or shutdown this virtual machine! Configuring
    HA is recommended for this virtual machine so that Oracle VM will
    automatically restart the Oracle VM Manager virtual machine if there
    is a server crash.
    5. Known Issues
    ===============
    1) You may see messages on a virtual machine's console similar to these
    when the virtual machine is booting up:
    Fatal: No PCI config space access function found
    rtc: IRQ 8 is not free.
    i8042.c: No controller found.
    These messages can be ignored.
    2) Mail server check fails.
    Bug #7140 in bugzilla.oracle.com
    Oracle VM Manager installer only checks the default SMTP port 25 for the
    mail server. If the SMTP port is not 25, the check fails, and you will
    see the following message:
    Mail server '<mail server hostname>' check failed, want to re-enter it(Y|n)?
    You can enter 'n' to skip the mail server checking. You will also see the
    send mail checking fails with following message:
    Failed to send mail to '<Admin e-mail address>'
    want to re-enter the e-mail address(Y|n)?
    You can enter 'n' to skip the send mail checking.
    3) OEL VM console may display error messages similar to those below:
    BUG: warning at drivers/xen/fbfront/xenfb.c:143/xenfb_update_screen() (Not
    tainted)
    Call Trace:
    [<ffffffff803aa461>] xenfb_thread+0x135/0x2c5
    [<ffffffff8024874b>] try_to_wake_up+0x365/0x376
    [<ffffffff8029ba6e>] autoremove_wake_function+0x0/0x2e
    [<ffffffff8029b856>] keventd_create_kthread+0x0/0xc4
    [<ffffffff803aa32c>] xenfb_thread+0x0/0x2c5
    [<ffffffff8029b856>] keventd_create_kthread+0x0/0xc4
    [<ffffffff802339c8>] kthread+0xfe/0x132
    [<ffffffff80260b24>] child_rip+0xa/0x12
    [<ffffffff8029b856>] keventd_create_kthread+0x0/0xc4
    [<ffffffff802338ca>] kthread+0x0/0x132
    [<ffffffff80260b1a>] child_rip+0x0/0x12
    This will not cause any problems.
    4) If you accidentally power off Oracle VM Manager virtual machine through
    Oracle Manager UI, and restart the virtual machine from OVM server command
    line, although Oracle VM Manager virtual machine is running normally,
    the virtual machine status in Manager UI will stay in 'Shutting Down'.
    This is expected, as the virtual machine status sync will only happen when
    the virtual machine status is "Error" or "Powered Off".
    To re-sync the virtual machine status, please complete the following steps:
    1. Log on the Manager UI;
    2. Navigate to the 'Virtual Machines' tab;
    3. Select Oracle VM Manager virtual machine, "OVM_EL5U3_X86_OVM_MANAGER_PVM";
    4. Choose 'Reset' from 'More Actions' dropdown list;
    5. Click 'Go' button, the status will become "Running" after a while.
    5) (Bug 9191053) For OVS agent version 2.3-19, the following High
    Availability scenario will not work.
    "If a Virtual Machine Server fails, all running virtual machines are
    restarted automatically on another available Virtual Machine Server."
    For OVS agent 2.3-19, Oracle VM Manager virtual machine will not be
    automatically restarted on any other available Virtual Machine Server,
    but on the original Virtual Machine Server when it becomes available again.
    To fix the issue, please upgrade OVS agent to 2.3-27 or the latest version.

  • Import vmdk into Oracle VM Manager 3.0.2

    Hi,
    Can someone please tell me how I can import a vmware virtual machine into Oracle VM Manager 3.0.2
    Thanks
    Ger

    Hi,
    I have exported the vmware VM and places it in Assemblies
    When I try to create a template for it it does not show any names in "Assemebly Virtual Machines"
    "Refresh Selected Assembly" give the follwoing errors in /var/log/ovs-agent.log :
    [root@nldvnr01ovms01 ~]# [2011-11-24 23:38:02 15867] DEBUG (OVSServices:57) dispatch function get_assembly_config to server https://oracle:******@13.206.238.171:8899/api/1
    [2011-11-24 23:38:03 15868] DEBUG (OVSCommons:124) get_assembly_config: ('0004fb000003000058271d4af7a471b2', 'nldvnr01ux021')
    [2011-11-24 23:38:03 15868] ERROR (OVSCommons:143) catch_error: Cannot find OVF descriptor file.
    Traceback (most recent call last):
    File "/opt/ovs-agent-3.0/OVSCommons.py", line 141, in wrapper
    return func(*args)
    File "/opt/ovs-agent-3.0/vm.py", line 966, in get_assembly_config
    ovf_filename = find_ovf_descriptor(unpacked_path)
    File "/opt/ovs-agent-3.0/vm.py", line 948, in find_ovf_descriptor
    raise RuntimeError('Cannot find OVF descriptor file.')
    RuntimeError: Cannot find OVF descriptor file.
    [2011-11-24 23:38:03 15867] ERROR (OVSServices:61) dispatch error: get_assembly_config: <Fault 1: 'exceptions.RuntimeError:Cannot find OVF descriptor file.'>
    [2011-11-24 23:38:03 15867] ERROR (OVSCommons:143) catch_error: <Fault 1: 'exceptions.RuntimeError:Cannot find OVF descriptor file.'>
    Traceback (most recent call last):
    File "/opt/ovs-agent-3.0/OVSCommons.py", line 141, in wrapper
    return func(*args)
    File "/opt/ovs-agent-3.0/OVSServices.py", line 59, in dispatch
    return getattr(sp, func)(*args)
    File "/opt/ovs-agent-3.0/utils/xmlrpclib.py", line 1099, in __call__
    return self.__send(self.__name, args)
    File "/opt/ovs-agent-3.0/utils/xmlrpclib.py", line 1386, in __request
    verbose=self.__verbose
    File "/opt/ovs-agent-3.0/utils/xmlrpclib.py", line 1150, in request
    return self._parse_response(h.getfile(), sock)
    File "/opt/ovs-agent-3.0/utils/xmlrpclib.py", line 1289, in parseresponse
    return u.close()
    File "/opt/ovs-agent-3.0/utils/xmlrpclib.py", line 746, in close
    raise Fault(**self._stack[0])
    Fault: <Fault 1: 'exceptions.RuntimeError:Cannot find OVF descriptor file.'>
    What's wrong ?
    Hope someone can help me.
    Thanks,
    Ger

  • How to import csv data into Oracle using c#

    Hello,
    How to import csv data into Oracle using c #. Where data to be imported 3GB in size and number of rows 7512263. I've managed to import csv data into Oracle, but the time it takes about 1 hour. How to speed up the time it takes to import csv data into oracle. Thank you.
    This is my code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Diagnostics;
    using System.Threading;
    using System.Text.RegularExpressions;
    using System.IO;
    using FileHelpers;
    using System.Data.OracleClient;
    namespace sqlloader
    class Program
    static void Main(string[] args)
    int jum;
    int i;
    bool isFirstLine = false;
    FileHelperEngine engine = new FileHelperEngine(typeof(XL_XDR));
    //Connect To Database
    string constr = "Data Source=(DESCRIPTION=(ADDRESS_LIST="
    + "(ADDRESS=(PROTOCOL=TCP)(HOST= pt-9a84825594af )(PORT=1521 )))"
    + "(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=o11g)));"
    + "User Id=xl;Password=rahasia;";
    OracleConnection con = new OracleConnection(constr);
    con.Open();
    // To Read Use:
    XL_XDR[] res = engine.ReadFile("DataOut.csv") as XL_XDR[];
    jum = CountLinesInFile("DataOut.csv");
    FileInfo f2 = new FileInfo("DataOut.csv");
    long s2 = f2.Length;
    int jmlRecord = jum - 1;
    for (i = 0; i < jum; i++)
    ShowPercentProgress("Processing...", i, jum);
    Thread.Sleep(100);
    if (isFirstLine == false)
    isFirstLine = true;
    else
    string sql = "INSERT INTO XL_XDR (XDR_ID, XDR_TYPE, SESSION_START_TIME, SESSION_END_TIME, SESSION_LAST_UPDATE_TIME, " +
    "SESSION_FLAG, VERSION, CONNECTION_ROW_COUNT, ERROR_CODE, METHOD, HOST_LEN, HOST, URL_LEN, URL, CONNECTION_START_TIME, " +
    "CONNECTION_LAST_UPDATE_TIME, CONNECTION_FLAG, CONNECTION_ID, TOTAL_EVENT_COUNT, TUNNEL_PAIR_ID, RESPONSIVENESS_TYPE, " +
    "CLIENT_PORT, PAYLOAD_TYPE, VIRTUAL_TYPE, VID_CLIENT, VID_SERVER, CLIENT_ADDR, SERVER_ADDR, CLIENT_TUNNEL_ADDR, " +
    "SERVER_TUNNEL_ADDR, ERROR_CODE_2, IPID, C2S_PKTS, C2S_OCTETS, S2C_PKTS, S2C_OCTETS, NUM_SUCC_TRANS, CONNECT_TIME, " +
    "TOTAL_RESP, TIMEOUTS, RETRIES, RAI, TCP_SYNS, TCP_SYN_ACKS, TCP_SYN_RESETS, TCP_SYN_FINS, EVENT_TYPE, FLAGS, TIME_STAMP, " +
    "EVENT_ID, EVENT_CODE) VALUES (" +
    "'" + res.XDR_ID + "', '" + res[i].XDR_TYPE + "', '" + res[i].SESSION_START_TIME + "', '" + res[i].SESSION_END_TIME + "', " +
    "'" + res[i].SESSION_LAST_UPDATE_TIME + "', '" + res[i].SESSION_FLAG + "', '" + res[i].VERSION + "', '" + res[i].CONNECTION_ROW_COUNT + "', " +
    "'" + res[i].ERROR_CODE + "', '" + res[i].METHOD + "', '" + res[i].HOST_LEN + "', '" + res[i].HOST + "', " +
    "'" + res[i].URL_LEN + "', '" + res[i].URL + "', '" + res[i].CONNECTION_START_TIME + "', '" + res[i].CONNECTION_LAST_UPDATE_TIME + "', " +
    "'" + res[i].CONNECTION_FLAG + "', '" + res[i].CONNECTION_ID + "', '" + res[i].TOTAL_EVENT_COUNT + "', '" + res[i].TUNNEL_PAIR_ID + "', " +
    "'" + res[i].RESPONSIVENESS_TYPE + "', '" + res[i].CLIENT_PORT + "', '" + res[i].PAYLOAD_TYPE + "', '" + res[i].VIRTUAL_TYPE + "', " +
    "'" + res[i].VID_CLIENT + "', '" + res[i].VID_SERVER + "', '" + res[i].CLIENT_ADDR + "', '" + res[i].SERVER_ADDR + "', " +
    "'" + res[i].CLIENT_TUNNEL_ADDR + "', '" + res[i].SERVER_TUNNEL_ADDR + "', '" + res[i].ERROR_CODE_2 + "', '" + res[i].IPID + "', " +
    "'" + res[i].C2S_PKTS + "', '" + res[i].C2S_OCTETS + "', '" + res[i].S2C_PKTS + "', '" + res[i].S2C_OCTETS + "', " +
    "'" + res[i].NUM_SUCC_TRANS + "', '" + res[i].CONNECT_TIME + "', '" + res[i].TOTAL_RESP + "', '" + res[i].TIMEOUTS + "', " +
    "'" + res[i].RETRIES + "', '" + res[i].RAI + "', '" + res[i].TCP_SYNS + "', '" + res[i].TCP_SYN_ACKS + "', " +
    "'" + res[i].TCP_SYN_RESETS + "', '" + res[i].TCP_SYN_FINS + "', '" + res[i].EVENT_TYPE + "', '" + res[i].FLAGS + "', " +
    "'" + res[i].TIME_STAMP + "', '" + res[i].EVENT_ID + "', '" + res[i].EVENT_CODE + "')";
    OracleCommand command = new OracleCommand(sql, con);
    command.ExecuteNonQuery();
    Console.WriteLine("Successfully Inserted");
    Console.WriteLine();
    Console.WriteLine("Number of Row Data: " + jmlRecord.ToString());
    Console.WriteLine();
    Console.WriteLine("The size of {0} is {1} bytes.", f2.Name, f2.Length);
    con.Close();
    static void ShowPercentProgress(string message, int currElementIndex, int totalElementCount)
    if (currElementIndex < 0 || currElementIndex >= totalElementCount)
    throw new InvalidOperationException("currElement out of range");
    int percent = (100 * (currElementIndex + 1)) / totalElementCount;
    Console.Write("\r{0}{1}% complete", message, percent);
    if (currElementIndex == totalElementCount - 1)
    Console.WriteLine(Environment.NewLine);
    static int CountLinesInFile(string f)
    int count = 0;
    using (StreamReader r = new StreamReader(f))
    string line;
    while ((line = r.ReadLine()) != null)
    count++;
    return count;
    [DelimitedRecord(",")]
    public class XL_XDR
    public string XDR_ID;
    public string XDR_TYPE;
    public string SESSION_START_TIME;
    public string SESSION_END_TIME;
    public string SESSION_LAST_UPDATE_TIME;
    public string SESSION_FLAG;
    public string VERSION;
    public string CONNECTION_ROW_COUNT;
    public string ERROR_CODE;
    public string METHOD;
    public string HOST_LEN;
    public string HOST;
    public string URL_LEN;
    public string URL;
    public string CONNECTION_START_TIME;
    public string CONNECTION_LAST_UPDATE_TIME;
    public string CONNECTION_FLAG;
    public string CONNECTION_ID;
    public string TOTAL_EVENT_COUNT;
    public string TUNNEL_PAIR_ID;
    public string RESPONSIVENESS_TYPE;
    public string CLIENT_PORT;
    public string PAYLOAD_TYPE;
    public string VIRTUAL_TYPE;
    public string VID_CLIENT;
    public string VID_SERVER;
    public string CLIENT_ADDR;
    public string SERVER_ADDR;
    public string CLIENT_TUNNEL_ADDR;
    public string SERVER_TUNNEL_ADDR;
    public string ERROR_CODE_2;
    public string IPID;
    public string C2S_PKTS;
    public string C2S_OCTETS;
    public string S2C_PKTS;
    public string S2C_OCTETS;
    public string NUM_SUCC_TRANS;
    public string CONNECT_TIME;
    public string TOTAL_RESP;
    public string TIMEOUTS;
    public string RETRIES;
    public string RAI;
    public string TCP_SYNS;
    public string TCP_SYN_ACKS;
    public string TCP_SYN_RESETS;
    public string TCP_SYN_FINS;
    public string EVENT_TYPE;
    public string FLAGS;
    public string TIME_STAMP;
    public string EVENT_ID;
    public string EVENT_CODE;
    I hope someone can give me a solution. Thanks

    The fastest way is to use external tables or sql loader (sqlldr). (If you use external tables or sql loader, you don't use C# at all).

  • Import DMP file into Oracle 8.1.5 on Windows 2000

    How to import DMP file into Oracle 8.1.5 database on Windows 2000 ?
    Please mention a coding example
    Thanks,
    Vivek Gupta

    Import has a lot of options, so it depends on what you want to do.
    C:\> imp help=y
    will show you all possible options. An example of full import :
    C:\> imp <username>/<password>@<TNS alias> file=<DMP file> full=y log=<LOG file>
    Message was edited by:
    Paul M.
    ...and there is always [url http://download-uk.oracle.com/docs/cd/F49540_01/DOC/index.htm]The documentation

  • Can I import a tablespace into Oracle 10g Express Edition

    I am very new to Oracle 10g Express Edition. We have a server running Oracle Enterprise Edition and we have been creating a transportable tablespace to be imported into a few servers. This works fine for us. I would like to find out if I can import the tablespace into Oracle 10g Express Edition. Someone told me that I should be able to do that but I have no clue to how to do it. If this is possible, can someone tell where to find the information how to do this.
    Thanks,
    RJ

    I finally tried it and I got the following errors:
    IMP-00017: following statement failed with ORACLE error 721:
    "BEGIN sys.dbms_plugts.checkCompType('COMPATSG','10.2.0.2.0'); END;"
    IMP-00003: ORACLE error 721 encountered
    ORA-00721: changes by release 10.2.0.2.0 cannot be used by release 10.2.0.1.0
    ORA-06512: at "SYS.DBMS_PLUGTS", line 2004
    ORA-06512: at line 1
    IMP-00000: Import terminated unsuccessfully
    Am I right that the server that I exported the tablespace is using Oracle 10.2.0.2.0 while Oracle Express is 10.2.0.1.0? I looked around and I did not see Oracle Express version 10.2.0.2.0 that I can download. Is there a patch or something to upgrade it?
    Thanks,
    RJ

  • Importing excel data into oracle tables

    Hello gurus,
    Importing excel data into oracle tables..
    I know this is the most common question on the thread ...First, i searched the forum, i found bunch of threads with loading data using sqlloader, converting excel into .Txt, tab delimited file, .csv file etc....
    Finally i was totally confused in terms how to get this done....
    Here is wat i have
       - Excel file on local computer.
       - i have laod data into dev environment tables(So no risk involved, but want to try something simple)
       - Oracle version 11.1.0.7
       - Sqlplus and toad (editors)
    Here is wat i like to do ....i dont know if its possible
        - Without going to unix server can i do everthing on local system by making use of oracle db and sqlplus or toad
       SQLLOADER might be one option...but i dont want to go the unix server for placing files and logs and stuff.
    Wat will be best and simplest option to do?? and wat format will best to convert from excel into csv, or txt or tab delimited etc.....
    If you suggest sqlloader, any code example will be greatly appriciated.
    Thank you so much!!!

    Hi,
    user642297 wrote:
    Imran,
    This is increadible option in toad!!! It works absolutely sweet!! I have toad 9.7 version. IT works great. Thank you so much!!You are welcome :)
    Well i have further discussion on this ....this option is great if you doing in staging or development area. What if your doing in prod?? If you automating the sqlloader then how do u do it?? I think we still need to stick with traditional approach of laoding data by making use of SQLLoader right ?? If m wrong please correct me.well, in our case, we do have access to a custom schema in prod where we create the staging table and load the data from datafiles.
    try this:
    load data
    infile 'C:\dest.csv'
    into table dest_table
    fields terminated by "~" optionally enclosed by '"'
    TRAILING NULLCOLS
    (name,
    owner_nm,
    description_column,
    UPDT_DT DATE 'MM/DD/YYYY')
    {code}
    you can get more info about sql loader and your error here:
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch05.htm
    http://www.allinterview.com/showanswers/53766.html
    And one more quick question ...i found an example of control file , in that i see .dat format file. Is it a data file ?? can i try that option ?? But in excel i didnt see to convert the .dat format file.
    Any thoughts ???
    It is same as a delimiter text file.
    steps to create a .dat file (from a excel file):
    1. Insert a column between two columns and populate it with the delimiter (in our case, it is ~)
    2. Save the file as unicode text.
    3. Open the file in text editor and remove all the tabs (find an replace with blank)
    4. Save the file as "DEST.dat". Select encoding as UTF-8 while saving.
    5. Your .dat file is ready.
    Regards
    Imran
    Edited by: Imran Soudagar on Apr 22, 2010 10:22 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to export test cases into oracle test manager

    hi
    present i am learning this tool help plz
    how to export test cases into oracle test manager
    Edited by: 799636 on Oct 5, 2010 7:11 AM

    Create a script in openScript and save it to a workspace (a shared directory on the OTM server). To add an Oracle OpenScript test to OTM:
    1.Select the Tests tab.
    2.Click the Add button.
    3.Enter a name for the test.
    4.Select Oracle OpenScript in the Type field.
    5.Click Find to display the Select Script dialog box.
    6.Select the Repository and Workspace.
    7.Select the Oracle OpenScript script that you want to add.
    8.Click OK.
    9.Select the owner and priority and enter any descriptive information in the Functionality and Description fields.
    10.Click Save.
    Regards,
    Jamie

  • Importing Microsoft DB  into Oracle DB

    I want to know whether we can import Microsoft Database into Oracle Database. If so which tool to be used, or how to do ?
    Please let me know.
    Thanking you,
    Soumyasri Raju

    hi all,
    There is a way to do so, We can export the MS SQL database to a text file or even to an excel report, and from both the data can be loaded into oracle database, useing oracle loader, if and only if the requirements by sqlldr is met.
    check out the documentations and oracle.com for further info

  • Error trying to log into Oracle Directory Manager

    I am receiving an error message when I try to log into Oracle Directory Manager. This is the first time I am trying to log in, I am trying to login with the username cn=orcladmin, and with the password welcome, which is the default. I then receive the error message "Server is not up and running". I thought I started an OID instance with oidctl.
    I am running on w2k.
    I am using the default port 389, at least thats what I accepted while installing the infrastructre.
    Any advise?

    From the main page for this forum (http://forums.adobe.com/community/creative_cloud) please see the announcement.
    Creative Cloud is experiencing issues at this time.  We are investigating and working to restore service as soon as possible.  This post will be removed once the issue is solved.

  • Can i import .sql file into oracle apex?

    i'm new to oracle apex....
    Can i import .sql file into oracle apex?
    i've to import a table into apex...
    what script i have to write into the .sql file....
    pls help...
    Edited by: 794244 on Jan 31, 2011 9:31 PM

    Hi Mahesh
    Navigate to the APEX documentation page - all the documents are listed there ;) (including direct links to the step-by-step "how-to's" - great stuff)
    http://www.oracle.com/technetwork/developer-tools/apex/documentation/index.html
    Enjoy the wonderful world of APEX!
    Mike

  • How to Import vmdk into Oracle VM Manager 3.0.2

    Hi all
    I am running BIC2G in VM Box and OracleApps(BIC2G-LNX) in VMware Player.
    I want to run both in OVM 3.0.2.
    BIC2G is having 5 files one *.ovf* and 4 *.vmdk* files
    and OracleApps(BIC2G-LNX) is having one *.vmx* and many *.vmdk* files.
    Can anyone please tell me how to import these files into OVM 3.0.2
    Thanks
    Abhishek Anand
    Edited by: Abhishek-Anand on Dec 21, 2011 4:52 AM

    Abhishek-Anand wrote:
    Can anyone please tell me how to import these files into OVM 3.0.2http://blogs.oracle.com/virtualization/entry/migrating_from_hyper_v_and
    You need to be able to package your VM as an OVA to import it into Oracle VM. Check your VMware documentation on how to do that.

  • Self Generated Certification into Oracle Wallet Manager ?

    Hello,
    I have an written a function in PL/SQL to communicate with web services
    this server accessed with HTTPS, it uses self generated certification!
    how I can:
    export this certification (using web browser)
    Import it to Oracle Wallet Manager
    is it going to work?
    cheers

    Hi Tejo,
    I think you posted your question into the wrong forum. This is Hyperion Query and Reporting forum that discusses issues related to Hyperion Financial Reporting Studio, Interactive Reporting, Web Analysis, etc. I would do a search for Oracle Wallet Manager on google, find the best Oracle Forum and post the question there.
    Cheers,
    Mehmet

  • Importing Access Data into Oracle Forms through Forms 10g

    Sirs,
    How can i import the data of Access file into Oracle tables.
    i have the tables in access of approx 10 how can it be imported in oracle with same data structure.
    ThanX in advance

    DECLARE
    kAccess client_ole2.obj_type;
    kdb client_ole2.obj_type;
    ktables client_ole2.obj_type;
    krec client_ole2.obj_type;
    kcurr client_ole2.obj_type;
    begin
    kaccess:=client_ole2.create_obj('Access.application);
    kdb:=client_ole2.invoke_obj(kaccess,'open','D:\acc.mdb');
    ktables:=client_ole2.get_obj_property(kdb,'tables',1);
    //then process teh data of the table which is at 1 using another
    krec:=client_ole2.invoke_obj(ktables,'count');
    for s in 1 .. krec
    loop
    /// code for sinserting the current records data into the oracle tables.
    kcurr:=client_ole2.get_obj_type(ktables,'recordset',s);
    // then access each filed in kcurr and then insert in oracle table
    end loop;
    end;
    the above code is not tested your can alter any syntatical error if any.

Maybe you are looking for