< Back
Register-P1Tenant
Post
NAME Register-P1Tenant
SYNOPSIS
DEV TOOL - Use New-P1Tenant cmdlet if you want to install a new PlannerOne tenant.
Register a new PlannerOne tenant.
SYNTAX
Register-P1Tenant [-Tenant] <String> [[-BinPath] <String>] [[-RemotingPort] <Int32>] [[-WebServicePort] <Int32>]
[[-WebPort] <Int32>] [[-WebAppName] <String>] [-ERP] <String> [[-SiteRootPath] <String>] [<CommonParameters>]
DESCRIPTION
DEV TOOL.
Register a new PlannerOne tenant with the given parameters.
Does not deploy the product.
Every name are set by convention from tenant name if they are not overloaded.
Keep convention name if possible for easier maintenance.
Web service port and remoting port are declined from web port.
Use BinPath to force main binary path (NavAdapterApplication.exe, PlannerOneService.exe, PlannerOne.exe...)
PARAMETERS
-Tenant <String>
The tenant name.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-BinPath <String>
The binary path of main PlannerOne service / debug process.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-RemotingPort <Int32>
The port to be used by AppServer for Remoting API.
Required? false
Position? 3
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-WebServicePort <Int32>
The port to be used by AppServer for REST API.
Required? false
Position? 4
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-WebPort <Int32>
The customized port to be used by WebServer site.
Required? false
Position? 5
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-WebAppName <String>
The customized name to use for web application.
Required? false
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ERP <String>
The ERP to use (NAV, AP, SAGE).
Required? true
Position? 7
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SiteRootPath <String>
The IIS Web site root path
Required? false
Position? 8
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\># Install a PlannerOne tenant named P1Prod.
Register-P1Tenant -Tenant NavDev -WebPort 8142 -ERP NAV -BinPath
"C:\\dotNet\\Projects\\PlannerOne\\branches\\dev\\NavAdapter\\bin\\Debug"
RELATED LINKS
SYNOPSIS
DEV TOOL - Use New-P1Tenant cmdlet if you want to install a new PlannerOne tenant.
Register a new PlannerOne tenant.
SYNTAX
Register-P1Tenant [-Tenant] <String> [[-BinPath] <String>] [[-RemotingPort] <Int32>] [[-WebServicePort] <Int32>]
[[-WebPort] <Int32>] [[-WebAppName] <String>] [-ERP] <String> [[-SiteRootPath] <String>] [<CommonParameters>]
DESCRIPTION
DEV TOOL.
Register a new PlannerOne tenant with the given parameters.
Does not deploy the product.
Every name are set by convention from tenant name if they are not overloaded.
Keep convention name if possible for easier maintenance.
Web service port and remoting port are declined from web port.
Use BinPath to force main binary path (NavAdapterApplication.exe, PlannerOneService.exe, PlannerOne.exe...)
PARAMETERS
-Tenant <String>
The tenant name.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-BinPath <String>
The binary path of main PlannerOne service / debug process.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-RemotingPort <Int32>
The port to be used by AppServer for Remoting API.
Required? false
Position? 3
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-WebServicePort <Int32>
The port to be used by AppServer for REST API.
Required? false
Position? 4
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-WebPort <Int32>
The customized port to be used by WebServer site.
Required? false
Position? 5
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-WebAppName <String>
The customized name to use for web application.
Required? false
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ERP <String>
The ERP to use (NAV, AP, SAGE).
Required? true
Position? 7
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SiteRootPath <String>
The IIS Web site root path
Required? false
Position? 8
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\># Install a PlannerOne tenant named P1Prod.
Register-P1Tenant -Tenant NavDev -WebPort 8142 -ERP NAV -BinPath
"C:\\dotNet\\Projects\\PlannerOne\\branches\\dev\\NavAdapter\\bin\\Debug"
RELATED LINKS