(covers information from several alternate timelines)
Kolinahr (ko-li-naar), as a word, described both the Vulcan ritual by which all remaining vestigial emotions were demonstrated as purged, and the mental discipline whereby this state was subsequently maintained. Not all Vulcans were required to make this final journey to pure logic. The duration of kolinahr training was quasi-monastic in nature, and could vary from two to six (or more) years. (ENT: "The Andorian Incident"; Star Trek: The Motion Picture; VOY: "Flashback", "Fury")
In the alternate reality, Spock discussed the kolinahr ritual with his mother shortly before making the decision to enter Starfleet instead of the Vulcan Science Academy. He wanted to ensure that if he decided to undergo kolinahr, she would not interpret his decision as a rejection of her, or his Human half. She lovingly reassured him that, regardless of the decision he made, she would proudly stand behind him. (Star Trek)
Spock began the process of the kolinahr ritual after retiring from Starfleet circa 2270. By the end of his 2270s stay on Vulcan, Spock had completed all but the final ritual of the kolinahr, but failed to complete the ritual after receiving powerful telepathic signals from the V'ger entity in deep space, and experiencing strong emotions as a result. (Star Trek: The Motion Picture)
Forgotten History briefly looks at Spock's reasons for going through Kolinahr, as he feels that his remaining emotions are the reason that he has been mentally compromised by so many creatures during the Enterprise's voyages.
The events pictured in Troublesome Minds and Crisis of Consciousness are also given as motivating factors for Spock's decision; at the end of the latter novel, he requests all data from the Vulcan Science Academy on the discipline.
In The Fire and the Rose, Spock again seeks to achieve Kolinahr when faced with a loss of emotional control after Kirk's apparent death on the Enterprise-B. He succeeds, but following his mother's death and a confrontation with Leonard McCoy, Spock undergoes a risky procedure to reverse the Kolinahr and restore his ability to feel emotions as he realizes his inability to grieve for his mother.