Using names EMCPowerPath for OCFS/ASM

Just to give you the context:
I had a knot two RAC install in place who worked without a hitch. We were using OCFS Clusterware shared storage (/ dev/sdd1) and ASM for storage of shared data files (/ dev/sde1, f1, g1, h1). We have an EMC san in place and both nodes are connected via iscsi to this Saint. We had problems for both SPS to appear on nodes, so we moved forward knowing that there is no failover on the side of san. In April Dell doing maintenance on our SAN so that both SPS are recorded correctly on each node; so now sdd1 and sde1 became the same volume, sdf1 and sdg1 etc, etc. We have powerpath installed and it creates a name common to two readers, so that the emcpowerb1 would be the same as sdd1 and sde1. Unfortunately, a bad updated caused 11.1.0.7 use to migrate the data to an instance of unique sleep in our cluster VM. Fast forward a few months and now I'm trying to rebuild CARS. I supported correctly ASM, Oracle, Clusterware via metalink. I could reinstall correctly clusterware oracle and asm with a successful for 11.1.0.7 upgrade. I have been let run and try the failover of the past week and have noticed a common thing. Randomly, there are mistakes of e/s on the drive to vote and that's because this volume goes offline, reboots are not allowing CRS start properly, because it is to see it as offline and the node running is evict node 'bad '. Even with the manual resources CRS site layouts, ASM and db instance it does not always solve the problem because the drive will go back offline or node is never allowed in because it was leaves.

The only change in 9 months ago til now, is that I now have double volumes because the nodes are correctly registered in Navisphere, so I am see SPA & SPB. Here is my fdisk-l to clarify:

Disk/dev/sda: 146.1 GB, 146163105792 bytes
255 heads, 63 sectors/track, 17769 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/sda1 * 1 13 104391 83 Linux
/ dev/sda2 14 17769 142625070 8th Linux LVM

Disk/dev/sdc: 85.8 GB, 85899345920 bytes
255 heads, 63 sectors/track, 10443 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/sdc1 1 10443 83883366 83 Linux

Disk/dev/sdd: 85.8 GB, 85899345920 bytes
255 heads, 63 sectors/track, 10443 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/sdd1 1 10443 83883366 83 Linux

Disk/dev/sde: 503,5 GB, 503584915456 bytes
255 heads, 63 sectors/track, 61224 bottles
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/SDE1 1 61224 491781748 + 83 Linux

Disk/dev/sdf: 503,5 GB, 503584915456 bytes
255 heads, 63 sectors/track, 61224 bottles
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/SDF1 1 61224 491781748 + 83 Linux

Disk/dev/sdg: 503,5 GB, 503584915456 bytes
255 heads, 63 sectors/track, 61224 bottles
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/sdg1 1 61224 491781748 + 83 Linux

Disk/dev/sdh: 503,5 GB, 503584915456 bytes
255 heads, 63 sectors/track, 61224 bottles
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/sdh1 1 61224 491781748 + 83 Linux

Disk/dev/sdi: 503,5 GB, 503584915456 bytes
255 heads, 63 sectors/track, 61224 bottles
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/sdi1 1 61224 491781748 + 83 Linux

Disk/dev/LDS: 503,5 GB, 503584915456 bytes
255 heads, 63 sectors/track, 61224 bottles
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/sdj1 1 61224 491781748 + 83 Linux

Disk/dev/sdk: 505,7 GB, 505732399104 bytes
255 heads, 63 sectors/track, 61485 bottles
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/sdk1 1 61485 493878231 83 Linux

Disk/dev/sdl: 505,7 GB, 505732399104 bytes
255 heads, 63 sectors/track, 61485 bottles
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/sdl1 1 61485 493878231 83 Linux

Disk/dev/emcpowerc: 505,7 GB, 505732399104 bytes
255 heads, 63 sectors/track, 61485 bottles
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/emcpowerc1 1 61485 493878231 83 Linux

Disk/dev/emcpowerd: 503,5 GB, 503584915456 bytes
255 heads, 63 sectors/track, 61224 bottles
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/emcpowerd1 1 61224 491781748 + 83 Linux

Disk/dev/emcpowere: 503,5 GB, 503584915456 bytes
255 heads, 63 sectors/track, 61224 bottles
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/emcpowere1 1 61224 491781748 + 83 Linux

Disk/dev/emcpowerf: 503,5 GB, 503584915456 bytes
255 heads, 63 sectors/track, 61224 bottles
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/emcpowerf1 1 61224 491781748 + 83 Linux

Disk/dev/emcpowerb: 85.8 GB, 85899345920 bytes
255 heads, 63 sectors/track, 10443 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/emcpowerb1 1 10443 83883366 83 Linux

The 85.5 GB are for the disc/ocfs with voting rights and 503 GB are for ASM. As you can see in the list the names of Mount emc are created by PowerPath. When I went to format the disk of 85.5 GB for OCFS I did the following: mkfs.ocfs2 b 4 K - C 32 K n 4 - L oracrsfiles/dev/emcpowerb1. I used emcpowerb1, because it is the common name for the two volumes. Despite this, when I run a mount a command I see/dev/sdc1 appear, not emcpowerb1.

Is it possible that me using emcpowerb1 for the mkfs.ocfs2 command is causing those errors I/O/drive offline? The only reason why I'm coming to this theory is because when I went to format the ASM disks I tried to use the common names of powerpath (e.g. emcpowerf1) and he said "no volume of these" and I had to use the individual volume name.

Anyone used OCFS with Powerpath names, if so, what was the point of tack that you took? I have time to regularize all oracle related and test if using emcpowerb1 was the problem, but if I can fix it do I want to try to do.

I use power-path on the electromagnetic compatibility with ocfs2

Example:
/ dev/emcpowera1 10G 6% 586 M 9.5 G/U01

Is it possible that me using emcpowerb1 for the mkfs.ocfs2 command is causing those errors I/O/drive offline? You use EMC with multi-path, if you are licensed you must use

$ su - root
# powermt display dev = all

This help you show device to roughly emcpowerxx (multi-path) with/dev/sd * (unique paths) on EMC(power-path)

You should you use ' / dev/emcpowerb ", when the SPA (/ dev/sdc) have the problem... SPB should take... (/ dev/SDS)... which on functionality on EMC HW

Disk/dev/emcpowerb: 85.8 GB, 85899345920 bytes
255 heads, 63 sectors/track, 10443 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/emcpowerb1 1 10443 83883366 83

Disk/dev/sdc: 85.8 GB, 85899345920 bytes
255 heads, 63 sectors/track, 10443 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/sdc1 1 10443 83883366 83 Linux

Disk/dev/sdd: 85.8 GB, 85899345920 bytes
255 heads, 63 sectors/track, 10443 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device boot start end blocks Id system
/ dev/sdd1 1 10443 83883366 83 Linux

used emcpowerb1 because it is the common name for the two volumes. Despite this, when I run a mount a command I see/dev/sdc1 appear, not emcpowerb1.

-> check on ' / etc/fstab ' and it should
$ cat/etc/fstab
/ dev/emcpowera1/U01 ocfs2 datavolume, nointr 0 0

After mounted
-> check 'df '.
-> cat/etc/mtab

http://OSS.Oracle.com/projects/OCFS2/dist/documentation/v1.2/ocfs2_faq.htm
find the option to use ocfs2 on RAC and the FAQ

with ASM... you must use emcpowerxx... so...

Why? You use EMC POWERPATH (dev / emcpower *), you should use the multi-path, not a path function

If you use ASMlib with multipath
http://www.Oracle.com/technology/tech/Linux/asmlib/multipath.html
Edited by: Surachart (HunterX) on June 18, 2009 12:25

Tags: Database

Similar Questions

  • I did not use my PC for a while and have forgotten my user name and password. It is now necessary for me to install software on this PC, but need to log-in to do this

    Original title: Log-in question

    I did not use my PC for a while and have forgotten my user name and password.  It is now necessary for me to install software on this PC, but need to log-in to do this.  How can I better log-int?

    The software is now located on my desktop but cannot be put to use; apparently because it is not installed in a suitable place in my computer.  Using the Guest login does not work since the installation of this software is not allowed in the comments section.  Your ideas will be appreciated.

    Hello

    What account are you connected to? Administrator or guest account?

    See the following article: Microsoft's strategy concerning lost or forgotten passwords

  • Hello!, my name is jan and I use lightroom 2 for many years. I have an original installation disk with a 24-digit serial number. I have never installed lightroom problems wih. suddenly lightroom won't start when I try an image I tak

    Hello!, my name is jan and I use lightroom 2 for many years. I have an original installation disk with a 24-digit serial number. I have never installed lightroom problems wih. Suddenly, lightroom will not start when I try an image that I have taken with my nikon D500 and transferred to WINDOWS 8.1.  I tried to re - install lightroom: the application procedure serieal number, but refused to accept the number that has always worked. Help, please!  Jan

    If you are certain that you have the correct number of series, there are really not much that we can help you here. You can try to download and install the latest version of Lightroom 2. This will be the trial version, but when the trial screen there is an option to indicate that you have a serial number. Either way, Lightroom serial numbers start with the four first digits being 1160.

    Adobe - Lightroom: for Windows: Adobe Photoshop Lightroom 2.7 - English, French, German

  • I'm trying to upload my site using ftp, but for some strange reason, the ftp server box becomes red, even if the name is correct. everyone knows about this problem?

    I'm trying to upload my site using ftp, but for some strange reason, the ftp server box becomes red, even if the name is correct. everyone knows about this problem?

    Hello

    I would ask to share with you the screenshot of the box which becomes red.

    Concerning

    Vivek

  • Given the file name or path contains Unicode or DBCS characters. Retry using ASCII characters for the file name and path whatever that means? This happens when I publish an OAM

    Given the file name or path contains Unicode or DBCS characters. Retry using ASCII characters for the file name and path

    What does that mean? It happens when I try to publish an OAM for Dreamweaver.

    Also: How can I specify the onboard browser animate? It's just going as far. Are there no preference to animate it dashboard?

    BTW. Just call him edge. Seriously. You call Illustrator draw? Photoshop editing?

    No, my file name is mainContent.oam

    My project name is mainContent.an

    This error occurs when I try to import into Dreamweaver. Sorry, I was unclear about that earlier.

    I thought maybe it was because I had saved my image as a png image. So re-saved as an svg, still get the error.

    Should I have a setting is CC of Dreamweaver that will not? I should try this in Dreamweaver CS6? I might try that next.

    Why is this so difficult program? I know that Flash. I know that After Effects. I can work the chronology part simply awesome. He's still export I have problems.

    On a MacPro, 10.7.

    You are a person of Adobe or simply a beautiful assistance program?

  • The use of tables for example the names of

    How to use the tables for example names?

    If I, for example 'button [0]' as Instance name Flash tells me that I don't use character valid.

    :

  • Need help for Oracle ASM

    Hello Experts,

    My name is Rohan and I work as an Oracle DBA now, I fell on the ASM and I want to learn it.

    I have a knowledge base of Oracle ASM and I also configured/created an instance using DBCA.

    Now for the best understanding I want to create the same with the command line.

    Everyone please give me the great tutorial for the same?

    I'm using oracle 11.2.0.3 on windows.


    Thanks in advance.

    CREATE DATA base should be with the ORACLE_SID set to the desired database SID, not the SID of the DSO.  Also, if you have (as in 11 g) two separate ORACLE_HOMEs for the ASM and the database, the DATA CREATE database must be run ORACLE_HOME database.

    Hemant K Collette

  • "Use setting customized for history" in the tab privacy options in firefox version 19.0.2 does not work

    When I select 'use custom for history setting' in the Privacy tab and press OK button nothing happens. He returned to the story to remember. I have Windows 7 and firefox 19.0.2.

    A problem that results is firefox remember now username and password on a new gmail account.

    The problem started with the latest revisions to Firefox. In the past, I've saved usernames and passwords on multiple accounts gmail without problem.

    As a result, I had access to the gmail accounts in another browser to save all my gmail account IDs and passwords.

    Any suggestions on how to remember passwords and usernames gmail again? and/or get "Use Custom setting for the story" to work? Thanks for your help

    I had the same problem this is how I solved it
    Tools > options > saved passwords > locate the corresponding site, you will see that the user name is missing highlight and delete.
    Back to the site log in enter your password and you will then be asked to save it... That's fact

  • TreeSize Professional - using this tool for the first time - need help to run the report

    Using TreeSize Professional for the first time and I need search records to analyze documents containing invalid characters and path names that are too long.  We are moving the content in SharePoiint and SharePoint will not accept path names that are more than 250 characters and invalid characters.

    Does anyone know how to do this research?

    [Moved from the community centre of Participation]

    What is a TreeSize question or a question of SharePoint?

    Try SharePoint forums on the left side of

    https://social.technet.Microsoft.com/forums/en-us/home?category=SharePoint&filter=AllTypes&sort=lastpostdesc

    Don

  • use the blackberry for the best scores pine online

    I'll put up my own high score board for one of my games online.

    I want to make sure the user doesn't have to register or create an account, simply click submit a high score and he's going to do it whether or not they meet the 'name' field. So I have to default name to something. I thought the PIN you get from DeviceInfo.getDeviceId () I already use it to keep the unique entries (but not show it to the Board of Directors), but I think I need to obscure or something.

    Any easy ways to do this, or other identifier that I could use more safe for the user?

    Thank you.

    The only issue I have with the help of the device ID, is that users will be loose when they change phones.  Our experience is that users can change the phone every 6 months, either because of failure or upgrade is hard to say.  But in order to make this process as simple as possible, we try to license by e-mail account because the people who usually take with them.  They also take their phone number.

    But to be honest, using pine of the device is probably OK, if you don't think people will be too upset that they lose their high score when they change phone.

    You must not publish the pin code in a way that can be used for things like BBM invite and PIN messages.

  • When I use the Client for NFS provided by Windows 7, I'm unable to connect. The "mount \\ip address\share Z:" command fails with the error code "the path not found network".

    Identification of customer's Windows 7 NFS UID GID information

    I am trying to connect to the Windows 7 Client NFS on a server running on a computer (VxWorks) NFS.  I am able to properly connect Client NFS software by a 3rd party on the NFS server.  However, when I use the Client for NFS provided by Windows 7, I am unable to connect.  The \\ip address\share Z: mount"command fails with the error code"the path not found network ".  I can't do a ping of the computer running the NFS server.

    The NFS Client operating system: Windows 7 Ultimate, 64-bit

    Data captured by Wireshark

    MOUNT V1 EXPORT call 3rd party client
    Identification information Flavor: AUTH_UNIX (1)
    Length: 32
    Stamp: 0xc7065970

    Machine name: PC
    UID: 1000
    GID: 1000

    MOUNT V1 EXPORT appeal of the NFS client
    Identification information Flavor: AUTH_NULL (0)
    Length: 0

    It seems that the credentials of NFS Client are not correct.  How can I change the flavor of AUTH_UNIX and the UID and GID to 1000?

    Hello VDAEMP,

    As Eddie and Sudarshan has said, the Microsoft Answers community focuses on issues and problems related to the consumer environment. Please join the public IT pro TechNet forums below:
    TechNet - Windows Server
     
    Thank you

  • Is have RAID (1 + 0) so that Failgroups for all ASM ASM starts is a well-known best practice?

    Dear Experts,

    Is have RAID (1 + 0) so that Failgroups for all ASM ASM starts is a well-known best practice?

    Having both is the best practice

    • RAID (1 + 0)
    • ASM Failgroups for all ASM starts

    Thank you

    IVW

    You can create groups of ASM disks with normal or high redundancy or specify external redundancy. It depends on your reliability requirements and storage performance. Remember that ASM is not RAID and redundancy is the base file. ASM uses alternating devices. Oracle is generally recommended to have redundancy of storage. If you have RAID redundancy at the level of hardware controller or storage, Oracle recommends to configure ASM disks with external redundancy groups. Redundancy of the DSO is only between groups of disk failure and by default, each device's own failure group. Of course, you always want to make sure that you do not rely on redundancy of data between logical devices or partitions residing on a single physical unit. Compared to external RAID redundancy redundancy ASM using will give the DBA more control and transparency on the setting of the underlying.

  • That means recommended recommended for an ASM diskgroup to maintain production database?

    Dear Experts,

    That means recommended recommended for an ASM diskgroup to maintain production database?

    + DATA

    to keep the redo log groups redo1a, redo2a, redo3a with 3 members = redo1b, redo2b, redo3b, redo1c, redo2c, redo3c

    to organize 3 controlfiles

    organize storage of data files

    to keep the index tablespaces

    How many disk (as a point of reference)

    + FRA

    Where to place archivelogs

    Thanks in advance,

    Kind regards

    IVW

    Salvation;

    A good practice is:

    + DATA holds:

    • Redo log files, Member 1.
    • Control file.
    • Data files.

    + FRA holds:

    • Redo log files, Member of the 2.
    • Control file
    • Backup of files: archived redo logs, control automatic file backups, spills auto backups, copies, backup sets, flashback logs.

    This is the distribution of files most used; but always distribution will depend on the size of your database and how do you set up your database. Remember that you need to know how your database works. As Aman said in another post, distribution of files depends on how many disk groups you can have, depending on the speed of the disc.

    Kind regards.

    Willy

  • Applying the addEventListener method to the Clips using a variable for example appoints

    This project is in HTML5 Canvas using Javascript in Adobe animate.

    I have a lot of movie clip symbols of film, all with a single instance (for example name ('arms', 'head', 'leg', 'foot', etc.). I also have a display of graphics and text clip ("text") which has a keyframe labeled corresponding to each of these symbols instance names. When a symbol is clicked, I want the clip "displayText" to access the appropriate section.

    There are a large number of these clickable symbols in each of several animations, so I definitely want to be able to do this in a way auto-tableau, it is too many to write code for each.

    What I have is this:

    var objects = ['arms', 'head', 'leg', 'foot'];

    var clickObject = null;

    for (i = 0; i < objects.length; i ++) {}

    clickObject = (objects [i]);

    clickObject.addEventListener ("click", displayText.bind (this));

    }

    function displayText() {}

    this.displayAndSound.gotoAndStop (clickObject);

    }

    Console says "clickObject.addEventListener is not a function", and I have tried many variations of the scope, using onClick rather than a listener events, etc, etc. What I am doing wrong - something to do with the scope? Something to variables vs channels? Something to do with how javascript regarding instance names? Legally binding?

    I can get it works fine outside of the loop, using names of the current instance, fixed, so hopefully it's a clue to what goes wrong...

    Any help much appreciated.

    Look at what you do in the loop. You do not clickObject for an object reference, configure that you just want it set to a string value.

    Assuming that the objects are at the same level as the code, you should do instead:

    clickObject = this [object [i]];

    Property accessors - JavaScript | DND

    In addition, your event handler probably don't do what you hope, that he will, because the value of clickObject will be just what you set to last in the main code. You may need to use the event object.

    EaselJS tutorial: Mouse Interaction

    EaselJS v0.8.2 API Documentation: MouseEvent

  • Oracle of the MAF error ' cannot read the DataControl uses on loadDataControl for the id:

    Need help!

    I created a simple SOAP web service for a remote database that works very well in 12 c WebLogic Server and also in the Jdeveloper HTTP Analyzer. When I use the same web service in the attached code, I get the following error (I've included output System.out.println in Ref. to the flow of the code) I use Jdeveloper 12 c MAF 2.0.0.0.41 on Mac OSx 10.9.

    Chk #0

    Processing line # 1

    Chk #1

    Chk #2

    [SEVERE - oracle.adfmf.framework - AmxBindingContext - loadDataControlById] Cannot read the DataControl uses on loadDataControl for the id: WLFNewActWS. [SEVERE - oracle.adfmf.framework - SynchronizationDC - syncDataFromOfflineToOnline] [Ljava.lang.StackTraceElement;@467c53d3

    @


    Sorry about that, I think I'm wrong you.

    OK, I created an example to test what goes wrong.

    1. server side, create a project named Employee_ws

    a. Department_ws.java

    public interface {Department_ws}

    public boolean addDepartment (a Department);

    }

    b. Department.java

    public class {Department

    public Department() {}

    Super();

    }

    int departmentId.

    String departmentName;

    locationId int;

    managerId int;

    {} public void setDepartmentId (int departmentId)

    this.departmentId = departmentId;

    }

    public int getDepartmentId() {}

    return departmentId.

    }

    {} public void setDepartmentName (String departmentName)

    this.departmentName = departmentName;

    }

    public String getDepartmentName() {}

    return departmentName;

    }

    {} public void setLocationId (int locationId)

    this.locationId = locationId;

    }

    public int getLocationId() {}

    return locationId.

    }

    {} public void setManagerId (managerId int)

    this.managerId = managerId;

    }

    public int getManagerId() {}

    return managerId;

    }

    }

    c. Department_impl.java

    @WebService

    / public class Department_impl implements Department_ws {}

    public Department_impl() {}

    Super();

    }

    @Override

    @WebMethod

    {} public boolean addDepartment (@WebParam (name = "arg0") a Department)

    If (Department! = null) {}

    int departmentId = department.getDepartmentId ();

    String departmentName = department.getDepartmentName ();

    int locationId = department.getLocationId ();

    managerId int = department.getManagerId ();

    Connection Conn;

    try {}

    Conn = ConnectionFactory.getConnection ();

    conn.setAutoCommit (true);

    Statement šment = conn.createStatement ();

    String inset_sql =

    "INSERT INTO dept (department_name, location_id, department_id, manager_id) VALUES ('+ '.

    departmentId + "," "" + departmentName + "'," + locationId + "," + managerId + ")";

    šment. Execute (inset_sql);

    Returns true;

    } catch (Exception e) {}

    System.out.println (e);

    }

    }

    Returns false;

    }

    }

    d. ConnectionFactory.java

    import java.sql.Connection;

    to import java.sql.DriverManager;

    import java.sql.SQLException;

    Connect to the database

    public class {ConnectionFactory

    public ConnectionFactory() {}

    Super();

    }

    protected static connection conn = null;

    public static connection getConnection() bird Exception {}

    If (conn == null) {}

    try {}

    String driver = "oracle.jdbc.driver.OracleDriver";

    String url = "jdbc:oracle:thin:@localhost:1521:orcl";

    User String = "employee";

    String password = "employee";

    Class.forName (driver);

    Conn = DriverManager.getConnection (url, user, password);

    } catch (SQLException e) {}

    System.Err.println (e.getMessage ());

    }

    }

    return conn;

    }

    public static {} Sub closeConnection()

    try {}

    If (conn! = null) {}

    Conn.Close ();

    Conn = null;

    }

    } catch (Exception ex) {}

    throw new RuntimeException (ex);

    }

    }

    }

    You can run Department_impl.java to start the Web service. i.e. http://127.0.0.1:7001 / Employee_ws-Client-context-root/Department_implPort? WSDL

    Server side sql:

    CREATE USER employee IDENTIFIED BY employee DEFAULT TABLESPACE users

    Temp TEMPORARY TABLESPACE

    Users WE QUOTA UNLIMITED;

    GRANT create employee to logon.

    GRANT alter used to logon.

    GRANT create any employee at table;

    GRANT create trigger employee TO;

    GRANT create any employee to view;

    GRANT create sequence employee TO;

    GRANT create synonym employee TO;

    GRANT create type employee TO;

    GRANT create employee to procedure;

    CREATE TABLE (DEPT

    DEPARTMENT_ID NUMBER (7, 0) NOT NULL,

    DEPARTMENT_NAME VARCHAR2 (50).

    NUMBER OF LOCATION_ID (7, 0),

    MANAGER_ID NUMBER (7.0)

    );

    2 create a mobile application of CRG named Dept

    a. Department.java (even for the server)

    b. SynchronizationDC.java

    import java.util.ArrayList;

    import java.util.List;

    Import oracle.adfmf.framework.api.AdfmfJavaUtilities;

    Import oracle.adfmf.framework.exception.AdfInvocationException;

    public class SynchronizationDC {}

    public SynchronizationDC() {}

    Super();

    }

    public void syncDataFromOfflineToOnline() {}

    It's just for testing, so I build Department manually instead of mobile db data, please replace in your business logic

    A Department = new Department();

    department.setDepartmentId (1);

    department.setDepartmentName("1");

    department.setLocationId (1);

    department.setManagerId (1);

    NamesList list = new ArrayList (1);

    List ParamsList = new ArrayList (1);

    List TypesList = new ArrayList (1);

    namesList.add ("arg0");

    paramsList.add (department);

    typesList.add (Department.class);

    try {}

    AdfmfJavaUtilities.invokeDataControlMethod ("Dept_WS", null, "addDepartment", namesList, paramsList,

    typesList);

    } catch (AdfInvocationException e) {}

    System.out.println (e);

    }

    }

    }

    c. new an AMX pag called Dept.amx

    "http://www.w3.org/2001/XMLSchema-instance" xmlns:amx ="http://xmlns.oracle.com/adf/mf/amx"

    xmlns:dvtm ="http://xmlns.oracle.com/adf/mf/amx/dvt" >. "

    Text = "syncDataFromOfflineToOnline."

    Disabled = "#{!}" Bindings.syncDataFromOfflineToOnline.Enabled}"id ="cb3"/ >

    d. deploy on Android Simulator

    Click the button and a new record have been db insert through the webservice, search the remote db recording

    If above does not solve your problem, please let me know, thanks.

    Byron

Maybe you are looking for

  • TB 33.1 largely stops after a few hours (no deletion, without memory, etc.); old version still available?

    Problems often solved by re-booting; have already gone through the "corrupt trash folder" procedure, which worked but not permanently. I forgot to mention that the message filters also stop working. Things seem to change, with an update of tuberculos

  • How to restore the Satellite L300 PSLB8E to factory settings?

    I have problems with repeated "crash" of my system.I get the dreaded blue page, which then restarts (usually) pretty quickly. I think trying the option 'Restore factory settings', but I've never done this before.If I do, which will leave it on my com

  • Recovery utility Toshiba NB200 and HARD drive

    Hello worldI recently bought this netbook from toshiba and after installation of windows for the first time and restarting the machine it says that the password is incorrect, so I can't enter the system... It may be due to a particular keyboard layou

  • Phone calls from phishing

    Receive phone calls, saying: my laptop is sending information to servers in the window it has infected & they want me step through a process to fix it.  # Weird appears on caller ID sounds fishy. Anyone else get these?  How can they connect me, a lap

  • CD drive is not displayed under 'computer '.

    I put a CD in my CD drive and nothing happened. I use Windows 7. The PC is HP pavilion slimline. I clicked on the computer and the CD drive does not appear. Help! All I want to do is instlal a program from a CD. Thank you