Archive for 12月 2009

再见,2009年

每天的工作、生活,感觉2009年一转眼就过去了。2010年要好好规划下自己的下一步。制定详细的目标!

祝我的家人、朋友下一年身体健康、工作顺利!

HP StorageWorks EVA Simulation v2.0(EVA8000模拟器)

HP StorageWorks EVA8000模拟器,使用它,可以进行相关的实验,能够比较形象的了解HP存储的相关操作过程及原理。

模拟程序下载(备份下载)、相关学习文档下载(备份下载)

程序部分界面:

wordpress升级至中文版2.9,主题K2升级至1.0.2

1、wordpress升级至中文版2.9

http://cn.wordpress.org/速度还有时间段,昨天试了好多次都没成功,今天早上起来就升级成功,还是早晨的网速快。

WordPress 2.9 带来几个全新的特性(官方介绍):
1、全局回收站,可以把你的文章或者评论之类的放入回收站;
2、内置了图像编辑器;
3、批量插件更新功能;
4、更简单的视频插入。

2、主题K2升级至1.0.2

一直使用的K2的主题,升级完WP后,去K2主页上查看,发现版本已经是1.0.2了,直接将其升级。使用K2主题我基本不做修改,只是将三栏的宽度稍做修改:总宽度改为980px,左栏为660px,右栏为220px。

Cisco3845路由器登陆问题

cisco3845

Cisco3845路由器,一般使用在大中型分支机构中,路由器出厂默认安装了Cisco SDM模块(路由器及安全配置工具),这样,在登陆时就会出现如下提示:

———————————————————————–
Cisco Router and Security Device Manager (SDM) is installed on this device.
This feature requires the one-time use of the username “cisco”
with the password “cisco”. The default username and password have a privilege level of 15.

Please change these publicly known initial credentials using SDM or the IOS CLI.
Here are the Cisco IOS commands.

username <myuser> privilege 15 secret 0 <mypassword>
no username cisco

Replace <myuser> and <mypassword> with the username and password you want to use.

For more information about SDM please follow the instructions in the QUICK START
GUIDE for your router or go to http://www.cisco.com/go/sdm
———————————————————————–
User Access Verification

Username:

使用用户名和密码都为cisco来登陆路由器,然后再添加用户,再使用no username cisco命令将默认用户cisco删除,如果你没有创建用户,而直接将cisco用户删除再保存了配置,下次进入后使用cisco路由器就不能登陆了。

经过查看路由器配置,con和vty口的配置如下:

line con 0
login local
line aux 0
line vty 0 4
access-class 23 in
privilege level 15
login local
transport input telnet
line vty 5 15
access-class 23 in
privilege level 15
login local
transport input telnet

发现是在con和vty口上使用了login local认证,这样就会使用cisco sdm来认证,所以,这里只需将login local修改为login,就可以跳过cisco sdm的认证,如下:

enable password 15 cisco
!
line con 0
password cisco
login
line aux 0
line vty 0 4
password cisco
login
transport input telnet
line vty 5 15
password cisco
login
transport input telnet

现在进不去路由器,只能通过修改enable密码的方法来进入路由器,再进行以下的修改:

1、将电脑与路由器的console口相连,启动路由器,按下[ctrl]+[break],如下,出现rommon命令提示符:

System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2006 by cisco Systems, Inc.

System Bootstrap, Version 12.4(13r)T11, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2008 by cisco Systems, Inc.

Total memory size = 256 MB – DIMM0 = 256 MB, DIMM1 = 0 MB
c3845 platform with 262144 Kbytes of main memory
Main memory is configured to 72/0(dimm 0/1) bit mode with ECC enabled
Upgrade ROMMON initialized

monitor: command “boot” aborted d
monitor: command “boot” aborted due to user interrupt
rommon 1 >

2、输入confreg,如下,记录下0x2102,do you wish处选择no

rommon 1 > confreg
Configuration Summary
(Virtual Configuration Register: 0x2102)
enabled are:
load rom after netboot fails
console baud: 9600
boot: image specified by the boot system commands
or default to: cisco2-c3845

do you wish to change the configuration? y/n [n]:

3、通过confreg命令来修改配置寄存器的值,使路由器忽略NVRAM中的启动配置文件。输入confreg 0x2142来修改寄存器值,再输入i重启路同器,如下:

rommon 2 > confreg 0x2142
rommon 3 > i

4、启动后会进入用户exec模式,出现系统配置对话柜时输入no跳过,如下:

— System Configuration Dialog —

Would you like to enter the initial configuration dialog? [yes/no]: no
Press RETURN to get started!

5、使用enable命令进入配置模式,再使用sh run命令查看,这时会发现配置全部消失,因为这里是跳过NVRAM来启动路由器的,使用copy命令将NVRAM中的配置文件复制到现在的启动(running-config)配置文件中,

Router>en
Router#copy startup-config running-config

6、接下来对running-config配置文件进行修改,按照上面分析的,修改为:

enable password 15 cisco
!
line con 0
password cisco
login
line aux 0
line vty 0 4
password cisco
login
transport input telnet
line vty 5 15
password cisco
login
transport input telnet

这样,下次就可以直接使用cisco密码来进行认证了。

7、接下来做配置的保存工作,首先恢复配置寄存器的值0x2102,再保存配置,这里需使用write memory,完成后重启路由器,就可以使用cisco来登陆了。

Router#copy running-config startup-config
Router#configure terminal
Router(config)#config-register 0x2102
Router(config)#end
Router#write memory
Router#reload

在黑霉8310上利用MessageForward将短信发送至你的邮箱中

我的黑霉8310上测试成功。当然,前提是你的黑霉要可以发送邮件。我一直使用的“尚邮”黑霉客户端来收发我公司的邮箱,如下:

shangmail11

所以只需安装messageforward软件即可。下载地址

安装完后,进入软件界面,在“enable message forwarding”上打钩,然后输入要发送到的邮箱,EMAIL FROM选择DESKTIP。保存退出,如下图。

mess1

完成后可以发送短信测试下,如果成功,在收到短信后两分钟左右,刚才设置的邮箱中就能收到一封以“Forwarding message from sms …….”开头的邮件,如下。

messforward1

HP Data Protector软件“the daemon is probable no runnig”故障

一台装有HP Data Protector备份软件的服务器出问题,不能备份,打开桌面上的软件图标后,任意点击一些菜单,都提示“the daemon is probable no runnig ”或者是“interprocess communication problem”,使用omnisv.exe -status查看后,发现rds服务为down,如下:

D:Program FilesOmniBackbin>omnisv -status

ProcName Status [PID]
===============================
rds : Down
crs : Active [664]
mmd : Active [884]
omniinet: Active [712]
Sending of traps disabled.
===============================
Status: At least one of Data Protector relevant processes/services is not running.

使用omnisv -?查看命令帮助,然后使用omnisv.exe -stop将所有服务都停止:

D:Program FilesOmniBackbin>omnisv -stop

ProcName Status [PID]
===============================
rds : Down
crs : Down
mmd : Down
omniinet: Down
Sending of traps disabled.
===============================

再使用start使所有服务都开启:

D:Program FilesOmniBackbin>omnisv -start

ProcName Status [PID]
===============================
rds : Active [1024]
crs : Active [3436]
mmd : Active [1112]
omniinet: Active [2580]
Sending of traps disabled.
===============================

把DP软件关了,再打开后,就可以正常打开所有的菜单了。

hpdp3

hpdp1