OCS 2007 R2 Installation

In the increasing race of deploying VoIP solutions, Microsoft announced new release of its Office Communication Server 2007 at voicecon. In spite of having all the deployment and installation guides for OCS server, many people are clueless about its installation. The main reason behind it is its complexity. Looking at wide range of service portfolios covered by Microsoft we can not blame them for  putting such complex install procedure. Another reason behind finding OCS installation hard is length of install guide( 150 odd pages). To be honest, I was too lazy to read install guide for OCS R1 installation though was able to successfully installed it.

Following are the key features implemented in R2 release of MS- Office Communication Sever.

  1. Dial-in audioconferencing
  2. Desktop sharing
  3. Persistent group chat
  4. Attendant console and delegation
  5. Session Initiation Protocol trunking
  6. Response groupMobility and single-number reach
  7. New Developer Tools for Business Applications.

Read References for details about the features.

Backed up with OCS R1 installation experience, I started going through System Requirements of OCS R2, Collected required install hardware & media  and sat for its installation. This post is about installing Office Communication Server R2 in easy 21 steps. I have not elaborated the steps with their internals else it would have been another install guide of 150 odd pages. Few Screen shots are provided for reference.

Before we start, you should know Office Communications Server 2007 R2 is available only in a 64-bit edition, which requires 64-bit hardware and a 64-bit edition of Windows Server. This avoids smooth upgrade from OCS R1 to R2.  Official web site for Office Communication Server has many other system requirements. To cut their long story short, following are the systems that I used for my Virtual OCS Lab.

Requirements:

  • Two machines with Windows 2003 server edition installed.
  • Two Static IPs – One for ADS & one for OCS
  • Windows 2003 Install Media.
  • Office Communication server R2 & Communicator Install Media.

I used following Naming convention for my setup.

  • ADS                      ( Static IP:192.168.14.128)       ( Windows 2003 R2 Enterprise Endition )
  • OCS                       ( Static IP:192.168.14.129)       ( Windows 2003 R2 Enterprise Endition )
  • Client                   ( Static IP:192.168.14.130)       ( Windows XP SP2 )
  • Domain Name:  Bughiralab.net

Procedure:

  • Install Windows2003 64 bit Standard/Enterprise Server edition on both systems and Configure them with static IP addresses.
  • Promote ADS to Domain Controller(Install Active Directory) with domain name Bughiralab.net. Choose Install DNS Server options at the time of installation.
  • Add OCS into the newly created domain Bughiralab.net.
  • Now create some Normal and special users/Groups in active directory.
    • Normal Username: bughira, sherkhan, kaa etc. (We will use them as OCS users )
    • Special Username: RTCService, RTCComponentService  ( Needed for SIP service and other  Components services )
      • Make sure you choose “Password Never Expires and User Can not change password” options for above special users. These users are directly involved with OCS services. If password expires for these services; OCS server wont start.
      • Choose complex password for these accounts and happily forget it.
    • Special Group: RTCSetupDelegate.
    • Select RTCSetupDelegate as Distribution group and not Security Group. Select Universal as its Group Type.
  • Install IIS server on both ADS and OCS Machines.
    • Go to Add/Remove programs from control panel, click on Add/Remove Windows components and select Application Server.
  • Install Certificate services on the ADS.
    • Go to Add/Remove programs from control panel, click on Add/Remove Windows components and select Certificate services.
  • Raise Domain Functional Level of Domain Controller to Windows 2003.
    • Go to Active Directory Users and Group. Right click on Domain Name( Forest) and Choose Raise Domain Functional Level from Context menu.

Once you are done with above steps, you are all set for getting your hands dirty.

  • Login on OCS.Bughiralab.net as domain administrator or any other user with install and delegate permissions.
    • Login on Domain in stead of local computer at the time of login prompt.
  • Select Standard Edition from Autorun menu of OCS R2 install Media.

startscreen

  • Click on Prepare Active Directory Option to start with the actual installation procedure. There are 3 sub steps under this step.
    • click on Prep Schema. This step usually never fails. Even if it fails OCS installer provides nice log information to resolve it.
    • Run Prep forest wizard to proceed. Only need to run once per deployment. It creats Global Settings and Universal Groups needed for Office Communication Server.
    • Click on Prep Domain wizard to proceed.
    • Successful completion of above steps completes the Active Directory Preparation Stage of Installation.

installstep2

  • Now Click on most important installation step: Delegate Setup and Administration Wizard. We will make use of our created special users and groups here.
    • On asking for the Universal group specify group name as RTCSetupDelegate (Default)and click next.

setupdelegate

    • ON the next screen enter the container group name with valid LDAP string syntax. As we have already created RTCSetupDelegate Universal group, following syntax can be used.
    • "CN=RTCSetupDelegate,CN=Users,DC=bughiralab,dc=net"
    • Enter the user names for  SIP Service and Component Service as RTCService and RTCComponentService users in the next wizard screen.
  • Now click “back” button twice and Choose Deploy Server Step from the install Screen.
    • Installer will install MS SQL Server.
    • Use default users and database values and click next on each screen. This will complete the Deploy server stage.

r2install3

  • Next step of installation is Configure Server wizard. Here you are required to configure your OCS R2 Server with Internal or External users along with SIP domains allowed.
    • We will configure server for internal users only and will provide default inputs where ever asked.

configureserver

  • Launch the configure certificate wizard and create a new certificate for our OCS server choosing CA server as our ADS Machine.

certificate-2

    • Click on Assign Certificate button to assign the certificate on OCS server.
    • We will need this certificate in case of deploying Edge server.
  • If you want to make use of  Web Conferencing service, you need to assign above created certificate on the IIS server started on OCS server.
    • Go to IIS server and Choose properties of Default Web site from Context Menu.

iis_certificate

    • Assign Certificate needed for Web Component Server.

iis_certificate1

  • Successful completion of above steps will open Start Services wizard. Click on next to start related services.

startservices

  • On completion, login on ADS machine and Install OCS Administration tools from OCS install Media.
    • You will find option for installing Admin tools on bottom right pane of the OCS install screen.
    • Select created OCS users from Active Directory and from properties select “Communication” tab
    • Select Enable for Office Communication Sever option, key in required details and click OK.

    useradd

  • Login from Communicator using SIP enabled users and Enjoy supercool OCS VoIP Services.

References:

Rating 3.00 out of 5

23 Responses to “OCS 2007 R2 Installation”

  1. Mike Says:

    Just passing by.Btw, your website have great content!

  2. Brahmam Lv Says:

    Cool site buddy…

  3. Chad Says:

    Great Info, this will help a lot. Thanks for doing this. :)

  4. Chad Says:

    What was the Hardware Spec of your server, I want to make sure I have the correct server hardware for this? To make sure the hardware is 64 bit do I just have to make sure the CPU is a 64 bit processor?

  5. bughira Says:

    you got it right also make sure you have 64 bit software versions.

  6. Chad Says:

    Last question if I may.

    I plan on doing this on server 2003 standard x64

    Can I install this on a domain controller or does it have to be on a non domain controller? And.. If I have to have a seperate DC from my OCS server does the DC have to be 64 bit as well?

    Thanks for all your help. :)

  7. bughira Says:

    Yes chad, you can have it on DC installed with 64 bit Windows 2003 R2 OS.
    All the best with ur installation.

  8. cristian Says:

    Hello! Forgot to set the “Password Never Expires” and “User Can not change password” options. Is it OK if I just change them ADUC and in the services console?

  9. bughira Says:

    @cristian: Yes its ok, you can still set those properties from A.D. Make sure you stop the OCS services and use the same password.

  10. hadzuong Says:

    Nice stuff.

    have you ever tried to installed the Edge Server on OCS R2? what facilities could we need to prepare?

  11. bughira Says:

    Yes i have installed Edge server but it was on my OCS R2 server machine. I installed it on my A.D so it was 2 machine setup.
    1) AD with Edge server and
    2) OCS server.
    Installing edge is not a big deal, you just need to follow wizard once done with required pre-requisites like- Certificate chain (you can get it from ocs server)
    ,Another network card and reverse lookup for ocs server on edge server.
    Before installing Edge Server i would recommend to read edge server deployment guide. I am also planning to write detailed post on Edge server deployment.

  12. OHDev Says:

    Hello Bughira … thank you for those usefull tips and steps to install OCS 2007 R2.

    I have a question regarding Edge Server.
    can i install it on the same pc hosting OCS ?
    using Virtual PC ?

    we will be not more than 25 users, and i want Edge server to support members that are in another office.

    is this possible? i know virtual server is not recommended because of performance issues regarding Audio/Video communications.
    but in our case we will be 25 users approx.

    thank you in advance, and have a nice day further!

  13. bughira Says:

    Hey, If you are not planning to expand OCS user base and have secure link between other office then Just add one more interface on OCS server.
    Assign public IP to that interface and configure front end server to listen for TLS connection on that interface.
    This will allow remote users to login using TLS. Assigning public IP is bit risk but we are mitigating it by using TLS. Let me know if you need help in this configuration.

  14. OHDev Says:

    Thanks Bughira for your reply.
    but i didn’t understand what you meant with adding another interface to the front end server.

    please let me know what to do exactly or send me a url that describes that.

    and if this makes a difference: i have setup standard edition.

    thank you in advance!

  15. Yemi Says:

    Nice write up! Pls how can i reset expired password that wouldnt make the service start.

  16. bughira Says:

    Yemi,
    Just go to domain controller and from active directory, reset the password for RTCService and RTCComponentService users. Keep it in mind you should keep the same old password otherwise OCS services will not start.
    I hope this will help.

  17. MMJP » OCS 2007 R2 Installation (1) Says:

    [...] http://bughira.wordpress.com/2009/02/28/ocs-2007-r2-installation/ Categories: Others Tags: Comments (0) Trackbacks (0) Leave a comment Trackback [...]

  18. Stephen Says:

    Question, why 2 servers if installing standard? I read you only need one, Is that correct?
    Thanks
    PS Great info here

  19. OCSSI Says:

    Hey, great guide…!! Is it advisable to install IIS on a domain controller though?I thought its not a good idea?

  20. bughira Says:

    absolutely..i would try not to risk domain controller :)

  21. bughira Says:

    @stephen: True..you can do it with single server..i was just trying to follow of best practices ;)

  22. Idin Says:

    Thanks for the guide.
    Is it really necessary to install IIS on the domain controller? what is the purpose of it?

  23. bughira Says:

    Yes it is as it is needed for your Certificate Authority.

Leave a Reply

This entry was posted on Monday, January 25th, 2010 at 7:42 pm and is filed under General Talks, HOWTO's, OCS, VMWare, Voice Over IP. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes