search

Custom Search
Affichage des articles dont le libellé est stopping server. Afficher tous les articles
Affichage des articles dont le libellé est stopping 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 :