Sunday, February 17, 2013

SERVICES

Services :  
  • Start Services on Windows
  • Stop Services on Windows
  • Start Services on NetWare
  • Stop Services on NetWare
  • Access NetWare Service Manager from a Remote Novell Client
  • Start Services on Unix
  • Stop Services on Unix
  • Remotely Start or Stop Services on Windows Client Computers Within a CommCell
  • Access Service Control Manager from CommCell Console
  • Ensure Restarting of Services Using crontab
  • View or Modify User Rights Assignments on a Workgroup or Member Server
  • View or Modify User Rights Assignments on a Domain Controller
  • Set up User Permissions and Rights on a Windows Workgroup or Member Server
  • Set up Folder Permissions
  • Use GxAdmin to View Remote Clients
  • Use GxAdmin to Start/Stop Services
  • Use GxAdmin to Create Process Dump
  • Use GxAdmin to Set Log Parameters

    Stop Services on Windows

    Before You Begin
  • Services used by the system must be running in order for data protection, data recovery operations, and all jobs to run properly. Generally, it is strongly recommended that you should leave all services running. Stopping these services should be avoided whenever possible.
  • Use the Job Controller to verify that no jobs (data protection operations, data recovery operations, etc.) are in progress. If a job is in progress and in the Running or Waiting state, use the Job Controller to suspend or kill the job. Alternately, you can wait for the job to complete.
  • Stopping either the CommServe services or the Base services will stop all operations that depend on that CommServe.
  • When you stop services on a given system, the functions dependent upon the system's services will no longer be available to the rest of the CommServe.
  • All services depend upon the Base services, therefore, stopping the base services stops all services.
  • For the Windows 2000, Windows 2003, and Windows XP platforms, services will automatically recover if they are stopped unexpectedly. If the services stop unexpectedly, the services will attempt to restart every two minutes until they start successfully. While the Server Event Manager Service is restarting, (either by a user restarting the service manually or by auto-recovery), the Job Manager Service and the Media and Library Manager service will also be restarted.
To stop services on Windows:
  1. Open the Service Control Manager. For more information, see Access Service Control Manager from CommCell Console.
  2. Click the service you want to stop from the Services field.
  3. By default, the Auto-Start Services when OS Starts option is selected, meaning that all services applicable to the local computer will start automatically when the computer is restarted. If you want to start all services manually instead, clear this option (to disable the auto-start feature).
  4. Click Stop to stop the specific service(s).When the services are stopped successfully, the Service Control Manager window updates the All Services status from Running to Stopped.

    Optionally, you can verify which services were stopped by viewing them from the Windows Services window.

Start Services on NetWare

To start services on a NetWare system: Start from Remote Novell Client PC
  1. Open the Service Manager. For more information, see Access Service Control Manager from CommCell Console.
  2. Type in the name of the CommServe being accessed.
  3. Press Enter to continue. This populates the NW Servers drop-down menu.
  4. Select an NW Server.
  5. Click Start to start the services. When the services are started successfully, the Service Manager window updates the status of the services you selected from Stopped to Running.
Start from NetWare Server
  1. Run the following command from your local computer: Load Galaxy
    This should start the services.
  2. Resume any jobs you suspended prior to stopping all services.

Stop Services on NetWare

To stop services on a NetWare system:
Stop from Remote Novell Client PC
  1. Open the Service Manager. For more information, see Open Service Manager from Remote Novell Client PC.
  2. Type in the name of the CommServe being accessed.
  3. Press Enter to continue. This populates the NW Servers drop-down menu.
  4. Select an NW Server.
  5. Click Stop to stop the services. When the services are stopped successfully, the Service Manager window updates the status of the services you selected from Running to Stopped.
Stop from NetWare Server Run the following command from your local computer:
Unload Galaxy

Access NetWare Service Manager from a Remote Novell Client

To open the Service Manager from Remote Novell Client:
  1. In the Novell Client computer, navigate to the \Base folder.
  2. Double-click NWGalaxyscm.exe.The NetWare Service Manager window will be displayed.

Start Services on Unix

To start services on Unix:
  1. From a client computer, log on to the computer as root.
  2. At the command line prompt, type the HitachiHDS start command.
  3. Press ENTER.
  4. Resume any jobs you suspended prior to stopping all services.

Stop Services on Unix

To stop services on Unix:
  1. From a client computer, log on to the computer as root.
  2. At the command line prompt, type the HitachiHDS stop command.
  3. Press Enter. This should stop the services.

Remotely Start or Stop Services on Windows Client Computers Within a CommCell

To remotely start or stop services on Windows client computers within a CommCell:
  1. Open the Service Control Manager. For more information, see Open Service Control Manager from CommCell Console.
  2. Select Retrieve Remote Clients. The Computer field is automatically populated with the names of the Windows clients within the CommCell.
  3. From the Computer field, select the client computer from which you want to stop or start the services.
  4. Click Stop or Start to stop or restart the specific service(s). When the services are restarted successfully, the Service Control Manager window updates the status of the Base services from Running to Stopped, or from Stopped to Running. Optionally, you can verify which the services on the remote computer that were started by viewing them from the Windows Services window.

Access Service Control Manager from CommCell Console

Before You Begin
  • To start the Service Control Manager using the CommCell Console, the CommCell Console must be accessed using a stand-alone or installed version of the CommCell Console.
  • The Service Control Manager cannot be accessed from the CommCell Console when it is run as a Remote Web-Based Application.
  • Another component such as a CommServe, MediaAgent or Agent software must also be installed on the computer.
To open the Service Control Manager from the CommCell Console:
  1. Open the CommCell Console as described in Run the CommCell Console as a Java Application.
  2. From the CommCell Console, click Tools > Service Control Manager. The Service Control Manager window is displayed.

Ensure Restarting of Services Using crontab

Before You Begin
  • Please consult your operating system vendor manual for instructions on adding crontab entries.
  • crontab entries must be made using the root user ID.
To ensure restarting of services using the crontab file:
  1. From the client computer, open the crontab file.
  2. Type an entry that includes the appropriate install directory and command and that reflects how often you want to restart services. For example:
    * 0-23 *** <software installation path>/Base/HitachiHDS start

    indicates that services will be checked every hour to see if a restart is necessary (which is recommended).
  3. Save your file.

View or Modify User Rights Assignments on a Workgroup or Member Server

To view or modify user rights assignments on a Workgroup or Member Server:
  1. Click Start > Settings > Control Panel > Administrative Tools.
  2. From Administrative Tools, select the local security policy and add the Service user to all the required rights (logon as service, backup, restore). 

View or Modify User Rights Assignments on a Domain Controller

To view or modify user rights assignments on a domain controller:
  1. Click Start > Settings > Control Panel > Administrative Tools.
  2. From Administrative Tools\Domain Controller Security Policy, expand the tree to Security Settings, Local Policies, and User Rights Assignment. Add the user to all the required rights (logon as service, backup, restore).

Set up User Permissions and Rights on a Windows Workgroup or Member Server

To set up user permissions and rights on a Windows Workgroup or Member Server:
  1. Click Start > Settings > Control Panel > Administrative Tools.
  2. From Administrative Tools, double-click Computer Management.
  3. Create or prepare to manage a Windows user who will run the services.
  4. Open Computer Management by expanding Local User and Groups and then Users. Double-click or create the User who will be running the services.
  5. Right-click the User (if new), click Properties, and click Member of. Then add the Backup Operators group to the User.
  6. Change the services account to the User and re-start the services.
  7. Log off and log in as the Administrator for the policies to take effect. Sometimes you may have to restart the computer to this end. 

Set up Folder Permissions

To set up folder permissions:
  1. As appropriate, provide the service user with full control to the installation directory or confirm that such control is in place. The default location is C:\Program Files\Company Name.
  2. Right-click, select Properties, and then select the Security tab and Add Backup Operators (or the service user) with full control rights.

Use GxAdmin to View Remote Clients

To view details of clients installed in remote computers using GxAdmin tool:
  1. On Windows clients, navigate to the \Base folder.
  2. Double-click GxAdmin.exe. The GxAdmin Tool, General tab is displayed.
  3. Select the Retrieve Remote Clients field. The remote clients connected to the CommCell will list will be listed in the Client Name field.
  4. Select the desired client name from the Client Name list.
  5. The details of the CommCell components installed in the remote client are displayed.

Use GxAdmin to Start/Stop Services

To start/stop the CommCell services using GxAdmin tool:
  1. On Windows clients, navigate to the \Base folder.
  2. Double-click GxAdmin.exe. The GxAdmin Tool is displayed.
  3. Select the Services tab. The component services and the individual services are displayed.
  4. Select the desired service, right-click and select Start/Stop/Restart as required.

Use GxAdmin to Create Process Dump

To create a process dump using GxAdmin tool:
  1. On Windows clients, navigate to the \Base folder.
  2. Double-click GxAdmin.exe. The GxAdmin Tool is displayed.
  3. Select the Processes tab. The various processes running and their details are listed.
  4. Select the desired process and right-click.
    • Select Dump to create a dump file containing the process details. The process dump, a .dmp file with the filename containing the process name with the timestamp information appended, is created in \Log Files folder.
    • Select Kill to kill the process.
    • Select View Logs to view the process log.

Use GxAdmin to Set Log Parameters

To set log parameters using GxAdmin tool:
  1. On Windows clients, navigate to the \Base folder.
  2. Double-click GxAdmin.exe. The GxAdmin Tool is displayed.
  3. Select the Log Params tab. The log settings for the various modules are displayed.
  4. To modify a parameter, double-click the corresponding cell and edit the value.
  5. Click OK to save the changes.