Create vFabric Web Server Instances

You create a new vFabric Web Server instance with the newserver command. The command creates a new directory that contains the instance-specific configuration files.

The newserver command format depends on your operating system:

The command-line options for the two flavors are exactly the same. Where appropriate, the following procedure calls out the different usage depending on whether you are on Linux or Windows.

Prerequisites

Procedure

  1. Log on to your computer as root (Linux) or the Administrator user (Windows) and open a terminal (Linux) or command window (Windows).

    Note for Windows: Depending on the Windows version, you may not have the required permissions when you start the command window, even if you logged in as the Administrator user. If some commands in this procedure fail because of a lack of permissions, start a new command window and use the runas command to execute commands from the new window instead of the original one:

    prompt> runas /user:administrator "cmd.exe /k"
  2. Change to the directory in which you installed vFabric Web Server. For example, on Linux:

    prompt# cd /opt/vmware/vfabric-web-server
  3. Run the newserver command to create the new instance; the command prompts you for information about the new server.

    The only required command option is --server, with which you specify the name of your vFabric Web Server instance. On Linux, use the Perl flavor; for example:

    prompt# ./newserver.pl --server=myserver

    On Windows, use the cscript command to invoke the VBS flavor:

    prompt> cscript newserver.vbs --server=myserver

    In both preceding examples, the way you specify the options is exactly the same. In the examples, the new instance is called myserver and its server directory is /opt/vmware/vfabric-web-server/myserver.

    For additional options, see newserver Prompts and Command Reference.

  4. Enter values for the newserver prompts as the command requests information about your new instance. You can use the default values for many of the prompts, or even leave them blank.

    newserver Prompts and Command Reference provides additional information about the prompts.

What to do next