Virtualizing PBX in a flash using Microsoft virtual server 2005 R2 SP1 - Part 1

tshif

Guru
Joined
Jan 3, 2008
Messages
1,240
Reaction score
4
Virtualizing PBX in a flash using Microsoft virtual server 2005 R2 SP1

From time to time I have found it valuable to have a "beater box" to use for testing of new procedures, programs, concepts. While I enjoy having a lot of hardware strewn around my workspace in various stages of various projects as well as any other person, on a recent mission to finding more space on the workbench, I decided to revisit the topic of virtualization.

I have been following with great interest the new virtualization engine, poxmox, being discussed elsewhere in the forum with great interest. With any luck, that platform will turn into a rocksolid option for people needing to host multiple PBXs on the same hardware. If you don't mind devoting hardware to it, I can also see it becoming outstanding test platform as well.

But what you do when that approach is a little bit too much for what you have in mind?

Well, pretty much everyone knows that there are premade versions of PBX in a flash to run under VMWARE.

However, using the free and readily available VM player is only a good solution for one virtualization running at a time. There's no easy way to manage resources between the various running players, nor to assigned priorities over the resources being used.

Another potential solution would be to use Microsoft MS virtual PC. Virtual PC is similar to the VM Ware player, but offers a few extra options and configuration. Also, Virtual PC includes some ability to make changes to the environment which has been preconfigured in the virtualization from within the user interface. There is no way to prioritize the use of resources between various virtual PCs running on a given computer at any given time.

Like other Microsoft server users, we often look for ways to use excess capacity on the existing servers. In this case, the Microsoft entry in the field to facilitate this is called Microsoft virtual server 2005 RC 2 SP1. Microsoft virtual server 2005 runs on any Microsoft server operating systems starting with Microsoft server 2003. It does not run on desktop operating systems.

Step 1: Microsoft virtual server 2005 software is freely available from Microsoft at no cost. Here is the link, go get it.

You must be logged in as the system administrator to install this software. Microsoft virtual server 2005 requires the presence of IIS on the server where it is installed, (IIS stands for Internet Information Server, Microsoft's version of a Web server) so you might as well get that installed before trying to install the virtual server software.

2. Download the zip file attached to this article, and expand it into C:\pbxiaf
(you can actually create the folder anywhere you want, with a slight bit of extra configuration, but it should be named the same.)

3. Download the latest PBX in a flash.ISO file from your traditional download source. Copy the ISO file into the same folder you expanded other data into in step two above. Make sure it is named "pbxinaflash.iso".

4. After installation, to access the Microsoft virtual server configuration and control screens, point your browser at the IP address of the server to which it was installed, and configured for port 1024. (http://server:1024)

If you accepted the default installation parameters at the time you installed the Microsoft virtual server software, the login ID and password to use will be dependent upon your individual computer, or domain. You must login as a computer or network administrative user the first time, after which you may create access credentials for other computer or network IDs.

5. On the left-hand side, under the heading Virtual Server, select Server Properties.
Within the server properties panel, select Search Paths. In the second block down called search paths, add the path to the folder where ever you placed it, (X.:\pbxiaf) and click OK.

6. On the left-hand side, under the heading Virtual Machines, select add.
Open up the "known configuration files" drop-down list box. Locate and select the entry for the folder created in step 2, then click the ADD button.

At this point you will be returned to the main status screen for your new PBX in a flash virtual machine, which will not be running just yet. Before starting it for the very first time, you may wish to make some changes to the default configuration.

First of all, I've configured for a default 256 MB of memory for this virtual machine. If you have more ram to spare on your test machine than 256 MB, by all means feel free to increase it. More RAM generally means a faster installation and smoother operations once installed. Make adjustments to the memory level by clicking on "memory" under “pbxiaf” Configuration section, and entering your desired amount (must be available on the server when you try to run this virtual machine).

Next - you need to associate this virtual machine with a network interface card in the physical server. To do that, in the same configuration screen, locate and click on "network adapters". In the drop down box called "connected to", select the network adapter that the host server uses to connect to the network, and click OK

Also, take this opportunity to become familiar with the configuration settings for the CD ROM device. By default, when we first boot up, we want the system to recognize the PBX a flash ISO file, so it boots from that and begins the installation process; and that's how this virtual machine is configured when you first install it. However, after the first part of the PBX installation is completed, will need to come back here and disable the CD-ROM drive settings so the system boots to the virtual disk and continues the installation process.

See Part 2 for the rest of this article.
 

Attachments

Virtualizing PBX in a flash using Microsoft virtual server 2005 R2 SP1 - Part 2

(Continued from Part 1)

7. When you have had a look around, have noted the location of the CD-ROM settings, and changed the memory as you see fit, its time to start the virtual machine and begin the installation of the PBX in a flash software distribution.


To start the PBX in a flash virtual machine, click on the thumbnail under the line that reads "PBXIAF" Status. Once you click on it, you have "turned on" the virtual machine, and it will begin to boot from the CD-ROM ISO image.

To see, and interact with the console, click on the thumbnail image again. You'll get a dialog box complaining of an un trusted connection -- click yes to accept to continue.

Note: You may be required to run an ActiveX control in your browser in order to see the thumbnails, and interact with the system correctly. The easiest way to run an ActiveX control, is to be running a version of Microsoft Internet Explorer. It may be possible for other browsers to run active X. components but I'm in no position to help you know what they are or how to do it.

When you get to the console view, you will see the normal PBX in a flash startup screen, asking you to select your installation type. From this moment forward there is nothing different or unique about installing PBX in a flash on this platform, than there would be on any other platform. Perform a normal installation, make all your selections, and move forward until we get to the point where the system performs its first reboot.

When the system performs its first reboot, we would normally be removing the CD-ROM installation media. Because that media is virtual in this case, we need to instead login to the virtual server management site, and "remove the ISO from the virtual CD-ROM drive". (http://server:1024)

To do this, from the website main screen, locate the PBX IAF virtual machine, and hover the mouse over its name area this will expose a menu of actions which can be taken on this virtual machine. During or after the first reboot, from this menu. (The virtual machine may not be running when you make changes to its CD-ROM configuration).

Once the virtual machine status shows as "off", from the same menu, select Edit Configuration.

From the PBXIAF status screen, CD/DVD. Under the heading "capture", select the radio button for "no media", then click the OK button. This will return you to the "pbxiaf" Status screen.from here, once again, hover the mouse over the virtual machine's label (pbxiaf ), and "turn on". The PBX in a flash post-reboot installation activities will now resume.

8. When installation of PBX in a flash complete, you may log on to its console view by clicking the thumbnail of the virtual machine in the Virtual Server 2005 interface. From here, you can carry out all of the tasks you normally can carry out from the console. This virtual console will behave the same in "virtually" every way. (Sorry, I couldn't help myself.)

Once you have completed your initial installation-time activities, you may use your web browser to access the PBX in a flash graphic user interface the same way you would on any other installation.

Once last thing you will need to do for proper performance – and that is shut of Zaptel/dahdi in the virtual machine. Failure to do that will cause some pretty fascinating audio effects. From the console:
Amportal stop
Service Zaptel stop
Amportal start

Unless you edit the start up files, Zaptel/dahdi will restart each time you reboot the virtual machine, and need to be shut off again.

I hope some of you to first find this information interesting and useful. As always, please let us know if you find some other interesting way to use these procedures. Until next time –

tshif
 

Members online

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top