The deactivatemodel command allows you to remove a previously activated model and its related configuration from a running Host Integrator Server. Click a link below for more information about this command:
Before you use the deactivatemodel command, you must have an activated model running on a Host Integrator Server.
Use this syntax for the deactivatemodel command:
deactivatemodel -model model_name
[ -server vhi_server ]
[ -user username -password password ]
Option |
Short
|
Required |
Description |
-model | -m |
X
|
This switch specifies the name of the model to deactivate. This switch is required. |
-server | -s |
The network name of the Host Integrator Server on which to deactivate the model. This switch is optional. If it is not supplied, the network name localhost is implied. |
|
-user
-password |
-u -w |
The user credentials of the Host Integrator administrator. These credentials are required if security is enabled on the Host Integrator installation. They are not required if security is disabled. |
Here are some examples of the deactivatemodel command. The first command removes the model Mymodel from the Verastream server running on the local computer. It also deletes any session pools and model variable lists used solely by this model:
deactivatemodel -model MyModel
The following command removes the model Mymodel from the server VHI_Server
. It also deletes any session pools and model variable lists used solely by this model:
deactivatemodel -model MyModel -server VHI_Server
The final command uses the short versions of the switches. It also assumes that security was enabled on the Host Integrator Server. Therefore, the Host Integrator administrator's user name and password must be provided to deactivate the model.
deactivatemodel -m MyModel.model -s VHI_Server -u VHIadmin -w VHIPassWord
![]() |