80204ad9b0e4b611d8b9b525b3d23417.ppt
- Количество слайдов: 22
Changing IP numbers on Net. Ware, NW 6. 0 and 6. 5 Joe Doupnik Oxford University Computing Services joe. doupnik@oucs. ox. ac. uk, jrd@cc. usu. edu 1 August 2004 Changing IP numbers on Net. Ware
Finding IP number citations • Find almost all occurrences of an IP number by using grep. nlm (version 2. 5) http: //forge. novell. com/modules/xfmod/project/showfiles. php? group_id=1143&release_id=1396#selected sys: grep –Hr 129. 67. 103. 180 sys: > /vol 1: ipnum. txt -H means record filename with findings -r means recurse into subdirectories Redirect output to a volume not being scanned • Move from 129. 67. 103. 180 to 129. 67. 103. 181 • After removing log file and backup files we get the following IP number references Changing IP numbers on Net. Ware
Net. Ware 6. 0 series Changing IP numbers on Net. Ware
IP number (old) references sys: /Apache/conf/adminserv. conf: Listen 129. 67. 103. 180: 51080 sys: /Apache/conf/adminserv. conf: Secure. Listen 129. 67. 103. 180: 51443 "SSL Certificate. DNS" sys: /Apache/conf/adminserv. conf: Listen 129. 67. 103. 180: 2211 sys: /Apache/conf/adminserv. conf: Secure. Listen 129. 67. 103. 180: 2200 "SSL Certificate. DNS" sys: /Apache/conf/adminserv. conf: # Listen 129. 67. 103. 180: 2200 sys: /Apache/conf/adminserv. conf: Redirect /i. Manager/ https: //129. 67. 103. 180: 2200/e. MFrame/i. Manager. html sys: /Apache/conf/adminserv. conf: Redirect /i. Manager https: //129. 67. 103. 180: 2200/e. MFrame/i. Manager. html sys: /Apache/i. Folder/Server/httpd. conf: Listen 129. 67. 103. 180: 52080 sys: /Apache/i. Folder/Server/httpd. conf: Secure. Listen 129. 67. 103. 180: 52443 "SSL Certificate. IP“ sys: /ETC/certserv/Pkis. Inst. log: Subject. DN =. CN=129. 67. 103. 180. O=JRD-TREE sys: /ETC/GATEWAYS: Net 0 Gateway 129. 67. 103. 254 Metric 1 Passive sys: /ETC/HOSTNAME: 129. 67. 103. 180 netlab 3. oucs. ox. ac. uk sys: /ETC/hosts: 129. 67. 103. 180 netlab 3. oucs. ox. ac. uk EDU-USU-NETLAB 3 sys: /ETC/NETINFO. CFG: BIND IP CE 100 B_1_EII ARP=Yes Mask=255. 252. 0 Address=129. 67. 103. 180 sys: /ETC/NETINFO. CFG: #129. 67. 103. 180 sys: /ETC/TCPIP. CFG: Address 129. 67. 103. 180 sys: /ETC/TCPIP. CFG: Network. Address 129. 67. 100. 0 sys: /ni/data/protdb. txt: Bind. IP card 0 CE 100 B_1_EII address 129. 67. 103. 180 returned 0 sys: /ni/data/protdb. txt: NWIProtocols. sstrf bind ip 129. 67. 103. 180 to CE 100 B_1_EII sys: /ni/data/response. ni: Enterprise. ipaddress=129. 67. 103. 180 sys: /ni/data/response. ni: Enterprise. ipaddress. 2=129. 67. 103. 180 sys: /ni/data/response. ni: Apache. ipaddress. 2=129. 67. 103. 180 sys: /ni/data/response. ni: i. Folder. ipaddress=129. 67. 103. 180 Changing IP numbers on Net. Ware
IP number (old) references sys: /ni/data/response. ni: i. Folder. ipaddress. 2=129. 67. 103. 180 sys: /ni/data/response. ni: i. Print. ipaddress. 2=129. 67. 103. 180 sys: /ni/data/response. ni: IP Address 1=129. 67. 103. 180 sys: /ni/data/response. ni: Gateway 1=129. 67. 103. 254 sys: /ni/data/response. ni: IP Address 1=129. 67. 103. 180 sys: /ni/data/response. ni: Web. IPAddress=129. 67. 103. 180 sys: /ni/data/response. ni: if. Secondary. IPAddress=129. 67. 103. 180 sys: /ni/update/data/Port. Resolver. Installed. properties: Enterprise. ipaddress=129. 67. 103. 180 sys: /ni/update/data/Port. Resolver. Installed. properties: i. Folder. ipaddress=129. 67. 103. 180 sys: /ni/update/data/Port. Resolver. Installed. properties: i. Print. ipaddress=129. 67. 103. 180 sys: /ni/update/data/Port. Resolver. Installed. properties: Apache. ipaddress=129. 67. 103. 180 sys: /Novonyx/suitespot/https-EDU-USU-NETLAB 3/config/magnus. conf: Address 129. 67. 103. 180 sys: /Novonyx/suitespot/https-EDU-USU-NETLAB 3/config/obj. conf: Name. Trans fn="document-root" address="129. 67. 103. 180" port="443" root="/novonyx/suitespot/docs" secure="1" ssl 2="0" ssl 3="0" secure_auth="0" sys: /NSearch/sitelist. properties: netlab 3. oucs. ox. ac. uk=SYS: /NSearch/sites/default@Alias: 129. 67. 103. 1 80 Changing IP numbers on Net. Ware
Hand edit items • • • Edit sys: apacheconfadminserv. conf Edit sys: apachei. FolderServerhttpd. conf Inetcfg, Bindings, TCP, change IP number Check files hosts, hostname, gateways in sys: etc. Also check NFS setup. Edit sys: /ni/update/data/Port. Resolver. Installed. properties Via web, change Novonyx web server (see next slides) Restart server Run pkidiag. nlm to regenerate certificates Restart server Changing IP numbers on Net. Ware
Novonyx web server • Change Novonyx web server via its own management interface (sensitive to manually editing files) • Get to interface via normal port 80 • Post reboot fix up may be needed for doc root Changing IP numbers on Net. Ware
Novonyx web server Changing IP numbers on Net. Ware
Novoynx doc root fixup Changing IP numbers on Net. Ware
Apply Novonyx changes to files Changing IP numbers on Net. Ware
Postscript • i. Folder and i. Print clients may have old IP number (vs name), redo clients to match • Port 80 opening web page uses IP name URLs • Name servers point to old IP number, thus i. Manager etc will not start via IP name • Use https: //ipnumber: 2200/ to access administrative web interfaces by number • Grep does not scan NDS, beware Changing IP numbers on Net. Ware
Net. Ware 6. 5 series Changing IP numbers on Net. Ware
NW 6. 5, all but exte. Nd, original Changing IP numbers on Net. Ware
Grep on old IP subnet (129. 65. 103) sys: /adminsrv/conf/adminserv. conf: Listen 129. 67. 103. 180: 2211 sys: /adminsrv/conf/adminserv. conf: Secure. Listen 129. 67. 103. 180: 2200 "SSL Certificate. DNS" sys: /adminsrv/conf/adminserv. conf: # Listen 129. 67. 103. 180: 2200 sys: /adminsrv/conf/adminserv. conf: <Virtual. Host 129. 67. 103. 180: 2200> sys: /ETC/certserv/Pkis. Inst. log: ip_address = 129. 67. 103. 180 sys: /ETC/CONSOLE. LOG: Bound to board 1 with IP address 129. 67. 103. 180 and mask FF. FC. 00. sys: /ETC/CONSOLE. LOG: SLPTCP bound to 129. 67. 103. 180 sys: /ETC/CONSOLE. LOG: DNS resolving name for 129. 67. 103. 180 --> netlab 3. oucs. ox. ac. uk sys: /ETC/GATEWAYS: Net 0 Gateway 129. 67. 103. 254 Metric 1 Passive sys: /ETC/HOSTNAME: 129. 67. 103. 180 netlab 3. oucs. ox. ac. uk sys: /ETC/hosts: 129. 67. 103. 180 netlab 3. oucs. ox. ac. uk EDU-USU-NETLAB 3 sys: /ETC/hosts. org: 129. 67. 103. 180 EDU-USU-NETLAB 3 sys: /ETC/NETINFO. CFG: BIND IP CE 100 B_1_EII ARP=Yes Mask=255. 252. 0 Address=129. 67. 103. 180 sys: /ETC/NETINFO. CFG: #129. 67. 103. 180 sys: /ETC/TCPIP. CFG: Address 129. 67. 103. 180 Binary file sys: /NI/DATA/NI. LOG matches Changing IP numbers on Net. Ware
Old subnet findings, cont’d sys: /NI/DATA/protdb. txt: Bind. IP card 0 CE 100 B_1_EII address 129. 67. 103. 180 returned 0 sys: /NI/DATA/protdb. txt: NWIProtocols. configure. Hosts: wrote to hosts (insert. Line): 129. 67. 103. 180 EDU-USU-NETLAB 3 sys: /NI/DATA/protdb. txt: NWIProtocols. configure. Hosts: full. Host. Name: netlab 3. oucs. ox. ac. uk ip. Address: 129. 67. 103. 180 sys: /NI/DATA/protdb. txt: NWIProtocols. save. Settings. To. Response. File: Primary IP: 129. 67. 103. 180 card num: 0 sys: /NI/DATA/protdb. txt: NWIProtocols. save. Settings. To. Response. File: adding IP: 129. 67. 103. 180 card num: 0 sys: /NI/DATA/protdb. txt: NWIProtocols. sstrf bind ip 129. 67. 103. 180 to CE 100 B_1_EII sys: /NI/DATA/response. rsp: IP Address 1=129. 67. 103. 180 sys: /NI/DATA/response. rsp: Gateway 1=129. 67. 103. 254 sys: /NI/DATA/response. rsp: IP Address 1=129. 67. 103. 180 sys: /NI/nis 30/bin/pkiinst. txt: ip_address = 129. 67. 103. 180 sys: /NSearch/Site. List. properties: netlab 3. oucs. ox. ac. uk=SYS: /NSearch/sites/default@Alias: 129. 67. 103. 180 sys: /SYSTEM/autoexec. 000: BIND IP CE 100 B_1_EII addr=129. 67. 103. 180 mask=255. 252. 0 gate=129. 67. 103. 254 sys: /SYSTEM/ipconf/Apache. Admin/App. Conf. xml: <IPaddress>129. 67. 103. 180</IPaddress> sys: /SYSTEM/ipconf/httpstk/App. Conf. xml: <Context. Information>129. 67. 103. 180: 81</Context. Information> sys: /SYSTEM/ipconf/httpstk/App. Conf. xml: <IPaddress>129. 67. 103. 180</IPaddress> sys: /SYSTEM/ipconf/httpstk/App. Conf. xml: <Context. Information>129. 67. 103. 180: 8008</Context. Information> sys: /SYSTEM/ipconf/httpstk/App. Conf. xml: <IPaddress>129. 67. 103. 180</IPaddress> sys: /SYSTEM/ipconf/httpstk/App. Conf. xml: <Context. Information>129. 67. 103. 180: 8009</Context. Information> sys: /SYSTEM/ipconf/httpstk/App. Conf. xml: <IPaddress>129. 67. 103. 180</IPaddress> sys: /SYSTEM/ipconf/imanager/App. Conf. xml: <IPaddress>129. 67. 103. 180</IPaddress> sys: /SYSTEM/ipconf/nfau/Nfau. IPM. cfg: NFAU_IPMGMT_ADDR=129. 67. 103. 180 sys: /SYSTEM/ipconf/Web. Search/appconf. xml: <Context. Information>129. 67. 103. 180</Context. Information> sys: /SYSTEM/ipconf/Web. Search/appconf. xml: <IPaddress>129. 67. 103. 180</IPaddress> Binary file sys: /SYSTEM/SERVCFG. BAK matches Changing IP numbers on Net. Ware
Old subnet findings, cont’d sys: /tomcat/4/webapps/e. Guide/help/en/install/gettingstarted. html: <p>To launch e. Guide, go to <a href="http: //129. 67. 103. 180/e. Guide/admin/index. html" target="_blank">http: //129. 67. 103. 180/e. Guide/admin/index. html</a> sys: /tomcat/4/webapps/e. Guide/WEB-INF/properties/directories. properties: Book. Server. Key=129. 67. 103. 180 sys: /tomcat/4/webapps/e. Guide/WEB-INF/properties/New_Data_Source_DIR_SCHEME. xml: <Host>129. 67. 103. 180</Host> sys: /tomcat/4/webapps/nps/WEB-INF/Portal. Servlet. properties: System. Directory. Address=129. 67. 103. 180: 636 sys: /tomcat/4/webapps/nps/WEB-INF/Portal. Servlet. properties: Custom_Backend_Renderer_Portal_Location=http: //129. 67. 103. 180: 80/nps Changing IP numbers on Net. Ware
Change IP via Remote Manager New Changing IP numbers on Net. Ware
After forcing new IP number Changing IP numbers on Net. Ware
Waiting, then fixing red apps Changing IP numbers on Net. Ware
After NRM manual changes Click Restart Server. Reattach soon via new IP number (not IP name) Changing IP numbers on Net. Ware
After reboot, grep on old IP number sys: /ETC/certserv/Pkis. Inst. log: ip_address = 129. 67. 103. 180 Binary file sys: /NI/DATA/NI. LOG matches sys: /NI/DATA/protdb. txt: Bind. IP card 0 CE 100 B_1_EII address 129. 67. 103. 180 returned 0 sys: /NI/DATA/protdb. txt: NWIProtocols. configure. Hosts: wrote to hosts (insert. Line): 129. 67. 103. 180 EDU-USUNETLAB 3 sys: /NI/DATA/protdb. txt: NWIProtocols. configure. Hosts: full. Host. Name: netlab 3. oucs. ox. ac. uk ip. Address: 129. 67. 103. 180 sys: /NI/DATA/protdb. txt: NWIProtocols. save. Settings. To. Response. File: Primary IP: 129. 67. 103. 180 card num: 0 sys: /NI/DATA/protdb. txt: NWIProtocols. save. Settings. To. Response. File: adding IP: 129. 67. 103. 180 card num: 0 sys: /NI/DATA/protdb. txt: NWIProtocols. sstrf bind ip 129. 67. 103. 180 to CE 100 B_1_EII sys: /NI/DATA/response. rsp: IP Address 1=129. 67. 103. 180 sys: /NI/nis 30/bin/pkiinst. txt: ip_address = 129. 67. 103. 180 (This is just a log file, not active config) sys: /SYSTEM/AUTOEXEC. NCF: #BIND IP CE 100 B_1_EII addr=129. 67. 103. 180 mask=255. 252. 0 gate=129. 67. 103. 254 sys: /tomcat/4/webapps/e. Guide/help/en/install/gettingstarted. html: <p>To launch e. Guide, go to <a href="http: //129. 67. 103. 180/e. Guide/admin/index. html" target="_blank">http: //129. 67. 103. 180/e. Guide/admin/index. html</a> sys: /tomcat/4/webapps/e. Guide/WEB-INF/properties/directories. properties: Book. Server. Key=129. 67. 103. 180 sys: /tomcat/4/webapps/e. Guide/WEBINF/properties/New_Data_Source_DIR_SCHEME. xml: <Host>129. 67. 103. 180</Host> Manually edit Tomcat files. Also run PKIDIAG Changing IP numbers on Net. Ware
NW 6. 5, the end • After hand editing and Restart Server: NRM and i. Manager work fine Web pages work No certificate complaints (thus far), but watch for Tomcat troubles later (use tckeygen. ncf and tce. Dir. Int. ncf in sys: system) • Do run PKIDIAG to cleanse certificates • I think we are done Changing IP numbers on Net. Ware
80204ad9b0e4b611d8b9b525b3d23417.ppt