# Not able to get the NodeId of Linux Machine

**URL:** <https://community.cdata.com/t/not-able-to-get-the-nodeid-of-linux-machine/176>\
**Category:** CData Drivers\
**Tags:** question\
**Created:** [May 3, 2023, 7:56pm UTC](https://community.cdata.com/t/not-able-to-get-the-nodeid-of-linux-machine/176 "2023-05-03T19:56:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhilash](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@Abhilash](https://community.cdata.com/u/Abhilash)\
**Post date:** [May 3, 2023, 7:56pm UTC](https://community.cdata.com/t/not-able-to-get-the-nodeid-of-linux-machine/176/1 "2023-05-03T19:56:11Z")

</div>

We need to request for transfer of the license from one machine to another, for that we need to get the NodeId of both&nbsp;the machine, the new machine is Linux where we need to transfer the license, as per the Cdata tool to get the NodeId :-&nbsp;[https://www.cdata.com/lic/nodeid.exe](https://www.cdata.com/lic/nodeid.exe)&nbsp;we can get the NodeId from windows system, but it this tool is not working for Linux system, we also tried ‘Wine’ to run this .exe but we did not got the NodeId, can anybody suggest how to get the NodeId from Linux system.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Elizabeth\_G](https://avatars.discourse-cdn.com/v4/letter/e/6bbea6/32.png) [@Elizabeth\_G](https://community.cdata.com/u/Elizabeth_G)\
**Post date:** [May 3, 2023, 8:54pm UTC](https://community.cdata.com/t/not-able-to-get-the-nodeid-of-linux-machine/176/2 "2023-05-03T20:54:39Z")

</div>

Could you please explain which edition (JDBC, ODBC, etc.) you are using, as different editions have different methods for&nbsp;obtaining the Node Id? A few&nbsp;methods for common editions are provided below.

JDBC  
In the terminal, navigate to the connector’s .jar file and run:  
java -jar cdata.jdbc.\<driver\>.jar -n

ODBC  
In the terminal, navigate to the connector’s /bin folder and run:  
./install-license.sh -n

Note that you may instead need to use the command:  
./install-license.x64 -n

Tableau  
In the terminal, navigate to the connector’s .jar file and run:  
java -jar cdata.tableau.\<driver\>.jar -n

---

<div class="post-metadata">

**Author:** ![Abhilash](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@Abhilash](https://community.cdata.com/u/Abhilash)\
**Post date:** [May 4, 2023, 5:29pm UTC](https://community.cdata.com/t/not-able-to-get-the-nodeid-of-linux-machine/176/3 "2023-05-04T17:29:51Z")

</div>

Thanks Elizabeth,

The JDBC solution:- “java -jar cdata.jdbc.\<driver\>.jar -n” worked for us and we can see the NodeId.

Do we need to run “./install-license.x64 -n” command after getting the NodeId&nbsp;or is it ok to use the NodeId directly? Because we don’t see the “install-license.x64” file in the Cdata installed directory, please clarify…

---

<div class="post-metadata">

**Author:** ![Elizabeth\_G](https://avatars.discourse-cdn.com/v4/letter/e/6bbea6/32.png) [@Elizabeth\_G](https://community.cdata.com/u/Elizabeth_G)\
**Post date:** [May 4, 2023, 9:26pm UTC](https://community.cdata.com/t/not-able-to-get-the-nodeid-of-linux-machine/176/4 "2023-05-04T21:26:14Z")

</div>

That’s great to hear that the JDBC command worked for you. You should now be able to use the Node Id directly in the license transfer request form. The command “./install-licnese.x64 -n” would only be usable if you’d installed an ODBC driver, just as the command “java -jar cdata.jdbc.\<driver\>.jar -n” is only usable if you’ve got a JDBC driver. Both will show the Node Id, but will just work on different editions (ODBC vs JDBC).

Please let me know if any further explanation is needed.
