Change NetSight mgmt IP

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
  • (Edited)
Example : mgmt IP from 172.168.0.1 change to 172.168.50.1 .

After changed the NetSight mgmt IP and i at webUI click on the console link show me error below :
Photo of Goh Chern Jie

Goh Chern Jie

  • 320 Points 250 badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Matthew Hum

Matthew Hum, Principal Engineer, APAC

  • 1,542 Points 1k badge 2x thumb
Is this on a windows system or on a virtual appliance?
Photo of Jeremy

Jeremy, Embassador

  • 9,788 Points 5k badge 2x thumb
Photo of Goh Chern Jie

Goh Chern Jie

  • 320 Points 250 badge 2x thumb
@Matthew  , is VM
Photo of Matthew Hum

Matthew Hum, Principal Engineer, APAC

  • 1,542 Points 1k badge 2x thumb
was the DNS entry updated accordingly?
after you changed the Netsight VM IP, did you restart the server service?
at the top of the server.log file it should tell you the IP that the netsight service is binding to, does that reflect the new IP?
Photo of Goh Chern Jie

Goh Chern Jie

  • 320 Points 250 badge 2x thumb
Dear Matthew , 

I no idea of that  cause is my server team member assist me to change the IP . 
Can you show me where to check ?
screen shot also ok for me .

Thanks you
Photo of Matthew Hum

Matthew Hum, Principal Engineer, APAC

  • 1,542 Points 1k badge 2x thumb
Do you know what the hostname of the Netsight VM is? can you go into the client machine and do a nslookup on that?
for example, if my netsight server is netsight.extremenetworks.com I would type into a command line:
nslookup netsight.extremenetworks.com
and see if the IP resolves correctly.

aside from that have you tried to reboot the netsight server? you can go into the shell (SSH or keyboard/monitor) and type in "reboot".
Photo of Goh Chern Jie

Goh Chern Jie

  • 320 Points 250 badge 2x thumb
Yes , nslookup show me the new mgmt IP i changed.

May i know where or how to check the server.log file ?
Photo of Goh Chern Jie

Goh Chern Jie

  • 320 Points 250 badge 2x thumb
Hi Matthew , 

My server member found this as below :

 error in the server.loh file:

 

2015-12-02 00:16:13,433 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnect failed: JMS provider failure detected for ScriptingM

anagerMDB

javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: 10.8.91.250; nested ex

ception is:

        java.net.NoRouteToHostException: No route to host]

        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)

        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)

        at javax.naming.InitialContext.lookup(InitialContext.java:411)

        at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:182)

        at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)

        at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:188)

        at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:510)

        at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl$ExceptionListenerRunnable.run(JMSContainerInvoker.java:1428)

        at java.lang.Thread.run(Thread.java:745)

Caused by: java.rmi.ConnectIOException: Exception creating connection to: 10.8.91.250; nested exception is:

        java.net.NoRouteToHostException: No route to host

        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:631)

        at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)

        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)

        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:129)

        at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)

        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)

        ... 8 more

Caused by: java.net.NoRouteToHostException: No route to host

        at java.net.PlainSocketImpl.socketConnect(Native Method)

        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)

        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)

        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)

        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

        at java.net.Socket.connect(Socket.java:579)

        at java.net.Socket.connect(Socket.java:528)

        at java.net.Socket.<init>(Socket.java:425)

        at java.net.Socket.<init>(Socket.java:208)

        at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)

        at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:147)

        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)

Photo of Matthew Hum

Matthew Hum, Principal Engineer, APAC

  • 1,542 Points 1k badge 2x thumb
So there are quite a few things going on here. what is 10.8.91.250? can you reboot the appliance?
Photo of Matthew Hum

Matthew Hum, Principal Engineer, APAC

  • 1,542 Points 1k badge 2x thumb
can you login to OneView? you can go on the administration tab at the Netsight start page, login with your credentials and then see the server log in the "server log" tab.
I am assuming you are not using RADIUS or LDAP authentication for the authentication.


If you cannot login to that, you will need to access it via SSH. the server.log file is located at /usr/local/Extreme_Networks/NetSight/appdata/logs/
you can type:
grep binding server.log
and the last entry should show you what netsight is binding to.
Photo of Goh Chern Jie

Goh Chern Jie

  • 320 Points 250 badge 2x thumb
Hi Matthew , 

My server member found this as below :

 error in the server.loh file:

 

2015-12-02 00:16:13,433 ERROR [org.jboss.ejb.plugins.jms.JMSContainerInvoker] Reconnect failed: JMS provider failure detected for ScriptingM

anagerMDB

javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: Exception creating connection to: 10.8.91.???; nested ex

ception is:

        java.net.NoRouteToHostException: No route to host]

        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)

        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)

        at javax.naming.InitialContext.lookup(InitialContext.java:411)

        at org.jboss.ejb.plugins.jms.DLQHandler.createService(DLQHandler.java:182)

        at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)

        at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:188)

        at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:510)

        at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl$ExceptionListenerRunnable.run(JMSContainerInvoker.java:1428)

        at java.lang.Thread.run(Thread.java:745)

Caused by: java.rmi.ConnectIOException: Exception creating connection to: 10.8.91.250; nested exception is:

        java.net.NoRouteToHostException: No route to host

        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:631)

        at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)

        at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)

        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:129)

        at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)

        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)

        ... 8 more

Caused by: java.net.NoRouteToHostException: No route to host

        at java.net.PlainSocketImpl.socketConnect(Native Method)

        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)

        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)

        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)

        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

        at java.net.Socket.connect(Socket.java:579)

        at java.net.Socket.connect(Socket.java:528)

        at java.net.Socket.<init>(Socket.java:425)

        at java.net.Socket.<init>(Socket.java:208)

        at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)

        at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:147)

        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)


Seem like still try to connect to old IP  . 

Photo of Matthew Hum

Matthew Hum, Principal Engineer, APAC

  • 1,542 Points 1k badge 2x thumb
We probably should wait for the official GTAC answer on how to change the Netsight IP, but it is not as simple as simply changing the IP of the machine. typically I would suggest a reinstall of the Netsight software. Is that possible?
Photo of Goh Chern Jie

Goh Chern Jie

  • 320 Points 250 badge 2x thumb
it show me {User Login Failed. Unable to authenticate user} when login oneview.

If suspect  not using RADIUS or LDAP authentication for the authentication . 

I can configure back to old IP then configure connect to Radius .

Can i say if i connected to radius mean i can change my mgmt ip ?
Photo of Matthew Hum

Matthew Hum, Principal Engineer, APAC

  • 1,542 Points 1k badge 2x thumb
Who is your local SE? what country are you in? I will communicate directly with them and figure out what we can do to assist you in this.
Photo of Goh Chern Jie

Goh Chern Jie

  • 320 Points 250 badge 2x thumb
Hi Matthew , 

It binded to correct new IP:

 

 grep binding server.log

2015-12-02 07:57:16,885 INFO  [com.enterasys.netsight.api.ServerInfoLogger] ** The NetSight server is binding to IP address: 10.8.x.xxx  **

2015-12-02 08:31:53,013 INFO  [com.enterasys.netsight.api.ServerInfoLogger] ** The NetSight server is binding to IP address: 10.8.x.xxx **

 

Photo of Goh Chern Jie

Goh Chern Jie

  • 320 Points 250 badge 2x thumb
I from Singapore :) 

Maybe you can ask Ng Kim Pin who is my SE cause i also not sure :P
Photo of Matthew Hum

Matthew Hum, Principal Engineer, APAC

  • 1,542 Points 1k badge 2x thumb
It looks like this is more than a simple solution and involves a troubleshoot session. You should escalate this with your appropriate Support resource.
Photo of Matthew Hum

Matthew Hum, Principal Engineer, APAC

  • 1,542 Points 1k badge 2x thumb
how did you change the IP initially?
did you run dnetconfig to change it, or just modify system files?
Photo of Tyler Marcotte

Tyler Marcotte, Official Rep

  • 2,700 Points 2k badge 2x thumb
Goh Chern Jie,

When you changed the address, did you run 'dnetconfig' as described here: https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-change-IP-on-virtual-NetSight-serve...

That would be the first place to start. There are additional portions of the software and database that this script will also update versus just changing the IP address on the OS.

Thanks,

Tyler
(Edited)
Photo of Goh Chern Jie

Goh Chern Jie

  • 320 Points 250 badge 2x thumb
Dear Tyler,

Thanks for your help.

i already follow the step ' dnetconfig ' but still have same error.

0. Accept settings and continue1. Hostname:            mxxxtprdxxx
2. IP address:          10.x.x.xxx
3. Netmask:             255.xxx.xxx.x
4. Gateway:             10.x.x.x
5. Nameserver:          10.x.x.xx 10.x.x.xx
6. Domain name:         xxxxxxxe.com

May i know what is the next step ?
Photo of Tyler Marcotte

Tyler Marcotte, Official Rep

  • 2,700 Points 2k badge 2x thumb
Goh Chern Jie,

In most cases that should have fixed it. At this point it's going to be more of a troubleshooting session. I would recommend working with GTAC to start a live troubleshooting session.
The other option that you have is that if you do not have any critical data on the server yet, you can reinstall the NetSight software. That should ultimately fix the issue as well.

Tyler
(Edited)
Photo of Goh Chern Jie

Goh Chern Jie

  • 320 Points 250 badge 2x thumb
ok, can you teach me how to reinstall the netsight software ?

Thank you
Photo of Tyler Marcotte

Tyler Marcotte, Official Rep

  • 2,700 Points 2k badge 2x thumb
(Edited)
Photo of Goh Chern Jie

Goh Chern Jie

  • 320 Points 250 badge 2x thumb
Thx Tyler. I will try myself  :)
Photo of Goh Chern Jie

Goh Chern Jie

  • 320 Points 250 badge 2x thumb
Dear Tyler,

My management not allow to reinstall the netsight cause we need to configure back alot of thing.

Can i request a remote session to troubleshoot this issue ?

Best regards,
CJ 
Photo of Ryan Mathews

Ryan Mathews, Alum

  • 8,988 Points 5k badge 2x thumb
Best to open a case in assisted support with GTAC.  

They can provide you additional options/recommendations that may be specific to your environment, beyond what was discussed in this thread.
https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-contact-Extreme-Networks-Global-Tec...
(Edited)