Showing posts with label Instalation. Show all posts
Showing posts with label Instalation. Show all posts

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.

Thursday, March 26, 2009

Windows 2003 Active Directory Setup:dcpromo

Windows 2003 Active Directory Setup:dcpromo

Now that we have setup Windows Server 2003 on our virtual machine, and we have patched it with SP2, Installed an Antivirus and setup DNS, is time now to setup active directory using dcpromo. Read about how to install and configure DNS on Windows Server 2003 from my previous post.

Setting up active directory using the run command dcpromo is a straightforward procedure. To begin, from your windows 2003 server desktop go to Start click on Run and type dcpromo and hit Enter.


The “Welcome to the Active Directory Installation Wizard” should come up:





Click on Next. On the following window, you will get a warning about comparability issues with other Operating Systems. Improve security settings in Windows Server 2003 affect older versions of windows:





After reading and thinking about consequences, click Next. On the next screen, you will get two options. The first option asks you if you want the server to become a domain controller for a new domain or if you want the server to be an additional domain controller for for an existing domain:



Select the first option and click Next. On the next window, you will get three options. the first option is to setup the domain in a new forest. Select this option if its the first domain controller on your organization, or if you want it to be totally independent from any forest.

Option two: Child domain in an existing domain tree. select this option if you want the domain to be a child domain from an existing domain. option three: Domain tree in an existing forest. if you don’t want any of the above, select this option.





In our case, choose the first option, and click Next. On the next screen, we need to type the full DNS name for the new domain:



Type the full DNS name like helpdeskgeek.com, and click on Next. On the next screen, we need to choose the NETBIOS name. This is the name earlier version of windows users will be using to identify the new domain.





Choose the name, and click Next. On the next screen, you need to select the location of where you want to store the database and log files. for best performance store them in separate disks



Choose the location where you want the active directory database and logs, and click Next.

Next, the Shared system volume window will come up. here, you need to choose the location on where you want to store the SYSVOL files. this folder contains the domain public files and are replicated to all the domain controllers in the domain.





Choose the folder location, and click Next. On the next window, the DNS registration diagnostic will show up. in here most likely you will get ” Diagnostic failed” and will give you three options. First option: it will allow you to perform the DNS diagnostic again,if you have corrected the problem.

Option two: it gives you the option to allow the active directory wizard to install and configure DNS for you, and use this DNS as the primary DNS for this server. third option, it allows you to bypass this window if you plan to correct the problem later on.





Even though we have already installed DNS on this server, we have not configure any of its services, so we will choose the option to Install and configure DNS server on this computer and set this computer to use this DNS server as its preferred DNS server. then click Next.

On the next window, you need to choose what type or permissions you want for users and group objects. Here you will get two options. the first options: select this option if you run server programs with pre-windows 2000. option two: select this option, if you only run windows servers 2000 and windows servers 2003 on your domain.





Select the second option, and click Next. On the next window, you need to enter the Directory services restore mode administrator password. This password is used when you start the computer in directory services restore mode. This account is different from the domain administrator account.





Type your chosen password, and click Next. Next, you will get the summary of all the options you have chosen during the active directory wizard. remember, the domain administrator account password is the same as the current local administrator password.



Click Next. the active directory installation should begin.



Some serious configuration processes going here. After a few minutes, active directory should be installed.





Click on Finish. and restart the computer. Active Directory should be now installed.

Windows 2003 Active Directory Setup:dcpromo






Install and Configure DNS on Windows Server 2003

Now that we have Windows Server 2003 patched with SP2 and with an Antivirus, is time to do the preparation to setup active directory for our domain controller in our testing network. you can read about our previous posts here “Free antivirus for windows server 2003“ and “Installing Windows Server 2003 on a VMware server.

Before we run the dcpromo wizard, it is recommended that we setup DNS first to avoid any issue with DNS while setting up active directory. so we will install DNS now.


From your Windows Server 2003 desktop click on Start>Control Panel>Add or Remove Programs:





The add and remove programs window should come up. Click on Add/Remove Windows Components:





The Windows Components Wizard should come up. Scroll down, and select “Network Services” and click on Details:





Check Domain Name System (DNS) from the first option:





Click on OK, and then click on Next in the wizard window. The installation of DNS should start.

if your Server is setup with dynamic IP address, you will get this warning at the middle of the installation:





Click on the OK button. The Local Area Connection Properties window will come up to setup the static IP address.select Internet Protocol (TCP/IP) and click on properties.





The TCP/IP Properties windows will come up. type the IP address, subnet mask, default gateway, and DNS. by typing IPconfig /all on the command prompt you can get this information the server is currently using. remember you need to exclude this IP address from the DHCP server on the router:





Click on the OK button. After this, the DNS installation should finish.

DHCP server in Windows 2003

The DHCP server assigns a client an IP address taken from a predefined scope for a given amount of time. If an IP address is required for longer than the lease has been set for, the client must request an extension before the lease expires. If the client has not requested an extension on the lease time, the IP address will be considered free and can be assigned to another client. If the user wishes to change IP address then they can do so by typing "ipconfig /release", followed by "ipconfig /renew" in the command prompt. This will remove the current IP address and request a new one. Reservations can be defined on the DHCP server to allow certain clients to have their own IP address (this will be discussed a little later on). Addresses can be reserved for a MAC address or a host name so these clients will have a fixed IP address that is configured automatically. Most Internet Service Providers use DHCP to assign new IP addresses to client computers when a customer connects to the internet - this simplifies things at user level.



The above diagram diplays a simple structure consisting of a DHCP server and a number of client computers on a network.

The DHCP Server itself contains an IP Address Database which holds all the IP addresses available for distribution. If the client (a member of the network with a Windows 2000 Professional/XP operating system, for example) has "obtain an IP address automatically" enabled in TCP/IP settings, then it is able to receive an IP address from the DHCP server.



Setting up a DHCP Server :

This will serve as a step-by-step guide on how to setup a DHCP server.
Installing the DHCP server is made quite easy in Windows 2003. By using the "Manage your server" wizard, you are able to enter the details you require and have the wizard set the basics for you. Open to "Manage your server" wizard, select the DHCP server option for the list of server roles and press Next.
You will be asked to enter the name and description of your scope.

Scope: A scope is a collection of IP addresses for computers on a subnet that use DHCP.




The next window will ask you to define the range of addresses that the scope will distribute across the network and the subnet mask for the IP address. Enter the appropriate details and click next.



You are shown a window in which you must add any exclusions to the range of IP addresses you specified in the previous window. If for example, the IP address 10.0.0.150 is that of the company router then you won't want the DHCP server to be able to distribute that address as well. In this example I have excluded a range of IP addresses, 10.0.0.100 to 10.0.0.110, and a single address, 10.0.0.150. In this case, eleven IP's will be reserved and not distributed amongst the network clients.





It is now time to set the lease duration for how long a client can use an IP address assigned to it from this scope. It is recommended to add longer leases for a fixed network (in the office for example) and shorter leases for remote connections or laptop computers. In this example I have set a lease duration of twelve hours since the network clients would be a fixed desktop computer in a local office and the usual working time is eight hours.





You are given a choice of whether or not you wish to configure the DHCP options for the scope now or later. If you choose Yes then the upcoming screenshots will be of use to you. Choosing No will allow you to configure these options at a later stage.





The router, or gateway, IP address may be entered in next. The client computers will then know which router to use.





In the following window, the DNS and domain name settings can be entered. The DNS server IP address will be distributed by the DHCP server and given to the client



If you have WINS setup then here is where to enter the IP Address of the WINS server. You can just input the server name into the appropriate box and press "Resolve" to allow it to find the IP address itself.





The last step is to activate the scope - just press next when you see the window below. The DHCP server will not work unless you do this.






The DHCP server has now been installed with the basic settings in place. The next stage is to configure it to the needs of your network structure.

Configuring a DHCP server
Hereunder is a simple explanation of how to configure a DHCP server.

The address pool displays a list of IP ranges assigned for distribution and IP address exclusions. You are able to add an exclusion by right clicking the address pool text on the left hand side of the mmc window and selecting "new exclusion range". This will bring up a window (as seen below) which will allow you to enter an address range to be added. Entering only the start IP will add a single IP address.





DHCP servers permit you to reserve an IP address for a client. This means that the specific network client will have the same IP for as long as you wanted it to. To do this you will have to know the physical address (MAC) of each network card. Enter the reservation name, desired IP address, MAC address and description - choose whether you want to support DHCP or BOOTP and press add. The new reservation will be added to the list. As an example, I have reserved an IP address (10.0.0.115) for a client computer called Andrew.




If you right click scope options and press "configure options" you will be taken to a window in which you can configure more servers and their parameters. These settings will be distributed by the DHCP server along with the IP address. Server options act as a default for all the scopes in the DHCP server. However, scope options take preference over server options.

In my opinion, the DHCP server in Windows 2003 is excellent! It has been improved from the Windows 2000 version and is classified as essential for large networks. Imagine having to configure each and every client manually - it would take up a lot of time and require far more troubleshooting if a problem was to arise. Before touching any settings related to DHCP, it is best to make a plan of your network and think about the range of IPs to use for the computers.