Day 1 Certified Scrum Master Training

KleinkaapI was asked to attend a 2 day Certified Scrum Master training course due to one of my colleagues being unable to attend. It is being held at the Kleinkaap Conference Center in Centurion. It is being presented by top international Certified Scrum Trainer Boris Gloger and Certified Scrum Coach Peter Hundermark.

We are a team of about 30 odd (most of them seem to be from Momemtum) and the course is really exciting. We are taught about Product Backlog, Backlog, Product Owner, Scrum Master, Team etc.  It was information overload and we continue again tomorrow.

What is Scrum? You may ask

"A lean approach to software development

Scrum is an agile software development framework. Work is structured in cycles of work called sprints, iterations of work that are typically two to four weeks in duration. During each sprint, teams pull from a prioritized list of customer requirements, called user stories, so that the features that are developed first are of the highest value to the customer. At the end of each sprint, a potentially shippable product is delivered"

image

I also had the pleasure of attending the launch of the Scrum Alliance South African User Group at Momentum offices in Centurion. Visit the Scrum Alliance web site for some interesting reading on the Scrum.

It has been a long day today we start at 8:00 am again, until next time.

Posted by ZaydKara with no comments

TFS SP1 Installation

Today was an extremely stressful day for me and my fellow Team System MVP Willy-Peter Schaub as we had to upgrade our TFS 2008 environment with SP1. A Single Tier AT | DT and a seperate build server deployment. We had tested this on VM's and worked fine but this is always not the case.

We were running in a Virtual Environment [Virtual Server 2005 R2]. So we applied the following process:

1] Shutdown TFS and Build Server and backed up both VM's (Virtual Environments is the way to go makes backing out at times like these a lot easier).

2] Applied VS2008 SP1 to both.

3] Applied TFS SP1 to both.

All went smoothly until we applied TFS SP1 to our single tier TFS server, what we had also done during the TFS server update was shutdown the build server as both VS 2008 SP1 and TFS SP1 had completed installing. The TFS server Generated a Microsoft Error Report (see screenshot) but went onto complete.

image

I browsed to the location specified under 'Error Report Contents' and no files were found. We however restarted the TFS server and then started the build server as well. Everything worked, we updated our work items and published back to TFS from excel, our resident Team System MVP [Willy-Peter] was overjoyed.

However i continued to monitor the event logs and noticed the following. As part of our initial TFS deployment approximately 1 year ago we had implemented an Hourly Transaction Log Maintenace Plan which was running successfully, before we had applied the TFS SP1. After the TFS SP1 was applied the job continued to run however it ran successfully against all user databases except the TFSVersionControl database.

image

First Step reported

image

Error -1073548784

Error Message

Executing the query "declare @backupSetId as int
select @backupSetId = position from msdb..backupset where database_name=N'TfsVersionControl' and backup_set_id=(select max(backup_set_id) from msdb..backupset where database_name=N'TfsVersionControl' )
if @backupSetId is null begin raiserror(N'Verify failed. Backup information for database ''TfsVersionControl'' not found.', 16, 1) end
RESTORE VERIFYONLY FROM  DISK = N'D:\\Backup\\SQL Server\\TransactionLogs\\TfsVersionControl_backup_200808271200.trn' WITH  FILE = @backupSetId,  NOUNLOAD,  NOREWIND
" failed with the following error: "Cannot open backup device 'D:\\Backup\\SQL Server\\TransactionLogs\\TfsVersionControl_backup_200808271200.trn'. Operating system error 2(The system cannot find the file specified.).
VERIFY DATABASE is terminating abnormally.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

 

Second Step reported

image

Error -1073548784

Error Message

Executing the query "BACKUP LOG [TfsVersionControl] TO  DISK = N'D:\\Backup\\SQL Server\\TransactionLogs\\TfsVersionControl_backup_200808271200.trn' WITH NOFORMAT, NOINIT,  NAME = N'TfsVersionControl_backup_20080827120006', SKIP, REWIND, NOUNLOAD,  STATS = 10
" failed with the following error: "BACKUP LOG cannot be performed because there is no current database backup.
BACKUP LOG is terminating abnormally.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

We event ran the TSQL portion in Query Analyser just for the TFSVersionControl portion and that failed as well.

BACKUP LOG [TfsVersionControl] TO  DISK = N''D:\Backup\SQL Server\TransactionLogs\TfsVersionControl_backup_200808271200.trn'' WITH NOFORMAT, NOINIT,  NAME = N''TfsVersionControl_backup_20080827120006'', SKIP, REWIND, NOUNLOAD,  STATS = 10
GO
declare @backupSetId as int
select @backupSetId = position from msdb..backupset where database_name=N''TfsVersionControl'' and backup_set_id=(select max(backup_set_id) from msdb..backupset where database_name=N''TfsVersionControl'' )
if @backupSetId is null begin raiserror(N''Verify failed. Backup information for database ''''TfsVersionControl'''' not found.'', 16, 1) end
RESTORE VERIFYONLY FROM  DISK = N''D:\Backup\SQL Server\TransactionLogs\TfsVersionControl_backup_200808271200.trn'' WITH  FILE = @backupSetId,  NOUNLOAD,  NOREWIND
GO

As one would normally do, we started GOOGLE'ING and searched LIVE.com and found nothing that could assist us. I decided to read thru the error messages carefully and came across the portion in the error message 

" failed with the following error: "BACKUP LOG cannot be performed because there is no current database backup.
BACKUP LOG is terminating abnormally.".

Resolution to this problem

Went into SQL Management Studio and first attempted to back up the TFSVersionControl database just the Transaction Logs gave me the same error

"BACKUP LOG cannot be performed because there is no current database backup."

I then performed a Full Database backup of the TFSVersionControl database, ran the Hourly Transactional Log Maintenance Plan and it worked 100%.

My Hourly Transaction Logs have run successfully for the past 3 hours and my Application and System Logs are as healthy as ever.

Posted by ZaydKara with 1 comment(s)
Filed under:

Powershell 101 - Technology Readiness

imageOur team hosts internal "Technology Readiness" sessions, yesterday Willy-Peter presented a Powershell 101 "for the absolute beginner". It was a very interesting session, even though he experienced some technical glitches due to "Windows Updates". I decided that we would terrorise him in the session knowing full well that this was almost as new to him as it was to us, and i got or resident 'monk' \ 'guinea pig' \ 'the question man' Herman to go thru the 'Windows 2008 Powershell resource kit' and look up some rather challenging questions.

What i also did was informed Willy of the plan, so we had Herman 'thinking' he was going to sabotage Willy and Herman not knowing that Willy knows. You had to be there!

None the less back to Powershell, there are two quick reference posters about a year old which can be downloaded from the DRP or SAArchitect site. "One focused on the features and syntax, and the other on common cmdlets" as Willy describes. 

Once you visit these sites take timeout to browse the other content, i.e TFS \ Sharepoint quick reference posters, Whitepapers, Videos and Snippets and even books available for download. Registration might be required for some of the content.  

Posted by ZaydKara with no comments
Filed under: ,

July '08 TFS Power Tools Released

The latest TFS Power Tools has been released download from here. See Brian Harry's blog who gives a preview of what was released. Our resident Team System MVP Willy-Peter was extremely excited about the 'Alerts Editing Tool' see his blog, you can actually hear the excitement when reading.

Posted by ZaydKara with no comments
Filed under: ,

Chalk and Talk Community Sessions at TechED 2008

21 DAYS TO GO TO TECHED 2008!!

The Microsoft MVP's and Community leads from South Africa invite you to join them in chalk and talk sessions as well as interactive discussion in the community lounge.

Visit the SAArchitect site for details on the sessions being presented as well as browse the mug shots of some of the MVP's \ Community leads that will be presenting.

Session details are also available on the TechED site, be apart of this exciting experience register now.

Visit my Team Leaders blog post the infamous Willy-Peter for a "brief peek at what is happening behind the scenes".

Our company Barone, Budge and Dominick (BB&D) who is also an official sponsor at TechED, will be preparing a stand. Pay them a visit when you strolling thru the exhibition center.

Posted by ZaydKara with no comments

Workspace already mapped error when running team build

One of our development teams experienced a 'Workspace already mapped' problem when trying to run team build. They wanted to run a CI, nightly and production build using the same build agent. They had implemented a work around in the TFSBuild.proj file and added the following line:

<WorkspaceName>XXXX_Build</WorkspaceName>

Our resident Team System MVP and our team leader Willy-Peter Schaub, subscribe to his blog it is worth the read, engaged with his fellow VSTS champs requesting guidance on this issue, we provided the build log file together with the TFSbuild.proj file as well as a screenshot of the build agent.

image

The recommendation was to change the Build Agent working directory to reflect as C:\XXX\$(BuildDefinitionID) or a shorter path but the point was to add the $(BuildDefinitionID) to the path, this would also prevent issues when the path names get to longer than 260 characters, see Aaron's blog regarding this issue.

I applied this change to our test VM to ensure that nothing would break, we then applied the change to our production environment. I created a folder called 'I' on the build server and then configured the build agent working directory to reflect as follows:

image 

The user commented out his <WorkspaceName>XXXX_Build</WorkspaceName> in his TFSBuild.proj file, we ran the CI and production build which succeed. What happens now on the build server in the 'I' folder it creates a build id per build that is run and also resolves the 'Workspace already mapped' issue.

image

Posted by ZaydKara with no comments
Filed under: ,

TFS Orcas SP1 and Rosario Evalution

rosarioevaluation.thAn excellent document reviewing both the next generation TFS codename "Rosario" and the up and coming TFS Orcas SP1 [TFS 2008 SP1] has been published for downloading from the DRP Site under the Media\Papers section. Thanks to Willy-Peter Schaub (Team System MVP) visit his Blog.

Posted by ZaydKara with no comments

MVP Interoperability Workshop

The Microsoft MVPs from South-Africa invite you to come and discuss the world of interoperability in the development environment. See SAArchitect for more details register for event here. Hurry seats are limited!

Interop2008-Poster-500x900

Posted by ZaydKara with no comments

Accessing TFS 2008 thru the Internet

We currently have a TFS 2008 server in our environment and have been requested to produce an impact on making this available thru the internet. Is there anyone out there that has experience with this exercise or perhaps some guidelines, suggestions etc.?

Posted by ZaydKara with 2 comment(s)
Filed under: ,

How to resolve DCOM error on Team System

We recently installed Team Foundation Server at a client, the installation went smoothly. We did however experience a problem with regards to DCOM errors.

Event log entry information:

Source:
DCOM

Event ID:
10016

User:
domain\tfsservice

Description:

The application-specific permission settings do not grant Local Activation permission for the COM Server application with
CLSID {61738644-F196-11D0-9953-00C04FD919C1}
to the user domain\tfsservice SID (...).  This security permission can be modified using the Component Services administrative tool.

We searched and found the following  post by Nicolas Müggler

The cause of the problem Nicolas explain to be:

"This happens after installing SharePoint Services 3.0. The CLSID is used by the service "IIS WAMREG admin Service" and the tfsservice Account needs to have the local activation right on this service."

Followed the instructions step by step which resolved our problems, beow is the solution to the problem:

Solution:

  1. Open "Administrative Tools" > "Component Services"
  2. Expand nodes "Computers" > "My Computer" > "DCOM Config"
  3. Locate entry "IIS WAMREG admin Service"
  4. Right click > Properties
  5. Tab "Security" > "Launch and Activation Permissions" > "Edit..." Button
  6. Add tfsservice Account if not already present and grant permissions "Local Launch" and "Local Activation"
Posted by ZaydKara with no comments
Filed under: ,

Microsoft Team System Build Process Poster

A detailed Team System 2008 Build Process Poster has been published and is now available for download from DRP Site or from SAArchitect Site. Detailing a step by step account of what happens when a Build is queued.

0202 Microsoft Team System Build Process

With compliments from the MVP community!

Posted by ZaydKara with no comments
Filed under: ,

Welcome Zayd to your first Blog Post

Hello Zayd this post was to wlecome u to your first ever blog post

Posted by ZaydKara with 2 comment(s)