4 P’s of IT Service Management
Posted by
Syed .Z
Labels:
Management Lessons
/
Comments: (0)
- People (including skills, experience, knowledge, culture and communication)
- Processes (including policies, role descriptions, usability and measurability)
- Products (technology, including performance, price and support)
- Partners (suppliers, including contracts, monitoring and reporting)
FT pipes are in use
In a SAN Client environment, sometime we will see this errors while the jobs seems running but actually its queuing waiting for the FT Pipes to be opened. But, often the FT pipes are available but some of them has been orphaned due to CORBA exception during cleanup. And if its reached time out you will get error code 83 on netbackup job.
In the Job Details, this will indicates and show you the FT Pipes are in use:
As you can see, i have a lot of orphaned PIPES to be cleared. Run below command to release the orphaned pipes:
In the Job Details, this will indicates and show you the FT Pipes are in use:
Sep 23, 2011 7:02:09 AM - awaiting resource stug-dpad_nbx_01. Waiting for resources.Now, we list the orphaned pipes:
Reason: FT pipes are in use, Media server: nbu004.net2.com,
Robot Type(Number): NONE(N/A), Media ID: N/A, Drive Name: N/A,
Volume Pool: NetBackup, Storage Unit: stu-dpad_nbu004_01, Drive Scan Host: N/A,
Disk Pool: dpad_nbu004_01, Disk Volume: /opt/openv/dpad_nbu004_01_06
# /usr/openv/netbackup/bin/admincmd/nbrbutil -listOrphanedPipes
Pipe ID Pipe State Media Server
==============================================================================
3 PIPE_ORPHANED nbu002.net2.com
10 PIPE_ORPHANED nbu005.net2.com
12 PIPE_ORPHANED nbu005.net2.com
13 PIPE_ORPHANED nbu005.net2.com
14 PIPE_ORPHANED nbu005.net2.com
15 PIPE_ORPHANED nbu005.net2.com
16 PIPE_ORPHANED nbu005.net2.com
4 PIPE_ORPHANED nbu006.net2.com
5 PIPE_ORPHANED nbu006.net2.com
6 PIPE_ORPHANED nbu006.net2.com
7 PIPE_ORPHANED nbu006.net2.com
8 PIPE_ORPHANED nbu006.net2.com
9 PIPE_ORPHANED nbu006.net2.com
10 PIPE_ORPHANED nbu006.net2.com
11 PIPE_ORPHANED nbu006.net2.com
12 PIPE_ORPHANED nbu006.net2.com
13 PIPE_ORPHANED nbu006.net2.com
15 PIPE_ORPHANED nbu006.net2.com
16 PIPE_ORPHANED nbu006.net2.com
16 PIPE_ORPHANED nbu008.net2.com
1 PIPE_ORPHANED nbu009.net2.com
3 PIPE_ORPHANED nbu009.net2.com
4 PIPE_ORPHANED nbu009.net2.com
5 PIPE_ORPHANED nbu009.net2.com
6 PIPE_ORPHANED nbu009.net2.com
7 PIPE_ORPHANED nbu009.net2.com
8 PIPE_ORPHANED nbu009.net2.com
9 PIPE_ORPHANED nbu009.net2.com
14 PIPE_ORPHANED nbu009.net2.com
15 PIPE_ORPHANED nbu009.net2.com
16 PIPE_ORPHANED nbu009.net2.com
8 PIPE_ORPHANED nbu002.net2.com
12 PIPE_ORPHANED nbu002.net2.com
1 PIPE_CLIENT_ORPHANED nbu003.net2.com
2 PIPE_CLIENT_ORPHANED nbu003.net2.com
3 PIPE_CLIENT_ORPHANED nbu003.net2.com
4 PIPE_CLIENT_ORPHANED nbu003.net2.com
5 PIPE_CLIENT_ORPHANED nbu003.net2.com
6 PIPE_CLIENT_ORPHANED nbu003.net2.com
7 PIPE_CLIENT_ORPHANED nbu003.net2.com
8 PIPE_CLIENT_ORPHANED nbu003.net2.com
9 PIPE_CLIENT_ORPHANED nbu003.net2.com
10 PIPE_CLIENT_ORPHANED nbu003.net2.com
11 PIPE_CLIENT_ORPHANED nbu003.net2.com
12 PIPE_CLIENT_ORPHANED nbu003.net2.com
13 PIPE_CLIENT_ORPHANED nbu003.net2.com
14 PIPE_CLIENT_ORPHANED nbu003.net2.com
15 PIPE_CLIENT_ORPHANED nbu003.net2.com
16 PIPE_CLIENT_ORPHANED nbu003.net2.com
1 PIPE_CLIENT_ORPHANED nbu004.net2.com
2 PIPE_CLIENT_ORPHANED nbu004.net2.com
3 PIPE_CLIENT_ORPHANED nbu004.net2.com
4 PIPE_CLIENT_ORPHANED nbu004.net2.com
6 PIPE_CLIENT_ORPHANED nbu004.net2.com
7 PIPE_CLIENT_ORPHANED nbu004.net2.com
8 PIPE_CLIENT_ORPHANED nbu004.net2.com
9 PIPE_CLIENT_ORPHANED nbu004.net2.com
10 PIPE_CLIENT_ORPHANED nbu004.net2.com
11 PIPE_CLIENT_ORPHANED nbu004.net2.com
12 PIPE_CLIENT_ORPHANED nbu004.net2.com
13 PIPE_CLIENT_ORPHANED nbu004.net2.com
14 PIPE_CLIENT_ORPHANED nbu004.net2.com
15 PIPE_CLIENT_ORPHANED nbu004.net2.com
16 PIPE_CLIENT_ORPHANED nbu004.net2.com
1 PIPE_CLIENT_ORPHANED nbu005.net2.com
2 PIPE_CLIENT_ORPHANED nbu005.net2.com
3 PIPE_CLIENT_ORPHANED nbu005.net2.com
4 PIPE_CLIENT_ORPHANED nbu005.net2.com
5 PIPE_CLIENT_ORPHANED nbu005.net2.com
6 PIPE_CLIENT_ORPHANED nbu005.net2.com
7 PIPE_CLIENT_ORPHANED nbu005.net2.com
8 PIPE_CLIENT_ORPHANED nbu005.net2.com
9 PIPE_CLIENT_ORPHANED nbu005.net2.com
11 PIPE_CLIENT_ORPHANED nbu005.net2.com
2 PIPE_CLIENT_ORPHANED nbu006.net2.com
1 PIPE_CLIENT_ORPHANED nbu006.net2.com
14 PIPE_CLIENT_ORPHANED nbu006.net2.com
1 PIPE_CLIENT_ORPHANED nbu007.net2.com
2 PIPE_CLIENT_ORPHANED nbu007.net2.com
3 PIPE_CLIENT_ORPHANED nbu007.net2.com
4 PIPE_CLIENT_ORPHANED nbu007.net2.com
5 PIPE_CLIENT_ORPHANED nbu007.net2.com
6 PIPE_CLIENT_ORPHANED nbu007.net2.com
7 PIPE_CLIENT_ORPHANED nbu007.net2.com
8 PIPE_CLIENT_ORPHANED nbu007.net2.com
9 PIPE_CLIENT_ORPHANED nbu007.net2.com
10 PIPE_CLIENT_ORPHANED nbu007.net2.com
11 PIPE_CLIENT_ORPHANED nbu007.net2.com
12 PIPE_CLIENT_ORPHANED nbu007.net2.com
13 PIPE_CLIENT_ORPHANED nbu007.net2.com
14 PIPE_CLIENT_ORPHANED nbu007.net2.com
15 PIPE_CLIENT_ORPHANED nbu007.net2.com
16 PIPE_CLIENT_ORPHANED nbu007.net2.com
1 PIPE_CLIENT_ORPHANED nbu008.net2.com
2 PIPE_CLIENT_ORPHANED nbu008.net2.com
3 PIPE_CLIENT_ORPHANED nbu008.net2.com
4 PIPE_CLIENT_ORPHANED nbu008.net2.com
5 PIPE_CLIENT_ORPHANED nbu008.net2.com
6 PIPE_CLIENT_ORPHANED nbu008.net2.com
7 PIPE_CLIENT_ORPHANED nbu008.net2.com
8 PIPE_CLIENT_ORPHANED nbu008.net2.com
9 PIPE_CLIENT_ORPHANED nbu008.net2.com
10 PIPE_CLIENT_ORPHANED nbu008.net2.com
11 PIPE_CLIENT_ORPHANED nbu008.net2.com
12 PIPE_CLIENT_ORPHANED nbu008.net2.com
13 PIPE_CLIENT_ORPHANED nbu008.net2.com
14 PIPE_CLIENT_ORPHANED nbu008.net2.com
15 PIPE_CLIENT_ORPHANED nbu008.net2.com
6 PIPE_CLIENT_ORPHANED nbu002.net2.com
10 PIPE_CLIENT_ORPHANED nbu002.net2.com
14 PIPE_CLIENT_ORPHANED nbu002.net2.com
16 PIPE_CLIENT_ORPHANED nbu002.net2.com
As you can see, i have a lot of orphaned PIPES to be cleared. Run below command to release the orphaned pipes:
# /usr/openv/netbackup/bin/admincmd/nbrbutil -releaseOrphanedPipesList back if there's anymore orphaned pipes , it should be gone by now:
# /usr/openv/netbackup/bin/admincmd/nbrbutil -listOrphanedPipes
Unix command to list based on the file size
Unix command to list based on the file size:
Example:
ls -al | sort -rn +4
Example:
bash-2.03# ls -al | sort -rn +4
-rw-rw-r-- 1 root sys 811680 Sep 12 10:01 ups_data
-rw-rw-rw- 1 root root 131244 Sep 7 16:49 .Perflib
-rw-rw-r-- 1 root sys 76764 Sep 21 22:51 mibiisa_ps_data
-rw-r----- 1 root other 35454 Sep 23 14:23 net.client.list
drwxrwxrwt 25 root sys 6344 Sep 24 11:00 .
drwxr-xr-x 66 root root 2560 Sep 23 07:11 ..
-rw-r--r-- 1 root other 2470 Sep 23 08:30 cleaning_tape_status.txt
-rw-rw-r-- 1 root sys 1740 Sep 7 16:49 ps_data
-rw-r--r-- 1 root other 473 Sep 23 13:30 mail_available_scratch_tapes.txt
-rw-r--r-- 1 root other 372 Sep 23 07:11 jrd_get_daily_backup_data.log
-rwxr-x--- 1 root other 268 Sep 23 14:07 client.list
drwx------ 2 root root 182 Sep 7 16:51 smc898
drwxrwxr-x 2 root root 176 Sep 7 16:52 .X11-unix
drwxrwxr-x 2 root root 176 Sep 7 16:52 .X11-pipe
-rw-r--r-- 1 root other 168 Sep 23 08:30 cleaning_tape_status2.txt
-rw-r----- 1 root root 167 Sep 22 01:02 homes.5324
-rw-r----- 1 root root 167 Sep 8 01:02 homes.19705
-rw------- 1 root other 160 Sep 20 13:54 .dr_extra_info
How to get total usage of disk space
Posted by
Syed .Z
/
Comments: (0)
How to get total usage of disk space
This is my df -k output:
This is the script:
This is my df -k output:
bash-2.03# df -kl
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d1 6198606 4706544 1430076 77% /
/proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
fd 0 0 0 0% /dev/fd
/dev/md/dsk/d2 6198606 1295354 4841266 22% /var
swap 28122232 24 28122208 1% /var/run
dmpfs 28122208 0 28122208 0% /dev/vx/dmp
dmpfs 28122208 0 28122208 0% /dev/vx/rdmp
swap 28158368 36160 28122208 1% /tmp
/dev/vx/dsk/datadg/pk1env
61440 2168 55573 4% /pk1env
/dev/vx/dsk/datadg/RD
26288128 337377 24329013 2% /RD
/dev/vx/dsk/datadg/saswork
104857600 29157 98277953 1% /saswork
/dev/vx/dsk/data2dg/arenv_dev
52428800 96912 49062058 1% /arenv_dev
/dev/vx/dsk/datadg/ora_vol
10485760 3238372 6794469 33% /oracle
/dev/vx/dsk/datadg/arenv_uat
104857600 51733220 49809874 51% /arenv_uat
/dev/vx/dsk/datadg/dmenv
316518719 218121659 92248055 71% /dmenv
/dev/vx/dsk/datadg/inet
419430400 156786469 246229944 39% /inet
/dev/vx/dsk/datadg/arenv
311907385 233406838 73606015 77% /arenv
/dev/md/dsk/d4 1021735 439771 520660 46% /opt/patrol
/dev/vx/dsk/datadg/usrlocal
122880 38592 80015 33% /usr/local
/dev/vx/dsk/datadg/localapps
14680064 8824440 5490473 62% /local/apps
This is the script:
bash-2.03# df -kl | awk '/^\/dev\// { avail += $3/1024 } END { printf("%d Mb used\n",avail)} 'Source
663141 Mb used