Naming method

Hi,
we are taking into consideration the possibility to use directory or nis naming methods.
Do these types of naming methos have disadvantages when compared to local naming (TAF support, client load balancing,...)?
thanks in advance

but if I use OCI driver or OJDBC driver, will features like TAF and client load balancing be supported with NIS or Directory naming methods (we are planning to use them on client side not server side)?Certainly it will be possible. In case of DNS names you just configure your file say ldap.ora file to resolve name of oracle service with Directory. Other things will be as it is and Drivers will be there on your client machine as there will be a client installation there.
Regards.
Virendra.

Similar Messages

  • TIP 02: Easy Connect Naming Method in 10g by Joel Pèrez

    Hi OTN Readers!
    Everyday I get connection on Internet and one of the first issues that
    I do is to open the OTN main page to look for any new article or any
    new news about the Oracle Technology. After I open the main page of
    OTN Forums and I check what answers I can write to help some people
    to work with the Oracle Technology and I decided to begin to write some
    threads to help DBAs and Developers to learn the new features of 10g.
    I hope you can take advantage of them which will be published here in
    this forum. For any comment you can write to me directly to : [email protected]
    Please do not replay this thread, if you have any question related to
    this I recommend you to open a new post. Thanks!
    The tip of this thread is: Easy Connect Naming Method
    Joel Pérez
    http://otn.oracle.com/experts

    Let's go to test it removing the BASE1 service of the listener.ora file
    # listener.ora Network Configuration File: C:\oracle\product\10.1.0\db_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = BASE2)
          (ORACLE_HOME = C:\oracle\product\10.1.0\db_1)
          (SID_NAME = BASE2)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = oracle10g)(PORT = 1521))
      )and Now, I am going to reload the listener service in order to
    apply the change to the enviroment.
    Microsoft Windows 2000 [Version 5.00.2195]
    (C) Copyright 1985-2000 Microsoft Corp.
    C:\>
    C:\>lsnrctl stop
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 20-APR-2004 13:20
    :35
    Copyright (c) 1991, 2004, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle10g)(PORT=1521)))
    The command completed successfully
    C:\>lsnrctl start
    LSNRCTL for 32-bit Windows: Version 10.1.0.2.0 - Production on 20-APR-2004 13:20
    :39
    Copyright (c) 1991, 2004, Oracle.  All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Production
    System parameter file is C:\oracle\product\10.1.0\db_1\network\admin\listener.or
    a
    Log messages written to C:\oracle\product\10.1.0\db_1\network\log\listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle10g)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.1.0.2.0 - Produ
    ction
    Start Date                20-APR-2004 13:20:41
    Uptime                    0 days 0 hr. 0 min. 2 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\oracle\product\10.1.0\db_1\network\admin\listener.o
    ra
    Listener Log File         C:\oracle\product\10.1.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "BASE2" has 1 instance(s).
      Instance "BASE2", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\>Joel Pérez
    http://otn.oracle.com/experts

  • Order of execution of named method user properties and server script

    Dear All,
    If for a Custom method on an applet, we have scripts in WebApplet_preinvokemethod and WebApplet_invokemethod and also for the same Custom method we have applet Named Method user properties and BC Named Method user properties, what will be the order of execution of these scripts and Named Method user properties??

    The Private Event Submission sample portlet shows how to achieve this. It is part of the PDK download.
    Peter

  • Multiple Data Source (for FAILOVER) in Easy Connect Naming method

    Hi All,
    I was wondering if there is a way to specify multiple addresses as part of data source property in the connection string when trying to connect to Oracle with Easy Connect Naming method? this is basically for failover scenario.
    I know its straight forward, if i use Connect Descriptor. But not sure how to do it with EZConnect
    For ex. this is what I want to achieve with EZConnect
    sales.us.example.com=
    (DESCRIPTION=
    (ADDRESS_LIST=
    (LOAD_BALANCE=off)
    (FAILOVER=ON)
    *(ADDRESS=(PROTOCOL=tcp)(HOST=sales1-server)(PORT=1521))*
    *(ADDRESS=(PROTOCOL=tcp)(HOST=sales2-server)(PORT=1521)))*
    (CONNECT_DATA=(SERVICE_NAME=sales.us.example.com)))
    I appreciate your suggestions...
    Thanks

    You might get better answers in one of the DB forums from a generic fail-over perspective as EZconnect isn't specific to ODP.NET.
    I don't know if there's a way to do it or not with EZConnect version of the connect string, but you can certainly provide the fully qualified connect string without using tnsnames.ora..
    constring = "data source=(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=off)(FAILOVER=ON)(ADDRESS=(PROTOCOL=tcp)(HOST=sales1-server)(PORT=1521))(ADDRESS=(PROTOCOL=tcp)(HOST=sales2-server)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=sales.us.example.com))); user id=scott;password=tiger"
    Hope it helps,
    Gres

  • NET8의 LOCAL NAMING METHODS 이용관련 CHECK POINTS & TROUBLESHOOTING

    제품 : SQL*NET
    작성날짜 : 2000-12-15
    ===================================================================
    Net8의 Local Naming Methods 이용관련 Check Points & Troubleshooting
    ====================================================================
    Net8 관련 내용중 Local Naming Methods(sqlnet.ora와 tnsnames.ora
    를 이용해서 DB에 Connect하는 방법)에 관한 일반적인 Check Points 및
    Troubleshooing 사항을 정리해보도록 하겠다.
    [Client Connection : Local Naming Methods]
    1. Local Naming method resolves service names by using the local configuration files tnsnames.ora and sqlnet.ora.
    2. One of the benefits of the Local Naming method is that it provides a simple method for resolving service name addresses. It is easy to configure local naming by using a GUI called the Net8 Assistant. When you configure a client machine for local naming by using the Net8 Assistant, a tnsnames.ora file is generated. To configure all the other client machines on the network that need to use the same database services, you can simply copy this file to the client machines.
    3. Another benefit of using the local-naming method is that it resolves service name across networks running different protocols.
    [Local Naming : Configuration]
    1. The local-naming method resolves service names by using the information configured and stored on each individual client. Local naming is most appropriate for simple distributed networks with a small number of services that change infrequently.
    2. Local naming requires the configuration of two local files, tnsnames.ora and sqlnet.ora. The tnsnames.ora file contains the address needed to direct a connection request to the specified listener on the specified node by using the specified database. The sqlnet.ora file stores information about the selected naming method.
    3. Local naming is easy to configure by using the Net8 Assistant. The Net8 Assistant is implemented in Java and is packed with the Java Runtime Environment. You can run the Net8 Assistant on any platform on which Net8 is installed.
    4. When you configure an Oracle8 server to use the local-naming method for service names resolution, the client-side configuration files tnsnames.ora and sqlnet.ora are automatically generated. After the configuration is complete, you copy these two files from the server to the client machines.
    [Client Files : Parameters]
    1. The tnsnames.ora and sqlnet.ora files are generated at the default location ORACLE_HOME\net80\admin.
    2. The first parameter in the tnsnames.ora file specifies the service name and the domain name for the client.
    3. The tnsnames.ora file contains a parameter called DESCRIPTION. This parameter contains information about the connect descriptor for the client.
    4. The ADDRESS parameter in the tnsnames.ora file specifies the network address of the host to which the client is connected. If multiple addresses are specified, use the keyword ADDRESS_LIST before the ADDRESS parameter.
    5. Another parameter in the tnsnames.ora file is the CONNECT_DATA parameter. This parameter specifies the SID of the database to which the client is connected.
    6. The DEFAULT_DOMAIN parameter of the sqlnet.ora file specifies the domain from which the client most often requests names. When this parameter is set, the domain name is automatically appended to the service name in a connect string.
    7. The DIRECTORY_PATH parameter is another key parameter of the sqlnet.ora file. This parameter specifies the names resolution method to be used for the client-server connection.
    8. The sqlnet.ora file also contains a parameter called DEFAULT_ZONE.
    This parameter specifies the region to which the client belongs.
    [Troubleshooting the Client Side]
    These are common client-side problems and the error messages associated with
    each error code.
    ORA-12154: "TNS: could not resolve service name"
    ORA-12198: "TNS: could not find path to destination"
    ORA-12203: "TNS: unable to connect to destination"
    ORA-12533: "TNS: illegal ADDRESS parameters"
    1. The ORA-12154 error occurs when Net8 cannot locate the connect descriptor specified in the tnsnames.ora configuration file. To solve this problem, first verify that a tnsnames.ora file exists and is accessible. Next, verify that multiple copies of the tnsnames.ora file are not present. After checking the existence of the tnsnames.ora file, verify that the service name specified in the connect string is mapped to a connect descriptor in the tnsnames.ora file. Verify also that the file does not contain any syntaz errors. The ORA-12154 error also occur if there is more than one copy of the sqlnet.ora file. Verify that duplicate copies of the sqlnet.ora file are not present.
    2. The ORA-12198 and ORA-12203 errors occur when the client is unable to find the required database. To solve this problem, first verify that you have correctly entered the service name that you want to use. Next verify that the service name parameters in the ADDRESS section of the connect descriptor in the tnsnames.ora file are correctly defined. Then, verify that the tnsnames.ora file is stored in the correct directory. The ORA-12198 and ORA-12203 errors can also occur if the listener on the remote node is not running. Verify that the listener on the remote node has started and is running. If the listener is not running, start the listener by using the Listener Control(LSNRCTL) utility.
    3. The ORA-12533 error occurs if the protocol-specific parameters in the ADDRESS section of the designated connect descriptor in the tnsnames.ora file are incorrect. To solve this problem, use the correct protocol-specific parameters in the ADDRESS section of the connect descriptor.
    4. The ORA-12545 error occurs when the listener on the remote node cannot be contacted. This may happen if the values of the ADDRESS parameter in the tnsnames.ora file and the listener.ora file are incorrect. In this case replace the incorrect values with the correct values in both the files. The ORA-12545 error can also occur if the listener on the remote node is not
    started. To verify whether or not the listener is started, determine its status with the STATUS command of the LSNRCTL utility. If necessary, start the listener on the remote node with the START command.

    제품 : SQL*NET
    작성날짜 : 2000-12-15
    ===================================================================
    Net8의 Local Naming Methods 이용관련 Check Points & Troubleshooting
    ====================================================================
    Net8 관련 내용중 Local Naming Methods(sqlnet.ora와 tnsnames.ora
    를 이용해서 DB에 Connect하는 방법)에 관한 일반적인 Check Points 및
    Troubleshooing 사항을 정리해보도록 하겠다.
    [Client Connection : Local Naming Methods]
    1. Local Naming method resolves service names by using the local configuration files tnsnames.ora and sqlnet.ora.
    2. One of the benefits of the Local Naming method is that it provides a simple method for resolving service name addresses. It is easy to configure local naming by using a GUI called the Net8 Assistant. When you configure a client machine for local naming by using the Net8 Assistant, a tnsnames.ora file is generated. To configure all the other client machines on the network that need to use the same database services, you can simply copy this file to the client machines.
    3. Another benefit of using the local-naming method is that it resolves service name across networks running different protocols.
    [Local Naming : Configuration]
    1. The local-naming method resolves service names by using the information configured and stored on each individual client. Local naming is most appropriate for simple distributed networks with a small number of services that change infrequently.
    2. Local naming requires the configuration of two local files, tnsnames.ora and sqlnet.ora. The tnsnames.ora file contains the address needed to direct a connection request to the specified listener on the specified node by using the specified database. The sqlnet.ora file stores information about the selected naming method.
    3. Local naming is easy to configure by using the Net8 Assistant. The Net8 Assistant is implemented in Java and is packed with the Java Runtime Environment. You can run the Net8 Assistant on any platform on which Net8 is installed.
    4. When you configure an Oracle8 server to use the local-naming method for service names resolution, the client-side configuration files tnsnames.ora and sqlnet.ora are automatically generated. After the configuration is complete, you copy these two files from the server to the client machines.
    [Client Files : Parameters]
    1. The tnsnames.ora and sqlnet.ora files are generated at the default location ORACLE_HOME\net80\admin.
    2. The first parameter in the tnsnames.ora file specifies the service name and the domain name for the client.
    3. The tnsnames.ora file contains a parameter called DESCRIPTION. This parameter contains information about the connect descriptor for the client.
    4. The ADDRESS parameter in the tnsnames.ora file specifies the network address of the host to which the client is connected. If multiple addresses are specified, use the keyword ADDRESS_LIST before the ADDRESS parameter.
    5. Another parameter in the tnsnames.ora file is the CONNECT_DATA parameter. This parameter specifies the SID of the database to which the client is connected.
    6. The DEFAULT_DOMAIN parameter of the sqlnet.ora file specifies the domain from which the client most often requests names. When this parameter is set, the domain name is automatically appended to the service name in a connect string.
    7. The DIRECTORY_PATH parameter is another key parameter of the sqlnet.ora file. This parameter specifies the names resolution method to be used for the client-server connection.
    8. The sqlnet.ora file also contains a parameter called DEFAULT_ZONE.
    This parameter specifies the region to which the client belongs.
    [Troubleshooting the Client Side]
    These are common client-side problems and the error messages associated with
    each error code.
    ORA-12154: "TNS: could not resolve service name"
    ORA-12198: "TNS: could not find path to destination"
    ORA-12203: "TNS: unable to connect to destination"
    ORA-12533: "TNS: illegal ADDRESS parameters"
    1. The ORA-12154 error occurs when Net8 cannot locate the connect descriptor specified in the tnsnames.ora configuration file. To solve this problem, first verify that a tnsnames.ora file exists and is accessible. Next, verify that multiple copies of the tnsnames.ora file are not present. After checking the existence of the tnsnames.ora file, verify that the service name specified in the connect string is mapped to a connect descriptor in the tnsnames.ora file. Verify also that the file does not contain any syntaz errors. The ORA-12154 error also occur if there is more than one copy of the sqlnet.ora file. Verify that duplicate copies of the sqlnet.ora file are not present.
    2. The ORA-12198 and ORA-12203 errors occur when the client is unable to find the required database. To solve this problem, first verify that you have correctly entered the service name that you want to use. Next verify that the service name parameters in the ADDRESS section of the connect descriptor in the tnsnames.ora file are correctly defined. Then, verify that the tnsnames.ora file is stored in the correct directory. The ORA-12198 and ORA-12203 errors can also occur if the listener on the remote node is not running. Verify that the listener on the remote node has started and is running. If the listener is not running, start the listener by using the Listener Control(LSNRCTL) utility.
    3. The ORA-12533 error occurs if the protocol-specific parameters in the ADDRESS section of the designated connect descriptor in the tnsnames.ora file are incorrect. To solve this problem, use the correct protocol-specific parameters in the ADDRESS section of the connect descriptor.
    4. The ORA-12545 error occurs when the listener on the remote node cannot be contacted. This may happen if the values of the ADDRESS parameter in the tnsnames.ora file and the listener.ora file are incorrect. In this case replace the incorrect values with the correct values in both the files. The ORA-12545 error can also occur if the listener on the remote node is not
    started. To verify whether or not the listener is started, determine its status with the STATUS command of the LSNRCTL utility. If necessary, start the listener on the remote node with the START command.

  • Oci_connect using easy connect naming method needs listener??

    Hi,
    I was thinking that using the easy connect naming method in oci_connect does not require a running local tnslsnr!? Am I wrong?
    I tried:
    $db = '(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = my-ora-host.example.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = my-service.example.com)))';
    // $db = '//my-ora-host.example.com:1521/my-service.example.com';
    $ora_conn = oci_connect('test', 'test', $db);
    Using both versions of the 'db' I receive the error:
    mod_fcgid: stderr: PHP Warning: oci_connect(): ORA-12541: TNS:no listener in ....
    I am using a self compiled PHP 5.3.8 using Oracles instantclient 11.2.0.3.0 (on Linux, 32bit).
    There are NO special environment variables ( like ORACLE_HOME or TNS_ADMIN), because I was thinking that I don't need them...
    Am I wrong? Is a running tnslsnr always required? Or am I doing wrong in specifying the connection string?
    Any help is appreciated!
    chuan

    The connection strings are fine. They only control how PHP attempts to connect to the DB. The DB will need a listener started so that those incoming requests are handled. Use: 'lsnrctl start' on the DB machine.

  • Connecting oracle using Directory Naming Method

    Hi,
    I am just checking the possibilities of implementing Directory Naming Method in our organization. currently we are using Local Naming method (using tnsnames.ora).
    I did google to find the pre-requsites to use directory naming method and I couldnt' find the right document.
    could somebody who has implemented and using directory naming method (via centralized LDAP-compliant directory server) could help me in finding the pre-requistes and what kind of infrastucture we should be having to implement the same in our organization.
    Thanks in advace for your help.
    Krishna.

    I'm trying to figure these things out myself.
    I have some questions for you:
    1. What operating systems does your server and workstations use?
    If they're all Windows and you're on a Windows Domain, consider Active Directory as the directory service.
    2. If it is all unix-like operating systems, consider using Oracle Internet Directory as the directory service.
    3. Mixed Windows and Unix-like operating systems - use whatever you are currently using as the directory service.
    At http://tahiti.oracle.com/ you may want to read some of the following books from oracle:
    - Platform Guide for Microsoft Windows (if you're using Windows)
    - Advanced Security Administrator's Guide
    - Enterprise User Security Administrator's Guide
    - Net Services Administrator's Guide
    - Net Services Reference
    - Oracle Internet Directory Administrator's Guide
    - Oracle Database 2 Day DBA
    Options to consider: Kerberos or Active Directory
    If using Windows and you already using Active Directory, consider this:
    Microsoft Environment: Configuring Oracle Advanced Security Option (ASO) Kerberos Adapter with Windows 2003 Active Directory
    See Metalink doc-id: 368321.1

  • Naming Method Use

    Hi,
    TNSNAMES.ORA
    MASTER=(DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=tcp)
    (HOST=TELSTAR)
    (PORT=1521))
    (CONNECT_DATA=
    (SERVICE_NAME=LOC)))
    SQLNET.ORA
    NAMES.DEFAULT_DOMAIN=US.TELSTAR.COM
    NAMES.DIRECTORY_PATH=(LDAP, TNSNAMES, HOSTNAME)
    In here why it uses LDAP?.... Whts the purpose of using LDAP here!
    What is the naming method using here....
    ThankX
    Edited by: Ushman on Sep 15, 2008 4:06 PM

    names.directory_path:- Specifies the order of naming methods that are used when a client tries to connect to a database.
    If you are not using LDAP then simply delete it. LDAP here, refers to Oracle internet Directory a component or Oracle Application Server.
    Regards
    Christopher Soza
    Orix Consultancy Services Ltd

  • Oracle client 8.1.7 and ldap naming method

    Hello!
    I have forms 6 and oracle net 8.0.5 but this version does not support ldap naming method.... so anyone know version of oracle client for windows support which ldap? Maybe 8.1.7? I need to find 8.1.7 client instalation maybe some links?
    regards - mj

    The minimum version for LDAP naming is 8.1.6, but I don't think it will be possible to direct Forms 6 to use it, I think you'll find that it's tied into the 8.0 stack.
    If you want a centralised naming method for use with the 8.0 stack then it would have to be the old Oracle Names service, which was removed after version 9.2.
    http://download.oracle.com/docs/cd/B10501_01/network.920/a96580/config_c.htm#485521

  • Variable naming method

    What is the good way to name the variable name? my method is first 3characters is datatype :
    int intNumber;
    String strName;
    JButton btnGo;Any comment for my naming conversion? I think all expert java programmers not like this right? why?

    This looks very MS standard.
    If you use an IDE, the type is displayed as you type the variable, so finding the type is much simpler than it used to be.
    If you change the type of a variable you would have to rename it as well.
    I would suggest just naming the variable based on what it does and why it is there.

  • Naming method calls dynamicly

    I'm trying to make an applet that uses the rectangle class to set areas for action listeners the problem is that the number of calls needed to be made to the rectangle class is not preset. the names will be detumined by a seperate file
    An example:
    int nC= //some ammount, nC is the number of calls that will be needed to made.
    String names[nC]; //assume that names is filled with the strings already
    for(int x=0; x<nC;x++)
          Rectangle /* this is were I need it to fit the string from names[x] */ =new Rectangle;
    }Is that even possible, or is there another way to get the same effect?
    Message was edited by:
    Shibby

    I'm trying to make an Applet with a menu on the side in the shapes of rectangles, and I just need some way to tell if a hit has occured in the rectangles, but the number of rectangles is not a set ammount, and need to be dynamic.

  • AAA Authorization named authorization list

    Ladies and Gents,
    Your help will be greatly appreciated – I am currently studying CCNP Switch AAA configuration and I work with a tacacs+ server at work butI having difficulty getting my head around the below
    Cisco.com extract below
    When you create a named method list, you are defining a particular list of authorization methods for the indicated authorization type.
    Once defined, method lists must be applied to specific lines or interfaces before any of the defined methods will be performed. The only exception is the default method list (which is named "default"). If the aaa authorization command for a particular authorization type is issued without a named method list specified, the default method list is automatically applied to all interfaces or lines except those that have a named method list explicitly defined. (A defined method list overrides the default method list.) If no default method list is defined, local authorization takes place by default.
    My question is how do you define the Named Method List i.e. the none-default method list?
    I don't mean the cisco switch config but how the list is created, is this on the tacacs+ server and the referred to in the CLI?
    Any help would be much appreciated as I have read over tons of documents and I can’t see how this is created
    Thanks in advance
    David

    Hi David,
    An example of a named AAA list might look something like this:
    aaa authorization exec TacExec group AAASrv local
    In the example above, I've created a AAA authorization list for controlling shell exec sessions called "TacExec", which will check the remote AAA servers in the group "AAASrv" first; if the device receives no response from the remote servers, it will then atempt to validate the credentials via the local user database. Please remember that a deny response from the AAA server is not the same as no reposonse, the device will only check the local user database if an only if it recieves nothing back from the TACACS query.
    Of course, before you create this method list, you need to define the TACACS servers via the "tacacs-server" command, and then add those servers to the group via the "aaa group server" command.
    Below is a cut and paste from the AAA section on one of my devices:
    aaa new-model
    ip tacacs source-interface
    tacacs-server host 10.x.x.x key 7
    tacacs-server host 10.x.x.y key 7
    aaa group server tacacs+ TacSrvGrp
    server 10.x.x.x
    server 10.x.x.y
    aaa authentication login default local
    aaa authentication login TacLogin group TacSrvGrp local
    aaa authorization console
    aaa authorization config-commands
    aaa authorization exec default local
    aaa authorization exec TacAuth group TacSrvGrp local
    aaa authorization commands 0 default local
    aaa authorization commands 0 TacCommands0 group TacSrvGrp local
    aaa authorization commands 1 default local
    aaa authorization commands 1 TacCommands1 group TacSrvGrp local
    aaa authorization commands 15 default local
    aaa authorization commands 15 TacCommands15 group TacSrvGrp local
    aaa accounting exec default start-stop group TacSrvGrp
    aaa accounting commands 15 default start-stop group TacSrvGrp
    aaa session-id common
    Notice that for the various authentication and authorization parameters, there is a named method list as well as a default method list. As per Cisco's documentation, a aaa method list called default (that you explicitly define) will apply to all input methods (con, aux, vty, etc) unless you set a named method list on the particular input line (see below):
    line con 0
    exec-timeout 5 0
    line aux 0
    exec-timeout 5 0
    line vty 0 4
    exec-timeout 15 0
    authorization commands 0 TacCommands0
    authorization commands 1 TacCommands1
    authorization commands 15 TacCommands15
    authorization exec TacAuth
    login authentication TacLogin
    transport input ssh
    For the console and aux inputs, I only ever want to use local credentials for AAA purposes (ie: If I have to connect on an out-of-band interface, something is potentially wrong with the network connectivity), however for the VTY lines (SSH sessions in this instance), I always want to use the TACACS servers first, with local user credentials as a fallback mechanism.
    One thing you need to be VERY mindful of when configuring your devices for AAA is the order of the commands that are entered. It is a relatively simple matter to lock yourself out from the device management if you don't pay close attention to the specific order that the commands are entered. Typically, I will first do a "show user" just to find out which VTY line that I'm connected on, and when I assign the named AAA method lists to the VTY lines, I normally leave the line that I'm on at the default (local), then I open a second session to the device, authenticate using my TACACS credentials, and complete the config on the remaining VTY line.
    Keep in mind that there are some other parameters that you can define at the tacacs-server level (timeout value is a good one to look at) which you can use to enhance the AAA performance somewhat.
    Hope this helps!

  • Local naming Vs Host Naming

    First Question
    I wanted to know that which naming method is better,host naming or local naming..I belieave that Local naming is the best..But one of my friend told me that in the software development environment(asp.NET+ORACLE) Host naming is more better..from the client machine .net connectivity is easy to create with the host naming technique(im not aware of the connectivity..im newbie)..Please comment on the statement
    second Question
    after installing the Oracle Client and the connection string is updated in the web.config(asp.net)..will get the Oracle Connectivity?.....

    jp@valapad wrote:
    First Question
    I wanted to know that which naming method is better,host naming or local naming..I belieave that Local naming is the best..But one of my friend told me that in the software development environment(asp.NET+ORACLE) Host naming is more better..from the client machine .net connectivity is easy to create with the host naming technique(im not aware of the connectivity..im newbie)..Please comment on the statement
    second Question
    after installing the Oracle Client and the connection string is updated in the web.config(asp.net)..will get the Oracle Connectivity?.....Well, you have been here for 2 years(looking at the registration date) and have asked nearly 100 questions so one thing you must be aware about, its always good to mention that 4 digit db version number,doesn't matter how much irrelevant you think it may be.
    Host Naming and Local Naming, both are good as if anyone would be bad, Oracle would have removed. Both come with their own price, HostNaming( From 10g , EZ naming) is basically the simplest to be done. All you need is the details of the server, database, port of listener and you are good to go. But being simple doesn't mean most efficient too. It has its own restrictions also, like it can't use any other protocol except TCP/IP, doesn't support any advanced features.
    Local naming is basically the client-server networking where youneed to have a client side file set up which is going to talk to the server. This is supporting all the features but if your client get into any issue, you are going to run towards it. So in a way, both have their own pros and cons. Read through the link which Vikrant has given , it should explain a lot.
    I am not sure about the .net stuff that you have posted so no comments about that.
    HTH
    Aman....

  • About n7k naming

    hello , i got some questions on cisco n7k modules about naming
    is there any documents about the naming method ?
    for example,N7K-F248XT-25E= , what's the meaning of 25 and = ?
    thank you

    Hi,
    The = (equals) at the end of any Cisco part number indicates that the part can be ordered as a spare part i.e., it doesn't have to be part of a factory built system. From a technical perspective, the N7K-F248XT-25 and N7K-F248XT-25= are exactly the same.
    The 25 at the end of the ID for this particular module indicates that it is a Fabric 2 based module, and that five Fabric Modules are required for the device to operate at full line rate. I mentioned how the I/O module names can be interpreted in the forum post Bandwidth distribution in Nexus 7009 Fabric-2 module, but included here also:
    The I/O module name is essentially comprised of a number of fields in the format N7K-ABCCDE-FG, where:
    A = I/O module family e.g., M or F
    B = generation of the module e.g., either 1, 2 or 3
    CC = number of ports on the module e.g., 2, 6, 8, 24, 32 or 48
    D = port speed e.g., G=10/100/1000, X=10G, F=40G or C=100G
    E = connector type e.g., T=RJ45, S=SFP, 2=X2, P=SFP+, Q=QSFP or F=CFP
    F = the Fabric ASIC version of the I/O module e.g., either 1 or 2
    G = the number of Fabric modules required for full line rate I/O
    Regards

  • Object naming..

    Okay, I'm going to make an attempt at explaining this and I'd sincerely appreciate any help offered.
    I'm currently doing up a program that allows a person to create Friends. The thing that I want to ask you guys about is this: Is there anyway to create an automatic Object naming method? For example:
    Person *a* = new Person();You see, if I create a method that automatically names every object a, wouldn't that mean that I am simply overwriting it? I don't want to have to type out a load of Object names and I'm pretty sure that that wouldn't be the best way to do it.
    Regards.
    Wayne

    In this situation, you would do something like this:
    public class MainClass {
        public static void main(String [] args) {
            Person [] people = new Person[10];
         people[0] = new Person("Larry");
    class Person {
        String name;
        public Person(String n) {
         name = n;
    }Or some other similar method of using a class field to represent the person's name.

Maybe you are looking for