MORE ON CLUSTER

From the previous post we checked how to create clusters and how to work with them. From this post let’s talk more about clusters. Let’s see how to install httpd and then how to enable ssl with certificates.

  • First we need to install mod_ssl and openssl.

47

  • After installing, let’s see how to create a certificate using openssl. This will generate a key.

48

  • From this command we can create a certificate, it will ask some questions like below.

49

50

  • Now copy the files to following locations.

51

  • Then add your path to certificate and the key file in the ssl.conf file.

53

55

  • Now restart the httpd service.

62

  • Now we can install tomcat by following command.

70

  • start the service. Check whether port 8080 is listening.79

71

  • Also we can check the status of the tomcat service by using following command.

72

80

  • Now let’s edit your cluster.conf file to add tomcat service to the cluster.

81

83

  • Add following details to the cluster.conf file.

88

89

  • Now from the GUI we can check the added details.

90

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s