Service Virtualization

  • 1.  DevTest servers, how to redirect from /tmp directory ?

    Posted Nov 28, 2017 09:14 AM

    Hi all, 

     

    Using DevTest 10.1, I've got files and directories created in /tmp directory :

    -rw-r--r-- 1 pdvtst pdvtst 5 Nov 28 15:13 i4jdaemon__applis_pdvtst_pur_prd_10.1_bin_EnterpriseDashboardCICService
    -rw-r--r-- 1 pdvtst pdvtst 5 Nov 28 15:13 i4jdaemon__applis_pdvtst_pur_prd_10.1_bin_EnterpriseDashboardService

    drwxr-xr-x 2 pdvtst pdvtst 4096 Nov 28 15:08 hsperfdata_pdvtst

    drwxr-xr-x 2 pdvtst pdvtst 4096 Nov 28 15:08 jetty-docbase.3148920348654265399.1506

    LISA8985030036158159999

    ...

     

    How can I specify DevTest to use another temporay directory ?

     

    Best regards,



  • 2.  Re: DevTest servers, how to redirect from /tmp directory ?

    Broadcom Employee
    Posted Nov 28, 2017 09:48 AM

    I may be wrong, but I do not think you can redirect DevTest Servers to a different /tmp folder via DevTest. 

     

    This is set at the Linux level. 

     

    I found this link:

    Where is the temporary directory in Linux? - Super User 

     

    Hope this helps.



  • 3.  Re: DevTest servers, how to redirect from /tmp directory ?

    Posted Nov 28, 2017 09:55 AM

    Assumingly, you installed DevTest as root. On Linux, IIRC, DevTest temporary data are stored at the installer's tmp directory. If you install DevTest as a regular user, tmp data will end up at some <USER HOME>/tmp directory. If installed as root, you might end up at /tmp.



  • 4.  Re: DevTest servers, how to redirect from /tmp directory ?

    Posted Nov 29, 2017 03:28 AM

    I'm not sure the first installation was made with root.

    Now, I'm using a common user (pdvtst).

    I've tried with "-Djava.io.tmpdir=/donapp/pdvtst/p00/dat" and now,

     

    I have in /donapp/pdvtst/p00/dat :

    jetty-0.0.0.0-1505-acl-_acl-any-4040985690609961631.dir jetty-0.0.0.0-1505-pf-_pf-any-3968396557636709412.dir
    jetty-0.0.0.0-1505-api-_api-any-4681397464759819892.dir jetty-0.0.0.0-1505-root-_-any-1882350417589514835.dir
    jetty-0.0.0.0-1505-jasper-server-_jasper-server-any-2443066329987411687.dir jetty-0.0.0.0-1507-phoenix-10.1.0-_devtest-any-6632036403342822788.dir
    jetty-0.0.0.0-1505-lisa-invoke-_lisa-invoke-any-6954485825787865705.dir jetty-0.0.0.0-1507-res-hub-10.1.0-_res-hub-any-903501021270248668.dir
    jetty-0.0.0.0-1505-lisa-pathfinder-invoke-_lisa-pathfinder-invoke-any-8139805124069485398.dir jetty-0.0.0.0-1508-solrservice-_solrservice-any-5829380335501295124.dir
    jetty-0.0.0.0-1505-lisa-test-invoke-_lisa-test-invoke-any-2227861410901288174.dir LISA4564427609258411890
    jetty-0.0.0.0-1505-lisa-virtualize-invoke-_lisa-virtualize-invoke-any-8064079796438980767.dir LISA6119445997719952394


    and I have in /tmp :

    i4jdaemon__applis_pdvtst_pur_prd_10.1_bin_BrokerService
    i4jdaemon__applis_pdvtst_pur_prd_10.1_bin_PortalService
    i4jdaemon__applis_pdvtst_pur_prd_10.1_bin_RegistryService
    i4jdaemon__applis_pdvtst_pur_prd_10.1_bin_VirtualServiceEnvironmentService

     

    It's bad not to have a simple variable to specify a common tmp folder for all components.



  • 5.  Re: DevTest servers, how to redirect from /tmp directory ?

    Posted Dec 01, 2017 05:00 AM