Multiple Database configurations with Hibernate and caching

Hi,
I am building an webservice app which has 2 different DBs( Oracle and DB2). Please let me know whats the best way of designing the hibernate layer to access both the DBs ; I have some cross reference tables in both of them.
I am planning to create a logical model of the physical DB model ( combining both Oracle and DB2) and use property files or some configuration to map my logical to the actual physical table. What would be the best design for this? Do you recommend caching these conversion values?
Please let me know the best practice / way to work on my above situation.
fyi - I am neither a novice nor an expert in J2EE.

I have the same experience. I can connect to the database of the inital setup but then I try to create a second DB connection with
Create the connection
java -jar apex.war setup --database edwdev1
Sep 28, 2012 5:08:04 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
INFO: Using configuration folder: /space/sw/oracle/products/apex/2.0.0/config/apex
Enter the name of the database server [localhost]:ddb001-v.maximusbchealth.local
Enter the database listen port [1521]:1521
Enter 1 to specify the database service name, or 2 to specify the database SID [1]:1
Enter the database service name:apex_edwdev1.maximusbc.ca
Enter the database user name [APEX_PUBLIC_USER]:APEX_PUBLIC_USER
Enter the database password for APEX_PUBLIC_USER:
Confirm password:
Enter 1 to enter passwords for the RESTful Services database users (APEX_LISTENER,APEX_REST_PUBLIC_USER), 2 to use the same password as used for APEX_PUBLIC_USER or, 3 to skip this step [1]:3
Sep 28, 2012 5:10:12 PM oracle.dbtools.common.config.file.ConfigurationFiles update
INFO: Updated configurations: apex_al, apex_rt, apex, edwdev1, edwdev1_al, edwdev1_rt
Then I create a routing based on theRequest Path Prefix:
java -jar apex.war map-url --type base-path /edwdev1 edwdev1
Sep 28, 2012 5:12:32 PM oracle.dbtools.common.config.file.ConfigurationFolder logConfigFolder
INFO: Using configuration folder: /space/sw/oracle/products/apex/2.0.0/config/apex
oracle@vs-dapp041:/sw/oracle/products/apex/2.0.0$
Everything seems fine but when I try to access the second db I get:
http://vs-dapp041.maximusbchealth.local:7501/apex/edwdev1 => 404 not found
I am going to be at Open World next week and see if I can talk so someone at the apex stand there.

Similar Messages

  • Standby Database Configuration with LGWR and ASYNC

    Hi,
    I am running a standby database configuration on a 100MBit LAN
    with the following set-up:
    log_archive_dest_2='service=standby mandatory reopen=300 lgwr
    async=2000'
    The system is handling a lot of very small transactions, not
    involving large amounts of data.
    My questions are:
    - What are the potential problems in using a small ASYNC buffer
    like the one above?
    - Does a larger ASYNC buffer influence the latency in copying
    changes from the production database to the standby database -
    will it buffer more changes before sending them to the standby
    database?

    Murlib,
    I have few more doubt-
    Our requirement is to configure a Standby( Physical-MAXIMUM PERFORMANCE
    mode) in a place, which is 600 KM away from our primary destination.
    Currently our LAN network traffic rate is 100 Mbps. but this traffic is
    virtually reduced to 1Mbps out side our LAN.
    Our Production Database is 24X7 and Its generating 17 GB Archive files every
    day.
    Since the net work traffic is slow i think, it will create some log gaps,and
    also we couldn't do a point in time recovery.
    We are configuring a Standby, here inside our LAN in Managed Recovery Mode
    for recovery purpose and will keep a Standby there in remote place for
    Reports.
    and it will be recover it in every morning.If iam following this procedure,
    my
    log_archive_dest_2 ='service=stby ARCH NOAFFIRM' ( which is the standby here
    inside our LAN and should be in MANAGED RECOVERY mode)
    and i need to configure the parameters for standby in my remote location.So
    my doubt is-
    Shall i need to configure "log_archive_dest_n" in the parameterlist of my
    Primary for that remote Standby ?
    I think for manual recovery we can aviod that.But we need to eonnect it
    thrrough Oracle Net
    Can you please tell me the essential PRIMARY parameter list entries for this
    kind of remote standby , recovering in a manual mode ?
    i think the following parameter should be there -
    FAL_SERVER
    FAL_CLIENT
    DB_FILE_NAME_CONVERT
    LOG_FILE_NAME_CONVERT
    STANDBY_FILE_MANAGEMENT=AUTO
    STANDBY_ARCHIVE_DEST
    Thanks and Regards,
    Raj

  • Integration with Hibernate and KODO

    I'm aware that Coherence has some optimisation for distributed queries with indices etc, but are Hibernate/Kodo able to benefit from this? If you have any statistics or white papers covering query performance and optimisation between Hibernate and Kodo I'd be very interested.
         (From Paul Woodward).

    Hi Paul,
         At present, Kodo and Hibernate do not have direct support for our distributed query features.
         Note that if you use Coherence as a plug-in to your ORM provider, you still have the option of maintaining separate Coherence caches on which you may use distributed queries.
         Jon Purdy
         Tangosol, Inc.

  • Installing Multiple Operating Systems with grub and Arch Linux

    NOTE: Please keep in mind that there are many different ways to achieve this same result using various loop and ramdisk methods, read this with a separate window to jot down your comments and suggestions... this is ongoing for me so any help would be appreciated!
    Read the full article at Install Multiple Os without cds
    This is my first post and I plan on making this topic an official HOWTO with www.tldp.org.
    I have been into the computer security scene since 1990, but I realized that I had very little experience with the various LInux, Unix, and alternative Operating systems out there.
    I have a CD-RW drive but being a struggling computer security researcher I had no money for blank cd-recordables.  What follows is how I managed to install various operating systems on my computer (1 hard drive) without having to burn to a CD the ISO and then boot from that.
    I first partitioned my 120GB harddrive into 10 partitions, the 2nd partition is a small swap and the last partition is extra large because it holds all the ISO images..
    I then wrote a small shell script to automatically download (I love wget!)  the following.
    OpenBSD
    IpCOP
    Libranet
    Arch-Linux
    Fire
    Local Area Security
    Packet Master
    Devil-Linux
    FreeBSD
    Knoppix
    Helix
    Gentoo
    Yoper-Linux
    NetBSD
    RedHat
    Slackware
    The script also downloaded Installation manuals and md5 checksums.. (let me know if I should post... its pretty unsophisticated
    I installed Slackware (personal favorite) on hda1 using my last blank CD-R, note that I do not have a separate boot partitino.  (Should I?).  I also installed grub on the MBR.  I love grub, if you read through the man pages and all info you can find about grub, you can learn a whole lot.  Grub has much more features and capability than lilo, even though lilo comes installed by default with slack.
    I organize my kernel situation as follows...  In my /boot directory, I mkdir KERNEL, CONFIG, MAP, INITRD and that is a good way for me to keep my kernels and everything organized..  Another good way is a separate dir for each new kernel. 
    Since Arch-Linux is a solid distro, I'll use that as a first example.
    Here is the Arch-Linux section of my shell script
    goge Arch-Linux
    $w http://puzzle.dl.sourceforge.net/sourceforge/archlinux/arch-0.6.iso
    $w http://unc.dl.sourceforge.net/sourceforge/archlinux/arch-0.6.md5sum
    $w http://www.archlinux.org/docs/en/guide/install/arch-install-guide.html
    md55
    cat arch-0.6.md5sum
    md5sum arch-0.6.iso
    md55
    The first thing to do is to mount the downloaded ISO image so we can use it as if it were an actual CD.
    mount -t iso9660 -o ro,loop=/dev/loop0 cdimage /mnt/cdrom
    Where cdimage= the ISO image.   EX. /usr/local/src/ISO/Linux/Arch-Linux/arch-0.6.iso
    This mounts the iso as /mnt/cdrom.
    Next you need to copy /mnt/cdrom to a separate partition for the booting process.  So mkfs.ext2 /dev/hda9.  ( I prefer reiserfs or even XFS to ext but if you use something other than ext2 you could run into some problems because some of the installation kernels and initrds don't include support for reiserfs and so can't recognize the files.  Although you could use mkinitrd to create a new initrd with reiserfs support, that might be pushin it IMO...   I use the 9th partition consistently for this.  I know there is a "right" way to copy the /mnt/cdrom files so everything stays the way it is supposed too, using tar or cpio, but I'm lazy so I just do cp -rp.   
    (What is the tar or cpio commands to copy with correct permissions etc??)
    So you mount the 9th partition as whatever, say /mnt/hd and then copy the files.  Now what?
    Now edit your /boot/grub/menu.lst file to include the specific options to boot arch-linux installation. 
    A good idea is to find the isolinux.cfg file somewhere on the distro cd, this will tell you what to include in the menu.lst.
    Here is the section in my menu.lst
    title Arch Install
    root (hd0,8)
    kernel /isolinux/vmlinuz load_ramdisk=1 prompt_ramdisk=0 root=/dev/rd/0
    initrd=/isolinux/initrd.img
    This should be self-explanatory.  The root (hd0,8) is pointing to partition 9.  So the rest of the commands start from partition 9. 
    When you experience problems, remember you can always edit the grub boot options by typing 'e' and then edit the section.  Also, a good idea is to include several variations in your menu.lst so you can easily try other ways to boot efficiently.  And, remember to read up on all the installation guides that come with your distro, specifically, hard-disk installs. 
    There are special cases, Gentoo, has a semi-new compressed filesystem called squashfs.  BTW, this is AWESOME, so check it out.  It has to be compiled into the kernel, so some work is in order, but use this recompile to optimize your kernel.  You can get the squashfs patch for almost any kernel.  I use the latest stable 2.6 kernel.  Squashfs is incredible and although I don't think you need it to install from ISO, you do need it to expand the livecd.squashfs filesystem that comes with the cd.
    Heres a sample Gentoo section from my menu.lst
    title Gentoo Install
    root (hd0,8)
    kernel /isolinux/gentoo root=/dev/ram0
    initrd=/isolinux/gentoo.igz init=/linuxrc acpi=off looptype=squashfs loop=/livecd.squashfs cdroot vga=791 splash=silent
    A nother' tip is the shell that is provided if you experience problems, typically busybox or ash.  The key tools to get you going from here is mount and chroot.  Sometimes you will need to manually create a simulated file system and then chroot into it.  For instance, you might have to create boot, etc, bin, directories on the target partition. 
    I generally install each OS onto the next partition (careful of the logical partition) and add it to my menu.lst after install.  A good idea is after installation, copy the kernel and initrd(if there is one) to the slackware(or whatever) boot partition on hda1.  I copy kernels to /boot/KERNEL/ and initrd's to /boot/INITRD, then menu.lst is more organized...
    You then need to add an updated section to your menu.lst (just comment out the install section for later)
    Here is the finished arch-linux section from menu.lst
    title Arch Linux 6
    root (hd0,2)
    kernel /boot/vmlinuz26 ro root=/dev/hdc3
    This doesn't use my convenient boot/KERNEL/vmlinuz26 as you can tell by setting the root to partition 3.
    ***NOTE: Make a backup of MBR using dd and save to floppy, also backup the partition table to floppy, using cfdisk or parted.  And boot disks (I use 1 with grub, and 1 with slack, and tomsbootdisk) will invariably come in handy.  Tomsbootdisk is recommended, and make the grub boot disk when you install grub.  install to floppy.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    The final result after some fun experimenting, is when I boot, I have a cool grub boot screen come up with the option to boot into whatever OS I want, this is handy for multiple reasons.  One good thing to do after this is to port scan and vuln scan each OS, after you update of course.  Write this stuff down and you will know the weaknesses/strengths of the various OS's. 
    I can boot a custom Firewall, snort, or multiple honeypots using this procedure, as well as a graphical kde environment with a kernel optimized for graphics and my processor/architecture, or an environment devoted to forensics or even an environment suitable for programming.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    P.S. Some of the cooler alternative operating systems are BeOS 5, EOS, ER_OS, V2_OS, and my personal favorite Menuet.  Menuet is 100% assembly graphical operating system that fits on a floppy.  Its f'in money!
    This should be a good enough example to get you started, this kind of thing should be learned and not just copied... Knowing how to do this stuff could prove to be exceptionally useful...

    Start by reading all the articles built-in on your Mac - Help > Mac Help, search "printer sharing."
    http://desk.stinkpot.org:8080/tricks/index.php/2008/04/how-to-print-to-a-cups-se rver-from-mac-os-x/
    http://www.macosxhints.com/article.php?story=20080324224027152&query=share%2Bpri nter
    http://members.cox.net/18james/osxprintersharing.html
    http://ubuntuforums.org/archive/index.php/t-56940.html

  • Export Billing Configuration with CIN and Foreign Trade Data

    Hi,
    I need detail configuration of Export billing with CIN and foreign trade data for my understnading the configuration process for export billing process.
    Thanks in advance

    Dear Tarun
    I feel you need detailed configuration of CIN.
    Two diffrent CIN configurations supported bySAP
    TAXINJ & TAXINN. First is formula based & second is conditions based
    Search in SDN you will get many threads.
    Regards
    Deepu Pilla

  • Solaris 10 zone configuration with sysidcfg and dhcp and hostname

    Hi
    Excuse me if I look like a n00b... it's probably because I'm a n00b.
    I've been struggling in the dark for more than 2 days now and I'm wondering if I'm thinking about this all wrong...
    I have stand-alone server where I need to run zones. I want to create zones and automagically configure them at boot (read: by running a script). So here's what I need...
    A zone
    starting from unconfigured state
    whose hostname is not the same as the zone name
    using corporate DHCP to get its IP address
    with DNS config coming from the DHCP server
    registering its address the DNS
    with a preconfigured root password
    (I don't own the corporate DHCP or DNS servers, I can't put my own DHCP or DNS servers on the network.)
    I would lke to create the zone, throw some config at it, then boot the zone and walk away. I am using zones with exclusive-IP. I can construct the zones and manually configure them once they're started to have DHCP, my own name, registered IP address with DNS and everything else I have specified above. But I don't want to do it manually...
    Sysidcfg seems to do some of what I want but not entirely.
    In sysidcfg I can set the root_password, the primary interface using DHCP, DNS server. I can't set a hostname in sysidcfg AND use configure it for DHCP. So the hostname is not what I want it to be after the zone is started and ready to go. The DHCP server is providing the DNS configuration, Solaris does not seem to honour it, but i'll ignore that for the moment.
    I have tried various combinations of using sysidcfg, /etc/nodename, /etc/hostname.+interface+ and /etc/dhcp.+interface+ but I can't find any combination that actually works.
    I can write to the zonestorage/etc/nodename to set the nodename, that works. But it does not match the DHCP address, so I get prompted for a new name service because it can't find a DNS entry for the name.
    I can write to the zonestorage/etc/hostname.+interface+ and /etc/dhcp.+interface+ (to get the system to register its name with the DNS server after getting its DHCP address) but then I get a system with no root password and no DNS configuration, even though they are set in the sysidcfg file.
    I can write a script that gets part of the way using sysidcfg and /etc/... files, then boots the zone and then runs a bunch of voodoo via zlogin commands to fix all the stuff that couldn't be done 'properly', but that's not a 'boot and walk away' environment. I can write a script that uses sysidcfg and hacks around with other files in /etc (like nsswitch.conf, resolv.conf), but that just feels likes a dirty hack to fix something that wasn't done properly in the first place.
    So where am I going wrong and how do I do it right (within the constraints defined)? Why can't I configure, boot and walk away?
    Thanks

    Thanks abrante
    Thanks for your response!
    I don't think the config is messed up after the installation. I think the installation is fine, it's just not what I want :-)
    I'm trying to decouple the zonename from the system name and get DNS registrations working. After installation, a DHCP client can get its hostname from DNS but I'm trying to do it the other way around. I want the DHCP client specify its own hostname, get an address from the DHCP server and then register its hostname with DNS. If the system gets its name from DNS/DHCP then I have to configure those to provide the system name and I don't own the DHCP/DNS infrastructure. These zones are for a development/QA environment, so we create and reconfigure these frequently. Hence the need to specify the system name within the zone and register that name in the DNS.
    I have tried fiddling with the PARAM_REQUEST_LIST but it does not seem to be working as I expect. :-$ Removing 12 did not help with setting the hostname from the system. DNS does not have a registered name for this system anyway, so even if it tried to get a name for this system, it would get nothing.
    I also do want the DHCP to change the DNS server and domain name, but this does not happen even though my dhcpagent includes 6 and 15 in the PARAM_REQUEST_LIST. I still have to set them in the sysidcfg file because it is always ignored in Solaris (S10u8 with 10_Recommended 30-Jul-2010)
    As stated, I know I can hack around with the system after it has booted. But I'm trying to configure the system before it starts and let it take care of itself and not have to touch it. Frankly I'm surprised that the sysidcfg does not allow you to set a hostname name when you are using DHCP, that the default DHCP configuration does not register the system name with the DNS server, and the DNS config from the DHCP response is ignored. Even a sys-unconfiged system requires DNS configuration during initial boot, when I know that the DHCP response contains DNS information.
    FYI: Windows systems using DHCP work as expected in this respect by default, i.e. set system name, use DHCP --> system gets address from corporate DHCP, DNS settings are set from DHCP information, DNS registration is made for system name.
    I'm working around this at the moment... I call my zone by the system name I want, I hardcode the DNS settings in the sysidcfg file and I create the hostname.+nic+ and dhcp.+nic+ files in the zone storage to get the system to register its name with DNS, them boot.
    Edited by: cydonian on Aug 19, 2010 7:45 PM

  • Database restore of Content and Cache Server on different SID

    Hi Experts,
    I am trying to do backup \ restore method, is it the correct way to do.
    if not, please suggest me the correct methodology.
    if yes, please let me know the procedure to restore the database on different SID
    Content Server and cache server was installed on MaxDB 7.6 and build 18
    Regards,
    Sandeep

    >
    $@ndy wrote:
    > I am trying to do backup \ restore method, is it the correct way to do.
    Ok... is this supposed to be a question?
    Maybe reading the documenation would also help you in this case?
    Did you try?
    > if not, please suggest me the correct methodology.
    So it was indeed a question - but how do you expect us to answer it?
    Because you didn't really gave us any alternative to decide on here...
    > Content Server and cache server was installed on MaxDB 7.6 and build 18
    Are you guys getting any prizes for using the oldest software you can digg up in the service marketplace?
    If there  is anything I can recommend at this early stage of your question:
    Upgrade the database to a recent release, read the documentation/sap notes/WIKI/training content for MaxDB.
    regards and a sucessfull new year,
    Lars

  • X-configure with AMD64 and ATI 4250HD fails

    I have just installed Arch
    I figured to install gnome-shell would do all, but not,
    i did pacman -S xorg to install the X
    and After that I run X-configure and it gave me some errors.
    As i have ubuntu and the .run ati installer I installed the fglrx driver at Arch, did not work
    I copied my ubuntu xorg.conf not work too
    I edited xorg.conf to put "radeon" driver instead of "fglrx"
    i also installed gnome
    i tried X-configure severla times and give me errors of "other drivers ot ati"
    I tried to remove xorg "pacman -R xorg", impossible
    I tried to reinstall and instead of install all, install only 13 the ati driver, nothing.
    The Xorg man page says that there are some problems with X-configure sometimes.
    As AMD64 +ATI is a common config, and sure there are some gurus that has this config working with the X
    I suggest, not only publish it, making arch packages for this not working with X-configure configuration to be detected and well configured.
    Last time I installed Arch was less diffcult but editing manually xorg.conf I was able to do it, I'm revisiting this distro, and is not very comfortable to install the X
    even if it did work.
    But thanks in advance if anyone can give me a xorg.conf that works

    karol wrote:
    glaiky wrote:In addition to xorg you need to install xorg-xinit. If you have installed the ATI proprietry driver, run (as root) aticonfig --initial to create an xorg.conf file. Add 'nomodeset' to /boot/grub/grub.lst (on the line that points to your kernel.
    What do you mean "In addition to xorg"? 'xorg' is a group one shouldn't ever need to install whole.
    As you've already explained.
    In addition to everything else others have said, mitcoes, per the Beginner's Guide [ https://wiki.archlinux.org/index.php/Be … #Install_X ] follow what it recommends, albeit it's notable the guide presumes this is a new install. If you intend on using Catalyst, the link is available there for the ATI Catalyst instructions.

  • Can URL redirects be configured with XE and what is the HTTP Server

    I would like to be able to URL redirects. I'm running XE with Application Express 2.1.0.00.39.
    I want to be able to have a URL like www.schoolwebsite.com and when the user hits it - have it redirect to the Apex page for the application. I was thinking that I needed to use a redirect in the HTTP config file, and that XE used Oracle_HTTP and I could configure in that manner.
    But, I can't find an Apache directory.
    1. What HTTP server is used with XE and Application Express 2.1.0.00.39?
    2. Can I configure for this type of redirect?
    3. Do I need to install an HTTP server to accomplish this?
    Thanks,
    Stephen

    Hi Steven,
    search for "proxy" in this forum.
    It explains how to configure a plain Apache http server as a proxy to XE. Then you can use the default mechanisms to rewrite an url.
    Here is an example (save the file as XE.conf and store it in the Apache conf directory (file httpd.conf is there).
    The following instructions are valid for Apache2.
    # Activate the following modules in httpd.conf:
    #LoadModule proxy_module modules/mod_proxy.so
    #LoadModule proxy_connect_module modules/mod_proxy_connect.so
    #LoadModule proxy_http_module modules/mod_proxy_http.so
    #LoadModule rewrite_module modules/mod_rewrite.so
    #LoadModule headers_module modules/mod_headers.so
    # include the XE configuration (this file XE.conf) in httpd.conf:
    #include "conf/XE.conf"
    # XE listener is buggy, thus downgrade to http 1.0
    SetEnv force-proxy-request-1.0 1
    RewriteEngine On
    RewriteLog "D:\Programme\Apache Group\Apache2\logs\rewrite.log"
    RewriteLogLevel 0
    ## Rewrite requests /apex, /i, /public, /sys to locally installed XE
    RewriteCond %{REQUEST_URI} /(([^/]+)(/.*)*)$
    RewriteCond %2 =apex [OR]
    RewriteCond %2 =i [OR]
    RewriteCond %2 =public [OR]
    RewriteCond %2 =sys
    RewriteRule ^/(.*) http://%{SERVER_NAME}:8080/%1 [P]
    ## Rewrite main page
      RewriteEngine On
      RewriteRule ^/$       http://%{SERVER_NAME}/apex/f?p=107:1 [R]
      RewriteRule ^/index.html$       http://%{SERVER_NAME}/apex/f?p=107:1 [R]
    ## Rewrite /app1
      RewriteRule ^/app1$      http://%{SERVER_NAME}/apex/f?p=107:1:0 [R=303]Regards,
    ~Dietmar.
    Edited by: Dietmar Aust on Oct 14, 2008 1:16 AM

  • RAC: Multiple Databases / Instances with network seperation

    Dear all,
    We are planning to run our oracle 11g DB on RAC, with two instances both on seperate networks. Is this possible?
    here is what i mean
    Instance 1 including RAC DB is configured in e.g VLAN 12 with subnet 192.168.120.0/24. Instance 2 is configured in VLAN 22 with subnet 192.168.122.0/24. Servers of instance 2 send their data also to instance 1 RAC DB at subnet 192.168.120.0/24. Traffic between them is routed by a Cisco router.
    i searched the net for similar implementations and found a couple of people running similar configurations on RAC,
    but i want to know any downsides/pros cons of running such a setup.
    THanks in advance
    Saad

    Hi Saad,
    The problem in my case is clusterware configuration. While creating the cluster CRS asks for public IP,Private IP and VIP for both nodes. I can do it for one database environment which we call here pre-prod.
    The prod environment also uses the same hardware but is in different subnet and will use same cluster. Can i put vips for that environment when clusterware asks for public ip,private ip and vips.
    Or as you suggested,create cluster using ip of one subnet and create database for it and for second network create just database and in listerner.ora enter vips of prod environment. My current hosts file looks like this
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    ::1 localhost6.localdomain6 localhost6
    #Production
    10.88.118.200 cps-oracle-vip.fedex.com cps-oracle-vip
    10.88.118.201 cps-oracle-1.fedex.com cps-oracle-1
    10.88.118.202 cps-oracle-2.fedex.com cps-oracle-2
    10.88.118.203 cps-oracle-1-vip.fedex.com cps-oracle-1-vip
    10.88.118.204 cps-oracle-2-vip.fedex.com cps-oracle-2-vip
    #Pre-Production
    10.88.119.200 cps-pre-oracle-vip.fedex.com cps-pre-oracle-vip
    10.88.119.201 cps-pre-oracle-1.fedex.com cps-pre-oracle-1
    10.88.119.202 cps-pre-oracle-2.fedex.com cps-pre-oracle-2
    10.88.119.203 cps-pre-oracle-1-vip.fedex.com cps-pre-oracle-1-vip
    10.88.119.204 cps-pre-oracle-2-vip.fedex.com cps-pre-oracle-2-vip
    #Internal
    192.168.101.1 cps-oracle-1-priv.fedex.com cps-oracle-1-priv
    192.168.101.2 cps-oracle-2-priv.fedex.com cps-oracle-2-priv
    Does 11G provide facility to enter multiple vips in CRS.

  • Database setup with MySQL and PHP question

    Hello all,
    I recently had a problem getting a report to work for a site I was updating.  This site is written in PHP with a MySQL database.  The application is to track customer calls to auto repair stores.  The database has a lot of foreign keys because they wanted to update information in only one spot and have multiple records be updated all at once.  So, I've got all the information from individual calls saved in the call_log table, and have foreign keys to reference information in other tables (for example this table lists what store received the call referencing the store table).  If a store changes locations, they want to have reports automatically update with the new address, connection to conversation number, etc.
    In one of the responses to my question on how to get this report to work, I was told that this could be done without using foreign keys (by Normalizing the database using mapping tables).  I am still a newbie to MySQL, and after looking though a lot of manuals, tutorials, and forum posts, I am more confused now than ever.
    I got the report to work using the foreign keys, but I would like to learn what I should have done with the database (and how to get the information displayed).
    So for example one report would be displaying the following:
               Store                                                      Reason for the Customer Call
                                               breaks             oil change            shocks              tune up         total calls
    5636 - Bloomington                  2                       4                        0                       2                   8
    8875 - Duluth                           1                       6                       4                        8                  19
    with links on the store name to pull up the information on that specific store.  How would I change the database (listed below) to do this without foreign keys?  Any help would be greatly appreciated.
    call_log             (table that contains the following:)
    call_id
    conv_number
    date
    camp_type         (foreign key to the campaign table so it displays the campaign_id)
    reason               (foreign key to the call_reason table so it displays the reason_id)
    location              (foreign key to the store table so it displays the store_id)
    associate
    call_summary
    trainig_issue      (foreign key to the training_points table so it displays the training_key_id)
    visit_closed
    example            (foreign key to the example_type table so it displays the example_id)
    campaign          (table that contains the following:)
    campaign_id
    campaign_name
    campaign_promotion
    campaign_coupon
    campaign_startdate
    campaign_enddate
    call_reason       (table that contains the following:)
    reason_id
    reason
    store               (table that contains the following:)
    store_id
    store_number
    store_address
    store_city
    store_state
    store_postalcode
    store_name
    store_phone
    store_email
    store_mgr
    training_points  (table that contains the following:)
    training_key_id
    key_issue
    policy
    example_type  (table that contains the following:)
    example_id
    example_name
    example_image
    Thank you very much.

    Frankly, that is way to much of a question to be answered in detail on a forum... There's a lot involved and a lot of general database understanding required. I would highly recommend:
    Database Design for Mere Mortals:                       A Hands-On Guide to Relational Database Design, Second                       Edition -- by Michael                     J. Hernandez
    This is an invaluable book to get you going in the right direction and on a firm foundation.
    Lawrence   *Adobe Community Expert*
    www.Cartweaver.com
    Complete Shopping Cart Application for
    Dreamweaver, available in ASP, PHP and CF
    www.twitter.com/LawrenceCramer

  • Multiple database configuration for scan ip.

    Hi All,
    I am planning to implement 11gR2.
    Grid infrastructure is already done. Now i need to create 4 database in the same oracle home.
    There is a separate listener for each database with different port.
    As i scan ip is configured using 1521 port.
    My question is will my scan vip will work to connect to the database remotely if will give tnsstring with scan ip.
    For e.g
    for database 1, we are using port 1522
    MYDB
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=TCP)(HOST=t24db-scan)(PORT=1522))
    (CONNECT_DATA=(SERVICE_NAME=master)))
    for database 2, port is 1523
    MYDB
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=TCP)(HOST=mydb-scan.ORACLE.COM)(PORT=1523))
    (CONNECT_DATA=(SERVICE_NAME=master))
    Please suggest ,
    Thanks and Regards,
    jatin

    Jatin,
    If there is a request to bring down a database, you will just shutdown that database. You should not shutdown the listeners, as they serve other databases.
    Now that all listeners are running out of GRID Home (not database home), this is totally managed by CRS. We dont have to worry about managing them.. lets just manage the database. Same applies to patching also.. you need to bring down all services in the database home to apply the rdbms patches.. at this time, listeners can still be up (as they are not running out of database home).
    Thanks,
    Raj Mareddi

  • HFM database configuration with domain user

    I have ceated a DOMAIN user in MSSQL 2005 as hypadmpr.This user is give db owner and all credentials.When configuring the shared serice, under the data base creation window, i am putting the data base name\and instead of username of native user, i am putting the domain user hypadmpr and password:
    It throws an error:unnable to connect to database Shared.
    In stead if use it blank username and password/ or a SQL native user it works.
    I heard that when using window authentication we need to be leave it blank for user and password.
    wats the concept arround this...this can also be tested by a udl file:
    just create a udl file and instead of SQL authentication try windows authenticationit it wont ask for username and password but the test connection will be succesfull.
    how the domain user i am pulling in shared services get authentication is sql?
    so all those domain user need to be given provisioning in SQL also?
    its clear when not using windows auth. that one user with dbowner rights will be used when configuring HFM.Shared service will handle the restriction of the user.
    But, when windows auth. the user auth.in shared service and to get in to data base he need to be again pulled in sql and give proper rights to it..
    if its more than 100 users how its possible to do it sql?

    I don't know Jack about Windows admin. Can you see someone's C:\ when logged in on their PC as a domain user? Are you using AD (Active Directory) for authenticaion? Grasping at straws....

  • ACS 4.2 appliance external database configuration with AD

    Dear All,
    How to configure external database in ACS 4.2 appliance for Windows Active Directory.Active Directory is configured in Windows 2012.ACS internal database is working fine without interruption.What configuration is requred to configure external database(Active Directory).It would be highly appreciated if you share your experience with me.
    Thanks,
    AS

    Please check
    Supported Interoperable Devices and Software Tables for Cisco Secure ACS Release 4.2
    http://www.cisco.com/c/en/us/td/docs/net_mgmt/cisco_secure_access_control_server_for_windows/4-2/device/guide/sdt42.html

  • Multiple (200 +) processes with Jrun And Linux

    Hello,
    We have a server in our enviroment running the following:
    2.4.9-e.27smp linux kernel
    mysqld Ver 4.0.15-standard for pc-linux on i686
    java version "1.4.1_05"
    Java(TM) 2 Runtime Environment, Standard Edition (build
    1.4.1_05-b01)
    Java HotSpot(TM) Client VM (build 1.4.1_05-b01, mixed mode)
    47205 Oct 3 2003 jrun 4.0 updater 1a
    Starting the site with this command:
    su -c 'cd /usr/local/jrun/logs/df_nohup; nohup
    /usr/local/jrun/bin/jrun -config /usr/local/jrun/bin/df_jvm.config
    -start sitename &' userid
    We have 4 sites running on the machine each with the same
    command with the site names changed etc.
    Basicly when we start the sites each one generates 70+
    process each, usually when the server first comes up there will be
    240 + jrun process on it.
    We have a very similar configuration on our dev server, and
    it only starts 4 processes?
    Any ideas why this production server is generating so many
    processees?

    Thanks a lot for taking your precious time to review my code, Bogdan.
    I run an attempt using the additional flags you were suggesting but they didn't improve results.
    Your pointers to the DB Reference and C API sound a little bit like RTFM. In fact, I didn't read all the stuff there but a good portion of it before I was asking for help ;-) The FAQ entry I mentioned leads exactly to the "Architecting Transactional Data Store" topic.
    The code was modeled after the "The third way to architect Transactional Data Store applications is as a group of unrelated processes" using the DB_REGISTER flag.
    It seems to take a senior expert to get my simple requirement done :-(
    All I know now is I'm not alone:
    Problem with multiple processes and DB_REGISTER
    Re: Problem with multiple processes and DB_REGISTER
    Does anybody has the code for developing multi-process program .thank you.
    Re: does anybody has the code for developping multi-process program .thank you.
    Any more ideas what to try next?

Maybe you are looking for