Change NetSight mgmt IP

  • 4 December 2015
  • 27 replies
  • 1394 views

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 :


27 replies

Userlevel 3
Is this on a windows system or on a virtual appliance?
Try this.

https://helpdesk.illinoisstate.edu/kb/1637/How_to_clear_your_Java_cache_in_Windows/
@Matthew , is VM
Userlevel 3
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?
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
Userlevel 3
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".
Yes , nslookup show me the new mgmt IP i changed.

May i know where or how to check the server.log file ?
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.[i](Socket.java:425)

at java.net.Socket.[i](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)
Userlevel 3
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.
Userlevel 3
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.[i](Socket.java:425)

at java.net.Socket.[i](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)

So there are quite a few things going on here. what is 10.8.91.250? can you reboot the appliance?
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.[i](Socket.java:425)

at java.net.Socket.[i](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 .
Userlevel 3
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?
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 ?
Userlevel 3
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.
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 **
I from Singapore 🙂

Maybe you can ask Ng Kim Pin who is my SE cause i also not sure 😛
Userlevel 3
I from Singapore 🙂

Maybe you can ask Ng Kim Pin who is my SE cause i also not sure :P
It looks like this is more than a simple solution and involves a troubleshoot session. You should escalate this with your appropriate Support resource.
Userlevel 3
how did you change the IP initially?
did you run dnetconfig to change it, or just modify system files?
Userlevel 4
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
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 ?
Userlevel 4
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
ok, can you teach me how to reinstall the netsight software ?

Thank you
Userlevel 4
It should be documented in the GTAC Knowledge Database linked to here:

https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-upgrade-Netsight-Suite-from-05-x-to-06-01-x-on-Linux-deployment/
Thx Tyler. I will try myself 🙂
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

Reply