5.3
Table Of Contents
- vFabric Web Server Installation and Configuration
- Table of Contents
- 1. About vFabric Web Server Installation and Configuration
- 2. Overview of vFabric Web Server
- 3. Installing vFabric Web Server
- Installation Note for vFabric Suite Customers
- Available Distribution Packages
- RHEL: Install vFabric Web Server from an RPM
- Unix: Install vFabric Web Server from a Self-Extracting ZIP
- Windows: Install vFabric Web Server from a ZIP File
- Activate a vFabric Web Server Local License
- Description of the vFabric Web Server Installation
- 4. Upgrading vFabric Web Server
- 5. Migrating Enterprise Ready Server to vFabric Web Server
- 6. Creating and Using vFabric Web Server Instances
- 7. Configuring vFabric Web Server Instances
- Using Sample Configuration Files to Enable Features and Modify Configuration
- Configure Load Balancing Between Two or More tc Runtime Instances
- Configure SSL Between vFabric Web Server and vFabric tc Server
- Configure tc Runtime Instances to Use SSL
- Configure the vFabric Web Server Instance to Use SSL
- Restrict Communication With tc Runtime Instances to Known Clients
- Update the Web Server Configuration for HTTPS Connections to tc Runtime Instances
- Configure vFabric Web Server to Authenticate Itself Using a Specific Client Certificate
- Configure BMX for Monitoring vFabric Web Server Instances
- Metrics
- 8. Security Information
- 9. Managing Planned and Unplanned Outages
- 10. Additional Documentation
Creating and Using vFabric Web
Server Instances
31
VMware vFabric Suite 5.3 31
What to do next
• Complete the procedure in Serve a Sample HTML File from your vFabric Web Server Instance.
• Configure your instance as described in Configuring vFabric Web Server.
Installing vFabric Web Server Instances as Unix Services
You can install a vFabric Web Server instance as a system service on Unix, Linux, so it automatically starts and stops when
the operating system itself starts and stops. If you install it as a service, you start and stop the service by using the /etc/
init.d/ServiceName script.
Procedure
1. Log in to your computer as the root user.
2. Start a terminal window and change to the bin sub-directory of your vFabric Web Server instance's root directory. For
example, if you created an instance called myserver that lives in the installation directory /opt/vmware/vfabric-
web-server:
prompt# cd /opt/vmware/vfabric-web-server/myserver/bin
3. Install the instance as a service using the ./httpdctl install command:
prompt# ./httpdctl install
You should see the following output:
Installing vFabric httpd myserver
as the unix service vFabric-httpd-myserver
The display name for the service name is vFabric httpd InstanceName. The service name is the display name,
with spaces replaced by dashes: vFabric-httpd-InstanceName.
4. After creating the service, you can control it (1) with the system-config-services GUI utility, (2) by running the bin/
httpdctl shell script from the instance directory, or (3) by running the /etc/init.d/ServiceName script, passing
it the same commands as httpdlctl. For example, to start the myserver instance:
prompt# /etc/init.d/vFabric-httpd-myserver start
5. To uninstall the instance as a Unix service:
prompt# ./httpdctl uninstall
Windows: Start and Stop vFabric Web Server Instances
You start, stop, or restart a vFabric Web Server instance on Windows by first installing it as Windows service using the
httpdctl.ps1 PowerShell script in the bin directory of the instance directory, and subsequently using the Windows Services
console to start or stop it.
Warning: You always use the start script in the bin of the instance directory, such as c:\opt\vmware\vfabric-web-
server\myserver\bin. Do not use the start script in the httpd-2.2\bin sub-directory of the main installation directory.
Prerequisites
• Complete the appropriate procedure in Create vFabric Web Server Instances.
• As of version 5.2 of vFabric Web Server, you are required to use Windows PowerShell to execute vFabric Web Server scripts
on Windows computers. See the prerequisites section of Windows: Install vFabric Web Server from a ZIP File for information
on installing PowerShell (if it is not already installed on your Windows computer) and enabling it for script processing.