cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1610
Views
10
Helpful
9
Replies
Highlighted
Participant

Risks at Changing IP Address of a Prime Infrastructure 2.0

Hello,

I'm asking if there is a risk about changing the IP address of an PI2.0.

I explain:

1. There is a LMS4.1 with IP Address "A"

2. Then there is a new PI2.0 with an IP address "B", runing and tested and working.

3. We stop (shutdown) the LMS4.1

4. We change the IP address of PI2.0 to have the Ip adress "A".

 

What should be the risk if we change the IP Address of the PI2.0?

Will it have some impact inside its database?

 

Regards,

9 REPLIES 9
Highlighted
Cisco Employee

Hi,

There will not be any database Impact on PI server ,if you change the IP address of it.

 

you can follow the below steps:

1) Stop the process (ncs stop)

2) Change the IP address in admin console, something like below:

        NMS/admin# show interface

        NMS/admin# config t

        NMS/admin(config)#

NMS/admin#NMS/admin(config-GigabitEthernet)# ip address 17.x.x.x 255.255.0.0

3) Go to the root shell, run this script.

        /opt/CSCOlumos/bin/oracleDBadmin.sh hostnameupdate 17.x.x.x

4) Start the process (ncs start)

 

note: Still I would suggest to have the backup of the PI server .

 

hope it will help

Thanks-

Afroz

***Ratings Encourages Contributors ****

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****
Highlighted

Hello,

Thank you very much for your prompt responses.
The new IP address is 10.0.10.10.

And the Hostname is SRPI20.

So what is the role of the command oracleDBadmin?

/opt/CSCOlumos/bin/oracleDBadmin.sh hostnameupdate 10.0.10.10.

I've got the message below after this command :

---------------------

/opt/CSCOlumos/bin/oracleDBadmin.sh hostnameupdate 10.0.10.10

Wed Jun 25 12:17:39 GMT 2014 Configuring oracle networking

LSNRCTL for Linux: Version 11.2.0.2.0 - Production on 25-JUN-2014 12:17:39

Copyright (c) 1991, 2010, Oracle.  All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=10.0.10.10)(PORT=1522)))
TNS-12541: TNS:no listener
 TNS-12560: TNS:protocol adapter error
  TNS-00511: No listener
   Linux Error: 111: Connection refused
Listener wcstns is down.
Listener is not running.

----------

So the command was working or not?

Regards,

Antra

Highlighted

Hi Antra,

It worked fine. this is to update the properties files in PI database.

 

Thanks-

Afroz

***Ratings Encourages Contributors ***

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****
Highlighted

Hello,

Unfortunately, after changing the ip address, many services are down.

You cannot access the web interface anymore, and many service are down.

Below are the status of NCS

Before

-------------

Health Monitor Server is running.
Ftp Server is running
Database server is running
Tftp Server is running
Matlab Server is running
NMS Server is running.
Plug and Play Gateway is running.
SAM Daemon is running ...
DA Daemon is running ...
Syslog Daemon is running ...

 

---------------

After the change:

-----------

Health Monitor Server is starting.
Ftp Server is running
Database server is running
Tftp Server is running
Matlab Server is running
NMS Server is stopped.
CNS Gateway with port 11011 is down
CNS Gateway SSL with port 11012 is down
CNS Gateway with port 11013 is down
CNS Gateway SSL with port 11014 is down
Plug and Play Gateway Broker with port 61617 is down
Plug and Play Gateway config, image and resource are down on https
Plug and Play Gateway config, image and resource are down on http
Plug and Play Gateway is stopped.
SAM Daemon is running ...
DA Daemon is running ...
Syslog Daemon is running ...

 

-----------

Regards,

Antra

Highlighted

can you try to reboot the machine and share the status of "show ncs status"

 

Thanks-

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****
Highlighted

Same result.

Health Monitor Server is starting.
Ftp Server is running
Database server is running
Tftp Server is running
Matlab Server is running
NMS Server is stopped.
CNS Gateway with port 11011 is down
CNS Gateway SSL with port 11012 is down
CNS Gateway with port 11013 is down
CNS Gateway SSL with port 11014 is down
Plug and Play Gateway Broker with port 61617 is down
Plug and Play Gateway config, image and resource are down on https
Plug and Play Gateway config, image and resource are down on http
Plug and Play Gateway is stopped.
SAM Daemon is running ...
DA Daemon is running ...
Syslog Daemon is running ...

 

Fortunately it is a lab

Regards,

Antra

Highlighted

check the IP address detail here ::

/opt/CSCOlumos/conf/messaging.properties

 

If you find the old IP , change it and restart the services.

 

 

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****
Highlighted

 

I've used previous snapshot.

the content of this file is

###############################################
#          Messaging Service Properties 3/19/2013        #
###############################################
   
# JMS Broker URL
broker.url=ssl://localhost:61617?wireFormat.maxInactivityDuration=0&soTimeout=60000
broker.server_url=ssl://0.0.0.0:61617?wireFormat.maxInactivityDuration=0&soTimeout=60000
broker.name=XMP_Message_Broker
broker.username=xmpBroker
maxThreadPoolSize=10
maxActiveSessionPerConnection=500
blockIfSessionPoolIsFull=true
broker.password=/opt/CSCOlumos/conf/broker.pwd

 

=

I'll give you update later.

Regards,

Antra

Highlighted

Is it working now ?

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****
Content for Community-Ad