Using PSADMIN to Start and Stop Web Servers

In addition to the methods given in the previous sections for starting and stopping Oracle WebLogic web servers, you can use PSADMIN to administer a web server domain.

See PeopleTools: System and Server Administration.

To start and stop web servers:

  1. Go to the PS_HOME/appserv directory and run the command psadmin.

  2. Specify 4 for Web (PIA) Server.

    --------------------------------
    PeopleSoft Server Administration
    --------------------------------
    
      PS_HOME:   :  C:\pt863
      PS_CFG_HOME:  C:\psft_AppServ
    
      1) Application Server
      2) Process Scheduler
      3) Search Server
      4) Web (PIA) Server
      5) Switch Config Home
      6) Service Setup
      7) Replicate Config Home
      q) Quit
    
    Command to execute (1-7, q): 4
                   

    The location of Config Home is the current working directory. The PSADMIN utility determines the Config Home directory by checking for the PS_CFG_HOME environment variable. If that is not set, it checks for the presence of domains in the default PS_CFG_HOME location. If none exists, it uses the PS_HOME location from which it was launched.

    See "Preparing for Installation," Defining Installation Locations.

  3. Select 1 for Administer a domain.

    -----------------------------
    PeopleSoft PIA Administration
    -----------------------------
    
      PIA Home:   C:\psft_WebServ
    
      1) Administer a domain
      2) Create a domain
      3) Delete a domain
    
      q) Quit
    
    Command to execute: 1
                   

    The PSADMIN utility determines the PIA Home location displayed here by first checking for a PIA_HOME environment variable. If none is set, it checks for the PS_CFG_HOME environment variable. If neither is set, it uses the default PS_CFG_HOME directory.

  4. Select the domain you want to administer by entering the appropriate number.

    ------------------------------------------------------
    PeopleSoft PIA Domain Administration - Choose a Domain
    ------------------------------------------------------
    1) psftTST  
    2) peoplesoft
    
    q) Quit
    
    Command to execute: 2
                   
  5. To start a web server domain, enter 1, Boot this domain.

    ------------------------------------
    PeopleSoft PIA Domain Administration
    ------------------------------------
    
      PIA Home:      C:\psft_WebServ
      PIA Domain:    peoplesoft
      Domain Status: stopped
    
      1) Boot this domain
      2) Shutdown this domain
      3) Get the status of this domain
      4) Configure this domain
      5) Edit configuration files
      6) View log files
      7) Administer a site
      8) Delete a site
      9) Windows Service Setup
    
      q) Quit
    
    Command to execute: 1
                   

    The boot command invokes the startPIA.cmd script, and you see the progress and a status message on the console window.

    Starting the domain..................
    ...
    Verifying domain status..
    The domain has started.
  6. To stop a web server domain, select 2, Shutdown this domain.

    The shutdown command invokes the stopPIA.cmd script, and you see the progress and a status message on the console window.

    Stopping the domain.....
    .....
    Verifying domain status..........
    The domain has stopped.
  7. To set up a Windows service, select 9, Windows Service Setup.

  8. Select 1 to install a service, or 2 to remove it.

    This command invokes the installNTservice script, and creates a service named WebLogicDomain-WebLogicServer.

    ---------------------
    Windows Service Setup
    ---------------------
    
      PIA Home:      C:\psft_websrv
      PIA Domain:    peoplesoft
      Domain status: started
    
      1) Install Service
      2) Uninstall Service
    
      q) Quit
    
    Command to execute: