|
|
|
|
- Overview
- Manage deployment accounts
- Deployment account parameters file
- Creating a WEBDEV deployment account
- Modifying a WEBDEV deployment account
- Deleting a deployment account
- Reading the information about a deployment account
- Getting the list of deployment accounts
- Managing applications
- Deleting an application
- Associating an application with a WEBDEV deployment account
- List of applications of a deployment account
- Listing the unassigned applications
- Managing SOAP/REST web services and WebSocket servers
- Deleting a SOAP/REST web service or a WebSocket server
- Assigning a SOAP/REST web service or WebSocket server to a WEBDEV deployment account
- List of SOAP/REST web services or WebSocket servers of an account
- List of unassigned SOAP/REST web services or WebSocket servers
- Migrating accounts, sites and web services
- Migrating a user account
- Migrating a WEBDEV site
- Migrating a SOAP and REST web service
- Migrating a WebSocket server
- Migrating everything
Handling WEBDEV Account Manager via command line
All the features in WEBDEV Account Manager can be used via command line. You can: Manage deployment accounts Deployment account parameters file WEBDEV deployment accounts are managed using a file that contains the account parameters. This file is a text file with any extension. This file has the following structure: [MAIN] NOM=Smith PRENOM=Alan SOCIETE=PCSOFT CONNEXION=66 LOGINOS=Smith
[DIR] FTP=d:\temp\ftp APPLI=d:\AppliWW\Smith FICHIER=d:\DataWW\Smith Details of these parameters: | | [MAIN] section | |
---|
NOM | Last name of the account user | PRENOM | First name of the account user | SOCIETE | Company of the account user | CONNEXION | Total number of connections allowed for this account | EMAIL | Email address of the account user | ADRESSE | Address of the account user | TELEPHONE | Phone number of account user | DIVERS | Additional notes | INTERDIT | - 0 if the account is enabled,
- 1 if the account is disabled.
| ADMIN | - 2 for an exclusive deployment administrator account,
- 1 for a deployment administrator account,
- 0 for a deployment account.
| LOGINOS | Name of the Windows account used for the installation (deployment) and remote administration. The associated password is the one used for the Windows account. | LOGINOSIUSR | Name of the Windows account used to run sites and webservices. The associated password is the one used for the Windows account. | PWDOS | Password of the Windows account used for the installation (deployment) and remote administration. This password is only used in cluster mode. | PWDOSIUSR | Password for the Windows account used to run sites and webservices. This password is only used in cluster mode. | [DIR] section | | FTP | Directory used for the transfer by FTP. | APPLI | Directory of applications and WEBDEV sites associated with this account. | FICHIER | Directory of data files for the applications and WEBDEV sites associated with this account. | WEBSERVICE | Directory of the SOAP web services associated with this account. | WEBSERVICEREST | Directory of the REST web services associated with this account. | SERVEURSWEBSOCKET | Directory of Websocket servers associated with this account. | [HFCS1] section | This section is optional. It is used to describe the HFSQL server when using an HFSQL Client/Server database. | SERVEUR | IP address of the HFSQL server | PORT | Port of HFSQL server | LOGIN | Login of the user of the HFSQL Client/Server database | PASSE | Password of the user of the HFSQL Client/Server database | BASE | HFSQL Client/Server database |
Creating a WEBDEV deployment account To create a new WEBDEV deployment account via a command line and a parameter file: - Create a file containing the parameters of the account to create.
- Start CCHebergement with the following command line:
CCHebergement.exe /CREATEUSER /PARAM="<Full path of parameter file>"
Remark: The password is the one used for the Windows account. Caution: The parameter file is NOT deleted at the end of the account creation. Modifying a WEBDEV deployment account To modify a WEBDEV deployment account via a command line and a parameter file: - Create a file containing the parameters of the account to modify.
- Start CCHebergement with the following command line:
CCHebergement.exe /MODUSER /PARAM="<Full name of parameter file>"
The parameters that are not specified in the parameter file are not modified. Caution: The parameter file is NOT deleted at the end of the account creation. Deleting a deployment account The following syntax allows you to delete an account via a command line: CCHebergement.exe /DELETEUSER /PARAM="<LOGINOS>" Reading the information about a deployment account The following syntax enables you to read the account details: CCHebergement.exe /INFOUSER /PARAM="<Full name of parameter file>" /USER="<LOGINOS>" The parameter file is created with the information about the user account identified by its LOGINOS. Getting the list of deployment accounts To read the information about the different deployment accounts via a command line, use the following syntax: CCHebergement.exe /LISTUSER /PARAM="<Full name of parameter file>" The parameter file is created with the information about the different user accounts. Deleting an application To delete an application or a WEBDEV site via a command line, use following syntax: CCHebergement.exe /DELETEAPP /APP="<Application name>" Associating an application with a WEBDEV deployment account To assign an application or a WEBDEV site to a WEBDEV deployment account via a command line, use the following syntax: CCHebergement.exe /ATTRIBAPP /APPLI="<Application name>" /USER="<Login>" List of applications of a deployment account To list the applications of a deployment account via a command line, use the following syntax: CCHebergement.exe /LISTAPPUSER /PARAM="<List file>" /USER="<Login>" The applications are listed in <List file>. Listing the unassigned applications To find out the list of unassigned applications via a command line, use the following syntax: CCHebergement.exe /LISTAPPFREE /PARAM="<List file>" The applications are listed in <List file>. Managing SOAP/REST web services and WebSocket servers Deleting a SOAP/REST web service or a WebSocket server - To delete a SOAP web service with a command line, use the following syntax:
CCHebergement.exe /DELETEWEBSERVICE /WEBSERVICE="<Web service name>" - To delete a REST web service with a command line, use the following syntax:
CCHebergement.exe /DELETEWEBSERVICEREST /WEBSERVICEREST="<REST web service name>" - To delete a WebSocket server with a command line, use the following syntax:
CCHebergement.exe /DELETESERVEURWEBSOCKET /SERVEURWEBSOCKET="<WebSocket server name>"
Assigning a SOAP/REST web service or WebSocket server to a WEBDEV deployment account - To assign a SOAP web service to a WEBDEV deployment account using a command line, use the following syntax:
CCHebergement.exe /ATTRIBWEBSERVICE /WEBSERVICE="<Web service name>" /USER="<Login>" - To assign a REST web service to a WEBDEV deployment account using a command line, use the following syntax:
CCHebergement.exe /ATTRIBWEBSERVICEREST WEBSERVICEREST="<REST web service name>" /USER="<Login>" - To assign a WebSocket server to a WEBDEV deployment account using a command line, use the following syntax:
CCHebergement.exe /ATTRIBSERVEURWEBSOCKET /SERVEURWEBSOCKET="<WebSocket server name>" /USER="<Login>"
List of SOAP/REST web services or WebSocket servers of an account - To list the SOAP web services for a deployment account using a command line, use the following syntax:
CCHebergement.exe /LISTWEBSERVICEUSER /PARAM="<List file>" /USER="<Login>" - To list the REST web services for a deployment account using a command line, use the following syntax:
CCHebergement.exe /LISTWEBSERVICEUSERREST /PARAM="<List file>" /USER="<Login>" - To list the WebSocket servers for a deployment account using a command line, use the following syntax:
CCHebergement.exe /LISTSERVEURSWEBSOCKETUSER /PARAM="<List file>" /USER="<Login>"
The web services and WebSocket servers are listed in the <List file>. List of unassigned SOAP/REST web services or WebSocket servers - To get the list of unassigned SOAP web services using a command line, use the following syntax:
CCHebergement.exe /LISTWEBSERVICEFREE /PARAM="<List file>" - To get the list of unassigned REST web services using a command line, use the following syntax:
CCHebergement.exe /LISTWEBSERVICERESTFREE /PARAM="<List file>" - To get the list of unassigned WebSocket servers using a command line, use the following syntax:
CCHebergement.exe /LISTSERVEURSWEBSOCKET /PARAM="<List file>"
The web services and WebSocket servers are listed in the <List file>. Migrating accounts, sites and web services Migrating a user account To migrate a user account via a command line, use the following syntax: CCHebergement.exe /MIGREUSER [/VERSIONMIGRATION=<Version to migrate>] [/MIGRERESETUSER] <Version to migrate> corresponds to the version number of the account to migrate. If this parameter corresponds to *, all the previous versions will be migrated, from the most recent version to the older one. If the account already exists, it is not replaced. If this parameter is not specified, only the version before the latest version is migrated. The MIGRERESETUSER keyword is used to delete the users of the current version before the migration. This keyword is mainly used to delete the "admin" account automatically created during the setup. Migrating a WEBDEV site To migrate a WEBDEV site via a command line, use the following syntax: CCHebergement.exe /MIGREAPP [/VERSIONMIGRATION=<Version to migrate>] <Version to migrate> corresponds to the version number of the site to migrate. If this parameter corresponds to *, all the previous versions will be migrated, from the most recent version to the older one. If the site already exists, it is not replaced. If this parameter is not specified, only the version before the latest version is migrated. Migrating a SOAP and REST web service To migrate a web service via a command line, use the following syntax: CCHebergement.exe /MIGREWEBSERVICE [/VERSIONMIGRATION=<Version to migrate>] CCHebergement.exe /MIGREWEBSERVICEREST [/VERSIONMIGRATION=<Version to migrate>] <Version to migrate> corresponds to the version number of the web service to migrate. If this parameter corresponds to *, all the previous versions will be migrated, from the most recent version to the older one. If the webservice already exists, it is not replaced. If this parameter is not specified, only the version before the latest version is migrated. Migrating a WebSocket server To migrate a WebSocket server site via a command line, use the following syntax: CCHebergement.exe /MIGRESERVEURSWEBSOCKET [/VERSIONMIGRATION=<Version to migrate>] <Version to migrate> corresponds to the version number of the WebSocket server to migrate. If this parameter corresponds to *, all the previous versions will be migrated, from the most recent version to the older one. If the WebSocket server already exists, it is not replaced. If this parameter is not specified, only the version before the latest version is migrated. Migrating everything To migrate users, sites and web services via a command line, use the following syntax: CCHebergement.exe /MIGREALL [/VERSIONMIGRATION=<Version to migrate>] [/MIGRERESETUSER] <Version to migrate> corresponds to the version number of the account to migrate. If this parameter corresponds to *, all the previous versions will be migrated, from the most recent version to the older one. If the account, the site or the web service already exists, it is not replaced. If this parameter is not specified, only the version before the latest version is migrated. The MIGRERESETUSER keyword is used to delete the users of the current version before the migration. This keyword is mainly used to delete the "admin" account automatically created during the setup.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|