Oracle Network Manager Administrator's Guide Go to Product Documentation Library
Library
Go to books for this product
Product
Go to Contents for this book
Contents
Go to Index
Index



Go to previous file in sequence Go to next file in sequence

CHAPTER 3. How to Use Oracle Network Manager


This chapter describes the components of Network Manager and tells you how to use them. It provides information on:


Opening Oracle Network Manager

When you click on the Oracle Network Manager icon for the first time, a window like the following appears:

Figure 3 - 1. Initial Oracle Network Manager Window

Opening an Existing Network Definition

If you want to open an existing network definition, select whether it is stored in a file or a database, and select OK.

The network objects will appear in the Oracle Network Manager window, and you con modify them as you wish.

Creating a New Network Definition

If you want to create a new network definition, select Cancel in the Open Network Definition window, and then

or

When you select New, a window like that shown in Figure 3 - 2 appears:

Figure 3 - 2. Initial Walk Through Window

If you have never used Network Manager before, you may want to use the online walk-through. If so, select Yes. The online walk-through is described in the following section.


Online Walk-Through

This walk-through does not take you through all the features of Network Manager, but it gets you started in the right direction. For details about all the features of Network Manager, read this manual or use the online help.

The next window that appears, as shown in Figure 3 - 3, asks about the major characteristics of your network:

Figure 3 - 3. Network Description Window of the Walk-Through

Based on your answers, the appropriate property sheets will be opened for you. Network Manager describes the purpose of each property sheet before it opens. Figure 3 - 4 shows an example:

Figure 3 - 4. Walk-Through Explanation of the Community Property Sheet

The walk-through continues until you have completed a network configuration and generated the configuration files. However, you may leave the walk-through by canceling an open property sheet. Alternatively, press OK on a property sheet that is incomplete. You will get a message like the following:

Figure 3 - 5. Walk-Through Reminder of Required Information

Select Yes. You will be prompted to supply the required value. If you do not correct it, you will be asked if you want to stop the walk-through. If you select Yes, the walk-through will disappear.

Note: To start the walk-through, you must start a new network definition.


The Graphical User Interface

After you choose to open an existing network definition or choose to create a new one, the full graphical user interface for Network Manager appears on the screen. The Network Manager interface includes a Menu Bar, two Tool Bars, and a large window, as illustrated in Figure 3 - 6.

Figure 3 - 6. Network Manager Interface

These parts of Network Manager are described in the following sections.

Network Manager Menu Bar

Each of the pull-down menus on this bar is described in the following paragraphs.

File

The File menu enables you to manipulate network definitions by selecting menu items such as New, Open, Close, Save, and Save As.

You can print the Map View of your active network definition. You must have network objects arranged in the upper half of the Map View window, and have a least one of them selected. The three File menu choices related to printing are related to this capability.

Validate is a command that tells Network Manager to check the active network definition for errors and missing information. Generate tells Network Manager to generate configuration files from the network definition. These two commands are described in more detail later in this chapter.

Import Bitmap enables you to add a bitmapped background to the Map View you have created for a network. For example, if you have a large map of the area your network covers, you may want to import it into the Map View to show more precisely where the network objects are located.

Note: This menu item is unavailable unless a Map View has been created and is active.

Edit

Provides tools to manipulate information in the property sheets. From this menu you can Cut, Copy, and Paste information from one property sheet to another. For more information, see "Using the Edit Utilities" [*].

Delete enables you to delete objects from the network definition. To delete a network object you have created, select the object from the window and select Delete from the Edit Menu. Note that when you delete an object, it is removed from the network definition. That is, you are not just removing it from view, but are eliminating it from the network definition.

View

Choices on the View menu are Invalid Objects, Command Tool Bar, Network Object Tool Bar, and Status Bar. The default is for all the bars to be visible. If you want to remove one of the bars from the view, select it from this list. To bring it back into view, select it again.

The Invalid Objects choice is available only when there are invalid objects. (An invalid object is a network component that does not have all of its required parameters defined.) When this choice is enabled and you select it, a window appears in which all invalid objects are listed. You can select an object from this list to bring up its property sheet.

Layout

This menu offers the choice of Domain or Community. The layout selected determines which network objects appear in the Tree View and Map View windows. If Community is the layout selected (the default), the communities, the nodes within the communities, and the network services are shown. If Domain is the layout selected, the local region, domains, and the nodes and services are shown. Foreign objects in the Domain view are shaded so that they are easy to distinguish from objects in the local region. You can switch between layouts using this menu or by selecting the icon on the Command Tool Bar.

Create

Select Create to create new objects for the network. To create a network object, select one from the list of objects in the Create menu. When you select an object from this menu, or its icon on the Network Object Tool Bar, a property sheet appears, which you use to define the object.

The Create menu lists all the types of network objects, or components, that Network Manager can define. When the Community layout is active, a Domain object and a Foreign Region cannot be defined. When the Domain layout is active, a Community object cannot be defined. (See Layout Menu.)

Special

The Special Menu provides access to several optional Network Manager features.

Select Reload Names Servers when you want all the Names servers in the local region to reread the network definition to register changes. (This command is useful only if you are using Oracle Names in your network.)

Select Administer Network Definitions if you want to rename or delete a network definition stored on a database. You will be asked for connect information (username/password/service name) and can then make the desired change.

Import V1 Connect Strings enables you to import files of SQL*Net V1 connect strings. On some operating systems, if there is a TNSNAMES.ORA configuration file for SQL*Net V2, SQL*Net V1 connect strings will not be read. Use this menu item to include SQL*Net V1 connect strings in the network definition so that existing SQL*Net V1 connections can continue to be used.

Start Server Manager enables you to start the Oracle Server Manager product and administer an Oracle Server. To do so, select the icon for the database you want to control from the Map View or Tree View Object List and then select Start Server Manager. For information about Server Manager, see the Oracle Server Manager User's Guide.

Control Network Service enables you to get remotely the status or version of a selected service on the network. After your network has been defined, you can obtain information on any network service by selecting it on the Map View or Tree View Object List and then selecting Control Network Service. (Until the network has been defined and the configuration files distributed over the network, this option cannot be used.) A Control window appears. Select a command from the pop-up list. (The commands available depend on the type of network object you have selected.) If you select Trace, select the level of tracing you want from the Level pop-up list. The result of your command will be displayed in the large read-only box on this window.

Preferences enables you to speed up the process of building a network definition. This menu item enables you to choose whether you want to save your network definitions to a file system or to a database, and whether you want to generate configuration files for a network that does or does not include Oracle Names. You do not need to use this menu item; if you do not use it, Network Manager asks you to make these choices as you proceed through the network configuration process. When you select this menu item, a pop-up window like that in Figure 3 - 7 appears.

Figure 3 - 7. Preferences Window

Select your choices, as follows:

Note: You must select a directory that already exists; the tool cannot create a new directory for you.

When you are satisfied with your responses, select OK to close the Preferences window.

Window

This menu contains commands that control the way the windows are organized in Network Manager.

Cascade arranges all the windows behind one another (the default). You can bring a lower window to the top by selecting its visible edge.

Tile resizes the windows and arranges them so that they are all visible at once.

Arrange Icons moves all the iconized windows into a row at the bottom of Network Manager window.

At the bottom of this menu, all currently displayed windows in the application are listed. If you have iconized a window, you can return it to normal size on the screen by selecting its name from this list.

Help

Contents takes you into the online Help system, as described later in this chapter.

Using Help provides an online tutorial about how to use Microsoft Windows Help.

About Network Manager shows what version of the product you are using.

Tool Bars

You can carry out many of the functions described in the Menu Bar more quickly by using the mouse on the Tool Bars. The Tool Bars contain a number of icons. When you move the cursor onto an icon, the name of the icon appears on the screen, and a short message appears on the Status Bar at the bottom of Network Manager window describing the action that can be taken.

Command Tool Bar

The icons on the top tool bar--the Command Tool Bar--initiate actions, just like selections from the menus. For example, when you select the first icon on the left, a window for a new network appears, just as if you had opened the File menu and selected New.

Network Object Tool Bar

The icons on this tool bar represent network objects. You can select an icon instead of using the Create menu if you wish. The icons on this tool bar launch property sheets for the network objects. The icons that appear change slightly depending on whether you have selected Community Layout or Domain Layout. If you have selected Community Layout, the Community icon is displayed; if Domain Layout is chosen, the Domain icon is displayed. All other icons remain the same.

Tree View Window

The Tree View Window provides a tree, or hierarchical view of a network, and a list of the network objects.

Note that the objects displayed and their organization are determined by whether Community Layout or Domain Layout is selected. The default is Community Layout. In this view, the communities are shown with their nodes below them. In Domain Layout, the local region is shown with its domains and nodes.

Note: If the network you are configuring has only one domain, there is no reason to use the Domain Layout.

Hierarchical View

On the left, a tree or hierarchical diagram shows how the objects are related to one another. Only communities and nodes, or domains and nodes, are included.

Object List

On the right, network objects including network services and client profiles are displayed.

The objects that are shown on the right side of the window depend on what object is highlighted on the left. Only the selected component and its dependents are shown. For example, if Network, the top level of the hierarchy, is selected, all components are shown. If a node is selected, only that node and its services are shown. Figure 3 - 8 shows two images of the tree view for a network. In the first image, one community in the network is highlighted (on the left), and therefore only that community and its contents are shown on the right. In the second image, the network, or top level, is highlighted, and therefore all the components of the network are shown.

After you have created a network object, you can open its property sheet to edit it by double-clicking on its icon in the Object List.

Figure 3 - 8. Two Tree Views of a Network

Splitter Bar

The two sides of this window are divided by a vertical line, the splitter bar. You can move this line to the right or left as needed to make more room to display very long object names or complex tree structures. Just put the cursor on the line and press the left mouse button. The line moves as you move the mouse.

Map View Window

The Map View Window provides an alternate way of looking at and manipulating the network objects. When you create a network object, an icon representing it appears in the bottom half of the Map View window, as shown in Figure 3 - 9.

Figure 3 - 9. Map View Window

At any time you can select the icons in this window and move them to the upper part of the window. Lines appear between them showing their relationships, as illustrated in Figure 3 - 10.

Figure 3 - 10. Map View with Network Objects Arranged

Hint: If you drag an icon from the Network Object Tool Bar directly onto a "parent" object in the Map View or in the Object List of the Tree View, its property sheet will open with its location already provided. For example, if you drag a node icon onto a community icon, the node will be assigned to that community. If you drag a listener icon onto a node, its property sheet will have that node selected.


Help System

A context-sensitive help system is part of Network Manager. It allows you to display information about Network Manager while you are using it.

How to Access Help

There are several ways to access Help:

For further information about how to navigate through the Help system, see Using Help, which you access from the Help menu on the Menu Bar.


Network Object Property Sheet Characteristics

You define the properties of the objects, or components, in your network by entering information into property sheets. Most property sheets are actually made up of a set of "pages". When a property sheet appears, its General Page is displayed. After entering information on the General Page, you can enter additional information, both required and optional, on other pages. Access these other pages by selecting one of the "folder tabs" at the top of the property sheet.

Create a new object by selecting an object from the Create menu or selecting an icon from the Network Object Tool Bar. A property sheet for that component appears on the screen. If you want to edit an existing object, bring up its property sheet by selecting the object from the Tree View Object List or Map View Window. An example of a property sheet for a listener is shown in Figure 3 - 11.

Figure 3 - 11. Property Sheet for a Listener

Common Parts in Property Sheets

All the property sheets have several parts in common that are described here; you can see them in Figure 3 - 11. Fields that are specific to each property sheet are described in the online help system and[*], "Entering Component Information."

Folder Tabs

Every property sheet includes Folder Tabs to provide access to additional pages of configuration information for the network object.

Pages

When a property sheet is first opened, the General page is displayed. It provides space for basic information about the object: its name and community, for example.

To define other related chunks of information, select one of the other pages by selecting its Folder Tab at the top of the page.

Example

The Listener property sheet has seven pages. When you select Addresses, a page appears that enables you to define the network location of the listener. When you select Databases, you are able to create a database for the listener.

Types of Fields on a Page

Text Field: A field into which you can enter text directly is a text field. For example, the Name field in all the property sheets is a text field.

Drop-down List: If a field includes a down arrow, it contains a drop-down list. When you select the arrow, a list of choices appears, from which you can make a selection.

Example

On the Listener property sheet, selecting the arrow in the Node field produces a list of nodes that have been defined in the network. Select the desired object.

List Box: A plain box containing a list is a list box. You cannot enter data directly into a list box, but you can select from the listed items.

Check box: A small button next to a labeled utility that toggles on and off, shown by the presence or absence of an X in the box, is a check box.

Example

On the Listener property sheet, the Encrypt Password feature is toggled on or off with a check box.

Disabled items: (Not shown on Listener window in Figure 3 - 11.) If a field is not applicable in the current context, it is greyed out. You cannot access disabled fields or menu items.

Other common parts of every property sheet include:

OK

Select this button to accept and close the property sheet after creating or modifying component information.

Cancel

Select this button to close the property sheet without creating or modifying component information.

Help

Press this button to get context-sensitive help at any time.

Suggestion: Keep in mind that these buttons apply to the property sheet as a whole, not to an individual page. For example, if you have supplied information on a few pages on the Listener property sheet and then press Cancel while looking at the Logging page, your entries on all the pages will be canceled, not just those on the Logging page.


Component-Specific Information

Use online help to give you information about specific property sheets and the fields within them. Further details can be found in the documentation for the networking products:

You should be familiar with these products and their documentation before configuring them.

Network Manager prompts you for necessary information. When you provide a piece of information that is used in more than one place, Network Manager inserts it automatically as appropriate in other property sheets, so you need to enter it only once. If you omit necessary information, Network Manager warns you that something is missing.

In short, Network Manager guides you through the configuration process.


Validating the Configuration Information

As you enter information in the property sheets, you may occasionally get warning messages in pop-up Alert windows, such as that shown in Figure 3 - 12. These alerts point out information that is missing or inconsistent to help you create a valid network definition.

Figure 3 - 12. An Alert Window

As a final check, you may want to validate your network before creating the configuration files. After you have entered all the information you think you need in the property sheets, and before you generate the configuration files, select Validate from the File menu in the Oracle Network Manager window or select the Invalid Object List icon on the Command Tool Bar. (If there are no invalid objects, this icon is disabled.) If all the entries saved in the network definition are valid, you see a message to this effect. If there are any errors, Network Manager asks you if you would like to step through them. If you select Yes, Network Manager shows you which entries are missing or invalid, so that you can correct them before generating the configuration files.

The validation feature checks for missing or inconsistent information. For example, it warns you if you have not provided at least two addresses for an Interchange, because an Interchange is always on at least two communities. Network Manager cannot check for all errors, however. For example, on the database property sheet, it checks that you have made an entry in the field for the operating system-specific location of the Oracle executables, but it does not verify that the location you enter is correct.


Saving the Configuration Information

Data that you enter or modify in the property sheets of Network Manager is held in temporary storage. It is not actually saved to the network definition until you explicitly save it. Therefore, you should save the data periodically to protect yourself from data loss. You can save component information to a file or to a database. You do not need to save every property sheet; data from all the sheets is saved every time you choose Save or Save As from the File menu.

Note: Data does not move from temporary memory until it is explicitly saved.

The network definition that is created when you save the completed Network Manager property sheets can be stored in either a file or a database.

Note: You cannot save to a remote database until you have generated a TNSNAMES.ORA file that will enable you to connect. Therefore, you may need to save the network definition to a file, generate and distribute the configuration files and start the network, and then return to Oracle Network Manager and save the network definition to the database. To do this successfully, follow the steps in the next section.

Saving a Network Definition to a Database

If you are using Oracle Names, follow these steps before you configure your entire network. These steps enable you to save your configuration information to a remote database.

a. Create a community.

b. Create a single node. The node is the node for the Names Server database.

c. Create a listener and a database.

d. Create a Names Server.

You can now create the rest of the components of your network and save the network definition to a database for use with Oracle Names.

Saving Component Information to a File

To save component information to a file, select Save or SaveAs from the pull-down File menu (Figure 3 - 13). A pop-up window appears, asking if you want to save the network definition to a file or a database. Select File.

Figure 3 - 13. Network Definition Format

When you have made your choice, select OK. Another pop-up window appears (Figure 3 - 14), showing the Save As screen. Select the directory you want by double-clicking the icon in the right-hand column. You can select the file you want by double clicking on its icon. If you want to create a new file, enter its name in the File Name text box.

Figure 3 - 14. The Save-to Window: Choosing Where to Save

To exit the window without saving, select Cancel.

After you have performed this procedure once, subsequent updates can be saved to the same network definition simply by selecting Save on the File menu of the Oracle Network Manager menu bar or from the Tool Bar.

Saving Component Information to a Database

To save the component information to a database, you must first have created a database for the use of Network Manager. The procedure for doing so is described[*] of this Guide. Having done so, you can save to a database by following these steps:

Figure 3 - 15. Connect to Database Window

      Enter a username and password, unless external authentication is used. (The password does not display on the screen.)
      The service name text field can be left empty if you are using a default database. If you want to save to a remote database, enter:
Note: It is the network administrator's responsibility to select the database to hold the network information.

      If it is a new network, enter its name in the Name text field.
      If you want to save information to an existing network on the database, select the network which you want to update from the list box. Then select Save.
Figure 3 - 16. Save to Database Window

To exit the window at any point without saving, select Cancel.

After you go through this procedure the first time, simply select Save on the File menu of the Oracle Network Manager window to save subsequent updates to the same network definition in the database.

Updating the Database Schema

If you try to access database tables that were created using an older version of the ROSBLD.SQL and NMCBILD.SQL files, you may get the following message:

NMO-1012: document DATABASE has version 2.1.3.0.0 but 2.2.2.0.0 is required

To update the tables to the current version, run the NMCUPDT.SQL script against the database to which you are saving. For example:

> sqlplus system_manager/password
sql> run nmcupdt.sql;


Creating the Configuration Files

To create the configuration files from the data saved in the network definition, select Generate from the File pop-up menu on the Menu Bar or select the Generate icon on the Tool Bar.

Network Manager asks you if you want to generate to the file system or to Oracle Names and the file system, as shown in Figure 3 - 17. Choose File System unless you are using Oracle Names in your network. With either choice, files are created in a directory with the same name as the name you gave the network. You can select where in the file system you want that directory to be created (see Figure 3 - 18). You will later need to distribute the files from this location to the appropriate directories on nodes and clients throughout the network. Methods for doing this are discussed[*].

Figure 3 - 17. Types of Files to Generate

Generating to the File System

A window similar to the SaveAs window appears. Use this window, shown in Figure 3 - 18, to select the path to the directory into which the network configuration files will be placed.

Figure 3 - 18. Configuration Directory Window

Network Manager creates the configuration directory based on the name of the network definition. For example, if your network definition were saved to a file called SALES.NET, the network configuration files would be generated in a directory called "sales" under the directory you selected.

Note: Network Manager can create this new directory for the configuration files. The directory does not have to be created manually first.

When a configuration directory already has files in it, a pop-up message window appears, shown in Figure 3 - 19, asking if you wish to delete all files in the target directory. To avoid old files being mixed with the new, Network Manager deletes the old files before generating the new ones.

Figure 3 - 19. Delete Files Warning

Example

Suppose you have already generated configuration files for the "sales" network, and then you edit the network definition without changing its name. Network Manager will delete all existing files in the "sales" directory before generating new configuration files there, unless you specify a different path so that the new "sales" directory can coexist with the old one.

Attention: Be sure that the configuration directory does not contain valuable subdirectories or files before you select Yes. Once deleted, they cannot be recovered.

If you have files you wish to save in the configuration directory, select No. Then either choose a different path to another configuration directory or move the files you want to save. The Generate process does not continue when you select No.

If you select Yes, Network Manager removes the existing files from the configuration directory and creates new subdirectories and configuration files. Turn to Chapter 6, "Distributing the Configuration Files," to learn how the configuration files are organized and how to distribute them.

Generating to Oracle Names

If you choose Oracle Names and the file system, much of the information from the network definition is used to create configuration files, as explained in the preceding section. However, information that the Names server uses to map names to network services is not placed in a file. Instead, the NAMES.ORA file contains a pointer back to the network definition stored on the database. (Remember, if you use Oracle Names, you must save the network definition to a database.) When the NAMES.ORA file is distributed to the node with the Names server and the Names server is started, a process on the Names server takes the information from the network definition and loads it into the Names server cache. There it remains available to be used as needed.

Network Manager is able to locate the configuration database in one of three ways:

Note: Oracle Network Manager generates NAMES.ORA with names/names as the username and password. This is a non-secure account that has read-only access to the tables. The account is created when you run NMCBILD.SQL.

Reloading Network Changes

If there are changes to the network, the modified information in the network definition must be reloaded into the Names server cache. You can use Network Manager to reload the data. From the Oracle Network Manager window, select the Special menu and select Reload Names Servers. Data can also be reloaded by using the RELOAD command of the NAMESCTL utility. See the Oracle Names Administrator's Guide for further information.


Editing Existing Configuration Data

Use Network Manager to add or delete a component in the network or to change any information about a component. To do so, select Open from the File menu in the Oracle Network Manager window, and select the name of the network definition you wish to edit. The network definition appears in the Tree View and Map View in the Network Manager window.

Note: While you are working on a network configuration that has been stored to a database, it is locked against being changed by another person. If someone else opens a network definition while you are working on it and tries to save changes, that person sees a message saying that you have locked the definition.

However, the message allows the second user to override the lock. If the second user chooses to override the lock, you will not be able to save your changes, unless you save the network definition to another name.

If more than one user accesses the network definition using the same username, Network Manager is unable to distinguish that there is more than one user. Therefore, it will allow either user to overwrite the changes of the other without issuing a warning. For example, if two network administrators used the same username to log in to perform administration tasks, Network Manager would not be able to distinguish between them.

The lock is in place as long as its owner has the network definition open. When the network definition is closed, it is unlocked.

To add a component, select it from the Object Menu or select its icon. A property sheet for that component appears. The property sheet may already have some information filled in, as appropriate for the network; you must supply the remaining information.

To delete an existing component, select the component from the Network Objects list; then select Delete or Cut. If other network objects depend upon the object you have selected, you will be given a list of those components and asked if you wish to continue. If you select Yes, the component information is removed. (It is not actually gone until you save the file, however.)

To change an existing component, select the component from the Objects list. A property sheet appears with the current component information displayed. Make the changes you wish.

Attention: Remember that any changes you make to a component may affect many other components. For example, if you change the name of a node, all the components that are on that node are affected. Similarly, if you delete a component, other components that depend on it may become invalid or be deleted. When you change or delete a component, a warning box appears to tell you of the number of other network objects that are affected. You can continue with the change or stop it at this time.

When you have completed the changes you want to make, revalidate your network to make sure the changes have not created an invalid condition. The validation utility will walk you through any invalid entries. When you are satisfied, save the information, then generate new configuration files. Distribute the files to their correct locations.

Using the Edit Utilities

You may find it helpful to use the Edit utility in the Oracle Network Manager window to cut or copy information from one property sheet and paste it into another. This utility enables you to take object information that you have entered in one property sheet and apply it to another. This utility might be useful if you are creating several similar objects in a network, or if you are creating a new network that has some of the same objects as an existing network.

The steps to take to use the utility follow:

Attention: When you paste an object into a different network, it loses all the connections to objects on which it is dependent. For example, if you copy and paste a listener into a different network, you need to edit it to provide it with a node. Similarly, if you copy a database to a different network, you must provide a new listener.

Example: Using the Edit Utility

This example shows how you can copy and paste a network object from one place to another. Suppose you want to configure a network on which there are two Interchanges. Both of the Interchanges have all the same configuration parameters. Only their names and locations are different. Int1 is on the node "iris" in the TCP/IP and SPX/IPX communities. Int2 is on the node "ivy" in the TCP/IP and DECnet communities. An efficient way to create the Interchanges would be as follows:


Archiving Files

If you want to save the old network definition, you may do so in one of two ways:

Or:

If you have already generated (created) configuration files to a directory, and you want to save the old files, be sure to generate the new files to a different directory; otherwise, the old files will be overwritten.

By using these procedures, you can have multiple versions of the configuration files, which may be useful when you are first setting up and testing your network.


Guidelines for Creating Network Object Names

There are limits on the characters that can be used in object names.

Component Name Character Set

The names you provide to Network Manager for listener names, service names of databases, Interchange names, and other network objects are limited to the following character set:

[a...z] [A...Z] [0...9] _

In addition, you can use a dash (-) in a node name, but not in any other network object or service.

Note: Rdb SQL/Services name may include a dash (-).

The first character in a name must be an alphabetic character. The number of characters allowed is platform-specific; in general, however, up to 40 characters is acceptable, if your operating system allows it. The global names will be longer because of domain addenda.

Example: Naming a Node

You may name a node "finally_the_computer_of_my_dreams_12345", which is 39 characters. If the global name for the node includes ".world", the addendum for the default domain, the global name for the node would be "finally_the_computer_of_my_dreams_12345.world", with a total of 45 characters. For the sake of ease of use, Oracle recommends against such long names.

Note: The Windows operating system limits file names to eight characters with a three character extension, and directory names to eight characters only. If the names of nodes and client profiles in your network are longer than that, they will appear shortened when they become file or directory names.

For example, node names become the names of directories that hold the configuration files for the nodes when the files are generated. If you have a node named TULIP.WORLD, it will become a directory named TULIP_WO when the files are generated.

Special Rules for Service Names

The service name for a database is a short name that maps to the connect descriptor, which defines the location of the database on the network. The service name must match the global name for the database as defined in its initialization parameter file. Initially, the global database name is made up of DB_NAME, which cannot be more than eight characters, and DB_DOMAIN. The global database name can be changed by the database administrator using the RENAME GLOBAL_NAMES parameter of the ALTER DATABASE command; if this is done, the DB_NAME may then have more than eight characters.

An example of a service name that includes the default domain is PRODUCTS.WORLD. Another example, using a hierarchical domain structure, is NY_FIN.US.ACME.COM. Note that the period (.) cannot be used within the DB_NAME part of the service name, but is used as a delineator between domain levels in the domain part of the name.


Guidelines for Success

Create Consistent Domains in SQL*Net Version 2.0

Note: Read this section only if you already have a SQL*Net version 2.0 network defined and you intend to use it to distribute the files generated by Network Manager.

If you already have a network configured for SQL*Net version 2.0, you may have a problem when you start to define your network for release 2.2 if you are using a different domain naming convention. If you do not create a hierarchical naming convention, Network Manager appends the default domain suffix .WORLD to the names of your network components. This suffix makes them unrecognizable to the version 2.0 configuration files. Therefore, if you intend to use version 2.0 to move the network definition created by Network Manager to a database previously defined for version 2.0, you might get an error saying the database could not be found.

For example, you might have a database service name defined in version 2.0 as HRFACTS. The same database in SQL*Net release 2.2 would be defined as HRFACTS.WORLD.

There are two ways to avoid this problem. One is to delete or move all the version 2.0 configuration files so that they are not accessible to Network Manager. The other is to edit the version 2.0 SQLNET.ORA file on the node from which you are using Network Manager. Add the following parameter:

NAMES.DEFAULT_DOMAIN=WORLD

The addition of this parameter allows the SQL*Net version 2.0 database service name to be recognized as the same as the database service name defined in the SQL*Net release 2.2 network.

For more information about domain naming conventions, see Understanding SQL*Net and the Oracle Names Administrator's Guide.

Create the Network Objects in Order

Be sure to complete property sheets for all the components of each type before moving on to the next type of property sheet. For example, complete property sheets for all the communities before opening a node property sheet; complete property sheets for all the nodes before moving on to listeners.

The reason for doing this is that the tool makes available information from one property sheet to subsequent property sheets. If you have not defined a community, for example, you will not be able to complete the property sheet for a node that is on that community.

Save the Network Definition Often

See "Saving the Configuration Information" earlier in this chapter.


Troubleshooting Oracle Network Manager

If Network Manager does not appear to be functioning correctly, you can turn on tracing to determine what is wrong. You must configure tracing for Network Manager by hand-editing the SQLNET.ORA file on the node on which Network Manager is installed.

There are four trace parameters for Network Manager, as follows:

Parameter Possible Values Default Value
netman.trace_level off, user, admin, 0-16 off
netman.trace_directory directory of your choice \NETWORK\TRACE\
netman.trace_file valid filename netmanXX.trc
netman.trace_unique on|off on
Table 3 - 1. Network Manager Trace Parameters

By default, if tracing for Network Manager is turned on, its filname includes a random hexadecimal value that makes it unique. For exapmple, the trace file might be named: NETMAN4E.TRC.

Like all trace files, Network Manager trace files grow very large very quickly. Therefore, turn tracing on only when it is needed, and remember to turn it off. Because each trace file is unique, you may want to delete old trace files after they have served their purpose.




Go to previous file in sequence Go to next file in sequence
Prev Next
Oracle
Copyright © 1996 Oracle Corporation.
All Rights Reserved.
Go to Product Documentation Library
Library
Go to books for this product
Product
Go to Contents for this book
Contents
Go to Index
Index