<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>老管网络日志 &#124; funpower blog &#187; 计算机\网络</title>
	<atom:link href="http://guanjianfeng.com/archives/category/%e8%ae%a1%e7%ae%97%e6%9c%ba%e7%bd%91%e7%bb%9c/feed" rel="self" type="application/rss+xml" />
	<link>http://guanjianfeng.com</link>
	<description>中国还不是一个善于书写的国度，而Blog的出现 ... ...</description>
	<lastBuildDate>Sun, 05 Sep 2010 03:23:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>ospf邻居状态在Exstart与Exchange来回切换</title>
		<link>http://guanjianfeng.com/archives/1444</link>
		<comments>http://guanjianfeng.com/archives/1444#comments</comments>
		<pubDate>Sun, 05 Sep 2010 03:23:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[计算机\网络]]></category>
		<category><![CDATA[随写]]></category>
		<category><![CDATA[ospf]]></category>
		<category><![CDATA[网络]]></category>

		<guid isPermaLink="false">http://guanjianfeng.com/?p=1444</guid>
		<description><![CDATA[路由器不断显示如下信息： 00:33:10: %OSPF-5-ADJCHG: Process 100, Nbr 88.10.10.254 on FastEthernet1/1 from EXCHANGE to FULL, Exchange Done 00:33:11: %OSPF-5-ADJCHG: Process 100, Nbr 88.10.10.254 on FastEthernet1/1 from EXCHANGE to FULL, Exchange Done 00:33:11: %OSPF-5-ADJCHG: Process 100, Nbr 88.10.10.254 on FastEthernet1/1 from EXCHANGE to FULL, Exchange Done 00:33:12: %OSPF-5-ADJCHG: Process 100, Nbr 88.10.10.254 on FastEthernet1/1 from EXCHANGE to FULL, [...]]]></description>
			<content:encoded><![CDATA[<p>路由器不断显示如下信息：</p>
<blockquote><p>00:33:10: %OSPF-5-ADJCHG: Process 100, Nbr 88.10.10.254 on FastEthernet1/1 from EXCHANGE to FULL, Exchange Done<br />
00:33:11: %OSPF-5-ADJCHG: Process 100, Nbr 88.10.10.254 on FastEthernet1/1 from EXCHANGE to FULL, Exchange Done<br />
00:33:11: %OSPF-5-ADJCHG: Process 100, Nbr 88.10.10.254 on FastEthernet1/1 from EXCHANGE to FULL, Exchange Done<br />
00:33:12: %OSPF-5-ADJCHG: Process 100, Nbr 88.10.10.254 on FastEthernet1/1 from EXCHANGE to FULL, Exchange Done<br />
00:33:12: %OSPF-5-ADJCHG: Process 100, Nbr 88.10.10.254 on FastEthernet1/1 from EXCHANGE to FULL, Exchange Done<br />
00:33:12: %OSPF-5-ADJCHG: Process 100, Nbr 88.10.10.254 on FastEthernet1/1 from EXCHANGE to FULL, Exchange Done</p></blockquote>
<p>查看邻居状态：</p>
<blockquote><p>cisco-master#sh ip ospf neighbor<br />
Neighbor ID     Pri   State            Dead Time   Address         Interface<br />
10.88.90.254      1   FULL/DR          00:00:30    10.88.90.254    FastEthernet0/0<br />
10.88.90.112      1   <span style="color: #ff0000;">Exstart</span>/DROTHER  00:00:30    10.88.90.112    FastEthernet0/0<br />
26.10.10.254      1   FULL/DR          00:00:30    172.0.0.1       FastEthernet0/1<br />
69.10.10.254      1   FULL/DR          00:00:30    172.1.0.1       FastEthernet1/0<br />
88.10.10.254      1   FULL/DR          00:00:33    172.2.0.1       FastEthernet1/1</p>
<p>cisco-master#sh ip ospf neighbor<br />
Neighbor ID     Pri   State             Dead Time   Address         Interface<br />
10.88.90.254      1   FULL/DR           00:00:30    10.88.90.254    FastEthernet0/0<br />
10.88.90.112      1   <span style="color: #ff0000;">Exchange</span>/DROTHER  00:00:30    10.88.90.112    FastEthernet0/0<br />
26.10.10.254      1   FULL/DR           00:00:30    172.0.0.1       FastEthernet0/1<br />
69.10.10.254      1   FULL/DR           00:00:30    172.1.0.1       FastEthernet1/0<br />
88.10.10.254      1   FULL/DR           00:00:33    172.2.0.1       FastEthernet1/1</p></blockquote>
<p>邻居状态在Exstart与Exchange中来回切换。</p>
<p>参考<a href="http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080093f0d.shtml">此文</a>解决：</p>
<p>由于两路由器间的MTU不匹配引起的，调整相应接品的MTU或者设置为忽略检测MTU，该设置不支持交换口。</p>
<p>在接口上启用如下命令来忽略MTU的检测：</p>
<blockquote><p>cisco-master#configure terminal<br />
Enter configuration commands, one per line.  End with CNTL/Z.<br />
cisco-master(config)#interface fastEthernet 0/0<br />
cisco-master(config-if)#ip ospf mtu-ignore</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://guanjianfeng.com/archives/1444/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cicso Catalyst 3750-E交换机enable密码忘记后的恢复</title>
		<link>http://guanjianfeng.com/archives/1236</link>
		<comments>http://guanjianfeng.com/archives/1236#comments</comments>
		<pubDate>Fri, 26 Mar 2010 16:03:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[计算机\网络]]></category>
		<category><![CDATA[随写]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[enable]]></category>
		<category><![CDATA[password]]></category>

		<guid isPermaLink="false">http://guanjianfeng.com/?p=1236</guid>
		<description><![CDATA[一台Cicso Catalyst 3750-E交换机忘记enable密码后无法进入调试，只能想办法将密码去除，但需保留原来交换机的配置。 步骤如下： 1、将交换机console口与电脑相连，再按住交换机面板前的“mode”键，然后重启交换机，直到面板的&#8221;STAT&#8221;灯亮，放手。如下图。 2、此时会出现如下菜单，依次输入flash_init，load_helper，然后重命名配置文件名称，最后输入boot重启交换机，操作如下： The system has been interrupted prior to initializing the flash filesystem.  The following commands will initialize the flash filesystem, and finish loading the operating system software:     flash_init     load_helper     boot switch: flash_init Initializing Flash&#8230; flashfs[0]: 4 files, 1 directories flashfs[0]: 0 orphaned files, 0 orphaned directories flashfs[0]: [...]]]></description>
			<content:encoded><![CDATA[<p>一台<a href="http://scc.cisco.com/web/CN/products/products_netsol/switches/products/ca3750_e/index.html">Cicso Catalyst 3750-E</a>交换机忘记enable密码后无法进入调试，只能想办法将密码去除，但需保留原来交换机的配置。</p>
<p><img class="alignnone size-full wp-image-1237" title="cisco375011" src="http://guanjianfeng.com/wp-content/uploads/2010/03/cisco375011.jpg" alt="" width="450" height="58" /></p>
<p>步骤如下：</p>
<p>1、将交换机console口与电脑相连，再按住交换机面板前的“mode”键，然后重启交换机，直到面板的&#8221;STAT&#8221;灯亮，放手。如下图。</p>
<p><img class="alignnone size-full wp-image-1239" title="ciscostatlight2" src="http://guanjianfeng.com/wp-content/uploads/2010/03/ciscostatlight2.jpg" alt="" width="450" height="178" /></p>
<p>2、此时会出现如下菜单，依次输入flash_init，load_helper，然后重命名配置文件名称，最后输入boot重启交换机，操作如下：</p>
<p>The system has been interrupted prior to initializing the<br />
flash filesystem.  The following commands will initialize<br />
the flash filesystem, and finish loading the operating<br />
system software:</p>
<p>    flash_init<br />
    load_helper<br />
    boot</p>
<p>switch:<strong> flash_init<br />
</strong>Initializing Flash&#8230;<br />
flashfs[0]: 4 files, 1 directories<br />
flashfs[0]: 0 orphaned files, 0 orphaned directories<br />
flashfs[0]: Total bytes: 15998976<br />
flashfs[0]: Bytes used: 8282624<br />
flashfs[0]: Bytes available: 7716352<br />
flashfs[0]: flashfs fsck took 11 seconds.<br />
&#8230;done Initializing Flash.<br />
Boot Sector Filesystem (bs) installed, fsid: 3<br />
Setting console baud rate to 9600&#8230;</p>
<p>switch:<strong> load_helper</strong></p>
<p>switch: <strong>dir flash:<br />
</strong>Directory of flash:/</p>
<p>2    -rwx  8276561  &lt;date&gt;  c3750-ipservices-mz.122-37.SE.bin<br />
3    -rwx  616       &lt;date&gt;     vlan.dat<br />
4    -rwx  5         &lt;date&gt;       private-config.text<br />
6    -rwx  3027      &lt;date&gt;     config.text</p>
<p>7716352 bytes available (8282624 bytes used)</p>
<p>switch: <strong>rename flash:config.text flash:config.text.old</strong><br />
switch: <strong>boot<br />
</strong>Loading &#8220;flash:/c3750-ipservices-mz.122-37.SE.bin&#8221;&#8230;@@@@</p>
<p>3、重启后进入系统进行如下操作</p>
<p>Would you like to enter the initial configuration dialog? [yes/no]: no  <span style="color: #888888;"> //选择no<br />
</span> <br />
Would you like to terminate autoinstall? [yes]:     <span style="color: #888888;">//选择yes</span></p>
<p>还原配置文件名称，并复制配置文件至running中<br />
Switch&gt;<strong>en</strong><br />
Switch#<strong>rename flash:config.text.old flash:config.text<br />
</strong>Switch#<strong>copy flash:config.text system:running-config</strong></p>
<p>进入配置模式，去除enable密码，并保存至start-config中<br />
c3750#<strong>configure terminal</strong><br />
c3750(config)#<strong>no enable password</strong><br />
c3750(config)#<strong>exit<br />
</strong>c3750#<strong>wr memory</strong><br />
00:04:04: %SYS-5-CONFIG_I: Configured from console by console<br />
Building configuration&#8230;<br />
[OK]</p>
<p>这样，交换机的enable密码就去除完成了。</p>
]]></content:encoded>
			<wfw:commentRss>http://guanjianfeng.com/archives/1236/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>天融信防火墙NGFW4000-UF防火墙启用PPTP笔记</title>
		<link>http://guanjianfeng.com/archives/1220</link>
		<comments>http://guanjianfeng.com/archives/1220#comments</comments>
		<pubDate>Wed, 24 Mar 2010 13:23:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[服务器维护]]></category>
		<category><![CDATA[计算机\网络]]></category>
		<category><![CDATA[随写]]></category>
		<category><![CDATA[pptp]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[天融信]]></category>

		<guid isPermaLink="false">http://guanjianfeng.com/?p=1220</guid>
		<description><![CDATA[by funpower，2010年3月24日20：33，funpower#gmail.com，转载请注明出处。水平有限，文中难免有错误，望指正。 之前在软路由RouterOS上启用过PPTP，这次是在天融信防火墙上启用PPTP服务，使外网用户可以拨入企业的内网网络来访问相关资料。 网络说明： 1、防火墙外网口IP：218.50.80.xxx/248，内网口IP：192.168.2.253/24 2、连接企业内网服务器资源网络：192.168.2.0/04 3、内网服务器网络IP：192.168.28.0/24 4、远端用户端入后的IP地址范围：192.168.2.50-192.168.2.60 5、本例中建立一个pptp用户：用户名pptpuser，密码000000 配置步骤： 1、启用PPTP服务 默认防火墙是关闭PPTP服务的，所以需要先开启。通过https://192.168.2.253登陆防火墙后，点击左边菜单栏的“系统管理”-&#62;“配置”-&#62;“开放服务”，点击“添加”按扭，服务名称选择“PPTP”，控制区域选择防火墙的外网口，这里为“area_eth11”，控制地址选择“ANY”，即为任何人都可以连接，设置完后点击“确定”。 2、设置PPTP服务 左边菜单栏选择“虚拟专网”-&#62;“PPTP”，对右边栏进行设置，PPTP端口一般默认，使用1723，本地地址使用规划好的分配IP范围中的一个，这里使用192.168.2.50，剩下的都作为外网用户拨入后的地址，如下图。 另外，在“防火墙”-&#62;“访问控制”栏中，确保没有将1723端口阻止的规则。 这样，PPTP基本的设置就完成了。下来就可以新建网络链接来测试PPTP。连接成功后，就获取到了192.168.2段的地址。在防火墙上也可以看到连接过来的链接，如下图。 命令行操作： pf service add name pptp area area_eth11 addressname any network pptp set ip-pool local 192.168.2.50 min_ip 192.168.2.51 max_ip 192.168.2.60 network pptp start]]></description>
			<content:encoded><![CDATA[<p><span style="color: #888888;">by funpower，2010年3月24日20：33，funpower#gmail.com，转载请注明出处。水平有限，文中难免有错误，望指正。</span></p>
<p><a href="http://guanjianfeng.com/archives/752">之前在软路由RouterOS上启用过PPTP</a>，这次是在<a href="http://guanjianfeng.com/archives/943">天融信防火墙</a>上启用PPTP服务，使外网用户可以拨入企业的内网网络来访问相关资料。</p>
<p><strong>网络说明：</strong><br />
1、防火墙外网口IP：218.50.80.xxx/248，内网口IP：192.168.2.253/24<br />
2、连接企业内网服务器资源网络：192.168.2.0/04<br />
3、内网服务器网络IP：192.168.28.0/24<br />
4、远端用户端入后的IP地址范围：192.168.2.50-192.168.2.60<br />
5、本例中建立一个pptp用户：用户名pptpuser，密码000000</p>
<p><img class="alignnone size-full wp-image-1222" title="topsecpptp1" src="http://guanjianfeng.com/wp-content/uploads/2010/03/topsecpptp11.gif" alt="" width="398" height="366" /></p>
<p>配置步骤：</p>
<p><strong>1、启用PPTP服务</strong><br />
默认防火墙是关闭PPTP服务的，所以需要先开启。通过<a href="https://192.168.2.253">https://192.168.2.253</a>登陆防火墙后，点击左边菜单栏的“系统管理”-&gt;“配置”-&gt;“开放服务”，点击“添加”按扭，服务名称选择“PPTP”，控制区域选择防火墙的外网口，这里为“area_eth11”，控制地址选择“ANY”，即为任何人都可以连接，设置完后点击“确定”。</p>
<p><span style="color: #888888;"><img class="alignnone size-full wp-image-1223" title="topsecpptp2" src="http://guanjianfeng.com/wp-content/uploads/2010/03/topsecpptp2.gif" alt="" width="585" height="396" /></span></p>
<p><span style="color: #888888;"><img class="alignnone size-full wp-image-1224" title="topsecpptp3" src="http://guanjianfeng.com/wp-content/uploads/2010/03/topsecpptp3.gif" alt="" width="390" height="202" /></span></p>
<p><span style="color: #000000;"><strong>2、设置PPTP服务</strong><br />
左边菜单栏选择“虚拟专网”-&gt;“PPTP”，对右边栏进行设置，PPTP端口一般默认，使用1723，本地地址使用规划好的分配IP范围中的一个，这里使用192.168.2.50，剩下的都作为外网用户拨入后的地址，如下图。</span></p>
<p><span style="color: #000000;"><img class="alignnone size-full wp-image-1226" title="topsecpptp4" src="http://guanjianfeng.com/wp-content/uploads/2010/03/topsecpptp41.gif" alt="" width="436" height="267" /></span></p>
<p><span style="color: #000000;">另外，在“防火墙”-&gt;“访问控制”栏中，确保没有将1723端口阻止的规则。</span></p>
<p><span style="color: #000000;">这样，PPTP基本的设置就完成了。下来就可以<a href="http://guanjianfeng.com/archives/752">新建网络链接</a>来测试PPTP。连接成功后，就获取到了192.168.2段的地址。在防火墙上也可以看到连接过来的链接，如下图。</span></p>
<p><span style="color: #000000;"><img class="alignnone size-full wp-image-1227" title="topsecpptp5" src="http://guanjianfeng.com/wp-content/uploads/2010/03/topsecpptp5.gif" alt="" width="555" height="162" /></span></p>
<p><span style="color: #000000;"><img class="alignnone size-full wp-image-1232" title="topsecpptp7" src="http://guanjianfeng.com/wp-content/uploads/2010/03/topsecpptp7.gif" alt="" width="464" height="291" /></span></p>
<p><span style="color: #000000;">命令行操作：</span></p>
<p><span style="color: #000000;">pf service add name pptp area area_eth11 addressname any<br />
network pptp set ip-pool local 192.168.2.50 min_ip 192.168.2.51 max_ip 192.168.2.60<br />
network pptp start</span></p>
]]></content:encoded>
			<wfw:commentRss>http://guanjianfeng.com/archives/1220/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CISCO 4507R根据IP地址查找端口，并使用4/46口来镜像此端口</title>
		<link>http://guanjianfeng.com/archives/1206</link>
		<comments>http://guanjianfeng.com/archives/1206#comments</comments>
		<pubDate>Wed, 17 Mar 2010 08:41:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[服务器维护]]></category>
		<category><![CDATA[计算机\网络]]></category>
		<category><![CDATA[随写]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[镜像口]]></category>

		<guid isPermaLink="false">http://guanjianfeng.com/?p=1206</guid>
		<description><![CDATA[首先找出10.0.0.9的IP地址所在的端口，然后制作10.0.0.9服务器的镜像口-&#62;fastethernet4/46，使之可以查看10.0.0.9上的具体数据包信息。 操作步骤： 1、找出10.0.0.9的MAC地址 Switch#ping 10.0.0.9 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.0.9, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms Switch#sh arp &#124; in 10.0.0.9 Internet  10.0.0.9                4   0014.5e19.8345  ARPA   Vlan1 Internet  10.0.0.92               0   0019.bbdc.1d1f  ARPA   Vlan1 Internet  10.0.0.93               0   001e.4f98.0934  ARPA   [...]]]></description>
			<content:encoded><![CDATA[<p>首先找出10.0.0.9的IP地址所在的端口，然后制作10.0.0.9服务器的镜像口-&gt;fastethernet4/46，使之可以查看10.0.0.9上的具体数据包信息。</p>
<p>操作步骤：</p>
<p><strong>1、找出10.0.0.9的MAC地址</strong></p>
<p>Switch#<strong>ping 10.0.0.9</strong></p>
<p>Type escape sequence to abort.<br />
Sending 5, 100-byte ICMP Echos to 10.0.0.9, timeout is 2 seconds:<br />
!!!!!<br />
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms<br />
Switch#<strong>sh arp | in 10.0.0.9<br />
Internet  10.0.0.9                4   0014.5e19.8345  ARPA   Vlan1<br />
</strong>Internet  10.0.0.92               0   0019.bbdc.1d1f  ARPA   Vlan1<br />
Internet  10.0.0.93               0   001e.4f98.0934  ARPA   Vlan1</p>
<p><img class="alignnone size-full wp-image-1208" title="ciscomac2" src="http://guanjianfeng.com/wp-content/uploads/2010/03/ciscomac2.gif" alt="" width="551" height="189" /></p>
<p><strong>2、查看MAC地址0014.5e19.8345的相应端口，显示为在fast4/23端口上</strong></p>
<p>Switch#<strong>show mac-address-table address 0014.5e19.8345<br />
</strong>Unicast Entries<br />
 vlan   mac address     type        protocols               port<br />
&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
   1    0014.5e19.8345   dynamic ip                     <strong>FastEthernet4/23</strong></p>
<p><img class="alignnone size-full wp-image-1209" title="ciscomac3" src="http://guanjianfeng.com/wp-content/uploads/2010/03/ciscomac3.gif" alt="" width="599" height="95" /></p>
<p><strong>3、制作fast4/23的镜像端口-&gt;fast4/46</strong></p>
<p>Switch(config)#<strong>monitor session 1 source interface fastEthernet 4/23</strong><br />
Switch(config)#<strong>monitor session 1 destination interface fastEthernet 5/46</strong></p>
<p><img class="alignnone size-full wp-image-1211" title="ciscomac5" src="http://guanjianfeng.com/wp-content/uploads/2010/03/ciscomac5.gif" alt="" width="377" height="32" /></p>
<p>这样，就完成了从查找端口到制作镜像口的操作。</p>
]]></content:encoded>
			<wfw:commentRss>http://guanjianfeng.com/archives/1206/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>利用NBU6.5备份AIX5.3下的ORACLE 10G数据库</title>
		<link>http://guanjianfeng.com/archives/1186</link>
		<comments>http://guanjianfeng.com/archives/1186#comments</comments>
		<pubDate>Wed, 17 Mar 2010 05:41:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[服务器维护]]></category>
		<category><![CDATA[计算机\网络]]></category>
		<category><![CDATA[随写]]></category>
		<category><![CDATA[netbackup]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[昆腾]]></category>
		<category><![CDATA[虚拟带库]]></category>

		<guid isPermaLink="false">http://guanjianfeng.com/?p=1186</guid>
		<description><![CDATA[声明：此文档仅作参考，如出现任何问题，文档编写者不承担任何责任！水平有限，文中定有错误之处，见谅！编写：老管，email：funpower#gmail.com NBU服务器端由一台IBM 226服务器及一台昆腾虚拟带库组成，需备份的客户端为安装AIX5.3的IBM小机，备份的对象为ORACLE 10G数据库。 整个备份的拓扑图如下： 环境说明： 1、NBU备份主服务器与昆腾虚拟带库已配置完成 2、次只为增加的一台Oracle数据库服务器安装NBU客户端相关软件并调试，然后在NBU备份主服务器上添加此客户端并建立备份策略等相关调试 3、IP地址（化名）： NBU备份主服务器：10.31.111.111 Oracle数据库服务器：10.31.111.100 操作步骤： 1、配置Oracle数据库服务器的hosts文件 #cd /etc #vi hosts 添加一行： 10.31.111.111 nbuserver 保存退出。 2、安装NBU clients软件 通过FTP将NBU客户端软件上传至小机的TMP目录下，然后运行： #cd /tmp #chmod –R 777 unixclients #cd unixclients #./install Symantec Installation Script Copyright 1993 &#8211; 2007 Symantec Corporation, All Rights Reserved.         Installing NetBackup Client Software  NOTE:  To install NetBackup Server [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #808080;">声明：此文档仅作参考，如出现任何问题，文档编写者不承担任何责任！水平有限，文中定有错误之处，见谅！编写：老管，email：funpower#gmail.com</span></p>
<p><a href="http://www.symantec.com/zh/cn/business/netbackup">NBU</a>服务器端由一台IBM 226服务器及一台昆腾虚拟带库组成，需备份的客户端为安装AIX5.3的IBM小机，备份的对象为<a href="http://www.oracle.com/">ORACLE</a> 10G数据库。</p>
<p>整个备份的拓扑图如下：</p>
<p><img class="alignnone size-full wp-image-1187" title="1234" src="http://guanjianfeng.com/wp-content/uploads/2010/03/1234.gif" alt="" width="391" height="341" /></p>
<p><strong>环境说明：<br />
</strong>1、NBU备份主服务器与昆腾虚拟带库已配置完成<br />
2、次只为增加的一台Oracle数据库服务器安装NBU客户端相关软件并调试，然后在NBU备份主服务器上添加此客户端并建立备份策略等相关调试<br />
3、IP地址（化名）：<br />
<em>NBU备份主服务器：10.31.111.111<br />
Oracle数据库服务器：10.31.111.100</em></p>
<p><strong>操作步骤：</strong></p>
<p><strong>1、配置Oracle数据库服务器的hosts文件</strong></p>
<blockquote><p>#cd /etc<br />
#vi hosts</p></blockquote>
<p>添加一行：<br />
<em>10.31.111.111 nbuserver</em><br />
保存退出。</p>
<p><strong>2、安装NBU clients软件<br />
</strong>通过FTP将NBU客户端软件上传至小机的TMP目录下，然后运行：</p>
<blockquote><p>#cd /tmp<br />
#chmod –R 777 unixclients<br />
#cd unixclients<br />
#./install</p></blockquote>
<p>Symantec Installation Script<br />
Copyright 1993 &#8211; 2007 Symantec Corporation, All Rights Reserved.</p>
<p>        Installing NetBackup Client Software</p>
<p> NOTE:  To install NetBackup Server software, insert the appropriate<br />
        NetBackup Server cdrom.</p>
<p>Do you wish to continue? [y,n] (y)  <span style="color: #808080;"> //输入y<br />
</span>Do you want to install the NetBackup client software for this client? [y,n] (y)      <span style="color: #808080;">//输入y<br />
</span>This package will install RS6000/AIX5 client.<br />
This package will install NetBackup client 6.5.<br />
Enter the name of the NetBackup server : nbuserver       <span style="color: #808080;">//输入NBU备份主服务器hostname<br />
</span>Would you like to use &#8220;oracle1&#8243; as the configured<br />
name of the NetBackup client? [y,n] (y)      <span style="color: #808080;"> //输入y，使用原小机的</span>hostsname:oracle1</p>
<p>确认后，就开始安装NBU客户端软件，安装的默认路径为/usr/openv/netbackup。</p>
<p><strong>3、配置和查看bp.conf<br />
</strong><br />
<blockquote>#cd /usr/openv/netbackup<br />
#cat bp.conf</p></blockquote>
<p><em>SERVER = nbuserver<br />
CLIENT_NAME = oracle1</em></p>
<p><strong>4、安装database agent</strong><br />
将database agent安装文件上传至上机的/tmp文件夹中，然后：</p>
<blockquote><p>#cd /tmp<br />
#chmod –R 777 /agents<br />
#./install</p></blockquote>
<p>Symantec Installation Script<br />
Copyright 1993 &#8211; 2007 Symantec Corporation, All Rights Reserved.</p>
<p>        Installation Options</p>
<p>        1 NetBackup Add-On Product Software<br />
        2 NetBackup Database Agent Software</p>
<p>        q To quit from this script<br />
Choose an option [default: q]: 2   <span style="color: #808080;">//选择2，安装database agent</span></p>
<p>**********</p>
<p>There are two ways to install database agent software.</p>
<p>1.  Remote Installation:  Loads the software on a server with<br />
    the intent of pushing database software out to affected clients.</p>
<p>2.  Local Installation:   Loads and installs the software only to this<br />
    local machine.</p>
<p>**********</p>
<p>Do you want to do a local installation? [y,n] (n) y     <span style="color: #808080;">//进行本地安装</span><br />
**********</p>
<p>        NetBackup Database Agent Installation</p>
<p>Choose the Database Agents you wish to install<br />
one at a time or select Install All Database Agents.</p>
<p>        1)  NetBackup for DB2<br />
        2)  NetBackup for Informix<br />
        3)  NetBackup for Lotus Notes<br />
        4)  NetBackup for Oracle<br />
        5)  NetBackup for SAP<br />
        6)  NetBackup for Sybase</p>
<p>        7)  Install All Database Agents</p>
<p>        q)  Done Selecting Agents<br />
        x)  Exit from this Script</p>
<p>Choose an option: 4      <span style="color: #808080;">//选择oracle</span></p>
<p>Choose an option: q       <span style="color: #808080;">//完成选择操作</span></p>
<p>You have chosen to install these Database Agents:<br />
        NetBackup for Oracle<br />
Is this list correct? [y,n] (y)        <span style="color: #808080;">//确定安装oracle agents</span></p>
<p><strong>5、编辑sh备份脚本<br />
</strong>Database agent安装完后，会在/usr/openv/netbackup/ext/db_ext/oracle/samples/rman中有一些例子文件，利用其中的一个，运行：</p>
<blockquote><p>#cd /usr/openv/netbackup/ext/db_ext/oracle/samples/rman<br />
#cp hot_database_backup.sh hot_database_backup.10.31.111.100.sh</p></blockquote>
<p>然后使用vi编辑该sh，只需修改如下参数：<br />
<em>ORACLE_HOME=/oracle/product/10G<br />
export ORACLE_HOME<br />
ORACLE_SID=orcl2<br />
export ORACLE_SID<br />
ORACLE_USER=oracle<br />
TARGET_CONNECT_STR=/</em><br />
完成设置后，保存退出。</p>
<p><strong>6、链接NetBackup for Oracle 和RMAN</strong></p>
<blockquote><p>#su – oracle<br />
#cd /usr/openv/netbackup/bin<br />
#./oracle_link</p></blockquote>
<p>Mon Mar 15 11:29:34 BEIST 2010<br />
All Oracle instances should be shutdown before running this script.</p>
<p>Please log into the Unix system as the Oracle owner for running this script</p>
<p>Do you want to continue? (y/n) [n] y     <span style="color: #808080;">//输入y，开始安装</span></p>
<p>LIBOBK path: /usr/openv/netbackup/bin<br />
ORACLE_HOME: /oracle/product/10G<br />
Oracle version: 10.2.0.3.0<br />
Linking LIBOBK:<br />
ln -s /usr/openv/netbackup/bin/libobk.a64 /oracle/product/10G/lib/libobk.a<br />
Done</p>
<p>Please check the trace file located in /tmp/make_trace.856304<br />
to make sure the linking process was successful.</p>
<p>出现上面文字后，说明动态链接库已链接成功。</p>
<p><strong>7、NBU备份主服务器设置</strong></p>
<p>首先设置主服务器的hosts文件，将IBM小机的hostname:oracle1添加至hosts中，用记事本打开c:\windows\system32\drivers\etc\hosts，添加如下：<br />
<em>10.31.111.100 oracle1</em></p>
<p>打开NBU主界面，开始为10.31.111.100创建一个备份策略</p>
<p>在policies上点右键选择new policy，输入相应策略名称后点击确定<br />
<img class="alignnone size-full wp-image-1188" title="sqnbu1" src="http://guanjianfeng.com/wp-content/uploads/2010/03/sqnbu1.gif" alt="" width="294" height="362" /></p>
<p>设置attributes选项卡，policy类型选择oracle，policy storage unix选择有效的存储单元<br />
<img class="alignnone size-full wp-image-1189" title="sqnbu2" src="http://guanjianfeng.com/wp-content/uploads/2010/03/sqnbu2.gif" alt="" width="514" height="611" /></p>
<p>设置Schedules选项卡，点击选项卡下面的New…按扭，新建一个备份日程，选择automatic full backup，全备，frequency选择每星期一次备份，retention选择保留两个星期<br />
<img class="alignnone size-full wp-image-1190" title="sqnbu3" src="http://guanjianfeng.com/wp-content/uploads/2010/03/sqnbu3.gif" alt="" width="588" height="607" /></p>
<p>备份开始时间为星期日晚上9点开始<br />
<img class="alignnone size-full wp-image-1191" title="sqnbu4" src="http://guanjianfeng.com/wp-content/uploads/2010/03/sqnbu4.gif" alt="" width="599" height="365" /></p>
<p>设置完后，schedules有两个备份策略，全备和增量备份<br />
<img class="alignnone size-full wp-image-1192" title="sqnbu5" src="http://guanjianfeng.com/wp-content/uploads/2010/03/sqnbu5.gif" alt="" width="514" height="289" /></p>
<p>设置clients，输入IBM小机的hostname:oracle1，操作系统选择RS6000/AIX5<br />
<img class="alignnone size-full wp-image-1193" title="sqnbu6" src="http://guanjianfeng.com/wp-content/uploads/2010/03/sqnbu6.gif" alt="" width="512" height="605" /></p>
<p>设置backup selections，将上面新建并编辑好的.sh备份脚本输入至对话框中，点击确定后，完成策略的新建<br />
<img class="alignnone size-full wp-image-1194" title="sqnbu7" src="http://guanjianfeng.com/wp-content/uploads/2010/03/sqnbu7.gif" alt="" width="516" height="613" /></p>
<p>开始测试备份，在新建的policies的10.31.111.100上点右键选择Manual Backup…，手动启动备份<br />
<img class="alignnone size-full wp-image-1195" title="sqnbu8" src="http://guanjianfeng.com/wp-content/uploads/2010/03/sqnbu8.gif" alt="" width="285" height="354" /> </p>
<p><img class="alignnone size-full wp-image-1197" title="sqnbu9" src="http://guanjianfeng.com/wp-content/uploads/2010/03/sqnbu91.gif" alt="" width="373" height="275" /></p>
<p>转至Activity Monitor，查看备份情况<br />
<img class="alignnone size-full wp-image-1198" title="sqnbu10" src="http://guanjianfeng.com/wp-content/uploads/2010/03/sqnbu10.gif" alt="" width="581" height="350" /></p>
<p>至此，IBM小机上的ORACLE已经可以定期的备份至昆腾虚拟磁带库中。</p>
]]></content:encoded>
			<wfw:commentRss>http://guanjianfeng.com/archives/1186/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>第三方远程桌面控制软件—WinVNC</title>
		<link>http://guanjianfeng.com/archives/1178</link>
		<comments>http://guanjianfeng.com/archives/1178#comments</comments>
		<pubDate>Wed, 10 Mar 2010 14:35:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[服务器维护]]></category>
		<category><![CDATA[计算机\网络]]></category>
		<category><![CDATA[随写]]></category>
		<category><![CDATA[VNC]]></category>
		<category><![CDATA[WINVNC]]></category>

		<guid isPermaLink="false">http://guanjianfeng.com/?p=1178</guid>
		<description><![CDATA[WinVNC是一款远程控制软件，文件只有几百K，安装包中包含了Server和Viewer，在需被控的机器上安装Server，在主控的机器上安装Viewer，如下图。 它可以实时的控制电脑，特别是像Windows2000一些操作系统上，安装这个小软件，方便快捷。网上这款软件的相关介绍及设置很多，就不多介绍了。 控制效果图： 软件下载链接(vnc-4.1.2)、备用下载链接(vnc-4.1.2) 相关资源： 官方主页、WinVNC主控端安装过程、WinVNC被控端安装过程、维基百科-VNC]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.realvnc.com">WinVNC</a>是一款远程控制软件，文件只有几百K，安装包中包含了Server和Viewer，在需被控的机器上安装Server，在主控的机器上安装Viewer，如下图。</p>
<p><img class="alignnone size-full wp-image-1179" title="winvnc1" src="http://guanjianfeng.com/wp-content/uploads/2010/03/winvnc1.gif" alt="" width="503" height="392" /></p>
<p>它可以实时的控制电脑，特别是像Windows2000一些操作系统上，安装这个小软件，方便快捷。网上这款软件的相关介绍及设置很多，就不多介绍了。</p>
<p>控制效果图：</p>
<p><a href="http://guanjianfeng.com/wp-content/uploads/2010/03/WINVNC1x1.jpg"><img class="alignnone size-full wp-image-1180" title="WINVNC1x1x" src="http://guanjianfeng.com/wp-content/uploads/2010/03/WINVNC1x1x.jpg" alt="" width="500" height="318" /></a></p>
<p><a href="http://www.brsbox.com/filebox/down/fc/5ae8222371669ac67608aed905ff5179">软件下载链接</a>(vnc-4.1.2)、<a href="http://www.uushare.com/user/funpower/file/2707028">备用下载链接</a>(vnc-4.1.2)</p>
<p>相关资源：</p>
<p><a href="http://www.realvnc.com/products/free/4.1/index.html">官方主页</a>、<a href="http://www.ccproxy.com/vncviewer.html">WinVNC主控端安装过程</a>、<a href="http://www.ccproxy.com/vnc.html">WinVNC被控端安装过程</a>、<a href="http://zh.wikipedia.org/wiki/VNC">维基百科-VNC</a></p>
]]></content:encoded>
			<wfw:commentRss>http://guanjianfeng.com/archives/1178/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ED-IN 5540S存储简单配置过程</title>
		<link>http://guanjianfeng.com/archives/1162</link>
		<comments>http://guanjianfeng.com/archives/1162#comments</comments>
		<pubDate>Mon, 08 Mar 2010 15:35:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[服务器维护]]></category>
		<category><![CDATA[计算机\网络]]></category>
		<category><![CDATA[随写]]></category>
		<category><![CDATA[ed-in]]></category>
		<category><![CDATA[存储]]></category>

		<guid isPermaLink="false">http://guanjianfeng.com/?p=1162</guid>
		<description><![CDATA[一台ED-IN 5540S的存储，一个2U的机柜，双电源，使用光纤链路配置两个光纤模块，配置两块500G的SATA硬盘做RAID1。 管理方式有两路，一种为通过串口来管理，另一种为接存储背后的LAN口通过WEB方式来管理。通过普通用户只需通过WEB方式管理即可。 ED-IN 5540S出厂设置（用户名:admin、密码:0000）： 1、串口管理连接参数 2、WEB方式 默认管理地址为10.0.0.1/24，使用一根双绞线与管理笔记本连接，配置10.0.0.100/24，在浏览器中打开https://10.0.0.1，输入用户名密码即可登陆。 WEB方式部分截图：]]></description>
			<content:encoded><![CDATA[<p>一台<a href="http://www.ed-in.com.cn">ED-IN </a>5540S的存储，一个2U的机柜，双电源，使用光纤链路配置两个光纤模块，配置两块500G的SATA硬盘做RAID1。</p>
<p>管理方式有两路，一种为通过串口来管理，另一种为接存储背后的LAN口通过WEB方式来管理。通过普通用户只需通过WEB方式管理即可。</p>
<p>ED-IN 5540S出厂设置（用户名:admin、密码:0000）：</p>
<p>1、串口管理连接参数</p>
<p><img class="alignnone size-full wp-image-1163" title="edin5540com" src="http://guanjianfeng.com/wp-content/uploads/2010/03/edin5540com.gif" alt="" width="359" height="383" /></p>
<p>2、WEB方式</p>
<p>默认管理地址为10.0.0.1/24，使用一根双绞线与管理笔记本连接，配置10.0.0.100/24，在浏览器中打开<a href="https://10.0.0.1">https://10.0.0.1</a>，输入用户名密码即可登陆。</p>
<p>WEB方式部分截图：</p>
<p><img class="alignnone size-full wp-image-1165" title="edin5540s2" src="http://guanjianfeng.com/wp-content/uploads/2010/03/edin5540s2.gif" alt="" width="570" height="283" /></p>
<p><img class="alignnone size-full wp-image-1166" title="edin5540s3" src="http://guanjianfeng.com/wp-content/uploads/2010/03/edin5540s3.gif" alt="" width="570" height="352" /></p>
<p><img class="alignnone size-full wp-image-1167" title="edin5540s4" src="http://guanjianfeng.com/wp-content/uploads/2010/03/edin5540s4.gif" alt="" width="570" height="282" /></p>
<p><img class="alignnone size-full wp-image-1168" title="edin5540s5" src="http://guanjianfeng.com/wp-content/uploads/2010/03/edin5540s5.gif" alt="" width="570" height="117" /></p>
<p><img class="alignnone size-full wp-image-1169" title="edin5540s6" src="http://guanjianfeng.com/wp-content/uploads/2010/03/edin5540s6.gif" alt="" width="570" height="178" /></p>
<p><img class="alignnone size-full wp-image-1170" title="edin5540s7" src="http://guanjianfeng.com/wp-content/uploads/2010/03/edin5540s7.gif" alt="" width="570" height="402" /></p>
<p><img class="alignnone size-full wp-image-1172" title="edin5540s9" src="http://guanjianfeng.com/wp-content/uploads/2010/03/edin5540s9.gif" alt="" width="570" height="318" /></p>
<p><img class="alignnone size-full wp-image-1173" title="edin5540s10" src="http://guanjianfeng.com/wp-content/uploads/2010/03/edin5540s10.gif" alt="" width="570" height="374" /></p>
<p><img class="alignnone size-full wp-image-1174" title="edin5540s11" src="http://guanjianfeng.com/wp-content/uploads/2010/03/edin5540s11.gif" alt="" width="570" height="362" /></p>
]]></content:encoded>
			<wfw:commentRss>http://guanjianfeng.com/archives/1162/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IBM DS4300忘记串口密码及管理IP的处理。及介绍一款简单DHCP服务器架设软件-HaneWin.DHCP.Server</title>
		<link>http://guanjianfeng.com/archives/1152</link>
		<comments>http://guanjianfeng.com/archives/1152#comments</comments>
		<pubDate>Sat, 06 Mar 2010 14:55:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[服务器维护]]></category>
		<category><![CDATA[计算机\网络]]></category>
		<category><![CDATA[随写]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[ds4300]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[存储]]></category>

		<guid isPermaLink="false">http://guanjianfeng.com/?p=1152</guid>
		<description><![CDATA[一台IBM DS4300存储，串口密码忘记不能登陆，Storage Manager管理IP也没有，不能进入管理。 查找资料后发现，DS4300的管理IP是先寻找网络中是否有DHCP服务器，如果没有再使用配置的静态IP地址。所有只需临时架设一台DHCP，设置好IP段，让DS4300获取到，就可以知道管理地址了。 这里使用了HaneWin.DHCP.Server这么一款DHCP傻瓜型DHCP服务器架设软件，安装运行后，选择options -&#62; manager profile，在弹出的对话框中选择edit，编辑自动获取IP的网段范围等相关信息，保存后选择file -&#62; service -&#62; activate，如下图。 软件下载、备用下载]]></description>
			<content:encoded><![CDATA[<p>一台<a href="http://www-900.ibm.com/storage/cn/disk/ds4000/ds4300/">IBM DS4300</a>存储，串口密码忘记不能登陆，Storage Manager管理IP也没有，不能进入管理。</p>
<p>查找资料后发现，DS4300的管理IP是先寻找网络中是否有DHCP服务器，如果没有再使用配置的静态IP地址。所有只需临时架设一台DHCP，设置好IP段，让DS4300获取到，就可以知道管理地址了。</p>
<p>这里使用了<a href="http://www.google.cn/search?hl=zh-CN&amp;newwindow=1&amp;q=HaneWin.DHCP.Server&amp;aq=f&amp;oq=">HaneWin.DHCP.Server</a>这么一款DHCP傻瓜型DHCP服务器架设软件，安装运行后，选择options -&gt; manager profile，在弹出的对话框中选择edit，编辑自动获取IP的网段范围等相关信息，保存后选择file -&gt; service -&gt; activate，如下图。</p>
<p><a href="http://www.brsbox.com/filebox/down/fc/cd1cc408ea43f3bfa976cdc2d2b13d87">软件下载</a>、<a href="http://www.uushare.com/user/funpower/files/1894319">备用下载</a></p>
<p><img class="alignnone size-full wp-image-1153" title="dhcpserver01" src="http://guanjianfeng.com/wp-content/uploads/2010/03/dhcpserver01.gif" alt="" width="524" height="323" /></p>
<p><img class="alignnone size-full wp-image-1154" title="dhcpserver02" src="http://guanjianfeng.com/wp-content/uploads/2010/03/dhcpserver02.gif" alt="" width="389" height="431" /></p>
]]></content:encoded>
			<wfw:commentRss>http://guanjianfeng.com/archives/1152/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>aix上添加或删除默认路由</title>
		<link>http://guanjianfeng.com/archives/1139</link>
		<comments>http://guanjianfeng.com/archives/1139#comments</comments>
		<pubDate>Thu, 04 Feb 2010 15:10:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[服务器维护]]></category>
		<category><![CDATA[计算机\网络]]></category>
		<category><![CDATA[随写]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[route]]></category>

		<guid isPermaLink="false">http://guanjianfeng.com/?p=1139</guid>
		<description><![CDATA[在服务器上PING其它网段的地址，发现是丢一个包通一个包，原因是服务器上设置了两个默认网关造成的，如下。 [P550]/ &#62;#netstat -rn Routing tables Destination Gateway Flags Refs Use If Exp Groups Route Tree for Protocol Family 2 (Internet): default 192.0.0.253 UG 0 3858210 en0 &#8211; - default 192.168.1.254 UG 0 23564 en2 &#8211; - 127/8 127.0.0.1 U 14 14363 lo0 &#8211; - 192.0.0.0 192.0.0.15 UHSb 0 0 en0 &#8211; - = &#62; [...]]]></description>
			<content:encoded><![CDATA[<p>在服务器上PING其它网段的地址，发现是丢一个包通一个包，原因是服务器上设置了两个默认网关造成的，如下。</p>
<blockquote><p>[P550]/ &gt;#netstat -rn<br />
Routing tables<br />
Destination Gateway Flags Refs Use If Exp Groups</p>
<p>Route Tree for Protocol Family 2 (Internet):<br />
<span style="color: #ff0000;">default 192.0.0.253 UG 0 3858210 en0 &#8211; -<br />
default 192.168.1.254 UG 0 23564 en2 &#8211; -<br />
</span>127/8 127.0.0.1 U 14 14363 lo0 &#8211; -<br />
192.0.0.0 192.0.0.15 UHSb 0 0 en0 &#8211; - =<br />
&gt;<br />
192.0.0/24 192.0.0.15 U 5 9129174 en0 &#8211; -<br />
192.0.0.15 127.0.0.1 UGHS 2 7 lo0 &#8211; -<br />
192.0.0.255 192.0.0.15 UHSb 0 4 en0 &#8211; -<br />
192.168.1.0 192.168.1.8 UHSb 0 0 en2 &#8211; - =<br />
&gt;<br />
192.168.1/24 192.168.1.8 U 0 4 en2 &#8211; -<br />
192.168.1.8 127.0.0.1 UGHS 19 11138 lo0 &#8211; -<br />
192.168.1.255 192.168.1.8 UHSb 0 4 en2 &#8211; -</p></blockquote>
<p>只需删除其中一条无用的就可以，操作如下：</p>
<p>使用lsattr -EI inet0命令来查看服务器上的网络信息：</p>
<blockquote><p>[P550]/ &gt;#lsattr -El inet0<br />
authm 65536 Authentication Methods<br />
True<br />
bootup_option no Use BSD-style Network Configurati<br />
on True<br />
gateway Gateway<br />
True<br />
hostname P550 Host Name<br />
True<br />
rout6 IPv6 Route<br />
True<br />
<span style="color: #ff0000;">route net,-hopcount,0,,0,192.0.0.253 Route<br />
</span>True<br />
<span style="color: #ff0000;">route net,-hopcount,0,,0,192.168.1.254 Route<br />
</span>True</p></blockquote>
<p>有两条默认路由(net,-hopcount开头)，通过chdev命令来删除其中一条，使服务器网络正常：</p>
<blockquote><p>[P550]/ &gt;#chdev -l inet0 -a delroute=&#8221;net,-hopcount,0,,0,192.168.1.254&#8243;<br />
inet0 changed</p></blockquote>
<p>再使用netstat -rn来查看网络信息：</p>
<blockquote><p>[P550]/ &gt;#netstat -rn<br />
Routing tables<br />
Destination Gateway Flags Refs Use If Exp Groups</p>
<p>Route Tree for Protocol Family 2 (Internet):<br />
<span style="color: #ff0000;">default 192.0.0.253 UG 0 3858210 en0 &#8211; -</span><br />
127/8 127.0.0.1 U 14 14363 lo0 &#8211; -<br />
192.0.0.0 192.0.0.15 UHSb 0 0 en0 &#8211; - =<br />
&gt;<br />
192.0.0/24 192.0.0.15 U 5 9129174 en0 &#8211; -<br />
192.0.0.15 127.0.0.1 UGHS 2 7 lo0 &#8211; -<br />
192.0.0.255 192.0.0.15 UHSb 0 4 en0 &#8211; -<br />
192.168.1.0 192.168.1.8 UHSb 0 0 en2 &#8211; - =<br />
&gt;<br />
192.168.1/24 192.168.1.8 U 0 4 en2 &#8211; -<br />
192.168.1.8 127.0.0.1 UGHS 19 11138 lo0 &#8211; -<br />
192.168.1.255 192.168.1.8 UHSb 0 4 en2 &#8211; -</p></blockquote>
<p>可以看出，只剩下了一条到192.0.0.253的默认网关，再去PING其它网段的服务器地址就正常了。如果想把下一跳地址改为192.0.0.254，则需要先将253的这条先删除：</p>
<blockquote><p>[P550]/ &gt;#chdev -l inet0 -a delroute=&#8221;net,-hopcount,0,,0,192.0.0.253&#8243;<br />
inet0 changed</p></blockquote>
<p>再添加一条至192.0.0.254的默认路由：</p>
<blockquote><p>[P550]/ &gt;#chdev -l inet0 -a route=&#8221;net,-hopcount,0,,0,192.0.0.254&#8243;<br />
inet0 changed</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://guanjianfeng.com/archives/1139/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HP StorageWorks EVA Simulation v2.0(EVA8000模拟器)</title>
		<link>http://guanjianfeng.com/archives/1086</link>
		<comments>http://guanjianfeng.com/archives/1086#comments</comments>
		<pubDate>Thu, 31 Dec 2009 14:03:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[服务器维护]]></category>
		<category><![CDATA[计算机\网络]]></category>
		<category><![CDATA[随写]]></category>
		<category><![CDATA[eva8000]]></category>
		<category><![CDATA[hp]]></category>
		<category><![CDATA[storageworks]]></category>

		<guid isPermaLink="false">http://guanjianfeng.com/?p=1086</guid>
		<description><![CDATA[HP StorageWorks EVA8000模拟器，使用它，可以进行相关的实验，能够比较形象的了解HP存储的相关操作过程及原理。 模拟程序下载(备份下载)、相关学习文档下载(备份下载) 程序部分界面：]]></description>
			<content:encoded><![CDATA[<p>HP StorageWorks EVA8000模拟器，使用它，可以进行相关的实验，能够比较形象的了解HP存储的相关操作过程及原理。</p>
<p><a href="http://www.avnet.it/downloads/configurators/HP/Simulatore_EVA/">模拟程序下载</a>(<a href="http://u.115.com/file/f6f7de9ef0">备份下载</a>)、<a href="http://www.brsbox.com/filebox/down/fc/3060d34d7d9003f850f72cdb1540c859">相关学习文档下载</a>(<a href="http://u.115.com/file/f6d3cb5875">备份下载</a>)</p>
<p>程序部分界面：</p>
<p><a href="http://guanjianfeng.com/wp-content/uploads/2009/12/hpeva1.gif"><img class="alignnone size-full wp-image-1087" title="hpeva1" src="http://guanjianfeng.com/wp-content/uploads/2009/12/hpeva1.gif" alt="" width="600" height="450" /></a></p>
<p><a href="http://guanjianfeng.com/wp-content/uploads/2009/12/hpeva2.jpg"><img class="alignnone size-full wp-image-1088" title="hpeva2" src="http://guanjianfeng.com/wp-content/uploads/2009/12/hpeva2.jpg" alt="" width="600" height="431" /></a></p>
<p><a href="http://guanjianfeng.com/wp-content/uploads/2009/12/hpeva3.jpg"><img class="alignnone size-full wp-image-1089" title="hpeva3" src="http://guanjianfeng.com/wp-content/uploads/2009/12/hpeva3.jpg" alt="" width="600" height="431" /></a></p>
<p><a href="http://guanjianfeng.com/wp-content/uploads/2009/12/hpeva4.jpg"><img class="alignnone size-full wp-image-1090" title="hpeva4" src="http://guanjianfeng.com/wp-content/uploads/2009/12/hpeva4.jpg" alt="" width="600" height="431" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://guanjianfeng.com/archives/1086/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
