How to setup Sun Solaris 5.7 to perform routing

How to setup Sun Solaris 5.7 to perform routing and how to setup as a bridge.

Hi,
1.You will have to have two interfaces
Interface1      should be from network1
interface2      should be from network2
2.will have to create hostname.interface files for each interface
hostname.qfe0 hostname.qfe1
3.type hostname and ipAddressof each interface in /etc/inet/hosts
4.create /etc/defaultrouter file for static route
use "route" commands to create routes for the other interfaces.
Check out the docs.sun.com
Solaris 7 Administartion guide
TCP/IP Data Communication Guide
for more details
Thanks & Regards
Dhruva
Thanks & Regards
Dhruva

Similar Messages

  • How to connect sun solaris 10 on sparc to the internet?

    hello all. i don't know anything about sun solaris 10.
    after installing sun solaris 10 into my sparc pc, i need to register it through internet.
    but i don't know how to connect to internet through LAN at my campus. =(
    Please help me & give me details how to connect to internet?

    Go to docs.sun.com and get the "system administration guide: IP services". This will give you info on how to configure the network card and tcp/ip config files. Since you just installed this, you must have told the install process that the system was not connected to the network, otherwise it would have asked you for name service, hostname, etc. and configured this info for you.
    First you need to get info from your network/lan admin on an ip address, netmask, gateway, NIS/NIS+/DNS server, etc.
    If the LAN uses DHCP, then see the "DHCP" section of the IP Services guide.
    If the LAN uses issued IP addresses, then with the info provided by your network admin in hand, you can do 1.) sys-unconfig to force the system to return to the part of the install where it will ask you for the info and configure it for your -OR- take the info provided and configure the appropriate files specified in the IP Services guide.

  • How to install Sun solaries 9 or 10.

    Hi,
    I am trying to install Sun solaries 9 or 10.over AMD 64.
    Please guide me to install sun on AMD.
    Any help greatly appreciated.
    Thanks,
    Chandan.

    The very first thing you should do is go over the HCL or Hardware Compatability List. The most likely problems you will run into are the show stoppers, first and most likely will be the network card, if you have an onboard card that is part of the mainboard find out what kind it is and then check the HCL, if it is not there then pickup a PCI network card that is on the HCL list. Second will be the video, again find out with the HCL, worst case is you will get it installed and the X server won't work right. Again you may end up picking up an AGP or PCI video card that is supported.
    As far as installing it's just a matter of booting of the installer CD and following the directions, take all the defaults first then do a bit of research on drive slicing and install it a second time.
    I have not had good luck with the DVD's no matter whether they are going on a Intel, AMD or a SUN platform.

  • How to recover sun solaris 10 password

    i have install virtual machine some day back and set password for user name root. today when i try to login on that machine i forget the password.what should i do in order to recover the password for root.

    Use Google:
    keywords "+solaris root password+"
    See more than 4000 search results.
    Alternative?
    Start all over again and reinstall the OS from the beginning.

  • How to Restart Sun Solaris SunFire V445

    Hi all,
    May i know whether this command "shutdown -g0 -y -i6" is for restart server? Normally our practice is to physically press the server 'start' botton and the server boot up everything such as Oracle, Tomcat, Mount Point and other Scriptings automatically.
    I'm wondering above command is having the same function with the press 'start' button. Also how about "init 6" command?
    Thanks.

    Well, the -i 6 flag tells you that shutdown will call 'init' with the argument '6'.
    Since you use -y (yes) and -g0 (wait for 0 seconds before calling 'init 6') the only difference between shutdown and init in this case is that shutdown will wall out a message to the connected users before running init 6.
    The command is equivalent to shutting down and power off the system and pressing the 'start' button.
    .7/M.

  • How to setup the environment for doing the Performance Testing?

    Hi,
    We are planning to start the performance testing for iProcurement Product, Max number of user we are going to use 1000. For this simulation, what are all basic setups need to do for Application Tier, Database Tier,etc... Can anyone suggest what is procedure to setup environment depending upon the load?

    User Guides for thee rv120W are here:
    http://www.cisco.com/en/US/docs/routers/csbr/rv220w/quick_start/guide/rv220w_qsg.pdf
    http://www.cisco.com/en/US/docs/routers/csbr/rv120w/administration/guide/rv120w_admin.pdf
    and theres some more stuff over on my site:
    http://www.linksysinfo.org/index.php?forums/cisco-small-business-routers-and-vpn-solutions.49/

  • How to setup X1 live stream to iPad using Router

    I have the SMC Gateway SMCD3GNV. If I connect wifi to it, I can stream all my channels just fine using the TV app. When I connect my Netgear Router Model: WNDR4500v2 to the SMC,I can not stream while connected to the Netgear wifi. It says "Out Of Home". I called comcast and they verified the SMC is in bridge mode. Is there a step I over looked. Comcast keeps wanting to transfer to the X1 department. What am I missing here?Thanks in advance.  Reno

    I'm assuming you want to use your Netgear router because it has better wifi capabilities than the SMC gateway.  Is that correct?  If so, then yes it is correct that you had it put into bridge mode.  I just think the "Out of Home" issue is related to the link I put in my previous post. I too am getting the "Out of Home" error, and am using the SMC gateway in regular mode.  I get the error using both wifi and a direct ethernet connection to the gateway. If you want to make sure the issue is definitely the problem that I stated in the link, just remove the Netgear router from the SMC and hook a computer directly to the ethernet port on the SMC gateway. Then open a browser window to https://xtv.comcast.net.  If you still get the "Out of Home" error then you know it's most likely not your setup.

  • Is it possible? Sun Solaris 8 Intell on P4

    1. I going to install Sun Solaris 8 (Intell) on P4 (HDD 80Gb, 512 Mb DDR SDRAM). Is it possible?
    2. How to buy Sun Solaris 8 (Intell) Freeware on CDs? I found how to download it, but can't find how to get CDs.

    It should. I can't get mine to install (HP Vectra VL420 MT) for some reason, but I'm sure others have.
    You can order the CD's here for $45:
    http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=1&PartDetailId=SOLZI-080B99YM
    Per http://wwws.sun.com/software/solaris/binaries/get.html :
    "Solaris 8 Media kit for Intel platform - $45 US**
    Contains CD and DVD Media, full hard copy documentation & bonus pack software. More..."
    Here's the approved / tested platforms:
    http://soldc.sun.com/support/drivers/hcl/8/202/p3.html#TOC-4
    Potentially useful Solaris x86 FAQ: http://www.sun.drydog.com/faq/
    Another good place to ask:
    http://groups.google.com/groups?hl=en&group=alt.solaris.x86

  • System Stats on Sun Solaris poor than on Windows

    Hi,
    I have freshly gathered system stats on my Windows 64bit DB and Sun Solaris T3 SPARC but for some reason the stats on Windows look superior to those on Windows.
    Windows
    select
               sname
             , pname
             , pval1
             , pval2
    from
             SYS.AUX_STATS$;
    SNAME                          PNAME                          PVAL1                  PVAL2
    SYSSTATS_INFO                  STATUS                                                COMPLETED
    SYSSTATS_INFO                  DSTART                                                06-13-2011 20:36
    SYSSTATS_INFO                  DSTOP                                                 06-13-2011 20:37
    SYSSTATS_INFO                  FLAGS                          1
    SYSSTATS_MAIN                  CPUSPEEDNW                     2600.213
    SYSSTATS_MAIN                  IOSEEKTIM                      11.207
    SYSSTATS_MAIN                  IOTFRSPEED                     4096
    SYSSTATS_MAIN                  SREADTIM                       3.226
    SYSSTATS_MAIN                  MREADTIM
    SYSSTATS_MAIN                  CPUSPEED                       2600
    SYSSTATS_MAIN                  MBRC
    SYSSTATS_MAIN                  MAXTHR
    SYSSTATS_MAIN                  SLAVETHR
    13 rows selected
    Solaris
    SNAME                          PNAME                          PVAL1                  PVAL2
    SYSSTATS_INFO                  STATUS                                                COMPLETED
    SYSSTATS_INFO                  DSTART                                                06-13-2011 20:32
    SYSSTATS_INFO                  DSTOP                                                 06-13-2011 20:33
    SYSSTATS_INFO                  FLAGS                          1
    SYSSTATS_MAIN                  CPUSPEEDNW                     411.566
    SYSSTATS_MAIN                  IOSEEKTIM                      6.197
    SYSSTATS_MAIN                  IOTFRSPEED                     52653.625
    SYSSTATS_MAIN                  SREADTIM                       463.529
    SYSSTATS_MAIN                  MREADTIM
    SYSSTATS_MAIN                  CPUSPEED                       412
    SYSSTATS_MAIN                  MBRC
    SYSSTATS_MAIN                  MAXTHR
    SYSSTATS_MAIN                  SLAVETHR
    13 rows selectedCan anyone please explain why? Anu OS level params to be set?

    To give a background, the overall db performance on Solaris is slower than Windows. Therefore I am putting down info as required for a performance tuning thread.
    =====================================================================================================
    The following SQL statement has been identified to perform poorly on my new Sun Solaris machine. It performs as expected on my Wondows 2003 x64 server.
    It currently takes 15 seconds to execute on Windows and 78 seconds on Solaris.
    OS Configurations
    Windows: 2003 Server x64 with single 250GB HDD 4GB RAM
    Solaris:
    Operating System : Solaris 5.10/08
    Sun SPARC T3 -1 Server
    CPU : SPARC T3 16-Core 1.65 GHz Processor
    RAM : 16 GB DDR3
    HDD : 4*300 GB= 1200 TB
    This is the statement:
    select * from v_a_rd_data_entry; -- This is a view.
    The view query is:
    SELECT   1 RN,
          I.RD_TYPE_CODE,
          I.RD_TYPE,
          I.RD_CODE,
          I.TCNT,
          V1.VERSION_ID,
          V1.FLAG_1,
          V1.FLAG_2,
          V1.QUANTITY_1,
          V1.QUANTITY_2,
          V2.IDENTITY_START_DATE,
          V2.IDENTITY_TERMINATION_DATE,
          V1.VERSION_VALID_FROM,
          V1.CRE_USER,
          V1.CRE_DATIM,
          V1.IS_DELETING_VERSION,
          V1.DELETES_VERSION_ID,
          V1.CODE_1,
          V1.CODE_2,
          CAST (NULL AS DATE) AS lc_start,
          CAST (NULL AS DATE) AS lc_end,
          CAST (NULL AS DATE) AS version_valid_till,
          CAST (NULL AS DATE) AS next_lc_start,
          CAST ( MULTISET
             SELECT   RD_TYPE_CODE,
                VERSION_ID,
                LANGUAGE_CODE,
                SHORT_DESCRIPTION,
                LONG_DESCRIPTION
                 FROM RD_DATA_ENTRY_T
                WHERE RD_DATA_ENTRY_T.RD_TYPE_CODE = V1.RD_TYPE_CODE
                AND RD_DATA_ENTRY_T.VERSION_ID     = V1.VERSION_ID
          ) AS RD_DATA_ENTRY_T_TAB_TYPE) RD_DATA_ENTRY_T
           FROM RD_DATA_ENTRY_I I,
          RD_DATA_ENTRY_V V1,
          RD_DATA_ENTRY_V V2
          WHERE V1.RD_TYPE_CODE = I.RD_TYPE_CODE
          AND V2.RD_TYPE_CODE   = I.RD_TYPE_CODE
          AND V1.version_id     = get_version_id.RD_DATA_ENTRY (V1.RD_TYPE_CODE, 'CURRENT', V1.VERSION_VALID_FROM)
          AND V2.version_id     = get_version_id.RD_DATA_ENTRY (V2.RD_TYPE_CODE, 'KNOWLEDGE');The DB parameters:
    Windows:
    SQL> show parameters optimizer
    NAME                                 TYPE        VALUE
    optimizer_capture_sql_plan_baselines boolean     FALSE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      11.1.0.6
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    optimizer_secure_view_merging        boolean     TRUE
    optimizer_use_invisible_indexes      boolean     FALSE
    optimizer_use_pending_statistics     boolean     FALSE
    optimizer_use_sql_plan_baselines     boolean     TRUE
    SQL> show parameter db_file_multi
    NAME                                 TYPE        VALUE
    db_file_multiblock_read_count        integer     128
    SQL> show parameter db_block_size
    NAME                                 TYPE        VALUE
    db_block_size                        integer     8192
    SQL> show parameter cursor_sharing
    NAME                                 TYPE        VALUE
    cursor_sharing                       string      EXACT
    select
               sname
             , pname
             , pval1
             , pval2
    from
             sys.aux_stats$;
    SNAME                          PNAME                          PVAL1                  PVAL2
    SYSSTATS_INFO                  STATUS                                                COMPLETED
    SYSSTATS_INFO                  DSTART                                                06-13-2011 20:36
    SYSSTATS_INFO                  DSTOP                                                 06-13-2011 20:37
    SYSSTATS_INFO                  FLAGS                          1
    SYSSTATS_MAIN                  CPUSPEEDNW                     2600.213
    SYSSTATS_MAIN                  IOSEEKTIM                      11.207
    SYSSTATS_MAIN                  IOTFRSPEED                     4096
    SYSSTATS_MAIN                  SREADTIM                       3.226
    SYSSTATS_MAIN                  MREADTIM
    SYSSTATS_MAIN                  CPUSPEED                       2600
    SYSSTATS_MAIN                  MBRC
    SYSSTATS_MAIN                  MAXTHR
    SYSSTATS_MAIN                  SLAVETHR
    13 rows selected          Solaris:
    SQL> show parameters optimizer
    NAME                                 TYPE                             VALUE
    optimizer_capture_sql_plan_baselines boolean                          FALSE
    optimizer_dynamic_sampling           integer                          2
    optimizer_features_enable            string                           11.2.0.1
    optimizer_index_caching              integer                          50
    optimizer_index_cost_adj             integer                          50
    optimizer_mode                       string                           ALL_ROWS
    optimizer_secure_view_merging        boolean                          TRUE
    optimizer_use_invisible_indexes      boolean                          FALSE
    optimizer_use_pending_statistics     boolean                          FALSE
    optimizer_use_sql_plan_baselines     boolean                          TRUE
    SQL> show parameter db_file_multi
    NAME                                 TYPE                             VALUE
    db_file_multiblock_read_count        integer                          256
    SQL> show parameter db_block_size
    NAME                                 TYPE                             VALUE
    db_block_size                        integer                          8192
    SQL> show parameter cursor_sharing
    NAME                                 TYPE                             VALUE
    cursor_sharing                       string                           SIMILAR
    select
               sname
             , pname
             , pval1
             , pval2
    from
             sys.aux_stats$;
    SNAME                          PNAME                          PVAL1                  PVAL2
    SYSSTATS_INFO                  STATUS                                                COMPLETED
    SYSSTATS_INFO                  DSTART                                                06-13-2011 20:32
    SYSSTATS_INFO                  DSTOP                                                 06-13-2011 20:33
    SYSSTATS_INFO                  FLAGS                          1
    SYSSTATS_MAIN                  CPUSPEEDNW                     411.566
    SYSSTATS_MAIN                  IOSEEKTIM                      6.197
    SYSSTATS_MAIN                  IOTFRSPEED                     52653.625
    SYSSTATS_MAIN                  SREADTIM                       463.529
    SYSSTATS_MAIN                  MREADTIM
    SYSSTATS_MAIN                  CPUSPEED                       412
    SYSSTATS_MAIN                  MBRC
    SYSSTATS_MAIN                  MAXTHR          Here is the output of EXPLAIN PLAN:
    Windows:
    SQL> select * from v_a_rd_data_entry;
    4434 rows selected.
    Elapsed: 00:00:03.26
    Execution Plan
    Plan hash value: 275055418
    | Id  | Operation                      | Name                 | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT               |                      |     1 |   111 |    73   (3)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID   | RD_DATA_ENTRY_T      |     1 |    38 |     2   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN             | RD_DE_T_RD_DE_V_FK1X |     1 |       |     1   (0)| 00:00:01 |
    |   3 |  NESTED LOOPS                  |                      |       |       |            |          |
    |   4 |   NESTED LOOPS                 |                      |     1 |   111 |    73   (3)| 00:00:01 |
    |   5 |    NESTED LOOPS                |                      |     1 |    79 |    71   (3)| 00:00:01 |
    |*  6 |     TABLE ACCESS FULL          | RD_DATA_ENTRY_V      |     1 |    60 |    70   (3)| 00:00:01 |
    |   7 |     TABLE ACCESS BY INDEX ROWID| RD_DATA_ENTRY_I      |     1 |    19 |     1   (0)| 00:00:01 |
    |*  8 |      INDEX UNIQUE SCAN         | RD_DATA_ENTRY_I_PKX  |     1 |       |     0   (0)| 00:00:01 |
    |*  9 |    INDEX RANGE SCAN            | RD_DATA_ENTRY_V_PKX  |     1 |       |     1   (0)| 00:00:01 |
    |  10 |   TABLE ACCESS BY INDEX ROWID  | RD_DATA_ENTRY_V      |     1 |    32 |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("RD_DATA_ENTRY_T"."RD_TYPE_CODE"=:B1 AND "RD_DATA_ENTRY_T"."VERSION_ID"=:B2)
       6 - filter("V1"."VERSION_ID"="GET_VERSION_ID"."RD_DATA_ENTRY"("V1"."RD_TYPE_CODE",'CURRENT',
                  INTERNAL_FUNCTION("V1"."VERSION_VALID_FROM")))
       8 - access("V1"."RD_TYPE_CODE"="I"."RD_TYPE_CODE")
       9 - access("V2"."RD_TYPE_CODE"="I"."RD_TYPE_CODE")
           filter("V2"."VERSION_ID"="GET_VERSION_ID"."RD_DATA_ENTRY"("V2"."RD_TYPE_CODE",'KNOWLEDGE
    Statistics
          53704  recursive calls
              0  db block gets
         197001  consistent gets
              0  physical reads
              0  redo size
         785437  bytes sent via SQL*Net to client
           3747  bytes received via SQL*Net from client
            299  SQL*Net roundtrips to/from client
          26850  sorts (memory)
              0  sorts (disk)
           4434  rows processedSolaris:
    SQL> select * from v_a_rd_data_entry;
    4015 rows selected.
    Elapsed: 00:00:09.50
    Execution Plan
    Plan hash value: 1399662582
    | Id  | Operation                      | Name                 | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT               |                      |     1 |   135 |    19  (16)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID   | RD_DATA_ENTRY_T      |     1 |    39 |     1   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN             | RD_DE_T_RD_DE_V_FK1X |     1 |       |     1   (0)| 00:00:01 |
    |   3 |  NESTED LOOPS                  |                      |       |       |            |          |
    |   4 |   NESTED LOOPS                 |                      |     1 |   135 |    19  (16)| 00:00:01 |
    |   5 |    NESTED LOOPS                |                      |     1 |    51 |    19  (16)| 00:00:01 |
    |*  6 |     TABLE ACCESS FULL          | RD_DATA_ENTRY_V      |     1 |    32 |    18  (17)| 00:00:01 |
    |   7 |     TABLE ACCESS BY INDEX ROWID| RD_DATA_ENTRY_I      |     1 |    19 |     1   (0)| 00:00:01 |
    |*  8 |      INDEX UNIQUE SCAN         | RD_DATA_ENTRY_I_PKX  |     1 |       |     1   (0)| 00:00:01 |
    |*  9 |    INDEX RANGE SCAN            | RD_DE_V_RDE_I_FK1X   |     2 |       |     1   (0)| 00:00:01 |
    |* 10 |   TABLE ACCESS BY INDEX ROWID  | RD_DATA_ENTRY_V      |     1 |    84 |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("RD_DATA_ENTRY_T"."RD_TYPE_CODE"=:B1 AND "RD_DATA_ENTRY_T"."VERSION_ID"=:B2)
       6 - filter("V2"."VERSION_ID"="GET_VERSION_ID"."RD_DATA_ENTRY"("V2"."RD_TYPE_CODE",'KNOWLEDGE
       8 - access("V2"."RD_TYPE_CODE"="I"."RD_TYPE_CODE")
       9 - access("V1"."RD_TYPE_CODE"="I"."RD_TYPE_CODE")
      10 - filter("V1"."VERSION_ID"="GET_VERSION_ID"."RD_DATA_ENTRY"("V1"."RD_TYPE_CODE",'CURRENT',
                  INTERNAL_FUNCTION("V1"."VERSION_VALID_FROM")))
    Note
       - 'PLAN_TABLE' is old version
    Statistics
          32000  recursive calls
              0  db block gets
         101816  consistent gets
              0  physical reads
              0  redo size
         631809  bytes sent via SQL*Net to client
           2214  bytes received via SQL*Net from client
            271  SQL*Net roundtrips to/from client
          15998  sorts (memory)
              0  sorts (disk)
           4015  rows processedThe problematic portion is the call to the package function. The queries in there are the ones causing trouble
    The TRCANLZR output for those statement looks like the following:
    Windows:
    224270.1 TRCA Trace Analyzer 11.4.2.4 Report: trcanlzr_43915.txt
    hecr_ora_3300.trc (32608792 bytes)
    Total Trace Response Time: 15.286 secs.
    2011-JUN-03 11:12:56.453 (start of first db call in trace 3717579.240823).
    2011-JUN-03 11:13:11.739 (end of last db call in trace 3717594.526453).
    RESPONSE TIME SUMMARY
    ~~~~~~~~~~~~~~~~~~~~~
                                              pct of                  pct of                  pct of
                                    Time       total        Time       total        Time       total
    Response Time Component    (in secs)   resp time   (in secs)   resp time   (in secs)   resp time
                        CPU:       6.422       42.0%
              Non-idle Wait:       0.000        0.0%
         ET Unaccounted-for:       0.359        2.4%
           Total Elapsed(1):                               6.782       44.4%
                  Idle Wait:                              14.745       96.5%
         RT Unaccounted-for:                              -6.241      -40.8%
          Total Response(2):                                                      15.286      100.0%
    ---SQl in question
    2262144708 cv4dua23db5q4
    Rank:3(14.1%) Self:3.036s Recursive:0.003s Invoker:83 Definer:83 Depth:1
    SELECT V.VERSION_ID FROM RD_DATA_ENTRY_V V WHERE V.RD_TYPE_CODE = :B3 AND V.VERSION_VALID_FROM <= :B2 AND V.CRE_DATIM <= :B1 AND
    V.DELETES_VERSION_ID IS NULL AND NOT EXISTS (SELECT NULL FROM RD_DATA_ENTRY_V V2 WHERE V.VERSION_ID = V2.DELETES_VERSION_ID AND
    V2.VERSION_VALID_FROM <= :B2 AND V2.CRE_DATIM <= :B1 ) ORDER BY V.VERSION_VALID_FROM DESC, V.CRE_DATIM DESC
    SQL SELF - TIME, TOTALS, WAITS, BINDS AND ROW SOURCE PLAN
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              Response Time  Elapsed             Non-Idle     Elapsed Time       Idle
       Call   Accounted-for     Time  CPU Time  Wait Time  Unaccounted-for  Wait Time
      Parse:          0.000    0.000     0.000      0.000            0.000      0.000
    Execute:          2.456    2.456     2.438      0.000            0.019      0.000
      Fetch:          0.579    0.579     0.547      0.000            0.032      0.000
      Total:          3.036    3.036     2.984      0.000            0.051      0.000
                              OS  BG Consistent  BG Current         Rows  Library     Times   Times
               Call  Buffer Gets      Read Mode        Mode    Processed    Cache    Waited  Waited
       Call   Count       (disk)        (query)   (current)  or Returned   Misses  Non-Idle    Idle
      Parse:      1            0              0           0            0        1         0       0
    Execute:  13260            0              0           0            0        1         0       0
      Fetch:  13260            0         100502           0        13070        0         0       0
      Total:  26521            0         100502           0        13070        2         0       0
                                                                                    BG      OS     OS
                                                                            Consistent  Buffer  Write                      Estim
              Estim  Actual                                                  Read Mode    Gets  Calls    Time               Size
    ID   PID   Card    Rows              Row Source Operation                     (cr)    (pr)   (pw)  (secs)    ObjCost  (bytes)
    1:    0      1       1 SORT ORDER BY                                            8       0      0   0.000      0  6       58
    2:    1      1       4  NESTED LOOPS ANTI                                       8       0      0   0.000      0  5       58
    3:    2      3       4 . TABLE ACCESS BY INDEX ROWID RD_DATA_ENTRY_V            6       0      0   0.000  73471  4      111
    4:    3      3       4 .. INDEX RANGE SCAN RD_DE_V_RDE_I_FK1X                   2       0      0   0.000  73475  1        0
    5:    2    109       0 . TABLE ACCESS BY INDEX ROWID RD_DATA_ENTRY_V            2       0      0   0.000  73471  1     2289
    6:    5      1       0 .. INDEX RANGE SCAN RD_DE_V_RD_DE_V_FK2X                 2       0      0   0.000  73476  0        0
    EXPLAIN PLAN
    ~~~~~~~~~~~~
              Estim                                                         Search
    ID   PID   Card  Cost             Explain Plan Operation               Cols(1)
    0:           1    11 SELECT STATEMENT
    1:    0      1    11  SORT ORDER BY
    2:    1      1    10 . HASH JOIN ANTI
    3:    2      1     4 .. TABLE ACCESS BY INDEX ROWID RD_DATA_ENTRY_V
    4:    3      3     1 ... INDEX RANGE SCAN RD_DE_V_RDE_I_FK1X              1/1
    5:    2      1     5 .. TABLE ACCESS BY INDEX ROWID RD_DATA_ENTRY_V
    6:    5      1     4 ... INDEX RANGE SCAN RD_DE_V_VVF_CDT_ID1             2/2
    (1) X/Y: Where X is the number of searched columns from index, which has a total of Y columns.
    Indexed Cols and Predicates(1)
      2 - Access Predicates:      V2.DELETES_VERSION_ID=V.VERSION_ID
      3 - Filter Predicates:      V.VERSION_VALID_FROM<=:B2 AND V.CRE_DATIM<=TO_TIMESTAMP(:B1)
          AND V.DELETES_VERSION_ID IS NULL
      4 - Indexed Cols for RD_DE_V_RDE_I_FK1X (search 1/1):
          RD_TYPE_CODE
      4 - Access Predicates:      V.RD_TYPE_CODE=:B3
      5 - Filter Predicates:      V2.DELETES_VERSION_ID IS NOT NULL
      6 - Indexed Cols for RD_DE_V_VVF_CDT_ID1 (search 2/2):
          SYS_NC00014$
          SYS_NC00015$
      6 - Access Predicates:      SYS_OP_DESCEND(VERSION_VALID_FROM)>=SYS_OP_DESCEND(:B2) AND SYS_OP_DESCEND(CRE_DATIM)>=SYS_OP_DESCEND(TO_TIMESTAMP(:B1))
          AND SYS_OP_DESCEND(VERSION_VALID_FROM) IS NOT NULL
      6 - Filter Predicates:      SYS_OP_UNDESCEND(SYS_OP_DESCEND(VERSION_VALID_FROM))<=:B2
          AND
          SYS_OP_UNDESCEND(SYS_OP_DESCEND(CRE_DATIM)
          )<=TO_TIMESTAMP(:B1)
    (1) Identified by operation ID.
    TABLES AND INDEXES
    ~~~~~~~~~~~~~~~~~~
                               in Row       in                                                        Avg
                               Source  Explain      Current      Num   Sample                         Row     Chain                 Empty       Avg    Global
    #    Owner.Table Name       Plan     Plan  Count(*)(2)  Rows(1)  Size(1)  Last Analyzed(1)    Len(1)  Count(1)  Blocks(1)  Blocks(1)  Space(1)  Stats(1)  Part  Temp
    1: HECR.RD_DATA_ENTRY_V        Y        Y        13261    13255    13255 30-MAY-11 22:02:09       90         0        244         12      3864       YES    NO     N
    (1) CBO statistics.
    (2) COUNT(*) up to threshold value of 1000000 (tool configuartion parameter).
                                                          in Row       in
                                                          Source  Explain                                      Cols
    #    Owner.Table Name         Owner.Index Name         Plan     Plan       Index Type       Uniqueness   Count      Indexed Columns
    1: HECR.RD_DATA_ENTRY_V  HECR.RD_DATA_ENTRY_V_PKX         N        N NORMAL                 UNIQUE           2 RD_TYPE_CODE VERSION_ID
    2: HECR.RD_DATA_ENTRY_V  HECR.RD_DE_V_RDE_I_FK1X          N        Y NORMAL                 NONUNIQUE        1 RD_TYPE_CODE
    3: HECR.RD_DATA_ENTRY_V  HECR.RD_DE_V_RD_DE_V_FK2X        N        N NORMAL                 NONUNIQUE        1 DELETES_VERSION_ID
    4: HECR.RD_DATA_ENTRY_V  HECR.RD_DE_V_VID_UN1X            N        N NORMAL                 UNIQUE           1 VERSION_ID
    5: HECR.RD_DATA_ENTRY_V  HECR.RD_DE_V_VVF_CDT_ID1         N        Y FUNCTION-BASED NORMAL  NONUNIQUE        2 SYS_NC00014$ SYS_NC00015$
                                                                                                                                   Avg     Avg
                                                                                                                                  Leaf    Data
                                                                                                                                Blocks  Blocks
                                                              Num   Sample                      Distinct                  Leaf     per     per  Clustering    Global
    #    Owner.Table Name         Owner.Index Name       Rows(1)  Size(1)  Last Analyzed(1)     Keys(1)  Blevel(1)  Blocks(1)  Key(1)  Key(1)   Factor(1)  Stats(1)  Part  Temp
    1: HECR.RD_DATA_ENTRY_V  HECR.RD_DATA_ENTRY_V_PKX      13255    13255 30-MAY-11 22:02:09      13255          1         75       1       1       12018       YES    NO     N
    2: HECR.RD_DATA_ENTRY_V  HECR.RD_DE_V_RDE_I_FK1X       13255    13255 30-MAY-11 22:02:10       4389          1         59       1       2       11986       YES    NO     N
    3: HECR.RD_DATA_ENTRY_V  HECR.RD_DE_V_RD_DE_V_FK2X       114      114 30-MAY-11 22:02:10        114          0          1       1       1          61       YES    NO     N
    4: HECR.RD_DATA_ENTRY_V  HECR.RD_DE_V_VID_UN1X         13255    13255 30-MAY-11 22:02:10      13255          1         53       1       1         687       YES    NO     N
    5: HECR.RD_DATA_ENTRY_V  HECR.RD_DE_V_VVF_CDT_ID1      13255    13255 30-MAY-11 22:02:10       1015          2        143       1       1         807       YES    NO     N
    (1) CBO statistics.
                                    Col                      Asc/      Num   Sample                           Num          Num                       Num
    #       Owner.Index Name       Pos     Column Name      Desc  Rows(1)  Size(1)  Last Analyzed(1)    Nulls(1)  Distinct(1)    Density(1)  Buckets(1)
    1: HECR.RD_DATA_ENTRY_V_PKX      1 RD_TYPE_CODE          ASC    13255    13255 30-MAY-11 22:02:08          0         4389    2.8920e-04         254
    2: HECR.RD_DATA_ENTRY_V_PKX      2 VERSION_ID            ASC    13255    13255 30-MAY-11 22:02:08          0        13255    7.5443e-05           1
    3: HECR.RD_DE_V_RDE_I_FK1X       1 RD_TYPE_CODE          ASC    13255    13255 30-MAY-11 22:02:08          0         4389    2.8920e-04         254
    4: HECR.RD_DE_V_RD_DE_V_FK2X     1 DELETES_VERSION_ID    ASC    13255      114 30-MAY-11 22:02:08      13141          114    8.7719e-03           1
    5: HECR.RD_DE_V_VID_UN1X         1 VERSION_ID            ASC    13255    13255 30-MAY-11 22:02:08          0        13255    7.5443e-05           1
    6: HECR.RD_DE_V_VVF_CDT_ID1      1 SYS_NC00014$         DESC    13255    13255 30-MAY-11 22:02:08          0          126    3.7722e-05         126
    7: HECR.RD_DE_V_VVF_CDT_ID1      2 SYS_NC00015$         DESC    13255    13255 30-MAY-11 22:02:08          0         1010    4.1923e-03         254
    (1) CBO statistics.
    RECURSIVE SQL - TIME AND TOTALS
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              Response Time  Elapsed             Non-Idle     Elapsed Time       Idle
       Call   Accounted-for     Time  CPU Time  Wait Time  Unaccounted-for  Wait Time
      Parse:          0.000    0.000     0.000      0.000            0.000      0.000
    Execute:          0.003    0.003     0.000      0.000            0.003      0.000
      Fetch:          0.000    0.000     0.000      0.000            0.000      0.000
      Total:          0.003    0.003     0.000      0.000            0.003      0.000
                              OS  BG Consistent  BG Current         Rows  Library     Times   Times
               Call  Buffer Gets      Read Mode        Mode    Processed    Cache    Waited  Waited
       Call   Count       (disk)        (query)   (current)  or Returned   Misses  Non-Idle    Idle
      Parse:      0            0              0           0            0        0         0       0
    Execute:     44            0             60           0          300        0         0       0
      Fetch:      0            0              0           0            0        0         0       0
      Total:     44            0             60           0          300        0         0       0
    RELEVANT EXECUTIONS
    ~~~~~~~~~~~~~~~~~~~
    There are 2 relevant executions of this SQL statement.
    Their aggregate "Response Time Accounted-for" represents 0.1% of this "SQL Response Time Accounted-for", and 0.0% of the "Total Response Time Accounted-for".
    Within these 2 SQL execuctions, there isn't any with "Response Time Accounted-for" larger than threshold of 5.0% of the "SQL Response Time Accounted-for".
                       SQL   Trace      Self                                           Recursive
    First/             RT      RT  Response  Elapsed             Non-Idle       Idle   Response                                            Response
      Last    Rank  Pct(1)  Pct(2)   Time(3)     Time  CPU Time  Wait Time  Wait Time    Time(4)   Start Timestamp       End Timestamp       Time(5)
    First:      3    0.1%    0.0%     0.004    0.004     0.000      0.000      0.000      0.003 JUN-03 11:12:56.497  JUN-03 11:12:56.504      0.007
      Last:  12638    0.0%    0.0%     0.000    0.000     0.000      0.000      0.000      0.000 JUN-03 11:13:11.738  JUN-03 11:13:11.739      0.000
    (1) Percent of "SQL Response Time Accounted-for", which is 3.036 secs.
    (2) Percent of "Total Response Time Accounted-for", which is 21.526 secs.
    (3) "Self Response Time Accounted-for" in secs (caused by this execution).
    (4) "Recursive Response Time Accounted-for" in secs (caused by recursive SQL invoked by this execution).
    (5) According to timestamps of first and last calls for this execution.
          

  • How do I setup high speed internet on Sun Solaris 10?

    Hello,
    I have comcast high speed internet. It doesn't work automatically. How can I setup my high speed internet connection to work with Sun Solaris 10?
    Mateusz

    Pickup a broadband router, made by dlink, linksys, netgear, SMC or Cisco. If possible get a wireless with 4 port switch built in. This will give you added flexibility if you happen to get another system or a wireless laptop. You want a gateway router that does NAT, SPI firewall, DHCP.
    Plug it into your cable modem then into your sun box, default settings on the router will generally self configure to the broadband you connect to and there will be no problems. However if you are using a DSL or bigpond they require a username and password to get the line active, this requires an initial login to the firewall to pick PPoE on the WAN side.
    Different brands default to different 'non routeable' internal IP's, all are 192.168.x.x, smc defaults to 192.168.1.x or 192.168.2.x depending on release date, Linksys defaults to 192.168.2.x as does linksys, Netgear defaults to 192.168.1.x, the owners manual will usually tell you this.
    They are generally made to default to a windows box so configuring a unix box has to be done either manually or with the dhcp option. www.dslreports.com has alot of good vendor specific information on configuring these things.
    At any rate you need to create a file in /etc called 'defaultrouter' with the routers IP address, in the smc case it would be 192.168.2.1, pick a couple of outside DNS servers and put them in a file in /etc called resolv.conf in the format
    nameserver xxx.xxx.xxx.xxx
    nameserver xxx.xxx.xxx.xxx
    copy nsswitch.dns nsswitch.conf
    pick an address in the 192.168.2 range like .25 and add it in the /etc/hosts file, create a hostname.hme0 file with the host name thats in the hosts file and reboot.
    Then try to ping the router, if no ping then the chang the 3td octet 1 instead of 2 and try again.
    I've never tried doing the .dhcp thing but I've never used dhcp for a sun box before because all I do is servers.
    I think I'd try the DHCP thing first then get to the router to get all it's information and write it down. Usually the ISP will populate the router with dns servers and any dns requests are answered by the router in the dhcp configuration. I think thats about it...

  • How to install Apache Web Server with PHP on Sun Solaris Sparc machine

    Hi,
    We are trying to install the Apache Web Server and the PHP package on a Sun Solaris Sparc machine running on SunOS 5.8. We are having compilation problems with the source code of both these packages.
    Does anybody know if there are ready solaris packages for Apache and PHP available from where we can download and install instead of source code compilation?
    Or any instructions / things to watch for when installing Apache with PHP (if anybody has tried installing Apache with PHP on Sun Solaris earlier) is most welcome.
    Thanks,
    Harish

    Apache should be bundled along with Solaris check in "/var/apache" in Solaris 8 and Solaris 9
    php is available at www.php.net
    I found an old document for installing PHP maybe this will help.
    Cheers
    -Dhruva
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++Installing PHP 3.x for Apache 1.x.x on Solaris
    Introduction
    This document describes how to install PHP for Apache on Solaris.
    You should have Apache installed before trying to install PHP.
    If you want to use PHP with MySQL then you must install MySQL first.
    Before we Begin
    1. These instructions assume that you have Apache installed according to instructions.
    Getting PHP
    1. You must be logged in as root to perform this installation.
    su root
    2. I save all my downloads in:
    /usr/local/dist
    If you don't already have one, you may need to create that directory now:
    mkdir /usr/local/dist
    3. You can get PHP 3.0.14 from here(www.php.net).
    cd /usr/local/dist
    ftp ftp.php.net
    cd pub/distributions
    bin
    get php-3.0.14.tar.gz
    bye
    Installing PHP
    1. We will install PHP in /usr/local/build, but use a tricky tar command
    to do it in on hit from the download directory:
    cd /usr/local/dist
    tar xvfz php-3.0.12.tar.gz -C ../build
    Compiling PHP
    1. First let's get where the action is:
    cd /usr/local/build/php-3.0.14
    2. You now have 3 options:
    * Simple PHP install without MySQL - goto step 3
    * Simple PHP install with MySQL - goto step 4
    * Custom PHP install - goto step 5
    3. Simple PHP install without MySQL. Next, jump to step 6.
    ./configure --with-apache=../apache_1.3.12
    4. Simple PHP install with MySQL. MySQL must be installed before you can configure PHP to use it. I recommend that MySQL should always be reachable with /usr/local/mysql. Even if you install it else where you
    should create a symbolic link from /usr/local/mysql. Otherwise the compiler can have problems finding the mysqlclient library. The command
    should look like this:
    ./configure with-mysql=/usr/local/mysql with-apache=../apache_1.3.12
    Next, jump to step 6.
    5. Custom PHP install. Take a look at the available configuration directives by using this command:
    ./configure --help
    6. Now we can make the PHP executable. This may take a while.
    make
    7. Now we install the PHP module with:
    make install
    Adding the PHP Module to Apache
    1. Now we have to setup Apache to include the PHP module:
    cd ../apache_1.3.12
    2. Re-configure Apache to use the PHP module. You should use your previous Apache configure command along with the PHP activate module directive.
    You can see your previous Apache configure command by doing:
    cat config.status
    You can configure Apache using the previous command with the added PHP module by doing:
    ./config.status --activate-module=src/modules/php3/libphp3.a
    If you used the simple Apache install from instructions the command will look like this:
    ./configure prefix=/usr/local/apache activate-module=src/modules/php3/libphp3.a
    3. Make and install Apache with PHP enabled:
    make
    4. We need to stop the server before installing the files:
    /usr/local/apache/bin/apachectl stop
    5. Now we can install the new binaries:
    make install
    6. Start apache again (now running the new php enabled version):
    /usr/local/apache/bin/apachectl start
    Setting Up PHP
    1. We have to tell Apache to pass certain file extensions to PHP. We do this in Apache's httpd.conf file.
    cd /usr/local/apache/conf
    2. Edit the httpd.conf file. If you do a search for php you will find a couple of commented out lines telling Apache to use the PHP module. You should uncomment them to look like this.
    AddType application/x-httpd-php3 .php3
    AddType application/x-httpd-php3-source .phps
    3. I prefer to use the extension .phtml, you can use whatever extension you like (even .html) by adding lines to httpd.conf like this:
    AddType application/x-httpd-php3 .phtml
    Check that it Works
    1. We have to restart Apache to make these changes take effect on the running server.
    cd /usr/local/apache/bin
    ./apachectl restart
    2. Apache should now be running with PHP enabled. The server version should include PHP/3.0b2.
    ./apachectl status
    Apache Server Status for dev.synop.com
    Server Version: Apache/1.3.9 (Unix) PHP/3.0.12
    Server Built: Oct 25 1999 00:37:07
    3. Now it is time to test PHP with a page. The simplest thing to do is create a page called test.php3. My file is here. This file contains the
    following text:
    <?php phpinfo(); ?>
    4. Point your browser at this file on the virtual host which you used:
    http://localhost/test.php3

  • How to Setup an ACL over a Command in solaris 2.6

    Hi all,
    Has anyone have an idea on how to setup an ACL over a command
    in solaris 2.6 . i.e: to force a user (or a group) to enter a
    password to run a command (like mount and others).
    Thanks for your help.
    haed98.
    [email protected]

    Hi head98,
    You can set ACL using setfacl commands. This way you can exclusively assign read/write/execute permissions on command that you wish. But ACL doesn't prompt for passwords or you can set passwords using ACL. One way of doing this will be to create wrapper for commands which will prompt for passwd, compare them with /etc/shadow and then execute the real command.
    Hope this helps, Thanks. SUN/DTS

  • How to setup startup script in Solaris 10

    Could anyone point me out how to setup a startup script at run level 3 or 2 in solaris 10 ?
    Any previous solaris such as 9, 8, I just write a script and put in /etc/init.d/, then link it to run level 3 or 2. But in solaris 10 is different now.
    I could not find any in the manual.
    Thanks.

    Could anyone point me out how to setup a startup
    script at run level 3 or 2 in solaris 10 ?
    Any previous solaris such as 9, 8, I just write a
    script and put in /etc/init.d/, then link it to run
    level 3 or 2. You can do the same thing in Solaris 10.
    But in solaris 10 is different now.There are alternative methods that are recommended (creating a service via a manifest file), but the old startup stuff still works just fine. You don't get the benefits of monitoring and fine-grained dependencies with the legacy startup scripts.
    I could not find any in the manual.An older doc is http://mediacast.sun.com/share/bobn/SMF-migrate.pdf. You might also check the SMF FAQ.
    http://opensolaris.org/os/community/smf/faq/ Section 4 is on manifest development.
    Darren

  • How to install jdk 1.5 in Sun Solaris 8

    Hi All,
    I have sun solaris 8 server UNIX platform.i already have JDK 1.3.3 in my server.i want to clean that and to install jdk 1.5 in my server.does any body knows how to setup JDK 1.5 in sun solaris 8 UNIX Platform and where to set JAVA_HOME Environment Variable.
    Thanks in Advance.

    http://java.sun.com/j2se/1.5.0/install-solaris.html
    r
    http://www.google.com/search?q=How+to+install+jdk+1.5+in+Sun+Solaris+8+in+unix+platform+++&client=netscape-pp&rls=com.netscape:en-US

  • How to restore a Oracle 9i Backup from Sun Solaris to Linux

    Dear all,
    I am using Oracle 9.0.1.
    I make a Hot Backup which made by Rman in the Sun Solaris
    and now, I want to restore this backup to the Linux machine.
    But in the Linux machine,
    the database name & path is different from that in Sun Solaris.
    Does Oracle backup can restore across different platforms?
    Does anyone know how to do write ryman statement to do this?
    Thank for your kindly help.
    Wilson

    You cant resore backup in different platform.
    /Jonas

Maybe you are looking for

  • ADF independent transactions

    Hi all, I'm trying to implement independent transactions in JSF/ADF. At the next lines I'll try to explain the process that I have followed: - First of all we know there are two ways to obtain independent transactions (e.g. different executions of th

  • Importing from Desktop

    While trying out how to use Aperture's 'filing' system I decided to start over and copied all the images in a project to a folder on my desktop. If I look inside that folder all the images are there. For some reason, when I try to import these images

  • How do I get info about new profiles available?

    With the last update of Camera Raw there were a number of new profiles made available. How do we get information as to new ones produced either by Adobe themselves, by other users or by camera manyfacturers? Do we have to search Google, wait for the

  • Principle question to RFC

    Hello, I have a basic question to RFC execution. Maybe somebody can give me a good hint. Assume, we have an SAP system whose application servers are all located in Hamburg. Furthermore there are users all over Europe, using SAPGUI. Close to the users

  • Exported Jpeg's when sent to photo lab print too dark

    I have had consistent results with exported jpeg images that look fine on my monitor (as raw files)and show in the histogram in lightroom 2.5 as the highlights just starting to clip as printing too dark when sent to a photo lab in SRGB.  Is this a fa