| Summary | The itadmin utility offers a means to view, add and remove Naming Service entries. This article provides an overview of some of the more common commands |
|---|---|
| Article Number | 32920 |
| Environment | Orbix 6.3 All supported platforms |
| Question/Problem Description | How to update the Naming Service with itadmin How to view Naming Service entries with itadmin How to add Naming Service entries with itadmin How to remove Naming Service entries with itadmin Updating the Naming Service with itadmin Viewing the Naming Service with itadmin Adding Naming Service entries with itadmin Removing Naming Service entries with itadmin How to view IOR entries in the Naming Service |
| Clarifying Information | |
| Error Message | |
| Defect/Enhancement Number | |
| Cause | |
| Resolution | The itadmin utility offers a means to view and update the Naming Service. The "ns list" option displays Naming Service entries. For example, the following command displays the content of the naming path specified: itadmin ns list <Naming Path> If no naming path is specified, the above command displays the content of the root context. Similarly, the following command displays the entire contents of the Naming Service: itadmin ns list -recursive Alternatively, the "ns newnc" adds new contexts to the Naming Service: itadmin ns newnc <Naming Path> In the above example, the <Path> option is delimited with forward slashes ("/"). To add an object reference to the Naming Service, the itadmin ns option "bind" is used. For example: itadmin ns bind -object -path <Naming Path> <Object's IOR String> It is possible to view the IOR entries added to the naming service using the catns command. For example: itadmin ns resolve IT_MGMT
IOR:010000002800000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f
6e746578743a312e300001000000000000009a000000010102000f0000004e424455424d4d555250
485930320000030c0000360000003a3e023231126c6f636e6f64656e732e6c6f636174696f6e1449
545f4e616d696e67436f6e7465787445787400080100000000000200000003000000000000000800
000001000000415f5449010000001800000001000000010001000000000000010100010000000901
01000600000006000000010000002c00
Finally, entries can be removed from the Naming Service with the itadmin ns "remove" option. For example: itadmin ns remove -recursive <Naming Context> For more information on the itadmin Naming Service commands, please see the relevant documentation: Orbix Administrator's Guide, Chapter 25: "Naming Service". |
| Workaround | |
| Notes | |
| Attachment |
| Created date: | 29 June 2012 |
|---|---|
| Last Modified: | 13 February 2013 |
| Last Published: | 11 July 2012 |
| First Published date: | 02 July 2012 |
#Orbix
#KnowledgeDocs




