Created
May 24, 2011 22:07
-
-
Save terrancesnyder/989858 to your computer and use it in GitHub Desktop.
provision.sh.man - man page describing the provision.sh file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAME | |
provision.sh - script that will provision a new tomcat instance | |
SYNOPSIS | |
provision.sh [create|delete] [port] | |
DESCRIPTION | |
The program is useful for creating or deleting instances of a tomcat | |
on a specific port following SpringSource recommendations. | |
When a new instance is created the program looks for the default templ- | |
ate to use. This should be located in $TOMCAT_INSTALL/shared/template. | |
Any modifications done to the template (including packaging environmen- | |
tal settings, default web applications, and default memory allocations, | |
should be performed in this folder. | |
To create a new provisioned instance issue the following command in the | |
tomcat root folder. | |
./provision.sh create <yourport> | |
will create a new provisioned instance of tomcat, start that instance, | |
and inform you of the status of the currently started instance. | |
When removing a provisioned instance, the instance will be verified, and | |
then it will be instructed to stop to allow for backup of the particular | |
instance. | |
./provision.sh delete <existingport> | |
after running this command a new directory will be created under the de- | |
fault tomcat folder; | |
./backups/instance.backup.of.<port>.on<date>.zip | |
this allows for the restoration of the backup should you need to do this. | |
OPTIONS | |
create Creates a new instance | |
delete Deletes an existing instance | |
EXAMPLES | |
The simplest example to create a new instance on port 8080: | |
./provision.sh create 8080 | |
The simplest example of deleting an instance on port 8080: | |
./provision.sh delete 8080 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAME | |
provision.sh - script that will provision a new tomcat instance | |
SYNOPSIS | |
provision.sh [-create] [port] | |
provision.sh [-delete] [port] | |
DESCRIPTION | |
The program is useful for creating or deleting instances of a tomcat | |
on a specific port following SpringSource recommendations. | |
When a new instance is created the program looks for the default templ- | |
ate to use. This should be located in $TOMCAT_INSTALL/shared/template. | |
Any modifications done to the template (including packaging environmen- | |
tal settings, default web applications, and default memory allocations, | |
should be performed in this folder. | |
To create a new provisioned instance issue the following command in the | |
tomcat root folder. | |
./provision.sh -create <yourport> | |
will create a new provisioned instance of tomcat, start that instance, | |
and inform you of the status of the currently started instance. | |
When removing a provisioned instance, the instance will be verified, and | |
then it will be instructed to stop to allow for backup of the particular | |
instance. | |
./provision.sh -delete <existingport> | |
after running this command a new directory will be created under the de- | |
fault tomcat folder; | |
$TOMCAT_INSTALL/backups/instance.backup.<port>.on<date>.zip | |
this allows for the restoration of the backup should you need to do this. | |
OPTIONS | |
-create Creates a new instance | |
-delete Deletes an existing instance | |
EXAMPLES | |
The simplest example to create a new instance on port 8080: | |
./provision.sh -create 8080 | |
The simplest example of deleting an instance on port 8080: | |
./provision.sh -delete 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment