tag:blogger.com,1999:blog-56213012024-03-07T14:57:10.010+08:00sQew notepad ++ Unix | Storage | BackupUnknownnoreply@blogger.comBlogger363125tag:blogger.com,1999:blog-5621301.post-11648307340555240242013-10-23T16:24:00.001+08:002013-10-23T16:25:01.319+08:00Verify Bios Mode/Boot Environment Mode in Windows 2008<span style="font-family: Georgia, Times New Roman, serif;">Typical way is to run msinfo32 and from the start menu but most of the time the information was not there.</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">Here is the other way round.</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">1. Check this file : C:\Windows\Panther\setupact.log</span><br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNTyNCCFkCbbcj7B70OrVNUQEl9alTTDZXGrpWo57FlUJI_ZgHrBXs6NpI5Si-9t5vtlvkPd9eKl-g1UUTiieY3YVhigMV2gYguL8wgiHI5MkDe8af9XagxvHO4dIHaUE4Fpx57A/s1600/setupact.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><span style="font-family: Georgia, Times New Roman, serif;"><img border="0" height="328" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNTyNCCFkCbbcj7B70OrVNUQEl9alTTDZXGrpWo57FlUJI_ZgHrBXs6NpI5Si-9t5vtlvkPd9eKl-g1UUTiieY3YVhigMV2gYguL8wgiHI5MkDe8af9XagxvHO4dIHaUE4Fpx57A/s640/setupact.JPG" width="640" /></span></a><br />
<span style="text-align: center;"><span style="font-family: Georgia, Times New Roman, serif;"><br /></span></span>
<span style="text-align: center;"><span style="font-family: Georgia, Times New Roman, serif;">2.Launch Control panel - Administrative tools - Computer management</span></span><br />
<span style="font-family: Georgia, Times New Roman, serif;">Check Disk management tab. You should have EFI Encrypted partition (around 100mb). Also, when you right-click your HDD, on the Volumes tab you should see GPT partitioning, (not legacy MBR).</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">The GPT is part of UEFI package</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1tAfQqycU9Y-dNdq48q3EFc32VkHbOdtAUwkEAIxKzX7f9Ujx8w93-XUqqf3RQ0lne7F56KAzO4-IYXfuNJQx8nnRWjtrLj-n9bRnrSu30VFotVsdiw7GEZq28hihxpnMfZajsA/s1600/mgr.JPG" imageanchor="1" style="clear: left; margin-bottom: 1em; margin-right: 1em; text-align: center;"><span style="font-family: Georgia, Times New Roman, serif;"><img border="0" height="121" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1tAfQqycU9Y-dNdq48q3EFc32VkHbOdtAUwkEAIxKzX7f9Ujx8w93-XUqqf3RQ0lne7F56KAzO4-IYXfuNJQx8nnRWjtrLj-n9bRnrSu30VFotVsdiw7GEZq28hihxpnMfZajsA/s640/mgr.JPG" width="640" /></span></a>Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-5621301.post-9343109314466102682013-07-30T16:03:00.005+08:002013-07-30T16:05:48.434+08:00Redirect Avamar System State Backup to another Drives<br />
<span style="background-color: white; color: #555555; font-family: 'Lucida Grande', 'Trebuchet MS', Arial, Verdana, sans-serif; font-size: 13px; line-height: 15.828125px; text-align: justify;">On Windows 2003 AVAMAR client uses the NTBackup Utility to create a backup of the system state, it stores this backup in var in the avamar client install directory (</span><em style="background-color: white; color: #555555; font-family: 'Lucida Grande', 'Trebuchet MS', Arial, Verdana, sans-serif; font-size: 13px; line-height: 15.828125px; text-align: justify;">C:\Program Files\avs\var\</em><span style="background-color: white; color: #555555; font-family: 'Lucida Grande', 'Trebuchet MS', Arial, Verdana, sans-serif; font-size: 13px; line-height: 15.828125px; text-align: justify;">). If the space on that drive is limited you can set an attribute </span><em style="background-color: white; color: #555555; font-family: 'Lucida Grande', 'Trebuchet MS', Arial, Verdana, sans-serif; font-size: 13px; line-height: 15.828125px; text-align: justify;">systemstatefile</em><span style="background-color: white; color: #555555; font-family: 'Lucida Grande', 'Trebuchet MS', Arial, Verdana, sans-serif; font-size: 13px; line-height: 15.828125px; text-align: justify;"> with a value of the full path to store the back up –</span><br />
<span style="background-color: white; color: #555555; font-family: 'Lucida Grande', 'Trebuchet MS', Arial, Verdana, sans-serif; font-size: 13px; line-height: 15.828125px; text-align: justify;"><br /></span>
<br />
<div style="text-align: justify;">
<span style="color: #555555; font-family: Lucida Grande, Trebuchet MS, Arial, Verdana, sans-serif;"><span style="line-height: 15.828125px;">To modify the location for just one client individually:</span></span><br />
<span style="color: #555555; font-family: Lucida Grande, Trebuchet MS, Arial, Verdana, sans-serif;"><span style="line-height: 15.828125px;"><br /></span></span>
<span style="color: #555555; font-family: Lucida Grande, Trebuchet MS, Arial, Verdana, sans-serif;"><span style="line-height: 15.828125px;">1.<span class="Apple-tab-span" style="white-space: pre;"> </span>Log on the Windows client </span></span><br />
<span style="color: #555555; font-family: Lucida Grande, Trebuchet MS, Arial, Verdana, sans-serif;"><span style="line-height: 15.828125px;">2.<span class="Apple-tab-span" style="white-space: pre;"> </span>Go to the AVAMAR_INSTALL_PATH\avs\var directory </span></span><br />
<span style="color: #555555; font-family: Lucida Grande, Trebuchet MS, Arial, Verdana, sans-serif;"><span style="line-height: 15.828125px;">3.<span class="Apple-tab-span" style="white-space: pre;"> </span>Create a file named avtar.cmd </span></span><br />
<span style="color: #555555; font-family: Lucida Grande, Trebuchet MS, Arial, Verdana, sans-serif;"><span style="line-height: 15.828125px;">4.<span class="Apple-tab-span" style="white-space: pre;"> </span>Edit this avtar.cmd file with notepad and add the parameter as given below: </span></span><br />
<span style="line-height: 15.828125px;"><span style="color: #555555; font-family: Lucida Grande, Trebuchet MS, Arial, Verdana, sans-serif;"></span></span><br />
<span style="color: #555555; font-family: Lucida Grande, Trebuchet MS, Arial, Verdana, sans-serif;"><span style="line-height: 15.828125px;">--systemstatefile=NEW_LOCATION </span></span><br />
<span style="color: #555555; font-family: Lucida Grande, Trebuchet MS, Arial, Verdana, sans-serif;"><span style="line-height: 15.828125px;"><br /></span></span>
<br /></div>
<div style="text-align: justify;">
<span style="color: #555555; font-family: Lucida Grande, Trebuchet MS, Arial, Verdana, sans-serif;"><span style="line-height: 15.828125px;">For example, </span></span></div>
<blockquote class="tr_bq">
<span style="color: #555555; font-family: Lucida Grande, Trebuchet MS, Arial, Verdana, sans-serif;"><span style="line-height: 15.828125px;">-- systemstatefile="D:\Avamar_BKF\systemstate.bkf"</span></span></blockquote>
<div style="text-align: justify;">
<b><i>Notes: You must now include this location as part of the dataset of the File System backup</i></b></div>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-5621301.post-78622436931772847312013-07-30T15:37:00.002+08:002013-07-30T15:37:14.882+08:00Calculate the size of f_cache and p_cache for AVAMARFormulas to help determine the correct size of your f_cache and p_cache for AVAMAR backups<br />
<br />
AVAMAR F_cache And P_cache Formulas<br />
<br />
<b>f_cache = N * 40MB</b><br />
<br />
N = Millions of Files<br />
<br />
So for 3 million files:<br />
<br />
f_cache = 3 * 40MB = 120MB<br />
<br />
<b>p_cache = DB Size in GB/Average Chunk * 20MB</b><br />
<br />
<u>Average Chunk Sizes-</u><br />
Exchange DB: 16<br />
Microsoft SQL DB: 24<br />
<br />
For a 100GB Microsoft SQL DB:<br />
p_cache = 20/24 * 20MB<br />
p_cache = 83.3MBUnknownnoreply@blogger.com1tag:blogger.com,1999:blog-5621301.post-76629045583145039112013-07-30T15:31:00.003+08:002013-07-30T15:32:16.023+08:00Add Persistent Route on Windows Server<br />
Login to Windows as administrator or you will get below error when executing the route add command:<br />
<br />
<blockquote class="tr_bq">
The requested operation requires elevation.</blockquote>
<u>Route add command:</u><br />
<blockquote class="tr_bq">
C:\> route -p add 10.10.10.0 mask 255.255.255.0 192.168.1.1 metric 1</blockquote>
<br />
This writes the persistent route to the following Windows Registry key as a string value (REG_SZ):<br />
<br />
<blockquote class="tr_bq">
<span style="font-size: x-small;">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\PersistentRoutes</span></blockquote>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5621301.post-39805856587179343602013-07-30T15:24:00.004+08:002013-07-30T15:26:00.523+08:00Avamar retention Type<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<b><span style="font-family: Georgia, Times New Roman, serif;">There are two types of Avamar retention settings. </span></b><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<i><span style="font-family: Georgia, Times New Roman, serif;">Basic retention settings specify a fixed expiration date.</span></i><br />
<i><span style="font-family: Georgia, Times New Roman, serif;">Advanced retention settings specify the number of daily, weekly, monthly, and yearly backups to keep.</span></i><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<b><u><span style="font-family: Georgia, Times New Roman, serif;">Basic retention settings</span></u></b><br />
<span style="font-family: Georgia, Times New Roman, serif;">Retention Period: Allows you to specify how long will the backup from the backup taken.</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">End Date: Specify based on date (When its going to be expired)</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">No end data: Backups never expire.</span><br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsznYsT3yEiER3RRax4vQnnL5uKi8iju4F-REiKbZFn5tNOhs0_gTSthlDwR35wtPaaYBkEdsFQI1njwqbMwTIkfIFezlv5VMZjc7Hs_0ELaHAqinWoynQL9OUBPYNoY3ff85lBw/s1600/basic_ret.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Georgia, Times New Roman, serif;"><img border="0" height="230" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsznYsT3yEiER3RRax4vQnnL5uKi8iju4F-REiKbZFn5tNOhs0_gTSthlDwR35wtPaaYBkEdsFQI1njwqbMwTIkfIFezlv5VMZjc7Hs_0ELaHAqinWoynQL9OUBPYNoY3ff85lBw/s320/basic_ret.jpg" width="320" /></span></a></div>
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">Advanced retention settings</span><br />
<span style="font-family: Georgia, Times New Roman, serif;">Allows you to define how long to keep backups based on how they are tagged. Backup jobs can be tagged as daily (D), weekly (W), monthly (M) and yearly (Y). </span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">Every backup job is a daily job and is marked with a "D". </span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">If a backup was made on a Sunday, it is tagged with a "W" to signify it is a weekly. </span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">The very first backup job of the month is marked as an "M" which stands for monthly. </span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">The very first backup job of the year is marked with a "Y" for yearly. </span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9rtgxlRvkf3r8eB-73co5B-Hx1XLKviY3bnf5PZlcpzZJOjwf9icxtHmeZI5PYc-veYSoHGB22bKALVO5RAvAD6vwt5AOzH9OeR3I438eh7WhEmCZ69QesL6xA3KWGsv1kTc64w/s1600/adv_ret.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><span style="font-family: Georgia, Times New Roman, serif;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9rtgxlRvkf3r8eB-73co5B-Hx1XLKviY3bnf5PZlcpzZJOjwf9icxtHmeZI5PYc-veYSoHGB22bKALVO5RAvAD6vwt5AOzH9OeR3I438eh7WhEmCZ69QesL6xA3KWGsv1kTc64w/s1600/adv_ret.jpg" /></span></a></div>
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">Tags can be combined for backup jobs to create layers of retention. The first backup job of any system is tagged as "DWMY". Jobs made on a Sunday are tagged "DW", while the first backup of the month is marked "DM" if it is not on a Sunday, which is then tagged with a "DWM".</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<span style="font-family: Georgia, Times New Roman, serif;">For purposes of assigning advanced retention types, each day begins at 00:00:01 GMT, each week begins on Sunday, each month begins on the first calendar day of that month and each year begins on January 1.</span><br />
<span style="font-family: Georgia, Times New Roman, serif;"><br /></span>
<br />
<blockquote class="tr_bq">
<span style="font-family: Georgia, Times New Roman, serif;">Notes:</span><span style="font-family: Georgia, Times New Roman, serif;">You cannot apply advanced retention settings to on-demand backups. On-demand </span><span style="font-family: Georgia, Times New Roman, serif;">backups can occur at any time, and are therefore inherently asynchronous—the system </span><span style="font-family: Georgia, Times New Roman, serif;">cannot tag them as daily, weekly, monthly, or yearly.</span></blockquote>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5621301.post-73616178472984664682013-07-30T15:16:00.000+08:002013-07-30T15:22:10.970+08:00EMC Avamar 7 new features<div style="background-color: white; border: 0px; color: #333333; font-family: Georgia, 'Bitstream Charter', serif; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
<span style="font-size: x-small;">Version 7 of the Avamar backup software adds new features in three main areas. These areas, in order of interest to me personally, are:</span></div>
<ul style="background-color: white; border: 0px; color: #333333; font-family: Georgia, 'Bitstream Charter', serif; line-height: 24px; list-style: square; margin: 0px 0px 24px 1.5em; padding: 0px; vertical-align: baseline;">
<li style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"><span style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; font-size: x-small; line-height: 16px; margin: 0px; padding: 0px; vertical-align: baseline;">VMware</span></li>
<li style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"><span style="font-size: x-small;">Isilon</span></li>
<li style="background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"><span style="font-size: x-small;">Data Domain</span></li>
</ul>
<div>
<img alt="VM" height="334" src="http://thebackupwindow.emc.com/wp-content/uploads/2013/07/VM.png" width="640" /></div>
<div>
<span style="color: #333333; font-family: Georgia, Bitstream Charter, serif;"><span style="line-height: 24px;">More about Avamar 7 is here : </span></span><a href="http://thebackupwindow.emc.com/phil_george/emc-data-protection-suite-whats-new-in-emc-avamar-7/">http://thebackupwindow.emc.com/phil_george/emc-data-protection-suite-whats-new-in-emc-avamar-7/</a><br />
<br />
<img alt="Data Domain for Backup and Archive Storage" height="286" src="http://geekfluent.com/wp-content/uploads/2013/07/Backup-and-Archive.png" width="640" /><br />
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5621301.post-16469081013816009442012-10-11T15:21:00.000+08:002012-10-11T15:23:57.053+08:00AVAMAR : Restarting MCS <div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHYT949OCtWL33erZlIdP8ir3CGV-s3ZSZ6NPddFwU055pCeBQz3kHMbX3l_NosfvdE0DwL37Kckpps6daTc9xksa2uXxRie7-cZWSvB5lyzQbK3mOarUfuR_fWZsjzPRB2oyGQQ/s1600/MCS.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><br /></a></div>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: large;"><b>What is Avamar MCS </b></span><br /><br />The Management Console Server (MCS) provides centralized administration (scheduling, monitoring, and management) for the Avamar server. The MCS also runs the server-side processes used by the Avamar Administrator graphical management console which is serviced by JAVA. When you start the Avamar GUI you are interacting with the MCS<br /><br /> <a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHYT949OCtWL33erZlIdP8ir3CGV-s3ZSZ6NPddFwU055pCeBQz3kHMbX3l_NosfvdE0DwL37Kckpps6daTc9xksa2uXxRie7-cZWSvB5lyzQbK3mOarUfuR_fWZsjzPRB2oyGQQ/s1600/MCS.PNG" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="135" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHYT949OCtWL33erZlIdP8ir3CGV-s3ZSZ6NPddFwU055pCeBQz3kHMbX3l_NosfvdE0DwL37Kckpps6daTc9xksa2uXxRie7-cZWSvB5lyzQbK3mOarUfuR_fWZsjzPRB2oyGQQ/s320/MCS.PNG" width="320" /></a></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">PG28- EMC AVAMAR 6.1 ADMIN GUIDE<br /><br />The MCS interacts with the client avagent to start backup and recovery. Avamar agents are platform-specific software processes that run on the client and communicate with the Management Console Server (MCS) and any plug-ins installed on<br />that client. The MCS contacts the client’s avagent process and starts an avtar to perform a backup or recovery. <br /><br />I have made some changes on configurations on mcserver.xml files /usr/local/avamar/var/mc/server_data/prefs/mcserver.xml and after the changes i'll need to restart MCS to make sure it takes affect.<br /><br />As usual, you will need to login as ADMIN, or in my case i login as root and then change to Admin ID</span></span><br />
<blockquote class="tr_bq">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">admin@utility-01:~/>:su - admin</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">admin@utility-01:~/>:ssh-agent bash</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">admin@utility-01:~/>: ssh-add ~admin/.ssh/admin_key</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"></span></span></blockquote>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">STOP MCS (Its always suggested that you run dpnctl status first before stopping the MCS to check any services is down)</span></span><br />
<blockquote class="tr_bq">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">admin@utility-01:~/>: dpnctl stop mcs</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl: INFO: Shutting down MCS...</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl: INFO: MCS shut down.</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"></span></span></blockquote>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">After MCS Stopped, check the status</span></span><br />
<blockquote class="tr_bq">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">admin@utility-01:~/>: dpnctl status</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl: INFO: gsan status: up</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl: INFO: MCS status: down.</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl: INFO: EMS status: up.</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl: INFO: Backup scheduler status: down.</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl: INFO: dtlt status: up.</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl: INFO: Maintenance windows scheduler status: enabled.</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl: INFO: [see log file "/usr/local/avamar/var/log/dpnctl.log"]</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"></span></span></blockquote>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br />Start back MCS</span></span><br />
<blockquote class="tr_bq">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">admin@utility-01:~/>: dpnctl start mcs</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl: INFO: Starting MCS...</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl: INFO: To monitor progress, run in another window: tail -f /tmp/dpnctl-mcs-start-output-4109</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl: INFO: MCS started.</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"></span></span></blockquote>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Checked again the status</span></span><br />
<blockquote>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">admin@utility-01:~/>: dpnctl status</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl: INFO: gsan status: up</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl: INFO: MCS status: up.</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl: INFO: EMS status: up.</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl: INFO: Backup scheduler status: down.</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl: INFO: dtlt status: up.</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl: INFO: Maintenance windows scheduler status: enabled.</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"></span></span></blockquote>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">During the start back MCS , there's a line shows to tail one file to monitor the progress. Here is the files, it will show you verbose</span></span><br />
<blockquote class="tr_bq">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">root@utility-01:~/#: tail -f /tmp/dpnctl-mcs-start-output-4109</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">check.mcs passed</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">=== PASS === check.mcs PASSED OVERALL (prestart)</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Starting Administrator Server at: Thu Oct 11 14:51:00 SGT 2012</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Starting Administrator Server...</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">2012-10-11 14:51:22.988:INFO::Logging to STDERR via org.mortbay.log.StdErrLog</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">2012-10-11 14:51:23.065:INFO::jetty-6.1.23</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">2012-10-11 14:51:23.100:INFO::Extract lib/axis2.war to /usr/local/avamar/var/mc/server_tmp/Jetty_0_0_0_0_9443_axis2.war____.w8a9ms/webapp</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">2012-10-11 14:51:26.267:INFO::Started SslSocketConnector@0.0.0.0:9443</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Administrator Server started.</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">INFO: Starting Data Domain SNMP Manager....</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">INFO: Connecting to MCS Server: utility-01.corpnet2.com at port: 7778...</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">INFO: Successfully connected to MCS Server: utility-01.corpnet2.com at port: 7778.</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">INFO: No trap listeners were started, Data Domain SNMP Manager didn't start.</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"></span></span></blockquote>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">Sometime, in older version of Avamar when you stopped MCS it will stop the maintanencice and schedule, to start it back run this command:</span></span><br />
<blockquote class="tr_bq">
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctl start maint</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"></span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;">dpnctsl start sched</span></span><br />
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"></span></span></blockquote>
<span style="font-size: small;"><span style="font-family: "Trebuchet MS",sans-serif;"><br /></span></span>Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-5621301.post-84210704298835364332012-03-11T22:59:00.005+08:002012-03-11T23:08:11.121+08:00Netbackup: oprd returned abnormal status (96)<div><span style="font-family: 'Trebuchet MS', sans-serif;">It started when i got this message on of the the media server:</span></div><span style="font-family: 'Trebuchet MS', sans-serif;"><br />
</span><br />
<br />
<blockquote class="tr_bq"><span style="font-family: 'Trebuchet MS', sans-serif;">Mar 11, 2012 2:55:55 PM - awaiting resource mediaserver013_tld2. Waiting for resources. </span><span style="font-family: 'Trebuchet MS', sans-serif;"> Reason: Tape media server is not active, Media server: mediaserver013 , </span><span style="font-family: 'Trebuchet MS', sans-serif;"> Robot Type(Number): TLD(2), Media ID: N/A, Drive Name: N/A, </span><span style="font-family: 'Trebuchet MS', sans-serif;"> Volume Pool: LTO2, Storage Unit: mediaserver013 _tld2, Drive Scan Host: N/A, </span><span style="font-family: 'Trebuchet MS', sans-serif;"> Disk Pool: N/A, Disk Volume: N/A </span></blockquote><span style="font-family: 'Trebuchet MS', sans-serif;"><br />
</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;">Further check on media server it self, reveal this error:</span><br />
<span style="font-family: 'Trebuchet MS', sans-serif;"><br />
</span><br />
<blockquote class="tr_bq"><span style="background-color: black; color: white;"><span style="font-family: 'Trebuchet MS', sans-serif;"><span style="line-height: 19px;">root@</span><span style="line-height: 19px;"> </span>mediaserver013 <span style="line-height: 19px;"># </span><span style="line-height: 19px;">/usr/openv/volmgr/bin</span><span style="line-height: 19px;">/vmoprcmd -d</span></span><span style="font-family: 'Trebuchet MS', sans-serif;"><span style="line-height: 19px;">oprd returned abnormal status (96)</span></span><span style="font-family: 'Trebuchet MS', sans-serif;"><span style="line-height: 19px;">IPC Error: Daemon may not be running</span></span></span></blockquote><span style="color: #333333; font-family: 'Trebuchet MS', sans-serif; line-height: 19px;"><b><u>What i did to resolve this:</u></b></span><br />
<b><u><span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"></span></u></b><br />
<span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"><span style="line-height: 19px;">One media server, stop NBU services</span></span><br />
<blockquote class="tr_bq"><span style="font-family: 'Trebuchet MS', sans-serif;"><span style="color: white; line-height: 19px;">root@ mediaserver013 # /usr/openv/netbackup/bin/goodies/netbackup stop</span></span></blockquote><span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"><span style="line-height: 19px;"><br />
</span></span><br />
<span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"><span style="line-height: 19px;">Stop PBX Exchange on media server</span></span><br />
<blockquote class="tr_bq"><span style="font-family: 'Trebuchet MS', sans-serif;"><span style="color: white; line-height: 19px;">root@ mediaserver013 # /opt/VRTSpbx/bin/vxpbx_exchanged stop</span></span></blockquote><span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"><span style="line-height: 19px;"><br />
</span></span><br />
<span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"><span style="line-height: 19px;"><br />
</span></span><br />
<span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"><span style="line-height: 19px;">Run nbrbutil command on Master server to reset any allocation on that media server</span></span><br />
<blockquote class="tr_bq"><span style="font-family: 'Trebuchet MS', sans-serif;"><span style="color: white; line-height: 19px;">root@ masterserver#/usr/openv/netbackup/bin/admincmd/nbrbutil -resetMediaServer mediaserver013 </span></span></blockquote><span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"><span style="line-height: 19px;"><br />
</span></span><br />
<span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"><span style="line-height: 19px;">Start PBX Exchange on media server</span></span><br />
<blockquote class="tr_bq"><span style="font-family: 'Trebuchet MS', sans-serif;"><span style="background-color: black; color: white; line-height: 19px;">root@ mediaserver013 # /opt/VRTSpbx/bin/vxpbx_exchanged start</span></span></blockquote><span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"><span style="line-height: 19px;"><br />
</span></span><br />
<span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"><span style="line-height: 19px;">Start NBU services on media server</span></span><br />
<blockquote class="tr_bq"><span style="font-family: 'Trebuchet MS', sans-serif;"><span style="color: white; line-height: 19px;">root@ mediaserver013 # /usr/openv/netbackup/bin/goodies/netbackup start</span></span></blockquote><div style="line-height: 19px;"><span style="color: #333333; font-family: 'Trebuchet MS', sans-serif;"><br />
</span></div><br />
<div><span style="color: #333333;"></span><br />
<div style="line-height: 19px;"><span style="color: #333333;"><br />
</span></div></div>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-5621301.post-22076250864960815722012-03-03T01:21:00.002+08:002012-03-03T01:22:00.001+08:00Types of Backup<div class="separator" style="clear: both; text-align: center;"></div><div style="text-align: -webkit-auto;">This explanations from Acronis is easy to understand for beginners:</div><br class="Apple-interchange-newline" /><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinX18LkspykVReWMPW06lN6lH7fZSnzb7xO3cyDe8FEMs3n80tdT3M6wxgck57Jvo59pzmMfE-EFxojJ1FUM6zyF6uCVu-6bP_ACqnAmut39AQvOts-XBV0ovFJuQs7M4r0K397g/s1600/types_of_backup.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="285" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinX18LkspykVReWMPW06lN6lH7fZSnzb7xO3cyDe8FEMs3n80tdT3M6wxgck57Jvo59pzmMfE-EFxojJ1FUM6zyF6uCVu-6bP_ACqnAmut39AQvOts-XBV0ovFJuQs7M4r0K397g/s400/types_of_backup.png" width="400" /></a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5621301.post-49424590919523013182012-02-20T02:50:00.002+08:002012-02-20T02:51:43.264+08:00RPO and RTO- a worked example<span style="font-family: 'Trebuchet MS', sans-serif;">This information i read in Wikipedia (here's the <a href="http://en.wikipedia.org/wiki/Recovery_point_objective">link </a>) , im in the midst of designing and writing a proposal for a small organizations for their backup and DR solutions. In DR scenario, two most important things you must remember is RTO & RPO. Below is the explanations from wiki page:</span><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuu2bdT7ml0jC6rALPJNfb2Q42UZBkFoxuu2iqduW_O4bQ5BNjUCvilXbJbCro_xdUi_r_lZ777Z3-emSV0JrXHbcjsEdHbQiiYqlNHu-zYLrwHFdifjr1jv3YLlLNmI4HQtnSMA/s1600/Schematic_ITSC_and_RTO,_RPO,_MI.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="97" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuu2bdT7ml0jC6rALPJNfb2Q42UZBkFoxuu2iqduW_O4bQ5BNjUCvilXbJbCro_xdUi_r_lZ777Z3-emSV0JrXHbcjsEdHbQiiYqlNHu-zYLrwHFdifjr1jv3YLlLNmI4HQtnSMA/s400/Schematic_ITSC_and_RTO,_RPO,_MI.jpg" width="400" /></a></div><br />
<br />
<div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">The above figure is an example of how RPO and RTO might pan out in a practical situation. Tape is used for backup in this example. The tapes are sent offsite once per day at around the same time, but this timing is not fully guaranteed. The offsiting operation does happen to occur at roughly the same time of day in the chart above. The daily backup offsiting tasks in this example are as follows:</div><ul style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; list-style-image: url(data:image/png; list-style-type: square; margin-bottom: 0px; margin-left: 1.6em; margin-right: 0px; margin-top: 0.3em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"><li style="margin-bottom: 0.1em;">A set of backups are made to tape, possibly via a disk staging area? The synchronisation point for each set of backups is late in the backup operation in this example as several large databases have to be backed up and all of them are required for a Synchronisation Point (this is typical of such systems).</li>
<li style="margin-bottom: 0.1em;">After that the tapes have to be ejected, collated, and catalogued as they are boxed. It is often the case that offsiting operations are batched across a wide spectrum of systems at a data centre; generally the backups for all services have to wait for the very last one to be created and boxed before they can be sent to the loading bay for transport.</li>
<li style="margin-bottom: 0.1em;">Pickups by offsite data repositories are expensive. Generally a daily pickup with a reasonably priced contract will have only an approximate time for pickup and will be predicated on the data centre being ready with the tapes when the van turns up- extra pickups will be generally too expensive to contemplate on a regular basis so a data centre must build contingency time into the preparation period before the pickup is due to occur.</li>
</ul><div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">All of which must be done before the pickup- and all of which must be included in the RPO calculation because the synchronisation point being sent offsite depends on backups that were started very near to the start of these activities. So: a recovered service, after a restore from one of these daily backups, will be very likely to start up as at the end of the online day perhaps 13 or so hours or more, before the restored tapes were driven away from the Production data centre.</div><div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">Against this background, suppose that a Major Incident occurs just before an offsiting pick up (worst case) and as always the assumption is "total site loss, instantly"- so the prepared backups never leave the site. In this case the RPO is set to 48 hours- only twice the normal offsiting cycle. As it happens, on this occasion pickups have been regular for a while and you might make the mistake of thinking that because two offsiting operations have occurred within the RPO period noted above, you have two sets of tapes you might be able to use and still be within the RPO. This is not the case- the earlier set of tapes will produce a recovered service as at a recovery point that is much older than it needs to be to meet the 48 hour RPO. In this example perhaps 12 or 13 hours over that time. In this example, consider the effect of the latest set of offsited tapes being rendered useless by a critically defective tape in the set (perhaps a 5-10% chance?)- as you can see by the example above, you can now NOT meet the RPO at all. Tape capacity is increasing all the time- fewer tapes mean that individual tape defects damage more backed up data.</div><div style="background-color: white; font-family: sans-serif; font-size: 13px; line-height: 19px; margin-bottom: 0.5em; margin-top: 0.4em;">To complete the picture, the RTO is noted above too. In this case the service was recovered well before the RTO limit was hit. It is however interesting to contemplate the fact that in this example the RTO does NOT start just after the Major Incident. In this example, as often there is in reality, there is seemingly too much delay. A quick decision to go to invocation of the ITSC Plan is always the best decision; in principle... The rule in setting an RTO should be that the RTO is the longest period of time the business can do without the IT Service in question. On the back of this appropriately economic decisions must be taken at the design stage about how the IT Service is built and run. It must be allowed however that some time has to be spent in making the decision to invoke the ITSC Plan, this decision time is an unknown variable- remember too there are often quite large sums of money spent immediately the decision to invoke is taken- staff being called in for extended periods of 24 hour working cover and large fees charged by some recovery service providers. In the example, there is the almost inevitable fudge that the RTO is set to the maximum time the business can do without the service whilst knowing full well that there is very likely to be a period of decision making before it.</div><br />
<div><br />
</div>Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-5621301.post-61294789377849101652012-02-13T17:29:00.003+08:002012-02-13T17:30:25.410+08:00How to empty file without delete/recreate or VI<span style="font-family: Georgia, 'Times New Roman', serif;">This is simpler way to empty a file in bash, few options for you to choose:</span><br />
<div><br />
Option 1:</div><div><blockquote class="tr_bq">bash# cat /dev/null > [filename]</blockquote><div><br />
</div><div>Option 2:</div><blockquote class="tr_bq">bash# > [filename]</blockquote><div><br />
</div><div>Option 3:</div><blockquote class="tr_bq">bash# echo -n > [filename]</blockquote><div><br />
</div><div>Option 4:</div><blockquote class="tr_bq">bash# cat > [filename]<br />
and then Press Ctrl -D</blockquote></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5621301.post-31929246155460534262012-02-13T12:14:00.000+08:002012-02-13T12:14:16.787+08:00Netbackup MS-SQL Backup Processes<div style="text-align: left;"><span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;"><span style="font-size: 12px;"></span></span></div><span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;">If you tried to cancelled backup jobs from NBU GUI but the next stream still keep spawned a new job (in a case where many Database in one server). This process call dbbackex.exe on the MS SQL Client will still be listed as running in Task Manager. If several MS SQL backups have failed, an identical number of dbbackex.exe instances will be listed in Task Manager. These can safely be killed. The reason for the hang is that the error message returned by the SQL Server is not being handled by dbbackex.exe and this process dbbackex.exe can be killed if the MS-SQL backup job wont killed.</span><br />
<span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;"><br />
</span><br />
<span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;">The correct behavior in such a situation is that dbbackex.exe should skip the database and continue to back up the remaining databases</span><br />
<span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;"><br />
</span><br />
<span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;"><br />
</span><br />
<span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;">More details on DBBACKEX.exe Taken from NBU for MS-SQL Server admin Guide.</span><br />
<span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;"><br />
</span><br />
<div class="separator" style="clear: both; text-align: center;"><span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGkgJBhsbcLDovbIRfR7nTnlp7oq5Z9Eo-3T0WgIkSw_uhqvS7fg0VwQKLD-NeFyZr7-eAmSkXvY96bqv6FDHvCdcwnFQurwRPAxiYu-7NuyEfYeVFIsolfQjAB0y4Ame3z0ZsjQ/s1600/fig-1mssql.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGkgJBhsbcLDovbIRfR7nTnlp7oq5Z9Eo-3T0WgIkSw_uhqvS7fg0VwQKLD-NeFyZr7-eAmSkXvY96bqv6FDHvCdcwnFQurwRPAxiYu-7NuyEfYeVFIsolfQjAB0y4Ame3z0ZsjQ/s1600/fig-1mssql.PNG" /></a></span></div><span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;"><br />
</span><br />
<span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;"><br />
</span><br />
<div style="text-align: justify;"><span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;">■ The NetBackup for SQL Server GUI (dbbackup.exe) allows you to browse for</span></div><div style="text-align: justify;"><span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;">SQL Server objects, normally, databases, filegroups, and database files.</span></div><div style="text-align: justify;"><span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;">dbbackup.exe invokes dbbackmain.dll (8) for accessing the SQL Server</span></div><div style="text-align: justify;"><span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;">master database. NetBackup for SQL Server accesses information about SQL</span></div><div style="text-align: justify;"><span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;">Server using ODBC.</span></div><div style="text-align: justify;"><span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;">■ The NetBackup for SQL Server GUI (dbbackup.exe) also allows you to browse</span></div><div style="text-align: justify;"><span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;">for SQL backup images. The NetBackup catalog contains the images you can</span></div><div style="text-align: justify;"><span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;">browse. To access the contents of the catalog the GUI invokes</span></div><div style="text-align: justify;"><span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;">dbbackmain.dll, which uses VxBSA function calls to access the NetBackup</span></div><div style="text-align: justify;"><span style="color: #333333; font-family: Arial, 'Lucida Grande', Geneva, Verdana, sans-serif;">Server database manager.</span></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5621301.post-86047913625608706832012-02-08T23:00:00.000+08:002012-02-08T23:00:41.172+08:00Symantec NetBackup Ends the Backup Window with 100 Times Faster Backups<span style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;">Symantec is delivering a new approach to data protection and introducing NetBackup 7.5 with new options, including NetBackup Accelerator to speed backups by up to 100 times while delivering “Instant Full Recovery” capability, NetBackup Replication Director to integrate NetApp® Snapshots™ with backup, and NetBackup Search to allow simple search and recovery of backup data and selective legal hold. Unlike other backup technology that relies on the IT team to integrate multiple disparate backup solutions, NetBackup is available as a single integrated appliance for the data center, remote office and virtual environments, providing customers with simplified deployment and operations.</span><br />
<span style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><br />
</span><br />
<span style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;"><br />
</span><br />
<span style="font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;">Read more on Symantec Press Release <a href="http://www.symantec.com/about/news/release/article.jsp?prid=20120206_02">HERE</a></span>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5621301.post-73664975325332046312012-01-06T22:09:00.000+08:002012-01-06T22:09:06.294+08:00Netbackup Media in useERROR: When attempting a restore, the required media will not mount, stating "Media is in use", when it is known that the media is not physically in use. The restore appears to hang.<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQGzHpL4JjbfU4jq7ZgwwG8nr_knEG_TbK6AZAwPKEMntPcuDXZb2e2zGQxjcgTxdAda8PLLt1GVipOO1X1Ssdb0N-AT2Tosv8gUeGdWJaXjNBEikM02r4Dg39MsbpxHTuljBbIA/s1600/mds.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQGzHpL4JjbfU4jq7ZgwwG8nr_knEG_TbK6AZAwPKEMntPcuDXZb2e2zGQxjcgTxdAda8PLLt1GVipOO1X1Ssdb0N-AT2Tosv8gUeGdWJaXjNBEikM02r4Dg39MsbpxHTuljBbIA/s1600/mds.JPG" /></a></div><br />
We can release the media by the allocationKey :<br />
<br />
<blockquote class="tr_bq">backupserver-root /usr/openv/netbackup/bin/admincmd: ./nbrbutil -dump > /var/tmp/nbrb.out</blockquote><br />
Media ID in this case is SL2531<br />
<br />
<br />
<blockquote class="tr_bq"><span style="font-size: xx-small;">backupserver-root /usr/openv/netbackup/bin/admincmd: cat /var/tmp/nbrb.out |grep SL2531<br />
index=0 (Request provider=TapeSpanProvider resourcename=NEXT MEDIA RESOURCE userSequence=0 (mediatapespanrequest: request=(MediaRequest: mediaId=SL2531 mediaServer=mediaserver1.int.com mediaKey=0 userReservationId= assignedTime=1324299337 client=uk1us00001.corpnet2.com usageType=2 mustBeNdmp=no driveName=STVDSADI001_P1_20 drivePath= mediaPool= robotNumber=-1 slotNumber=-1 density=-1 ndmpControlHost= failIfNoMedia=yes externalFile= mediaType=2 mediaSubType=0 isNdmp=false isTirRestore=false isFlashbackupRestore=false isBlockMapRead=false isCatalogBackup=false isGcsCatalogBackup=false isVMWare=false isLifeCycle=false preferVtlToDirectAttachedTape=true) previousid={E371B58A-1DD1-11B2-913D-0003BA36C061} previousFailed=no)))<br />
MdsAllocation: allocationKey=455557 jobType=2 mediaKey=4005380 mediaId=SL2531 driveKey=0 driveName= drivePath= stuName= masterServerName=stvsxbak03.ggr.co.uk mediaServerName=mediaserver1.int.com ndmpTapeServerName= diskVolumeKey=0 mountKey=0 linkKey=0 fatPipeKey=0 scsiResType=0 serverStateFlags=0</span></blockquote><div><br />
</div><div>Now release the media by referring its allocation ID which is 455557:</div><div><br />
</div><blockquote class="tr_bq">backupserver-root /usr/openv/netbackup/bin/admincmd: ./nbrbutil -releaseMDS 455557</blockquote><div>Refer <a href="http://www.symantec.com/business/support/index?page=content&id=TECH47778">here </a>for more information.</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5621301.post-41647357126593824832012-01-05T18:43:00.000+08:002012-01-05T18:43:30.391+08:00How to verify backup status using Avamar MCCLIThis guide is to help you to verify backup status from Avamar Utility Node. If you find using GUI is too slow to validate backup of hundreds of failed client, you can use this command which later you can customize a script and sent to your email etc2.<br />
<div><br />
</div><div><blockquote class="tr_bq">Syntax:<br />
mccli activity show [GLOBAL-OPTIONS] [--active=Boolean(false)]<br />
[--completed=Boolean(false)] [--domain=STRING]<br />
[--queued=Boolean(false)] --name=STRING [--verbose=Boolean(false)]<br />
[DISPLAY-OPTIONS]</blockquote>--active=Boolean(false) If set true, only currently running activities are returned.<br />
--completed=Boolean(false) If set true, only completed activities are returned.<br />
--domain=STRING Specifies Avamar server domain containing the client specified by the --name argument.<br />
If this option is suppled and --name is not supplied, all activities within that domain are shown.<br />
--name=STRING Specifies client for which activities should be shown.<br />
IMPORTANT: If a fully-qualified client name (for example, /clients/MyClient) is supplied, the --domain argument is ignored.<br />
--queued=Boolean(false) If set true, only queued activities are returned.<br />
--verbose=Boolean(false) If set true, detailed (verbose) activity information is returned. If set false or not supplied, summary<br />
information is returned.<br />
<br />
Example:<br />
<blockquote class="tr_bq"><span style="font-size: xx-small;">root@AVAMAR2-01:~/#: mccli activity show --domain=/clients --name=petai.internal.com</span><span style="font-size: xx-small;">0,23000,CLI command completed successfully.</span><span style="font-size: xx-small;">ID Status Error Code Start Time Elapsed End Time Type Progress Bytes New Bytes</span><span style="font-size: xx-small;">---------------- --------------- ---------- -------------------- ----------- -------------------- ------------------ -------------- ---------</span><span style="font-size: xx-small;">1325749602471357 Completed 0 2012-01-05 02:46 GMT 00h:00m:30s 2012-01-05 02:47 GMT Replication Source 17,785,115,628 0.3%</span><span style="font-size: xx-small;">9132563981301809 Completed 0 2012-01-03 20:22 GMT 00h:10m:16s 2012-01-03 20:32 GMT Scheduled Backup 10,058,429,430 0.2%</span><span style="font-size: xx-small;">9132555240085809 Completed 0 2012-01-02 20:13 GMT 00h:10m:13s 2012-01-02 20:23 GMT Scheduled Backup 10,048,182,833 0.1%</span><span style="font-size: xx-small;">9132572629437809 Completed 0 2012-01-04 20:23 GMT 00h:12m:45s 2012-01-04 20:36 GMT Scheduled Backup 10,364,971,854 0.2%</span><span style="font-size: xx-small;">9132563880102609 Dropped Session 0 2012-01-03 20:00 GMT 00h:16m:50s 2012-01-03 20:16 GMT Scheduled Backup 228,208,607 <0.05%</span><span style="font-size: xx-small;">9132572520094709 Dropped Session 0 2012-01-04 20:00 GMT 00h:18m:12s 2012-01-04 20:18 GMT Scheduled Backup 205,595,909 <0.05%</span><span style="font-size: xx-small;">9132574628474509 Completed 0 2012-01-05 01:51 GMT 00h:03m:22s 2012-01-05 01:54 GMT On-Demand Backup 10,384,285,025 0.3%</span><span style="font-size: xx-small;">1325663022756671 Completed 0 2012-01-04 02:43 GMT 00h:00m:30s 2012-01-04 02:44 GMT Replication Source 8,604,757,950 0.2%</span><span style="font-size: xx-small;">1325573948329840 Completed 0 2012-01-03 01:59 GMT 00h:00m:00s 2012-01-03 01:59 GMT Replication Source 8,687,492,631 0.2%</span> </blockquote><br />
If you want to filter only the complete session add –completed argument:<br />
<br />
<blockquote class="tr_bq"><span style="font-size: xx-small;">root@AVAMAR2-01:~/#: mccli activity show --domain=/clients --name=petai.internal.com --completed=true<br />
0,23000,CLI command completed successfully.<br />
ID Status Error Code Start Time Elapsed End Time Type Progress Bytes New Bytes<br />
---------------- --------------- ---------- -------------------- ----------- -------------------- ------------------ -------------- ---------<br />
1325574080407145 Completed 0 2012-01-03 02:01 GMT 00h:00m:00s 2012-01-03 02:01 GMT Replication Source 8,772,149,532 0.2%<br />
1325749741228668 Completed 0 2012-01-05 02:49 GMT 00h:00m:00s 2012-01-05 02:49 GMT Replication Source 8,943,263,903 0.2%<br />
9132563520048709 Dropped Session 0 2012-01-03 19:00 GMT 00h:16m:45s 2012-01-03 19:16 GMT Scheduled Backup 240,225,638 <0.05%<br />
9132572160051009 Dropped Session 0 2012-01-04 19:00 GMT 00h:16m:49s 2012-01-04 19:16 GMT Scheduled Backup 210,904,174 0%<br />
9132563620592309 Completed 0 2012-01-03 19:24 GMT 00h:20m:11s 2012-01-03 19:44 GMT Scheduled Backup 9,834,628,293 0.2%<br />
1325663189759348 Completed 0 2012-01-04 02:46 GMT 00h:00m:00s 2012-01-04 02:46 GMT Replication Source 8,642,061,742 0.3%<br />
9132572261614109 Completed 0 2012-01-04 19:27 GMT 00h:21m:39s 2012-01-04 19:48 GMT Scheduled Backup 10,155,148,114 0.2% </span></blockquote></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5621301.post-54989647920810687412011-12-19T17:42:00.000+08:002011-12-19T17:42:22.104+08:00How to initiate image clean up manually<div style="font-family: "Trebuchet MS",sans-serif;">How to initiate image clean up manually against all media server.</div><br />
<blockquote class="tr_bq">#/usr/openv/netbackup/bin/admincmd/bpimage -cleanup -allclients</blockquote>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5621301.post-58634822728019540262011-12-06T00:10:00.000+08:002011-12-06T00:10:53.688+08:00NBU 7.X: All UNIX 32-bit system support has been discontinued<div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgx99dJ2a9-aXYBpd3j-7bCQZCyv-TKcf9Nn0PnZ8NcTBRVeeLH7-2Ji3CgUtan561CAsFaI-9Ylb7kg257ZYkrTDPrqGntwQOiaTu_nQAoirlSdWvLt-L4nLBh2bSRjsKtfctlw/s1600/NBU7-OSCompatibility-Page67.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"> </a></div><div style="font-family: "Trebuchet MS",sans-serif;"><span style="font-size: small;"> From the NetBackup 7.0 <a href="http://download1.veritas.com/support/products/NetBackup_Enterprise_Server/340098.pdf" target="_blank">Release Notes</a>: "...<br />
All UNIX 32-bit system support has been discontinued. To upgrade these systems to NetBackup 7.0, you must first migrate your current NetBackup 6.x catalogs and databases to a system with a supported platform. However, 32-bit media servers and clients that use NetBackup 6.x are compatible with 64-bit master servers that use NetBackup 7.0.</span></div><div style="font-family: "Trebuchet MS",sans-serif;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgx99dJ2a9-aXYBpd3j-7bCQZCyv-TKcf9Nn0PnZ8NcTBRVeeLH7-2Ji3CgUtan561CAsFaI-9Ylb7kg257ZYkrTDPrqGntwQOiaTu_nQAoirlSdWvLt-L4nLBh2bSRjsKtfctlw/s1600/NBU7-OSCompatibility-Page67.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="235" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgx99dJ2a9-aXYBpd3j-7bCQZCyv-TKcf9Nn0PnZ8NcTBRVeeLH7-2Ji3CgUtan561CAsFaI-9Ylb7kg257ZYkrTDPrqGntwQOiaTu_nQAoirlSdWvLt-L4nLBh2bSRjsKtfctlw/s320/NBU7-OSCompatibility-Page67.jpg" width="320" /></a></div><div style="font-family: "Trebuchet MS",sans-serif;"><br />
</div><div style="font-family: "Trebuchet MS",sans-serif;"><br />
</div><div style="font-family: "Trebuchet MS",sans-serif;"><br />
</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5621301.post-27905890340732639232011-10-25T16:37:00.005+08:002011-10-25T16:44:42.748+08:00How to add new alias into existing Zone<div style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;">Example:</span></div><div style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;"><br />
</span></div><div style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;">Existing Zone name: Z_NBU_serverA_hba1</span></div><div style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;"><br />
</span></div><div style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;">In this example, i want to add one more alias with name NBU_targets_2</span></div><div style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;"><br />
</span></div><div style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;">Add alias into existing zone </span></div><div style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;"><br />
</span></div><div style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;">FabricA:</span></div><div style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;"><br />
</span></div><blockquote class="tr_bq" style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;">FabricA:admin> zoneshow Z_NBU_serverA_hba1</span><br />
<span style="font-size: small;"> zone: Z_NBU_serverA_hba1</span><br />
<span style="font-size: small;"> NBU_targets_1; serverA_hba1_fab_b</span></blockquote><div style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;"><br />
</span></div><div style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;">Syntax:</span></div><blockquote class="tr_bq" style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;">zoneadd "ZONE_NAME", "NEW_ALIAS_NAME"<zone_name><new_alias_name></new_alias_name></zone_name></span></blockquote><div style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;"><br />
</span></div><blockquote class="tr_bq" style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;">FabricA:admin> zoneadd "Z_NBU_serverA_hba1", "NBU_targets_2"</span></blockquote><div style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;"><br />
</span></div><div style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;">Now, we verify the zone name with newly added alias:</span></div><div style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;"><br />
</span></div><blockquote class="tr_bq" style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: small;">FabricA:admin> zoneshow Z_NBU_serverA_hba1</span><br />
<span style="font-size: small;"> zone: Z_NBU_serverA_hba1</span><br />
<span style="font-size: small;"> NBU_targets_1; serverA_hba1_fab_b;NBU_targets_2</span></blockquote>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5621301.post-71944136444581154112011-10-08T12:21:00.004+08:002011-10-09T11:55:36.857+08:00MySQL Dump Script for Windows<div style="font-family: "Helvetica Neue",Arial,Helvetica,sans-serif;">This is my simple script used to do a mysqldump on Windows server and then associate it with Windows Scheduler task. <br />
<br />
Mysqldump syntax, there are three general ways to invoke <b>mysqldump</b>: <br />
<blockquote><pre class="code"><span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;">shell> </span><b style="font-family: Georgia,"Times New Roman",serif;">mysqldump [</b><i style="font-family: Georgia,"Times New Roman",serif;">options</i><b style="font-family: Georgia,"Times New Roman",serif;">]</b><span style="font-family: Georgia,"Times New Roman",serif;"> </span><i style="font-family: Georgia,"Times New Roman",serif;">db_name</i><span style="font-family: Georgia,"Times New Roman",serif;"> </span><b style="font-family: Georgia,"Times New Roman",serif;">[</b><i style="font-family: Georgia,"Times New Roman",serif;">tables</i><b style="font-family: Georgia,"Times New Roman",serif;">]
</b><span style="font-family: Georgia,"Times New Roman",serif;">shell> </span><b style="font-family: Georgia,"Times New Roman",serif;">mysqldump [</b><i style="font-family: Georgia,"Times New Roman",serif;">options</i><b style="font-family: Georgia,"Times New Roman",serif;">] --databases</b><span style="font-family: Georgia,"Times New Roman",serif;"> </span><i style="font-family: Georgia,"Times New Roman",serif;">db_name1</i><span style="font-family: Georgia,"Times New Roman",serif;"> </span><b style="font-family: Georgia,"Times New Roman",serif;">[</b><i style="font-family: Georgia,"Times New Roman",serif;">db_name2 db_name3</i><b style="font-family: Georgia,"Times New Roman",serif;">...]
</b><span style="font-family: Georgia,"Times New Roman",serif;">shell> </span><b style="font-family: Georgia,"Times New Roman",serif;">mysqldump [</b><i style="font-family: Georgia,"Times New Roman",serif;">options</i></span><b><span style="font-size: small;"><span style="font-family: Georgia,"Times New Roman",serif;">] --all-databases</span></span></b></pre></blockquote><br />
<br />
I found few other script here and there and i combine it in one script here:</div><br />
<br />
<blockquote style="font-family: Georgia,"Times New Roman",serif;"><span style="font-size: x-small;">R</span><span style="font-size: x-small;">EM [at] echo off<br />
<br />
for /f "tokens=1" %%i in ('date /t') do set DATE_DOW=%%i<br />
<br />
for /f "tokens=2" %%i in ('date /t') do set DATE_DAY=%%i<br />
for /f %%i in ('echo %date_day:/=-%') do set DATE_DAY=%%i<br />
for /f %%i in ('time /t') do set DATE_TIME=%%i<br />
for /f %%i in ('echo %date_time::=-%') do set DATE_TIME=%%i<br />
<br />
"C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqldump" -u root -p207007 --all-databases> "C:\mySQL_Backup\%DATE_DAY%_%DATE_TIME%_db.sql"<br />
<br />
"C:\Program Files\7-Zip\7z.exe" a -t7z "C:\mySQL_Backup\%DATE_DAY%_%DATE_TIME%_db.7z" "C:\mySQL_Backup\%DATE_DAY%_%DATE_TIME%_db.sql"<br />
<br />
del "C:\mySQL_Backup\%DATE_DAY%_%DATE_TIME%_db.sql"</span></blockquote> Here is the sample output on Windows command :<br />
<blockquote style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"><span style="font-family: Georgia,"Times New Roman",serif; font-size: x-small;">C:\>REM [at] echo off<br />
C:\>for /F "tokens=1" %i in ('date /t') do set DATE_DOW=%i<br />
C:\>set DATE_DOW=Wed<br />
C:\>for /F "tokens=2" %i in ('date /t') do set DATE_DAY=%i<br />
C:\>set DATE_DAY=10/05/2011<br />
C:\>for /F %i in ('echo 10-05-2011') do set DATE_DAY=%i<br />
C:\>set DATE_DAY =10-05-2011<br />
C:\>for /F %i in ('time /t') do set DATE_TIME=%i<br />
C:\>set DATE_TIME=04:48<br />
C:\>for /F %i in ('echo 04-48') do set DATE_TIME=%i<br />
C:\>set DATE_TIME=04-48<br />
C:\>"C:\Program Files\MySQL\MySQL Server 4.1\bin\mysqldump" -u root -p207007 --all-databases 1>"C:\mySQL_Backup\10-05-2011_04-48_db.sql"<br />
<br />
C:\>"C:\Program Files\7-Zip\7z.exe" a -t7z "C:\mySQL_Backup\10-05-2011_04-48_db.7z" "C:\mySQL_Backup\10-05-2011_04-48_db.sql"<br />
<br />
7-Zip 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18<br />
Scanning<br />
<br />
Creating archive C:\mySQL_Backup\10-05-2011_04-48_db.7z<br />
<br />
Compressing 10-05-2011_04-48_db.sql 56%</span><br />
<br />
<br />
</span></blockquote>The compressing will show you the percentage complete, and once compressing complete it will delete the original sql dump file.Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5621301.post-5552524305610478432011-09-25T22:31:00.002+08:002011-09-25T22:31:51.260+08:007-Steps :Continual Service Improvement<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUSLP-Np2i7_9ZWVTJkbCpxOIgsY4or6voq7kFpYtI3b001i4PEhhblCI20F-5qNKmLsom9Q-sWESl4V3DkVTnpdzMMBwsjVh3Feultgtw3OwG2nPcVvh0OrsvtXoS4dWsHlQuBA/s1600/csi-process.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUSLP-Np2i7_9ZWVTJkbCpxOIgsY4or6voq7kFpYtI3b001i4PEhhblCI20F-5qNKmLsom9Q-sWESl4V3DkVTnpdzMMBwsjVh3Feultgtw3OwG2nPcVvh0OrsvtXoS4dWsHlQuBA/s1600/csi-process.png" /></a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5621301.post-85178980410477042912011-09-25T11:25:00.001+08:002011-09-25T22:32:36.376+08:004 P’s of IT Service Management<ul><li><span style="color: #00b0f0; font-family: Corbel; font-size: large; font-weight: bold;">People</span><span style="color: #685d55; font-family: Corbel; font-size: large;"> (including skills, experience, knowledge, culture and communication)</span></li>
<li><span style="color: #00b0f0; font-family: Corbel; font-size: large; font-weight: bold;">Processes</span><span style="color: #685d55; font-family: Corbel; font-size: large;"> (including policies, role descriptions, usability and measurability)</span></li>
<li><span style="color: #00b0f0; font-family: Corbel; font-size: large; font-weight: bold;">Products</span><span style="color: #685d55; font-family: Corbel; font-size: large;"> (</span><span style="color: #685d55; font-family: Corbel; font-size: large; font-weight: bold;">technology</span><span style="color: #685d55; font-family: Corbel; font-size: large;">, including performance, price and support)</span></li>
<li><span style="color: #00b0f0; font-family: Corbel; font-size: large; font-weight: bold;">Partners</span><span style="color: #685d55; font-family: Corbel; font-size: large;"> (</span><span style="color: #685d55; font-family: Corbel; font-size: large; font-weight: bold;">suppliers</span><span style="color: #685d55; font-family: Corbel; font-size: large;">, including contracts, monitoring and reporting)</span></li>
</ul>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5621301.post-87050873240855251112011-09-24T23:47:00.001+08:002011-09-24T23:50:35.950+08:00FT pipes are in useIn 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.<br />
<br />
In the Job Details, this will indicates and show you the FT Pipes are in use:<br />
<blockquote><span style="font-size: x-small;">Sep 23, 2011 7:02:09 AM - awaiting resource stug-dpad_nbx_01. Waiting for resources. <br />
Reason: FT pipes are in use, Media server: nbu004.net2.com, <br />
Robot Type(Number): NONE(N/A), Media ID: N/A, Drive Name: N/A, <br />
Volume Pool: NetBackup, Storage Unit: stu-dpad_nbu004_01, Drive Scan Host: N/A, <br />
Disk Pool: dpad_nbu004_01, Disk Volume: /opt/openv/dpad_nbu004_01_06 </span></blockquote>Now, we list the orphaned pipes:<br />
<blockquote style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;"># /usr/openv/netbackup/bin/admincmd/nbrbutil -listOrphanedPipes<br />
<br />
Pipe ID Pipe State Media Server<br />
==============================================================================<br />
3 PIPE_ORPHANED nbu002.net2.com<br />
10 PIPE_ORPHANED nbu005.net2.com<br />
12 PIPE_ORPHANED nbu005.net2.com<br />
13 PIPE_ORPHANED nbu005.net2.com<br />
14 PIPE_ORPHANED nbu005.net2.com<br />
15 PIPE_ORPHANED nbu005.net2.com<br />
16 PIPE_ORPHANED nbu005.net2.com<br />
4 PIPE_ORPHANED nbu006.net2.com<br />
5 PIPE_ORPHANED nbu006.net2.com<br />
6 PIPE_ORPHANED nbu006.net2.com<br />
7 PIPE_ORPHANED nbu006.net2.com<br />
8 PIPE_ORPHANED nbu006.net2.com<br />
9 PIPE_ORPHANED nbu006.net2.com<br />
10 PIPE_ORPHANED nbu006.net2.com<br />
11 PIPE_ORPHANED nbu006.net2.com<br />
12 PIPE_ORPHANED nbu006.net2.com<br />
13 PIPE_ORPHANED nbu006.net2.com<br />
15 PIPE_ORPHANED nbu006.net2.com<br />
16 PIPE_ORPHANED nbu006.net2.com<br />
16 PIPE_ORPHANED nbu008.net2.com<br />
1 PIPE_ORPHANED nbu009.net2.com<br />
3 PIPE_ORPHANED nbu009.net2.com<br />
4 PIPE_ORPHANED nbu009.net2.com<br />
5 PIPE_ORPHANED nbu009.net2.com<br />
6 PIPE_ORPHANED nbu009.net2.com<br />
7 PIPE_ORPHANED nbu009.net2.com<br />
8 PIPE_ORPHANED nbu009.net2.com<br />
9 PIPE_ORPHANED nbu009.net2.com<br />
14 PIPE_ORPHANED nbu009.net2.com<br />
15 PIPE_ORPHANED nbu009.net2.com<br />
16 PIPE_ORPHANED nbu009.net2.com<br />
8 PIPE_ORPHANED nbu002.net2.com<br />
12 PIPE_ORPHANED nbu002.net2.com<br />
1 PIPE_CLIENT_ORPHANED nbu003.net2.com<br />
2 PIPE_CLIENT_ORPHANED nbu003.net2.com<br />
3 PIPE_CLIENT_ORPHANED nbu003.net2.com<br />
4 PIPE_CLIENT_ORPHANED nbu003.net2.com<br />
5 PIPE_CLIENT_ORPHANED nbu003.net2.com<br />
6 PIPE_CLIENT_ORPHANED nbu003.net2.com<br />
7 PIPE_CLIENT_ORPHANED nbu003.net2.com<br />
8 PIPE_CLIENT_ORPHANED nbu003.net2.com<br />
9 PIPE_CLIENT_ORPHANED nbu003.net2.com<br />
10 PIPE_CLIENT_ORPHANED nbu003.net2.com<br />
11 PIPE_CLIENT_ORPHANED nbu003.net2.com<br />
12 PIPE_CLIENT_ORPHANED nbu003.net2.com<br />
13 PIPE_CLIENT_ORPHANED nbu003.net2.com<br />
14 PIPE_CLIENT_ORPHANED nbu003.net2.com<br />
15 PIPE_CLIENT_ORPHANED nbu003.net2.com<br />
16 PIPE_CLIENT_ORPHANED nbu003.net2.com<br />
1 PIPE_CLIENT_ORPHANED nbu004.net2.com<br />
2 PIPE_CLIENT_ORPHANED nbu004.net2.com<br />
3 PIPE_CLIENT_ORPHANED nbu004.net2.com<br />
4 PIPE_CLIENT_ORPHANED nbu004.net2.com<br />
6 PIPE_CLIENT_ORPHANED nbu004.net2.com<br />
7 PIPE_CLIENT_ORPHANED nbu004.net2.com<br />
8 PIPE_CLIENT_ORPHANED nbu004.net2.com<br />
9 PIPE_CLIENT_ORPHANED nbu004.net2.com<br />
10 PIPE_CLIENT_ORPHANED nbu004.net2.com<br />
11 PIPE_CLIENT_ORPHANED nbu004.net2.com<br />
12 PIPE_CLIENT_ORPHANED nbu004.net2.com<br />
13 PIPE_CLIENT_ORPHANED nbu004.net2.com<br />
14 PIPE_CLIENT_ORPHANED nbu004.net2.com<br />
15 PIPE_CLIENT_ORPHANED nbu004.net2.com<br />
16 PIPE_CLIENT_ORPHANED nbu004.net2.com<br />
1 PIPE_CLIENT_ORPHANED nbu005.net2.com<br />
2 PIPE_CLIENT_ORPHANED nbu005.net2.com<br />
3 PIPE_CLIENT_ORPHANED nbu005.net2.com<br />
4 PIPE_CLIENT_ORPHANED nbu005.net2.com<br />
5 PIPE_CLIENT_ORPHANED nbu005.net2.com<br />
6 PIPE_CLIENT_ORPHANED nbu005.net2.com<br />
7 PIPE_CLIENT_ORPHANED nbu005.net2.com<br />
8 PIPE_CLIENT_ORPHANED nbu005.net2.com<br />
9 PIPE_CLIENT_ORPHANED nbu005.net2.com<br />
11 PIPE_CLIENT_ORPHANED nbu005.net2.com<br />
2 PIPE_CLIENT_ORPHANED nbu006.net2.com<br />
1 PIPE_CLIENT_ORPHANED nbu006.net2.com<br />
14 PIPE_CLIENT_ORPHANED nbu006.net2.com<br />
1 PIPE_CLIENT_ORPHANED nbu007.net2.com<br />
2 PIPE_CLIENT_ORPHANED nbu007.net2.com<br />
3 PIPE_CLIENT_ORPHANED nbu007.net2.com<br />
4 PIPE_CLIENT_ORPHANED nbu007.net2.com<br />
5 PIPE_CLIENT_ORPHANED nbu007.net2.com<br />
6 PIPE_CLIENT_ORPHANED nbu007.net2.com<br />
7 PIPE_CLIENT_ORPHANED nbu007.net2.com<br />
8 PIPE_CLIENT_ORPHANED nbu007.net2.com<br />
9 PIPE_CLIENT_ORPHANED nbu007.net2.com<br />
10 PIPE_CLIENT_ORPHANED nbu007.net2.com<br />
11 PIPE_CLIENT_ORPHANED nbu007.net2.com<br />
12 PIPE_CLIENT_ORPHANED nbu007.net2.com<br />
13 PIPE_CLIENT_ORPHANED nbu007.net2.com<br />
14 PIPE_CLIENT_ORPHANED nbu007.net2.com<br />
15 PIPE_CLIENT_ORPHANED nbu007.net2.com<br />
16 PIPE_CLIENT_ORPHANED nbu007.net2.com<br />
1 PIPE_CLIENT_ORPHANED nbu008.net2.com<br />
2 PIPE_CLIENT_ORPHANED nbu008.net2.com<br />
3 PIPE_CLIENT_ORPHANED nbu008.net2.com<br />
4 PIPE_CLIENT_ORPHANED nbu008.net2.com<br />
5 PIPE_CLIENT_ORPHANED nbu008.net2.com<br />
6 PIPE_CLIENT_ORPHANED nbu008.net2.com<br />
7 PIPE_CLIENT_ORPHANED nbu008.net2.com<br />
8 PIPE_CLIENT_ORPHANED nbu008.net2.com<br />
9 PIPE_CLIENT_ORPHANED nbu008.net2.com<br />
10 PIPE_CLIENT_ORPHANED nbu008.net2.com<br />
11 PIPE_CLIENT_ORPHANED nbu008.net2.com<br />
12 PIPE_CLIENT_ORPHANED nbu008.net2.com<br />
13 PIPE_CLIENT_ORPHANED nbu008.net2.com<br />
14 PIPE_CLIENT_ORPHANED nbu008.net2.com<br />
15 PIPE_CLIENT_ORPHANED nbu008.net2.com<br />
6 PIPE_CLIENT_ORPHANED nbu002.net2.com<br />
10 PIPE_CLIENT_ORPHANED nbu002.net2.com<br />
14 PIPE_CLIENT_ORPHANED nbu002.net2.com<br />
16 PIPE_CLIENT_ORPHANED nbu002.net2.com</span></blockquote><br />
<br />
As you can see, i have a lot of orphaned PIPES to be cleared. Run below command to release the orphaned pipes:<br />
<blockquote><span style="font-family: "Courier New",Courier,monospace; font-size: x-small;"># /usr/openv/netbackup/bin/admincmd/nbrbutil -releaseOrphanedPipes</span></blockquote> List back if there's anymore orphaned pipes , it should be gone by now:<br />
<blockquote><span style="font-size: x-small;"><span style="font-family: "Courier New",Courier,monospace;"># /usr/openv/netbackup/bin/admincmd/nbrbutil -listOrphanedPipes</span></span></blockquote>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5621301.post-52430403763899903902011-09-24T23:37:00.003+08:002011-09-24T23:38:30.821+08:00RACI Matrix for ITIL v3<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZPzZYFHGZwGhpo3OO9MB1X9LvPpy_Qwj5FznNyxb4VMYHaTUOo0kJHrggbDdfgIPlp26rRNkT6Y2IWMkufto8LXBSA9pLgBBoLos5uTIKYoFf1vHfyuW5o_J3Kc-TOqF49eLV6A/s1600/RACI.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="218" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZPzZYFHGZwGhpo3OO9MB1X9LvPpy_Qwj5FznNyxb4VMYHaTUOo0kJHrggbDdfgIPlp26rRNkT6Y2IWMkufto8LXBSA9pLgBBoLos5uTIKYoFf1vHfyuW5o_J3Kc-TOqF49eLV6A/s400/RACI.JPG" width="400" /></a></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5621301.post-68550472576185692002011-09-24T23:01:00.003+08:002011-09-24T23:03:15.815+08:00Unix command to list based on the file sizeUnix command to list based on the file size:<br />
<blockquote style="font-family: "Courier New",Courier,monospace;"><span style="font-size: small;">ls -al | sort -rn +4</span></blockquote><br />
Example:<br />
<blockquote style="font-family: "Courier New",Courier,monospace;"><span style="font-size: x-small;">bash-2.03# ls -al | sort -rn +4<br />
-rw-rw-r-- 1 root sys 811680 Sep 12 10:01 ups_data<br />
-rw-rw-rw- 1 root root 131244 Sep 7 16:49 .Perflib<br />
-rw-rw-r-- 1 root sys 76764 Sep 21 22:51 mibiisa_ps_data<br />
-rw-r----- 1 root other 35454 Sep 23 14:23 net.client.list<br />
drwxrwxrwt 25 root sys 6344 Sep 24 11:00 .<br />
drwxr-xr-x 66 root root 2560 Sep 23 07:11 ..<br />
-rw-r--r-- 1 root other 2470 Sep 23 08:30 cleaning_tape_status.txt<br />
-rw-rw-r-- 1 root sys 1740 Sep 7 16:49 ps_data<br />
-rw-r--r-- 1 root other 473 Sep 23 13:30 mail_available_scratch_tapes.txt<br />
-rw-r--r-- 1 root other 372 Sep 23 07:11 jrd_get_daily_backup_data.log<br />
-rwxr-x--- 1 root other 268 Sep 23 14:07 client.list<br />
drwx------ 2 root root 182 Sep 7 16:51 smc898<br />
drwxrwxr-x 2 root root 176 Sep 7 16:52 .X11-unix<br />
drwxrwxr-x 2 root root 176 Sep 7 16:52 .X11-pipe<br />
-rw-r--r-- 1 root other 168 Sep 23 08:30 cleaning_tape_status2.txt<br />
-rw-r----- 1 root root 167 Sep 22 01:02 homes.5324<br />
-rw-r----- 1 root root 167 Sep 8 01:02 homes.19705<br />
-rw------- 1 root other 160 Sep 20 13:54 .dr_extra_info</span></blockquote>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-5621301.post-55114224286825927552011-09-14T10:46:00.002+08:002011-09-18T04:35:59.030+08:00Tech Support Cheat Sheet<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqZ4AZxfQqqaIdxDpmchVeiboxbTlWEWuh_OBN5ORi7t1UO-3jfmtLL5IUP5SS2H2K4DGioFgMMzwugbHHlOSv8cFduilAuPgK_D2l5ZYa3RHpeP1BfRaYz-RwLeZQSvwVRZhPXg/s1600/tech_support_cheat_sheet.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqZ4AZxfQqqaIdxDpmchVeiboxbTlWEWuh_OBN5ORi7t1UO-3jfmtLL5IUP5SS2H2K4DGioFgMMzwugbHHlOSv8cFduilAuPgK_D2l5ZYa3RHpeP1BfRaYz-RwLeZQSvwVRZhPXg/s640/tech_support_cheat_sheet.png" width="100%" /></a></div>Hahaha: http://xkcd.com/627/Unknownnoreply@blogger.com0