Posts Tagged ‘VMware’

banner

Hi there,

Here I am once again to deliver another article.

This time we will be covering the mandatory configurations in order to:

  • Integrate CUCM with Microsoft Active Directory – MS AD;
  • Register IP Phones;
  • Associate End User (synced by MS AD) with an IP Phone;

So, today’s article will be focused on the 3 tasks above described.

We will register two IP Phones (one on my laptop and another one on a Virtual Machine). We will be using Cisco IP Communicator – CIPC – as an IP Phone.

Read more about about CIPC here.

I hope you guys have completed the installation of CUCM on your environments from our previous LAB.

This is what we will use on this LAB:

  1. VMware Workstation version 11.1.3
  2. GNS3 version 1.3.11
  3. c3725-adventerprisek9-mz.124-15.T7.bin (IOS – not iOS 🙂 – which we will use on GNS3…GNS3’s Routers don’t come with an IOS, this is why we need at least one for now)
  4. CUCM version 9.1 installed on VMware
  5. Windows Server (any version you like…I used 2012) to use Active Directory
  6. Mozilla Firefox version 42.0
  7. Cisco IP Communicator version 8.6.1.0

Note:

I won’t be providing any of these software. They can be found on the vendors sites for download. The IOS for GNS3 can be found on the Web, just make a Bing Search and you will find them.


 

 

So let’s get started.

1. Select Cisco Unified Serviceability on the upper right corner drop-down menu and click “Go”

2.PNG

2. Now select Tools > Service Activation

3

3. Select the following Services to be activated, click on Save and then press OK on the pop-up warning that will appear

Cisco CallManager
Cisco CTIManager
Cisco TFTP
Cisco AXL Web Service
Cisco DirSync

4

5


Quick Quiz:

Cisco CallManager service provides software-only call processing as well as signaling and call control functionality for CUCM.

Cisco CTIManager service contains the CTI components that interface with applications. This service allows applications to monitor/control phones and virtual devices to perform call control functionality.

Cisco TFTP – Cisco Trivial File Transfer Protocol (TFTP) – service builds and serves files that are consistent with the trivial file transfer protocol, a simplified version of FTP. Cisco TFTP serves embedded component executable, ringer files, and device configuration files.

Cisco AXL Web Service allows you to modify database entries and execute stored procedures from client-based applications that use AXL.

Cisco DirSync service ensures that the Cisco Unified Communications Manager database stores all user information. If you use an integrated corporate directory, for example, Microsoft Active Directory or Netscape/iPlanet Directory, with Cisco Unified Communications Manager, the Cisco DirSync service migrates the user data to the Cisco Unified Communications Manager database. The Cisco DirSync service does not synchronize the passwords from the corporate directory.

Read more about these and other services here.


 

4. Now that we have activated the mandatory services to our system work, return to the Cisco Unified CM Administration Page

8.PNG

5. Let’s remove all the DNS dependency on our system. To do so go to System > Server then replace the hostname with the IP address you configured on your CUCM Server during the installation. Mine is 10.10.10.3 (the same we did on our previous LAB)

18.PNG

19.PNG

20

6. There are some other configurations (Phone URL Parameters) that are still using the hostname, lets change them to the IP address. Go to System > Enterprise Parameters

21

You should see “cucm” (or the hostname you configured during the installation process) on the parameters. Change it to the proper IP address:

22.PNG

7. Now let’s make the configurations to allow our system to sync users from our MS Active Directory Server. First go to System > LDAP > LDAP System and then enable the synchronizing from LDAP Server

9.PNG

10.PNG

8. Then go to  System > LDAP > LDAP Authentication and make the proper configuration so that our System can communicate with Microsoft AD

11.PNG

12

Note:
On the distinguished name you can use something like this too: User@yourDomain.com, but I have chosen to use containers.

Observation:

10.10.10.6 is the IP address of my Windows Server 2012, which is my Active Directory Server.

 


Quick Quiz:

LDAP Manager Distinguished Name is where we indicate the user which has permissions on MS AD

LDAP password is where we put the password of the distinguished user.

LDAP User Search Base is where our System is going to search for users to be synced. If you have placed your users on a difference Organization Unit – OU, then make sure you configure the Containers correctly.


 

9. Now go to System > LDAP > LDAP Directory and basically we will be configuring the same things we did on LDAP Authentication

Click “Add New” then configure LDAP Configuration Name, LDAP Manager Distinguished Name, LDAP Password, LDAP User Search Base and IP Address of the LDAP Server.

After making the configuration, click on “Save” and then click on “Perform Full Sync Now

13.PNG

14.PNG

15.PNG

10. These are the users I have on the Organization Unit “Users” on my MS AD

7.PNG

11. After some seconds, go to User Management > End User and we should see there all our synced users

16.PNG

17.PNG

If you are getting 0 results hit “Find” button as it works as a “refresh”.

All right folks, we managed to finish the synchronization of CUCM with Microsoft Active Directory.

 

12. Now we will add all our users to the Stantard CCM End User Group so they can have access to the User Web Page. To that, Go to User Management > User Setting > Access Control Group (on older versions of CUCM the path is User Management > User Group)

23.PNG

13. Click on Standard CCM End User

24.PNG

14. Click on “Add End Users to Group

25.PNG

15. Select the Users and then press “Add Selected

26.PNG

On my LAB here, User “Kaiyden Vuma” will be the owner of the first CIPC (installed on my Laptop) and User “Raquel Raimundo” will be the owner of the second CIPC (installed on my Windows Server 2012 VM).

So, what we have to do is to associate those Users with the CIPC Phones we will be using on the LAB.

But first, we need to register those CIPC Phones on our System.

16. Go to “Preferences” on CIPC 1 (physical laptop), then configure the TFTP Server with the IP address of the CUCM, then give a proper Device Name for easy identification (you can leave it with the default name if you want to)

28.PNG

17. Now go to Device > Phone and then click on “Add New

29.PNG

18. Select “Cisco IP Communicator” and “SCCP” on both drop-down Menus on the screen

30.PNG


Quick Quiz:

SCCP (Skinny Client Control Protocol) is a lightweight IP-based protocol for session signaling with Cisco Unified Communications Manager.

The term “skinny” reflects that SCCP is a simple and uncomplicated (“lightweight”) protocol requiring relatively little computer processing.

Read more here.


 

19. Configure Device Name (which must be the same Device Name we configured on our CIPC phone), set Device Pool as Default, choose any Phone Button Template you like on Phone Button Template for your CIPC (I like the buttons of the Cisco IP Phone 7962 as it gives me 8 lines) and finally set Device Security Profile to “Cisco IP Communicator – Standard SCCP Non-Secure” and then click “Save

31.PNG

32

20. Now click on “Line 1” then give a DN (Directory Number) for this CIPC phone and hit “Save

33.PNG

34.PNG

21. After this step go ahead and restart your CIPC Phone and once it finishes restarting we should see it registered successfully

35.PNG

22. Follow the same steps for registering the CIPC 2 phone (I used DN 1002 on CIPC 2)

36.PNG

Now we have 2 things missing on today’s LAB:

  • Associate the Users with the CIPC Phones
  • Call tests between the CIPC Phones.

 

23. To Associate the CIPC Phones with the Users, first go the End User page (User Management > End User) then click on your first User

If you are getting 0 results hit “Find” button as it works as a “refresh”.

As I said before, the owner of my CIPC 1 Phone will be User “Kaiyden Vuma” and the owner of my CIPC 2 Phone will be User “Raquel Raimundo”.

So, I clicked on my first User and then I selected “Device Association

39

24. Select the desired CIPC Phone to be associated with this user and click “Save Selected

42.PNG

Do the same for the Second User and associate him with CIPC 2 Phone.

25. Now go to the Phones page (Devices > Phone), click on CIPC 1 Phone then click on the configured DN (which is 1001)

If you are getting 0 results hit “Find” button as it works as a “refresh”).

40.PNG

26. Scroll down until you find and click “Associate End Users” button

41

27. Select the User who is going to control this DN and click “Add Selected

43.PNG

Congratulations if you made it this far. Now is time to make the final tests between both CIPC phones on our physical and virtual machines.

28. Call from one phone to another

37.PNG

38.PNG

 

As we can see on the 2 pictures above…it WORKED!!!


 

 

So, this is it….its over…for now. See you on OUR next article.

Any doubts, you can post your comments below as it can be somebody else’s doubt or you can send me an email:edsonvuma1@gmail.com.

Don’t forget the motto: EVERYONE TEACH ONE

See you soon

 

button

Cisco Learning Network Store

Warm regards,

Edson Vuma

Advertisements

banner

Hi there, long time no “see”. Hope you guys are doing great.

From now on, we will start a new series on OUR articles. We will cover the most robust calling processor: Cisco Unified Communications Manager – CUCM.

We will be using the Cisco Unified Call Manager Express – CUCME – to make integrations with CUCM, configure and administrate CUCM, integrating CUCM with other communications systems such as: Cisco Unity Connection, CUCM IM & Presence and so on.

But what is mandatory to accomplish that? Yes, it is exactly what you have thought: Installation.

 

So, let’s get started.

Nowadays, a lot of systems are being virtualized. Why that happens, you may ask. The main reason that happens is because of: Cost savings, Faster server provisioning, Improve disaster recovery and the list of advantages goes on and on. You can make a Google Search (why not a BING Search 🙂 ) and you will read more about virtualization.

We will be installing our CUCM on VMware. This is what I will use on this LAB:

  1. VMware Workstation v. 11.1.3
  2. GNS3 v. 1.3.11
  3. c3725-adventerprisek9-mz.124-15.T7.bin (IOS – not iOS 🙂 – which we will use on GNS3…GNS3’s Routers don’t come with an IOS, this is why we need at least one for now)
  4. CUCM .ISO file (I’m using CUCM 9.1 version)
  5. Mozilla Firefox

Note:
I won’t be providing any of these software. They can be found on the vendors sites for download. The IOS for GNS3 can be found on the Web, just make a Bing Search and you will find them.

Observation:

The recommended system requirements for CUCM 9.1 virtually installed are:

2 of vCPU, 4GB of vRAM, 1x80GB of vDisk and 1 vNIC.

We are going to install it with 2GB vRAM.

 


 

Let’s start by installing our CUCM.

  1. Open VMware Workstation, press CTRL+N and choose Typical (recommended):

01

  1. Select the second option on the next menu: Installer disc image file (iso) and then browse and select the .ISO file:

02.PNG

  1. Choose Linux and select Red Hat Enterprise Linux.

Note: CUCM platform is based on Red Hat.

03

  1. Type a proper name for the VM

 

04

  1. Set the disk size to 80 GB and choose one of the options for how VMware will handle with the Virtual Disk.

05

  1. Before we click Finish, there is something we have to do on our virtual hardware, so, click on Customize Hardware:

06

  1. Set the memory to 2GB at least, and set the cores per processor to two (2)

07

08

 

It’s all set up for the installation. We can now Finish and start the VM for installation.

1. We will be asked for a Media Check, this way the system can recheck the requirements for installation so that we don’t lose time finding only later that something is missing.

I recommend you guys to choose “YES” instead of “NO”, but you are free to choose the best option for you.

Note: Mouse is not supported here, so you can use the “TAB”, “SHIFT+TAB”/”ALT+TAB” and “ENTER”/”SPACE” keys to navigate on the menu.

media check

2. Wait until you get the confirmation of the system that you are ready to go with the installation:

1

If you have error messages on the above screen, revise the requirements and double-check the steps to make sure you have done it in the right way.

3. Let’s select the product we want to install, which is CUCM

3.PNG

4. Confirm installation of CUCM

4.PNG

5. On the next screen you can choose either if you want to use the Setup wizard now for the configurations or you can configure later. I have selected “Proceed” with the Wizard

5.PNG

6. Choose “No” on the next screen as we are not going to apply any upgrade patch for now

6.PNG

7. Click “Continue” on the following screen and then select your Timezone:

7

8

8. Click “Continue” on the following screen for NIC Speed and Duplex, select “No” for the MTU size (we will keep the default value of MTU) and choose “No” for the DHCP as we don’t have any DHCP Server running.

9

10

11

9. Insert your Network Configurations, mine can be found on the following image

12.PNG

10. Choose “No” on the next screen as we won’t be using DNS for now

13.PNG

11. Add the credentials you want to use for the “ADMINISTRATOR Login*”.

14

12. In order to the system generate a security certificate, we will have to fill the information asked on the next screen

15

13. Select “Yes” on the next screen as this is our first node

16.PNG

14. Add your NTP Server IP Address on the next screen

18.PNG

15. Set the “SECURITY passwords**”

19

16. Select “No” on the next screen as we won’t be using SMTP for now

20.PNG

17. Set the “APPLICATION credentials***”

21.PNG


 

Quick Quiz:

We have seen the following on our configurations: ADMINISTRATOR Login, SECURITY Password and APPLICATION Login. What is the difference between those three?

Well:

Administrator account username and password

During installation, you must create an Administrator Account username and password to log into the following areas:

  •  Cisco Unified Operating System Administration interface
  •  Disaster Recovery System Administration interface
  •  Command Line Interface (CLI)

The Administrator login must start with an alphabetic character, be at least six characters long, and can contain alphanumeric characters, hyphens, and underscores.

If you lose the Administrator password and cannot access the system, you can recover the Administrator password in Cisco Unified Communications Operating System Administration.

If you need to reset the Administrator password, use the CLI.

Application username and password

During installation, you must create an Application User user ID and password to sign into the Cisco Unified CM IM and Presence Administration interface.

If you need to reset the Application User password, use the CLI.

Security password

During installation, you must specify a system security password. This password is used to secure communication between cluster nodes. In the Post-Installation deployment wizard, which displays the first time you sign in to Cisco Unified CM IM and Presence Administration, you must reset the security password to be identical to the password used on the Cisco Unified Communications Manager (Unified CM) publisher server.

Check more at Cisco Documentation


 

That said:

18. Finish the Wizard

22.PNG

 

After we finish our Wizard we might get errors because of NTP Server being inaccessible.

Observation:

NTP Server is required for the installation to proceed, without it we will not be able to proceed with the installation.

This is the error we get when the NTP Server is not accessible.

NTP Server Error.jpg


 

Quick Quiz:

NTP – Network Time Protocol

Is a networking protocol for clock synchronization between computer systems over packet-switched, variable-latency data networks.

GNS3 – Graphical Network Simulator

Is a graphical network simulator that allows you to design complex network topologies. You may run simulations or configure devices ranging from simple workstations to powerful Cisco routers.


 

Note: If your Virtual Machine has access to the Internet, you can use a public NTP Server. There are so many you can use, just make a Google Search and you will find them.

But, for my case, I didn’t use any public NTP Servers.

I configured a Router on GNS3 as my NTP Server and here I integrated VMware with GNS3 so that my CUCM Server can communicate with this Router:

19. Integration of VMware and GNS3

 a. First Select “Settings” of the CUCM Virtual Machine. Go to “Network Adapter” and on the “Network Connection” choose “Custom” and select one of the 2 network adapters that VMware installs on our Computers (VMNet1 and VMNet8). I have used VMNet1

23.PNG

b. Go to the selected network adapter through Control Panel and configure the Network parameters.

Note: Remember we used the following IP address as our GW 10.10.10.1/24 when we were configuring CUCM network parameters? Exactly, we will be using this IP address on this network adapter

24.PNG

c. Open GNS3 as Administrator, press “CTRL+SHIFT+P” for Preferences, go to “IOS Routers” and click “New” so that we can add a new IOS for the Routers. Browse and select your image

25.PNG

26.PNG

d. Add your new “Router” on GNS3 and add the “Cloud” by drag-and-drop

27.PNG

e. “Right-Click” on the Cloud, select the Network Adapter we configured on our CUCM Virtual Machine (the same we configured on Control Panel as our GW).

28.PNG

f. Link your Router with the Cloud and then make the proper NTP configurations on the Router then test the connection from your Router on GNS3 to the CUCM Virtual Machine

29.PNG

As we can see above, I can reach the CUCM Server, all I have to do is configure this Router (10.10.10.8/24) as my NTP Server and test on CUCM:

30

Once this is done, the system will begin the installation of CUCM.

Have in mind that this installation process takes around 2 hours to finish. The duration of the installation may depend also on your hardware.

As this takes time to finish, go relax playing a game, drink a coffee or something else you like.

I relaxed playing Age Of Empires: Castle Siege as I like this game. 🙂

TIC-TAC-TIC-TAC-TIC-TAC

Once the system finished installing, you will see a screen like this (it will be a little bit different as, unfortunately, I toke the screenshot after I have restarted the CUCM Server…but that doesn’t matter, it’s not relevant):

cucm.jpg

The above screen is the confirmation that the CUCM Virtual Machine has successfully finished installing.

We can now go to the Browser and try to access the Server. Have in mind that there are some services that take some time to start up even after the Server is up and running, so give it some minutes and try accessing.

20. Accessing to CUCM

001.PNG

Observations:

There is a “problem” I detected once I click on “Cisco Unified Communications Manager”. Firefox gives me this “error”:

a. Firefox error

002.PNG

To by-pass this security check, open a “New Tab” on Firefox and go to this URL

about:config

003.PNG

Click on “I’ll be careful, I promise!” and on the search box, type this “security.ssl3.dhe_rsa_aes_” and you will get the following results:

004.PNG

By default, those values are set to “true“. Double click on both to set them to “false

005

No need to restart the browser and now we can click on “Cisco Unified Communications Manager”.

Type the “APPLICATION Credentials” and you are done with the installation.

006.PNG

007.PNG

 

So, this is it….its over…for now.

Next article will be the basic configurations on our CUCM server and we will register a couple of Phones.

 

Any doubts, you can post here your comments as it can be somebody else’s doubt or you can send me an email:edsonvuma1@gmail.com

See you soon….

Don’t forget the motto: EVERYONE TEACH ONE

 
 

button

Cisco Learning Network Store

Warm regards,

Edson Vuma