Monday, August 24, 2009

Is Management For Me?

Are you wondering whether you want to be a manager, deciding if a management path is right for your career? Maybe the company has suggested a supervisory position for you. Maybe someone in your life is pushing you to "make more out of your life." Or are you trying to decide whether to get you Masters degree in your technical specialty or go for an MBA instead.

There are many positives to being a manager. Managers generally are paid more than others in the company. They appear to have more power. And the power and pay differences tend to give the position more status or prestige.

Power Most people, including most managers, believe that managers have more power than the people in their groups. While it's true that managers commonly have certain functional authority delegated to them, like setting work schedules for the group, true power cannot be delegated to you from above. You are only as powerful as you are capable of making your group more successful. And while your ability to lead the group greatly influences it, your power comes from the willingness of the people in your group to grant it to you.


Sense of Personal Accomplishment If your goal is to be CEO of General Motors, you probably should start now on a management career. If you want to be President of the United States, a management track isn't required, but it will certainly help. Several recent Presidents have managed nothing but their campaigns. If you want to brag to your mother-in-law about what a success you are, and power, prestige, and money are important to your definition of success, management may be they way to go. If you measure success by friendships and how soundly you sleep at night, a management career can give you that, but so can many others.

Sunday, August 23, 2009

DILBERT - MANAGER'S SUGGESTIONS!!!




These guys understand what happen in offices so well ;-)

Sunday, July 19, 2009

Storage Mapping from HMC and VIOS

From HMC:
lshwres -r virtualio --rsubtype scsi -m Server-8203-E4A-SN064FA22 -F

lpar name and id -- virtual disk, slot and adapter id.

From VIOS:

1. To know hard disk of each LPAR:
i/p: slot id and adapter id
o/p: backing device name -- this may be hard disk or logical volume

if it is logical volume: (say lpar1)

$ lslv -pv lpar1
lpar1:N/A
PV COPIES IN BAND DISTRIBUTION
hdisk1 280:000:000 38% 000:109:109:062:000

From this get Hard Disk-- hdisk1


2. To know storage space (Capicity) of each LPAR

From virtual disk: (e.g virtual disk- hdisk1)



a). Get: Lpar Name and Number of PPs

Run "lspv -lv hdisk1"


$ lspv -lv hdisk1
hdisk1:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
lpar3 266 266 110..00..00..47..109 N/A
lpar1 280 280 00..109..109..62..00 N/A
$


b). What VG is hdisk1 on ?

$ lspv
NAME PVID VG STATUS
hdisk0 0004fa2212ea9bce rootvg active
hdisk1 0004fa2218b2405c rootvg active
c). From VG get PP SIZE

$ lsvg rootvg | grep 'PP SIZE'
VG STATE: active PP SIZE: 256 megabyte(s)
d). Total space LPAR one is using: Num of PP * PP Size
Capacity=280*256 Mg

3. Total Hard disk: -- Calculate total Size

$ lspv -size
NAME PVID SIZE(megabytes)
hdisk0 0004fa2212de8cec 140013
hdisk1 0004fa2218a6f86b 140013

Saturday, July 18, 2009

DB2 Command

1. To List all database : list database directory
2. Drop database: drop database

Tuesday, May 26, 2009

DB2 command

LIST DATABASE DIRECTORY Command
Lists the contents of the system database directory. If a path is specified, the contents of the local database directory are listed.

Scope
If this command is issued without the ON path parameter, the system database directory is returned. This information is the same at all database partitions.

If the ON path parameter is specified, the local database directory on that path is returned. This information is not the same at all database partitions.

Authorization
None

Required connection
None. Directory operations affect the local directory only.

Command syntax
>>-LIST--+-DATABASE-+--DIRECTORY--+---------------+------------><
'-DB-------' '-ON--+-path--+-'
'-drive-'