Changing Sun Cluster Manager port, 6789

There have been requests from people who want to change the port through which Sun Cluster Manager(SCM) is accessed. SCM, like many other web applications from Sun, is accessed through the Sun Java Web Console. By default, Sun Java Web Console is accessed via a secure HTTP port 6789. In fact, the port numbers 6786 to 6789 are assigned for Sun Java Web Console and no other application should use these ports.

Here is a procedure, that I used recently, that changes these ports, if necessary. Maybe this will be useful for others as well.

1. Find out the version of the Sun Java Web Console that you currently have.

    /usr/sbin/smcwebserver -V

2. If the version is 3.0.2, then do the following.

   smcwebserver stop
   cd /var/webconsole/domains
   rm -rf console
   cd /etc/webconsole/console
   rm status.properties
   rm regcache/registry.properties
   edit config.properties
       Replace values for console_httpsport and console_httpport
       // If on Solaris 10, clear the service:

      svcadm clear system/webconsole:console
   smcwebserver start

3.   If the version is greater than 3.0.2, then do the following.

   smcwebserver stop
   /usr/share/webconsole/bin/wcswap -t tomcat -s <nnnn> -p <nnnn>
       // If on Solaris 10, clear the service:
      svcadm clear system/webconsole:console

   smcwebserver start

 

Comments:

Hi, I have a Windows Server 2003 and changing values at file config.properties not works for me. What I do wrong.
My steps:
1. stop web console (smcwebserver stop)
2. remove regcache/registry.properties
3. edit config.properties file
4. start web console (smcwebserver start)

version of my SJWC is 3.0.2

Posted by Ludovit on September 28, 2009 at 07:31 PM PDT #

Thanks for the info.

Could you please confirm that v3.1 is the latest update for Sun Java Web Console? From the official site, I was not able to find out the latest version...

Cheers

Posted by Luca on February 04, 2010 at 06:38 AM PST #

Post a Comment:
Comments are closed for this entry.
About

Augustus Franklin Diraviam works for the Solaris Cluster engineering group at Sun Microsystems. He lives in the San Francisco bay area.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
Bookmarks
Links

No bookmarks in folder

Blogroll

No bookmarks in folder