How to identify the physical IP address of AIX server on RAC Oracle 10g

Hi All,
Could you please help someone to identify the physical IP address of IBM AIX on RAC db. I have access to the database and I don't know whether the hostname mentioned in the tnsnames.ora file is virtual or physical ip adress . Is there any command to identify the physical IP address of AIX server. My objective is to gain acccess to those servers. I am a bit confused by looking at the virtual IP, private IP and Public IP addresses in the documentation and I am relatively new to this area. Also note that I am a junior developer who is trying to learn some new stuff.
Please throw some lights on this.

I am assuming you have access to the servers indicated in the tnsnames.ora file. After logging into those servers, take a look at /etc/hosts files, which lists the IP addresses and its associated host names. See if that helps. Another option is if you don't have access to the servers, "nslookup <ip_address_from_tns.ora>" should list the server name associated with the given IP Address. If your SAs have followed the general naming conventions - you should see -vip at the end.
HTH
thanks
Chandra

Similar Messages

  • How to Find the Hostname / IP Address of Reports Server From Forms

    Hi
    We have following query to find out on which machine form server is running,
    but how to find hostname/ip address of reports server (if there are more than one reports server running and on different machines).
    SELECT SYS_CONTEXT('USERENV','HOST'), SYS_CONTEXT, SYS_CONTEXT('USERENV','IP_ADDRESS')
    from dual.
    can anybody answer?
    rocky rocks.

    Our oas name is the same as the box name, and the report server naming convention is rep_(oas name) so that makes it easy to find out.
    I have a pll attached to my form that contains the following function, which works for PC or UNIX based app server:
    -- get_oas_name - Returns OAS name. 
    -- caveat:  Can't be run from pre-form, when-new-form-instance or when-new-block-instance of first
    --          block on the form due to webutil limitation.
    FUNCTION get_oas_name RETURN varchar2 IS
      fp text_io.file_type;
      oas_name varchar2(30);
      op_sys varchar2(30) := get_application_property(OPERATING_SYSTEM);
    BEGIN
      if op_sys = 'WIN32COMMON' then                    
        oas_name := webutil_clientinfo.get_host_name;
      elsif op_sys = 'SunOS' or op_sys = 'UNIX' then
        host('/bin/uname -n > /tmp/oas_name');
        fp := text_io.fopen('/tmp/oas_name','r');
        text_io.get_line(fp, oas_name);
        text_io.fclose(fp);
      end if;
      return oas_name;
    END;Then in when_timer_expired (first place you can use webutil functionality) call it accordingly. I also use it to set platform dependant variables so the form will run
    when I'm working on my PC or deployed on UNIX:
    declare
      :control.op_sys  := get_application_property(OPERATING_SYSTEM);
    begin
          :control.oas_name := get_oas_name;
          :control.report_server := 'rep_'|| :control.oas_name;
          if :control.op_sys = 'WIN32COMMON' then        -- For running locally during development.                     
            :control.close_page := 'http://127.0.0.1:8889/forms90/common/window_close.htm';
            :control.rpt_temp := 'c:\temp\';
          elsif :control.op_sys = 'SunOS' or :control.op_sys = 'UNIX' then
            :control.close_page := 'http://'||:control.oas_name||'.yournamehere.com:7779/forms90/common/window_close.htm';
            :control.rpt_temp := '/appl/oas/yournamehere/reports/cache/';
          end if;
    end;Good luck,
    Gary

  • How to identify the patches applied on my database server

    Dear Team,
    we want move my database server to other system, i need to install same oracle server version and apply those patches which are applied in the current system and then move the database.
    could you please let me know, how to identify what all patches applied on the current database server.
    Oracle version is : 10.2.0.3
    O/S Windows Server 2003 SP2
    Thanks in advance
    Aj

    How to know the patches applied on DB?

  • How to see the table in se11 that has been created in oracle 10g directly

    hi,
    how to see the table in se11 that has been created at SQL> prompt in oracle 10g directly ?
    is there any procedure to attache directly created table  into sap ?

    I think you have to create it in SE11 first. Although you can probably use native SQL to access it from an ABAP program.
    Rob

  • How to identify the files that are exported but still present in Oracle UCM

    Hello All,
    I am using Oracle UCM 11g on Windows OS.
    I want to know that if i have exported the contents from Oracle UCM to external file system, but keeping the contents and metadata into the Oracle UCM. How one will be able to identify that the contents that are being exported? Will there be any attribute set for any such contents indicating that these contents were exported?
    Your help or hint will help me out in resolving the problem.
    Thanks in Advance
    Dipesh

    Hi Srinath,
    Thanks for the reply.
    I did not find the place where to check this?
    On the content tab of the Repository Manager Applet, what is the column do i need to set for indication that the content is archived?
    Regards
    Dipesh

  • How to identify the media type 32 or 64 bit from installed oracle client

    hi guys,
    I have oracle client 11g r2 installed in my machine which is a AIX. but not sure of the media type. 32 or 64 bit. this information is required further to proceed in my further application compatability.
    tilll the previous release there was many hints like.. lib and lib32 in various locations. but not in 11g r2 i guess.
    can someone please help me to find out this piece of information..
    thanks in advance.
    rgds
    Shravee

    908038 wrote:
    hi karthick,
    thanks for replying. first of all i would like to say that I was not able to find the path which you have mentioned below.
    but i understood your intentions.
    so directly looked for a executable file of sqlplus underr oraclehome/bin. and i got few error messages, saying sqlplus could not be loaded. this could be because my 10g is currently configured. and not 11g as we dont want to disturb the environment without confirmation.You said this was AIX. So when you log on to the server, your "environment" only exists for that session you have created to log on. Set ORACLE_HOME to point to your 11.2 installation, and set PATH to point to $ORACLE_HOME/bin. Those settings are only good for that session, so will not impact anything else.
    If sqlplus reports 64 bit, well, that's obviously 64 bit. If it's 32-bit, it won't say anything about it, so "not 64 bit" must be 32-bit.
    >
    however, i tried to execute the same file for 10 g to check if 10g gives any info, but only got the version not 32 or 64 bit.
    rgds.
    Shravee

  • How to tune the following sql statements which has two unions in oracle 10g

    It takes a long time to run the following sql statement in 10g. Each select brings back about 4 million rows and there will be about 12 million rows. When I run each select statements seprately in sqlplus I can see the data immedaitely but when I run it as whole with two unions in the select it just takes very very long time? I want to know how to make this run faster? Can we add hints? or is it because of any table space? Any help is appreciated.
    select
    D.EMPLID
    ,D.COMPANY
    ,'CY'
    ,D.CALENDAR_YEAR
    ,D.QTRCD
    ,D.ERNCD
    ,D.MONTHCD
    ,D.MONTHCD
    ,D.GRS_MTD
    ,D.GRS_QTD
    ,D.GRS_YTD
    ,D.HRS_MTD
    ,D.HRS_QTD
    ,D.HRS_YTD
    from PS_EARNINGS_BAL D
    where D.SPCL_BALANCE = 'N'
    union
    select
    D.EMPLID
    ,D.COMPANY
    ,'FY'
    ,(case when D.MONTHCD > '06' then D.CALENDAR_YEAR + 1 else D.CALENDAR_YEAR end)
    ,ltrim(to_char(to_number(D.QTRCD) + decode(sign(3-to_number(D.QTRCD)),1,2,-2),'9'))
    ,D.ERNCD
    ,ltrim(to_char(to_number(D.MONTHCD) + decode(sign(7-to_number(D.MONTHCD)),1,6,-6),'09'))
    ,D.MONTHCD
    ,D.GRS_MTD
    ,D.GRS_QTD
    ,(select sum(F.GRS_MTD) from PS_EARNINGS_BAL F where
    F.EMPLID = D.EMPLID and
    F.COMPANY = D.COMPANY and
    F.ERNCD = D.ERNCD and
    F.SPCL_BALANCE = D.SPCL_BALANCE and
    (case when F.MONTHCD < '07' then F.CALENDAR_YEAR -1 else F.CALENDAR_YEAR end)
    = (case when D.MONTHCD < '07' then D.CALENDAR_YEAR -1 else D.CALENDAR_YEAR end)
    and to_number(F.MONTHCD) + decode(sign(7-to_number(F.MONTHCD)),1,6,-6)
    <= to_number(D.MONTHCD) + decode(sign(7-to_number(D.MONTHCD)),1,6,-6))
    ,D.HRS_MTD
    ,D.HRS_QTD
    ,(select sum(F.HRS_MTD) from PS_EARNINGS_BAL F where
    F.EMPLID = D.EMPLID and
    F.COMPANY = D.COMPANY and
    F.ERNCD = D.ERNCD and
    F.SPCL_BALANCE = D.SPCL_BALANCE and
    (case when F.MONTHCD < '07' then F.CALENDAR_YEAR -1 else F.CALENDAR_YEAR end)
    = (case when D.MONTHCD < '07' then D.CALENDAR_YEAR -1 else D.CALENDAR_YEAR end)
    and to_number(F.MONTHCD) + decode(sign(7-to_number(F.MONTHCD)),1,6,-6)
    <= to_number(D.MONTHCD) + decode(sign(7-to_number(D.MONTHCD)),1,6,-6))
    from PS_EARNINGS_BAL D
    where D.SPCL_BALANCE = 'N'
    union
    select
    D.EMPLID
    ,D.COMPANY
    ,'FF'
    ,(case when D.MONTHCD > '09' then D.CALENDAR_YEAR + 1 else D.CALENDAR_YEAR end)
    ,ltrim(to_char(to_number(D.QTRCD)+decode(sign(4-to_number(D.QTRCD)),1,1,-3),'9'))
    ,D.ERNCD
    ,ltrim(to_char(to_number(D.MONTHCD)+decode(sign(10-to_number(D.MONTHCD)),1,3,-9),'09'))
    ,D.MONTHCD
    ,D.GRS_MTD
    ,D.GRS_QTD
    ,(select sum(F.GRS_MTD) from PS_EARNINGS_BAL F where
    F.EMPLID = D.EMPLID and
    F.COMPANY = D.COMPANY and
    F.ERNCD = D.ERNCD and
    F.SPCL_BALANCE = D.SPCL_BALANCE and
    (case when F.MONTHCD < '10' then F.CALENDAR_YEAR -1 else F.CALENDAR_YEAR end)
    = (case when D.MONTHCD < '10' then D.CALENDAR_YEAR -1 else D.CALENDAR_YEAR end)
    and to_number(F.MONTHCD)+decode(sign(4-to_number(F.MONTHCD)),1,9,-3)
    <= to_number(D.MONTHCD)+decode(sign(4-to_number(D.MONTHCD)),1,9,-3))
    ,D.HRS_MTD
    ,D.HRS_QTD
    ,(select sum(F.HRS_MTD) from PS_EARNINGS_BAL F where
    F.EMPLID = D.EMPLID and
    F.COMPANY = D.COMPANY and
    F.ERNCD = D.ERNCD and
    F.SPCL_BALANCE = D.SPCL_BALANCE and
    (case when F.MONTHCD < '10' then F.CALENDAR_YEAR -1 else F.CALENDAR_YEAR end)
    = (case when D.MONTHCD < '10' then D.CALENDAR_YEAR -1 else D.CALENDAR_YEAR end)
    and to_number(F.MONTHCD)+decode(sign(4-to_number(F.MONTHCD)),1,9,-3)
    <= to_number(D.MONTHCD)+decode(sign(4-to_number(D.MONTHCD)),1,9,-3))
    from PS_EARNINGS_BAL D
    where D.SPCL_BALANCE = 'N'
    Edited by: user5846372 on Mar 11, 2009 8:55 AM

    Hi,
    What i observed is that your table name and where clause is same in all the thress SELECTs whereas columns having some manipulations that is not going to be unique. I guess you can easily replace UNION with UNION ALL.
    from PS_EARNINGS_BAL D
    where D.SPCL_BALANCE = 'N'Note: I am not aware of your data and business requirement. Please test the result before removing. It is just a suggetion
    Cheers,
    Avinash

  • How to find the last DML timings on any particular table in oracle 10g?

    Hi All,
    I need to know in one particular table when the last DML operation happen and what is the dml query ?
    Thanks
    Bala

    Hi;
    Please see:
    find last dml operation time on a table
    find last dml operation time on  a table
    Last DML time
    find last dml operation time on  a table
    time of last DML
    Regard
    Helios

  • How to identify the bill-to-site location for a customer

    Hi All,
    How to identify the bill-to-site location for a customer.
    I want to determine the language output of the AR invoice report based on the bill-to site address.
    If the bill-to site is located in Sweden, the document should be in Swedish. If the bill-to site is located outside of Sweden, the document should be in English.
    I have defined a query but not able to identify from which column I can identify the bill-site-location.
    select --a_bill.org_id,party_name,account_number,a_bill.CUST_ACCT_SITE_ID
    from
    apps.hz_parties party
    ,apps.hz_party_sites party_site
    ,apps.hz_cust_accounts b
    ,apps.hz_cust_acct_sites_All a_bill,
    apps.hz_locations loc,
    apps.hz_cust_site_uses_all u_bill,
    apps.ra_customer_trx_all trx
    where party.party_id=party_site.party_id
    AND a_bill.party_site_id = party_site.party_site_id
    AND b.party_id = party.party_id
    AND loc.location_id = party_site.location_id
    AND u_bill.cust_acct_site_id = a_bill.cust_acct_site_id
    AND trx.bill_to_customer_id = b.cust_account_id
    AND trx.bill_to_site_use_id = u_bill.site_use_id
    Thanks,
    Joohi

    Hi ,
    Check this apps.hz_cust_site_uses_all here site_use_code will be there , you can find Bill_To Ship_to , from there you can find the site_use_id and location Id
    Thanks
    Shagul

  • How to identify the number of clients in server

    Hai
    Iam trying a network program to identify the number of clients which accessing the server. I dont no how to identify the number of clients which accessing the server through server machine. I want to identify the client machine ip or name. If you have any idea help for me.
    Regards
    A.KRaj

    You can keep a ArrayList of active connections and store the IP address of the incoming connection in the Server. You have to do this everytime you accept a connection.

  • How to delete the duplicate email address in BP master data

    Hi,
    When  you get an email ids from the third party vendor and you are loading into CRM BP master data.  how to delete the duplicate email address already exits in the system.  In CRM you can create the same BP with different id.   I would like to know how to delete the email address during importing email addresses from the third party tool.
    During the campaign you are sending email to all your customers, when the customer want to unsubscibe the email address from your list, how to unsubcribe the email address and how to updat the BP master data. 
    If you are sending the email to customer, you are using html or simple text, if the customer wants only html or simple text, how you to specify in the system?
    thanks,
    arul

    Hello Arul,
    welcome to the SDN CRM Development forum.
    1. I think you should clear the data with duplicate E-Mail adresses in the external tool.
    2. Unsubscription could be done by a Marketing Attribute which could be set by using a Target Group which is created by Campaign Automation. Have a look at this Toppic. There is also a Best Practice avaliable at http://help.sap.com/bp_crmv340/CRM_DE/index.htm.
    3. Also HTML or Simple text can be mained in a Marketing Attribute. You have to use different Mail Forms to which are sent to different Target groups.
    Regards
    Gregor

  • How to use the same email address for outgoing email on two iPads?

    How to use the same email address for outgoing email on two iPads?.   My wife and I both use the same email address.  We receive the same incoming email on both iPads but are unable to send email from my wife's iPad.  She is using an iPad 2 and is usng IOS 6.0.1

    Hi Creaturekeeper,
    If you've added the account into the iPad and you are unable to send email from it, then please follow the troubleshooting in the article below.
    Get help with Mail on iPhone, iPad, and iPod touch - Apple Support
    Take care,
    Alex H.

  • How to remove the old email address that was hacked from my iCloud account when iCloud won't let me?

    How to remove the old email address that was hacked from my iCloud account when iCloud won't let me?
    Pretty much the the email that I used (but didn't verify) to create my iCloud account was hacked and now I can't remove it from my iCloud account due to the iCloud password also being changed by the same person and the fact I had "Find my iPhone" app on my phone also??? I had to change my iTunes email as well but that was far easier so yeah :S.
    Please help. I live in NZ, out in the country, so reception is rare and so is getting into the nearest town that has an Apple Store.
    Thanks

    If you truly change your existing Apple ID's email address to a new email address, follow these instructions: iOS 7: If you're asked for the password to your previous Apple ID when signing out of iCloud
    If you created a whole new Apple Account because you couldn't access the old one after being hacked, you will need to contact the Apple Account Security Team. Apple ID: Contacting Apple for help with Apple ID account security

  • I have read the help info, but I can't find how to change the default email address, to the one that is my adobe I'd?

    I have read the help info, but I can't find how to change the default email address, to the one that is my adobe I'd?

    Adobe Reader for iOS doesn't set the default email address when you email a PDF.
    It's found in the Settings app:
    Settings > Mail, Contacts, Calendars > Mail > Default Account

  • How to identify the user who created the variant

    Hi All,
    Can anyone tell me how to identify the user who created the variant ?

    Hi Dear,
    For the same go to SE11 and view the table "VARID". This table give the details of the program,user,variant etc.
    From this table u can know which user created the variant. Hope this solve your purpose.
    Regards

Maybe you are looking for

  • How do I link an iTunes Library (on an external disk) ?

    Hi all, I'd like to keep my huge collection on external drives. I was able to link the correct playlist (on external disk which was cloned from my previous Mac). What exactly should I link? For example: in Aperture, I just select the Aperture Library

  • Can One Sync a Smart Mailbox to .Mac???

    I use a smart mailbox for all emails that need attending (if message is flagged.& if in Inbox) now, I would like to have that "smart" folder sync to my .mac account somehow, as it is IMAP there must be a way... any ideas? I realise anything in my .ma

  • No data on BlackBerry 10 even with a working data plan

    Hi, Q10, unlocked, 10.1.0.4181, Estonian SIM card with a working data plan, correctly set APN, a bunch of restarts, etc - still no data connectivity. With WiFi on, data works, BBM works, everything except for the App World (which is n/a here) works.

  • AddChild adding Class but not internal shapes

    Hi Friends I am presently developing a site completely class based. N I am facing a problem . There were so many addchild (to attach them to stage at runtime) clips in the library. I dont want them to be exported over the first frame so in the LINKAG

  • LR5 import issue

    I can't seem to import all my raw images from D800 in a single shot. It imports a few and displays a box saying some of the images were not imported (gives me a range). Re-importing fetches a few more before the msg is displayed again. I have to repe