Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

How do I change the IP Address of NSM Server?

0

0

Article ID: KB9692 KB Last Updated: 26 May 2010Version: 8.0
Summary:

How to change IP Address of NSM server

Symptoms:

Solution:

Note : You must be logged in as Super User to make these changes

If you are logged in to NSM UI
, the IP Address of NSM server can be changed by going to server option under "Server Manager" on NSM UI

  1. To change the IP Address of NSM Gui Server, select - Server Manager > Servers > GUI Server Cluster (for NSM 2008 and above go to Administer > Server Manager > Servers)

    guiserver
  2. To change the IP Address of Device Server, select - Server Manager > Servers > Device Server Cluster

    devserver
  3. Exit from the NSM UI
  4. Log into NSM server via SSH
  5. Stop the NSM Server processes; both Device Server and Gui Server
  6. Update /usr/netscreen/DevSvr/var/devSvr.cfg: guiSvr1.addr
  7. Login to NSM Server CLI and verify the IP address has changed in /usr/netscreen/DevSvr/var/devSvr.cfg file
  8. Change the IP Address in file /usr/netscreen/GuiSvr/lib/webproxy/conf/server.xml
    Look for string keystoreType="PKCS12" address= and change the old IP address to new IP address (If the old IP Address is 127.0.0.1 then you do not need to change it)
  9. Change the IP address on the interface of the NSM server
  10. Start the NSM Server processes

If NSM server is not accessible via NSM UI

If the IP Address on the interface is already changed then NSM server will not listen on the new IP Address.   The following actions need to be taken:

For NSM ver 2006.x and below
  1. Log into the NSM server via SSH.
  2. Update /usr/netscreen/DevSvr/var/devSvr.cfg: guiSvr1.addr
  3. Update /usr/netscreen/GuiSvr/var/server_table.nml: :ip
    Update in both the GUI and Device server sections.
  4. Restart NSM server processes (both Device server and GUI Server)

For NSM ver 2007.x and above

Starting with NSM 2007 the IP addresses are stored in XDB database.  A database update utility needs to be used to update the IP address

Example - If the new IP address of NSM server is 10.10.10.1

  1. Log into NSM server via SSH
  2. Stop the NSM Server processes; both Device Server and GUI Server
  3. Update /usr/netscreen/DevSvr/var/devSvr.cfg: guiSvr1.addr
  4. Change directory to /usr/netscreen/GuiSvr/utils/
  5. Run:
    • For Gui Server - ./.xdbUpdate.sh /usr/netscreen/GuiSvr/var/xdb server 0 0 /__/ip 10.10.10.1
    • For Dev Server - ./.xdbUpdate.sh /usr/netscreen/GuiSvr/var/xdb server 0 1 /__/ip 10.10.10.1
  6. Change the IP Address in file /usr/netscreen/GuiSvr/lib/webproxy/conf/server.xml
    Look for string keystoreType="PKCS12" address=  and change the old  IP address to new IP address (If the old IP Address is 127.0.0.1 then you do not need to change it)
  7. Start the NSM Server Processes
  8. Login to NSM UI and verify under  Administer > Servers  if the IP address is correct

All the devices need to connect to new NSM server IP Address, to Change the IP Address on the devices refer to KB6985 - How Do I Change the IP Address of the NSM Server on the Device?

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search