restsand.blogg.se

Calcservice installation
Calcservice installation










calcservice installation

Site.create("mysite", 5050, r"C:\inetpub\wwwroot\myapp", "mypool") # site name, port number, app directory, app pool name nfig("DefaultAppPool", pipeline_mode="Classic") # note that small values ()like 10 seconds) are not allowed nfig("DefaultAppPool", identity="SpecificUser", username="my_username", password="my_pass") nfig("DefaultAppPool", identity="NetworkService") nfig("DefaultAppPool", identity="LocalSystem") nfig("DefaultAppPool", identity="LocalService") nfig("DefaultAppPool", identity="ApplicationPoolIdentity") nfig("DefaultAppPool", thirty_two_bit=False) You can configure the pool as in the following example:

  • ping_response_time: ping response timeout in seconds.
  • ping_enabled: boolean - whether to enable ping.
  • loadUserProfile: boolean - whether to load user profile.
  • password: password for customer identity.
  • username: username for customer identity.
  • worker_idle_timeout: timeout of pool workers being idle in minutes.
  • recycle_at_time: the specific time to recycle the pool.
  • recycle_after_time: pool recycle time interval (in minutes).
  • thirty_two_bit: boolean, whether to enable 32bit support.
  • max_proc: maximum number of worker processes.
  • private_mem: private memory limit in KB.
  • Here are the parameters that can be used: To create a pool if it does not already exist:

    calcservice installation

    Here is how you can retrieve a list of application pools and site:Īs you can see, by default, a 4.0 pool with integrated mode is created. Print("iis version %s" % iis.get_version())

    #CALCSERVICE INSTALLATION INSTALL#

    Iis_bridge can install iis for you as shown below: Important: You must run python in a terminal with administrator privileges in order to use most of the iis operations. Iis_bridge has been tested with python 2.7 on: Iis_bridge is a python package for manipulating IIS and monitoring iis pools' memory on windows. Iis_bridge - A python package for managing iis iis_bridge Documentation












    Calcservice installation