search

Custom Search
Affichage des articles dont le libellé est starting server. Afficher tous les articles
Affichage des articles dont le libellé est starting server. Afficher tous les articles

dimanche 11 novembre 2012

How to start / stop Solaris services



Checking service status

# svcs -a







You can "grep" the wanted status => 

# svcs -a | grep disabled




To start the service =>

svcadm enable /network/shell:kshell

Stop it ==>

svcadm disable /network/shell:kshell

Restart ==>

svcadm restart /network/shell:kshell



dimanche 21 octobre 2012

How to install / upgrade Control-M Server / EM 6.4 to 7.0


Hello, In this post we going to install (or upgrade) Control-M Enterprise Manager, Server and agent 6.4 to 7.0 version.

I choose to make an "All in one" howto, because upgrading have only few steps in addition to the installation.

If you are upgrading, the first step is downloading the "Migration tool kit" (find it in the public BMC repository). If you just want install, skip the first step ;)
 



After the installation you can check in the Control-M Enterprise Manager folder, a new one : migration_export
 

Open a shell and execute the "migration.bat" and choose the good option.
 

This step check your data. If all is OK, the export files are stored in "migration_export" folder.
 

Now move this folder to a temp/secure folder because for the upgrade we must uninstall previous Control-M components (and of course everything will be delete...)

Installation

For upgraders : you need to uninstall all Control-M components before.

Installing Control-M Servers and Enterprise manager is really smooth and easy.
Take your Control-M Enterprise Manager CD/packages Double-click "setup.exe"

!!! If you upgrade sometimes we have some little problems !!!
 

Wait...We have already uninstall all components... Check the regedit

 

Delete all "Control-M" input here. Now we can continue...
 

Choose the default settings (for specific settings, wait another post ^^ ) and...



OK...we must install Microsoft .NET Framework 3.5 before...
After that you need to specify all the settings (Installation path, database size, database passwords...)
 

Check if all is OK
 

Click install and...
 

Go for a coffee ^^ It's done !

Upgraders : now take your "migration_export" folder and rename it to "migration_import"
put it in Windows : <em_home>\migration_import\ Launch "migration.bat" and choose option 1 and follow the on-screen instructions until the import is complete.

Done !


How to start and stop a Control-M Server


Control-M is for me the best Scheduler out there.

The BMC team is listening to its customers and their needs (that's pretty rare in this business...) and are always innovative. More info here This first post is about checking, starting and stopping the Control-M Server (Windows host).

 First open the cmd:

 



 Now, enter "ctm_menu"

 

 Ok, here the ctm_menu. To check, start or stop a Control-M Server,  enter option n°1
 

We have many options here, we will see this later ;)

Now type 1 "Check All" option
   

This option check all the Control-M Server components on the host.
    

Fine ! Everything is working. Now if you want shutdown all the component : Choose the option n°6
 

You can stop a specific component ==> Stopping the database : 7 Stopping Control-M Server : 8 Stopping the configuration agent : 9   Starting all or a specific component is the same way...Choose the good option ;).

A quick video about ctm_menu :
 



samedi 8 septembre 2012

Manually starting and stopping CONTROL-M/EM infrastructure processes using the interactive Activation menu


Using Root Menu


1 Display the CONTROL-M/EM Root Menu (root_menu)
2 In the CONTROL-M/EM Root menu, enter the number for the Activation Menu
option.
3 In the Activation menu, enter the number of the appropriate start or stop process
option (or start all or stop all option).
4 Enter q to exit.

You can manually shutdown and startup infrastructure components using the
following methods:
 - CONTROL-M Configuration Manager (to shut down CONTROL-M/Server)
 - CONTROL-M Manager Menu, which you access from the CONTROL-M Main
   Menu (ctm_menu)
 - supplied utilities

Using CONTROL-M Configuration Manager to shut down or start up CONTROL-M/Server

1 In the CONTROL-M Configuration Manager, right-click the
CONTROL-M/Server.
2 Choose Desired State and then choose one of the following submenu options:

Up—bring the component up
Down—bring the component down

Using CONTROL-M Manager Menu to shut down or start up CONTROL-M/Server infrastructure components

1 Display the CONTROL-M Main menu (ctm_menu). For instructions on displaying
the Main menu, see “Using the CONTROL-M/Server Main Menu” on page 47.
2 In the CONTROL-M Main menu, enter the number of the CONTROL-M Manager
option.
3 In the CONTROL-M Manager menu, enter the number corresponding to the
component activity you want to perform.
4 When done, enter q.


Using pre-supplied utilities to shut down or start up CONTROL-M/Server infrastructure components

To shut down CONTROL-M/Server entities
1 Log on as the CONTROL-M/Server account owner.
2 Enter one of the following commands as appropriate:

To stop the SQL database server, specify the command: shutdb
To stop the CONTROL-M/Server Configuration Agent: shut_ca
To stop the CONTROL-M/Server, specify the command: shut_ctm


To start CONTROL-M/Server entities

1 Log on as the CONTROL-M/Server account owner.
2 Enter one of the following commands as appropriate:

To start the SQL server, specify the command: startdb
To start the CONTROL-M/Server Configuration Agent: start_ca
To start the CONTROL-M/Server, specify the command: start_ctm