Wednesday, June 17, 2009

lost blog in blogger.com

I just lost a blog in blogger.com

1. bugpy: EZ NIM at AIX 6.1

Jun 17, 2009 ... EZ NIM tool in AIX smit menu is indented to be easy for the use. Indeed, it is if you know all the major steps to configure and use NIM. ...
bugpy.blogspot.com/2009/06/ez-nim-at-aix-61.html - 4 hours ago - Similar -

Switching to previous RDP session

When you reconnect the remote desktop session with RDP, you want to reconnect to the same session you left. However, you might not get the same session you useed in the last time, Since other person used it with same user id, or the system just initial a new session for you.

The obvious and idea solution is to implement active directory to enhance identity management on the machine, so that each user has his/her own unique session, distinguished by one's user id, to avoid session taking over.

Having said that, in case you logon to the remote desktop session with RDP, and the session is not what you left in the last time. luckly, you still can do one more attempt to switch from current session to the previous left-over session:
  1. Select Terminal Service Manger in the Administrative Tasks
  2. You will see all the available session: the session with the green colored user icon is the one you currently login;other sessions are either used by other users or the one you used in the last time. the one you used should be in the "Disconnected" state.
  3. Select one session which is in Disconnected state, with supplying password, you will swtich to the new session.

Friday, June 12, 2009

Configure iscsi disk in AIX

It may be quite confusing to configure iscsi disk in AIX 6.1 in the very beginning, because you might not get full context on the information center, like http://publib.boulder.ibm.com/infocenter/systems/index.jsp?topic=/com.ibm.aix.commadmn/doc/commadmndita/iscsi_config.htm

then, you might confuse on the following commands, files, and menus:
  • mkiscsi, lsiscsi, cfgmgr -l
  • /etc/iscsi/targets
  • smitty iscsi
finally, you might confuse on how to get parameters from the iSCSI target server, like netapp.

In general, I use smitty iscsi for the configuration, and use commands to verify the configuration due to its simpligicity.

I used netapp FAS2020 for the iSCSI target server, and attempted to configuration iscsi disk in AIX which use a LUN in FAS 2020.
  • The FAS2020 use 172.,16.1.49:3260, and define by default initiator group, iqn.1992-08.com.netqapp:sn.xxxxxxxxx
  • within FAS2020, an LUN with an initiator group: iqn.2009-03.net.2web:sn0002
  • iSCSI protocol device is for the LUN, so

Then here is the steps:
  • define /etc/iscsi/targets
172.16.1.49 3260 iqn.1992-08.com.netqapp:sn.xxxxxxxxx

  • smitty iscsi, and choose iSCSI Target Device Parameters in ODM
adding iSCSI Target Device in ODM with file /etc/iscsi/targets
  • you can verify the setting/change with the lsiscsi command
  • smitty iscsi, and choose iSCSI Protocol Device
change/Show characteristics of an iSCSI Protocol Device with your LUN initiators.
  • you can configure the iSCSI disk now with the above setting by using command cfgmgr
cfgmgr -l iscsi0
  • verify the disk with lspv, you should get new disk

other useful URLs:

http://unix.ittoolbox.com/groups/technical-functional/ibm-aix-l/re-configuring-iscsi-access-with-aix-52-and-ibm-san-1183309