Application Server Clustering for File hosting or something else?

Hi,
I asked this question in JDeveloper forum, but i think this is better place for asking this question.
Anyway, i am doing video streaming project.. As you guess, members will be able to upload their videos and share them with people.
However, i am confused about putting the uploaded video files. Video files are large files so 1 server will never be enough for that and multiple servers have to be clustered.
And..
1) Keeping files in the server where application server runs on is a good or bad idea?
2) I heard about DFS (Distributed file system) for Windows and GFS (Global file system) for Redhat Linux. Those are the things that i need?
3) If 1st server's disk space is full, how will files be uploaded to 2nd or 3th server automatically?
I don't know anything about this, can anyone please explain what do i need for doing this?
Thanks..

Hi Oak,
I am no content management guy but let me try to answer some of the questions.
1) Keeping files in the server where application server runs on is a good or bad idea?
Its neither good or bad. It totally depends on your hardware specification and your application size base. I have seen in big prod apps, they run multiple servers horzontal and vertical. So if your server is capable you can have in the same place
2>I heard about DFS (Distributed file system) for Windows and GFS (Global file system) for Redhat Linux. Those are the things that i need?
You definitely need some content management system so that the system will do stuff for you like cluster management
3) If 1st server's disk space is full, how will files be uploaded to 2nd or 3th server automatically?
This is not a easy solution. You have to do some calculation, like what is existing space what is the space usage daily/weekly. What should be the confortable free space on the file system and based upon that you have to set up appropriate alerts on pager,cell etc like a typical production support
Thanks
Vishnu

Similar Messages

  • Transfer file in application server to another file

    Hello guys I have another major hurdle I am encountering for a little task I am doing.
    I need to send a downloaded file within the SAP application server to another file automatically using ABAP via Background Processing(most preferable a directory in the <b>newtwork</b>).
    What I need to do is, after saving a list from an abap report and saves in the application server (which I have already done), I need it to transport to a the web server. All done in background.
    I really appreciate the help you guys have given to me thus far. Thank you guys and take care.

    Hi
    U have to use unix command for same
    i have seen some function module just check it out
    SXPG_CALL_SYSTEM you can check the user's authorization for the specified command and run the command. The command runs on the host system on which the function module is executed. The function module is RFC capable. It can therefore be run on the host system at which a user happens to be active or on another designated host system at which an R/3 server is active.
    <b>SXPG_COMMAND_CHECK</b> Check whether the user is authorized to execute the specified command on the target host system with the specified arguments.
    <b>SXPG_COMMAND_DEFINITION_GET</b> Read the definition of a single external OS command from the R/3 System's database.
    <b>
    SXPG_COMMAND_EXECUTE</b> Check a user's authorization to use a command, as in SXPG_COMMAND_CHECK. If the authorization check is successful, then execute the command on the target host system.
    <b>SXPG_COMMAND_LIST_GET</b> Select a list of external OS command definitions.
    <b>RZL_READ_DIR_LOCAL</b> Read a directory on the Application Server
    <b>SUBST_GET_FILE_LIST</b> Return table with file list for the given directory (pattern allowed)
    regards
    vinod

  • HFM server configuration - Application Server Clusters Issue

    Hi,
    When I am tryin to get into the second tab (Application Server Clusters)of the HFM configuration utility(server and webconfigurtion):
    I am getting the below ERROR
    +" There must be a valid Database Connection in order to set Application Sever Clustering. Please check and apply a working UDL file."+
    Database and server I am using:_
    I have Oracle database: Oracle Enterprise Manager Version 9.2.1.0
    on Windown 2003 SP1 server
    I created a UDL file and also tested it. The test connection was successful. I am using the provider for udl: "Microsoft OLE DB Provider for Oracle)
    +PS: I am through with the first tab "Application Server"..+
    Belolw is the log.. may be this will be useful.
    Error*11*Administrator*11/09/2009 10:47:08*CHsxHFMConnection.cpp*Line 909*<?xml version="1.0"?>
    <EStr><Ref>{DFCB5E4F-0940-4993-84A1-1F7568F670CB}</Ref><User/><DBUpdate>1</DBUpdate><ESec><Num>-2147220956</Num><Type>1</Type><DTime>11/9/2009 10:47:08 AM</DTime><Svr>HFMSERVER</Svr><File>CHsxHFMConnection.cpp</File><Line>909</Line><Ver>9.3.1.0.1502</Ver></ESec></EStr>
    Error*11*Administrator*11/09/2009 10:47:08*HfmADOConnection.cpp*Line 262*<?xml version="1.0"?>
    <EStr><Ref>{1290DF08-9EC5-45B5-B846-38EA0D58E2CE}</Ref><User/><DBUpdate>1</DBUpdate><ESec><Num>-2147220956</Num><Type>1</Type><DTime>11/9/2009 10:47:08 AM</DTime><Svr>HFMSERVER</Svr><File>HfmADOConnection.cpp</File><Line>262</Line><Ver>9.3.1.0.1502</Ver><DStr>&lt;?xml version="1.0"?&gt;
    &lt;EStr&gt;&lt;Ref&gt;{DFCB5E4F-0940-4993-84A1-1F7568F670CB}&lt;/Ref&gt;&lt;User/&gt;&lt;DBUpdate&gt;1&lt;/DBUpdate&gt;&lt;ESec&gt;&lt;Num&gt;-2147220956&lt;/Num&gt;&lt;Type&gt;1&lt;/Type&gt;&lt;DTime&gt;11/9/2009 10:47:08 AM&lt;/DTime&gt;&lt;Svr&gt;HFMSERVER&lt;/Svr&gt;&lt;File&gt;CHsxHFMConnection.cpp&lt;/File&gt;&lt;Line&gt;909&lt;/Line&gt;&lt;Ver&gt;9.3.1.0.1502&lt;/Ver&gt;&lt;/ESec&gt;&lt;/EStr&gt;
    </DStr><PSec><Param>C:\Hyperion\FinancialManagement\Server Working Folder\hfmlink.udl</Param></PSec></ESec></EStr>
    Error*11*Administrator*11/09/2009 10:47:08*CHsxSQLHelper.cpp*Line 102*<?xml version="1.0"?>
    <EStr><Ref>{1290DF08-9EC5-45B5-B846-38EA0D58E2CE}</Ref><User/><DBUpdate>1</DBUpdate><ESec><Num>-2147220956</Num><Type>1</Type><DTime>11/9/2009 10:47:08 AM</DTime><Svr>HFMSERVER</Svr><File>HfmADOConnection.cpp</File><Line>262</Line><Ver>9.3.1.0.1502</Ver><DStr>&lt;?xml version="1.0"?&gt;
    &lt;EStr&gt;&lt;Ref&gt;{DFCB5E4F-0940-4993-84A1-1F7568F670CB}&lt;/Ref&gt;&lt;User/&gt;&lt;DBUpdate&gt;1&lt;/DBUpdate&gt;&lt;ESec&gt;&lt;Num&gt;-2147220956&lt;/Num&gt;&lt;Type&gt;1&lt;/Type&gt;&lt;DTime&gt;11/9/2009 10:47:08 AM&lt;/DTime&gt;&lt;Svr&gt;HFMSERVER&lt;/Svr&gt;&lt;File&gt;CHsxHFMConnection.cpp&lt;/File&gt;&lt;Line&gt;909&lt;/Line&gt;&lt;Ver&gt;9.3.1.0.1502&lt;/Ver&gt;&lt;/ESec&gt;&lt;/EStr&gt;
    </DStr><PSec><Param>C:\Hyperion\FinancialManagement\Server Working Folder\hfmlink.udl</Param></PSec></ESec><ESec><Num>-2147220956</Num><Type>0</Type><DTime>11/9/2009 10:47:08 AM</DTime><Svr>HFMSERVER</Svr><File>CHsxSQLHelper.cpp</File><Line>102</Line><Ver>9.3.1.0.1502</Ver></ESec></EStr>
    Error*11*Administrator*11/09/2009 10:47:08*CHsxSystemConfig.cpp*Line 2508*<?xml version="1.0"?>
    <EStr><Ref>{1290DF08-9EC5-45B5-B846-38EA0D58E2CE}</Ref><User/><DBUpdate>1</DBUpdate><ESec><Num>-2147220956</Num><Type>1</Type><DTime>11/9/2009 10:47:08 AM</DTime><Svr>HFMSERVER</Svr><File>HfmADOConnection.cpp</File><Line>262</Line><Ver>9.3.1.0.1502</Ver><DStr>&lt;?xml version="1.0"?&gt;
    &lt;EStr&gt;&lt;Ref&gt;{DFCB5E4F-0940-4993-84A1-1F7568F670CB}&lt;/Ref&gt;&lt;User/&gt;&lt;DBUpdate&gt;1&lt;/DBUpdate&gt;&lt;ESec&gt;&lt;Num&gt;-2147220956&lt;/Num&gt;&lt;Type&gt;1&lt;/Type&gt;&lt;DTime&gt;11/9/2009 10:47:08 AM&lt;/DTime&gt;&lt;Svr&gt;HFMSERVER&lt;/Svr&gt;&lt;File&gt;CHsxHFMConnection.cpp&lt;/File&gt;&lt;Line&gt;909&lt;/Line&gt;&lt;Ver&gt;9.3.1.0.1502&lt;/Ver&gt;&lt;/ESec&gt;&lt;/EStr&gt;
    </DStr><PSec><Param>C:\Hyperion\FinancialManagement\Server Working Folder\hfmlink.udl</Param></PSec></ESec><ESec><Num>-2147220956</Num><Type>0</Type><DTime>11/9/2009 10:47:08 AM</DTime><Svr>HFMSERVER</Svr><File>CHsxSQLHelper.cpp</File><Line>102</Line><Ver>9.3.1.0.1502</Ver></ESec><ESec><Num>-2147220956</Num><Type>0</Type><DTime>11/9/2009 10:47:08 AM</DTime><Svr>HFMSERVER</Svr><File>CHsxSystemConfig.cpp</File><Line>2508</Line><Ver>9.3.1.0.1502</Ver></ESec></EStr>
    Can someone help me on this?

    This issue has been resolved.
    I was using the wrong proveder in the UDL file.
    The correct provider to be used is " Oracle Provider for OLE DB" - when we are running on Oracle database.
    Cheers..

  • Real application server Clustering

    I search for seminar or documentation about a Real application server Clustering...
    Please if you have... tell me
    Thanks a lot, Line

    Hi,
    There are several documents on otn.oracle.com
    and there is a seminar on ilearning.oracle.com about RAC.
    But what would you like to know, may be someone can help you in an specific topic.
    Carlos

  • Hosting application server useful for running developed applications?

    Hi,
             For my online applications, I am going to host the application to run on internet using hosting server.
    My doubt is, as like my local application server , Will i be apply to use the hosting server to run the application?
    Or I need to use my local application server in that hosting server to exclusively run the applications ?
    Pls suggest regarding this.
    - TechniM

    You shouldn't, Developer Release is currently 11g Fusion Middleware.
    see http://www.oracle.com/support/library/brochure/lifetime-support-middleware.pdf, support for 9i ended 4 years ago.

  • 10g Application Server Clustering

    Hello All,
    We have recently decided to move our standalone server to Oracle 10g 2 node RAC for which the preparations on the test environment have been initiated, so far oracle 10g DB have been setup on the 2 nodes with failover settings. Now my primary concern is to check on options for application servers failover settings, i would like to know if application server needs to be clustered. If so, is there a separate software for this clustering ? or do i have to install application server 10g software on each node separately and just specify DB servers details in TNS for the application server and failover is totally dependent on the DB RAC configuration. All i want to determine is how application can be safely failed over to the next available node with no downtime or loss of transactions/data. Here is a brief summary of setup:
    Node 1 - Win 2003 R2 Enterprise Edition, Oracle 10g RAC database (10.2.0.3.0)
    Node 2 - Win 2003 R2 Enterprise Edition, Oracle 10g RAC database (10.2.0.3.0)
    Could you also answer to following :
    a) How should i replicate/keep in sync my application data (a folder containing regularly changed forms/reports) on windows to node 2
    Thank you
    Ali

    Hello All,
    My target is to achieve failover for oracle forms based application. Now this is what i have currently in my setup :
    1) 2 nodes with win2003 r2 (32 - bit)
    2) Oracle RAC DB 10.2.0.5.0
    3) Oracle Application Server IAS 10.1.2.3.0 on each node
    I have included TNS entries for TAF under Oracle Infrastructure home of IAS and also under Oracle MiddleTier home of IAS.
    After completing all the setup when i test failover for the clients like TOAD, SQL for the RAC DB it is absolutely fine. Unfortunately when i test my forms application for failover by switching off the DB to which forms client is connected it simply errors out "UNHANDLED EXCEPTION" and the session closes abruptly. Are there any specific settings i have to make in order to ensure forms client failsover to the next running node rather than getting disconnected with loss of transactions.\
    I also look forward to get an input with respect to failing over Application Server 10g to the next node.
    Thank you.
    Ali

  • How best store files on application server: Tables vs File system

    Hi Experts,
    We want to let users to upload files to application server. The number of files can potencially grow over time (1000 files every month) though I whould like to limit size of each file not more than 1-2 MB.
    Also files should be classified (having custom attributes) so later on we need to search, select files according to attributes.
    So what are the best options in long run (for performance, reliability etc)?
    We have NW system 7.0 with MaxDB
    I can think of the following options:
    1. Store files in TRANSPARENT table in RAWSTRING. Easiest variant (to select files etc) Here I have concerns how this table and database behave after some period of time and what will happen if size will grow to let say 50 GB. Will it work? What are normal size limits for transparent tables?
    2. Store files in CLUSTER table in RAWSTRING. Less convenient to work with (joins are not allowed etc). Will cluster table help to handle big size of table? What are practical size limits for cluster tables?
    3. Store files on file system (on application server) and write info (attributes etc) into ztable. Select from ztable and read content file from file system (dataset commands?). So files will be written to one directory just one after another.
    What are the best option to follow? I would personally prefer option 1 as easiest but have servious concerns regarding size of one transparent table.
    What do you recommend?
    Regards,
    Dmitry.
    Edited by: Dmitry Kalmykov on Jul 28, 2009 8:58 AM

    Hi,
    I too feel that option 1 would be best choice.
    For your ref: Check the Transp.table REPOSRC and the field name DATA
    Also Check the technical settings (Size category).

  • Read application server directory and file

    Hi,
      I'm using the FM "RZL_READ_DIR_LOCAL" to retrieve the application server directory and filename.  The returned result contain all the directory name and filename.  Is there any other FM can separate the result into directory and file??
    Regards,
    Kit

    hi
    Ya One more FM is there - Call Function Gui Upload.
    It will read the file from the app server.
    See this Example:-
    Refer this:
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/frameset.htm
    ABAP code for uploading a TAB delimited file into an internal table. See code below for structures.
    *& Report  ZUPLOADTAB                                                  *                     &----
    *& Example of Uploading tab delimited file                             *
    REPORT  zuploadtab                    .
    PARAMETERS: p_infile  LIKE rlgrap-filename
                            OBLIGATORY DEFAULT  '/usr/sap/'..
    DATA: ld_file LIKE rlgrap-filename.
    *Internal tabe to store upload data
    TYPES: BEGIN OF t_record,
        name1 like pa0002-VORNA,
        name2 like pa0002-name2,
        age   type i,
        END OF t_record.
    DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
          wa_record TYPE t_record.
    *Text version of data table
    TYPES: begin of t_uploadtxt,
      name1(10) type c,
      name2(15) type c,
      age(5)  type c,
    end of t_uploadtxt.
    DATA: wa_uploadtxt TYPE t_uploadtxt.
    *String value to data in initially.
    DATA: wa_string(255) type c.
    constants: con_tab TYPE x VALUE '09'.
    *If you have Unicode check active in program attributes then you will
    *need to declare constants as follows:
    *class cl_abap_char_utilities definition load.
    *constants:
       con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
    *START-OF-SELECTION
    START-OF-SELECTION.
    ld_file = p_infile.
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    ELSE.
      DO.
        CLEAR: wa_string, wa_uploadtxt.
        READ DATASET ld_file INTO wa_string.
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
                                          wa_uploadtxt-name2
                                          wa_uploadtxt-age.
          MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
          APPEND wa_upload TO it_record.
        ENDIF.
      ENDDO.
      CLOSE DATASET ld_file.
    ENDIF.
    *END-OF-SELECTION
    END-OF-SELECTION.
    *!! Text data is now contained within the internal table IT_RECORD
    Display report data for illustration purposes
      loop at it_record into wa_record.
        write:/     sy-vline,
               (10) wa_record-name1, sy-vline,
               (10) wa_record-name2, sy-vline,
               (10) wa_record-age, sy-vline.
      endloop.
    reward if help.

  • Fetch URL from Application Server of Saved File

    Hi,
    I wrote a file on the Application Server using Open Dataset commands.
    i can see it in AL11 transaction as getting saved on the server.
    How can i fetch the path , where it got saved?
    Regards,
    Anantha

    Welcome to SDN.
    there is no url assigned to the file stored in the application server, if you want to provide a link for the same from your BSP application, you have to read the contents using open dataset and set it as cached response of your bsp application and set the link url.
    the code will be like below.
    open dataset .. to read the contents
    create object cached_response type cl_http_response exporting add_c_msg = 1.
      cached_response->set_data( file_content ).
      cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                         value = file_mime_type ).
      cached_response->set_status( code = 200 reason = 'OK' ).
      cached_response->server_cache_expire_rel( expires_rel = 180 ).
      call function 'GUID_CREATE'
        importing
          ev_guid_32 = guid.
      concatenate runtime->application_url '/' guid into display_url.
      cl_http_server=>server_cache_upload( url      = display_url
                                           response = cached_response ).
    Regards
    Raja

  • New Directory in Application server Required for data upload

    Hi,
    I need to load data in SAP application server. i will use CG3X to load the data.
    I need to create a new directory in the application server to load all my flat files. Does any one know how to create a directoty?
    Please provide list of steps and transactions used for creating this.
    Thnks

    Go to t-code FILE.
    Click on Logical file path definition and hit the New Entries button
    Enter your logical path name, say ZXXX
    Go back to FILE
    In the right window, click on the block on the left to highlight the line you just created.
    Now double-click on Assignment of physical paths to logical path
    Now click New Entries.
    Select your syntax group (this is just your O/S)
    Here you can enter your physical path.

  • Oracle Application Server JMS Library files

    Hi,
    What are the JMS library files that are used by Oracle with the Application version 10.1.2 and 10.1.3?
    In which folder of the Application Server install, these library files would be available? Do they differ by JDK version?
    Please let me know the details..........
    Regards,
    Siva

    my question has not been answered yet. pls help on this.

  • Do you need to purchase Application Server license for WebCenter Suite?

    Before the BEA product merger, WebCenter was sold as a separate license on top of the Application Server license. Now with the new pricing of 125K, does this mean you have to pay for a separate App Server license or is the new pricing included with an App Server license?

    Appserver licenses need to be purchased separately

  • Best Application Server Specificatin for Application Environments

    Hi Guys,
    I am juz more than curious and excited to know about using an Application Server which would be best suited for development environ and other phases (Testing and Production). Anyone plz do lemme know how do I go about in giving app server specification for a web application's (as heavy as 1 lac hits / users) load management and performance optimization.
    Hope I am clear with my query.....Please do help me out in answering my query...
    Thanks in Advance
    Kishore

    Hi,
    Since Sun App Server is a Sun Product it would be better if you go for it because of comaptibility. However I have worked with Tomcat also and didn't face any problem. Since you have told you are a newbie it would be better if you start on Tomcat a handling tomcat is much easier as compared to Sun App Server.
    Regards,
    Zebra8

  • From Forms Product Management - Oracle Application Server 10g for Windows

    I've updated http://otn.oracle.com/products/forms with links to the Oracle Application Server 10g and Oracle Developer Suite 10g for Windows (which has just be released).
    You can check out the new features this version of the product bring for Forms at:
    http://otn.oracle.com/products/forms/pdf/10g/frm10gnewfeatures.pdf
    Regards
    Grant Ronald
    Forms Product Management

    Nice - thanks!

  • Overview - Oracle Application Server Containers for J2EE (OCJ4)

    After reading the OCJ4 documentation, I still have a very simple question: what does OCJ4 actually do?
    Is it just a calling mechanism that exposes the Java procedures stored/compiled on the Oracle Database?
    Does it provide functionality redundant to Sun Java Application Server, and possible allow you to deploy your Java services using only OAS?
    ...I'm just a little confused by all the marketing bragging about all the things it will help me do that I am not sure what it actually does.

    Thank you Shail.
    Can you or anyone give guidance or the relevant documentation link for:
    1. Deploying Java apps to this OAS component?
    2. How to administrate these deployments?
    ...I assume it's in the documentation somewhere; I just haven't dug deep enough or searched on the correct terminology.

Maybe you are looking for