Sponsored Content
Full Discussion: ZFS and Web Console
Operating Systems Solaris ZFS and Web Console Post 302315887 by kwachtler on Wednesday 13th of May 2009 12:19:46 PM
Old 05-13-2009
I have similar issue ZFS Administration under Java Web Console

1. After logging in to Java Web Console (root) and clicking the "ZFS Administration" link, I get a page which displays in it's entirety:

https://my_server:6789/zfs/zfsmodule/Index
Error:
HTTP Status 404 - /zfs/zfsmodule/Index
type Status report
message /zfs/zfsmodule/Index
description The requested resource (/zfs/zfsmodule/Index) is not available.


2. My setup steps were as follows:


Code:
  I. Web Console packages.


root@sanjose # pkginfo | grep "Web Console"
application SUNWmcon        Sun Java(TM) Web Console 3.0.2 (Core)
system      SUNWmconr       Sun Java(TM) Web Console 3.0.2 (Root)
application SUNWmcos        Implementation of Sun Java(TM) Web Console (3.0.2) services
application SUNWmcosx       Implementation of Sun Java(TM) Web Console (3.0.2) services
application SUNWmctag       Sun Java(TM) Web Console 3.0.2 (Tags & Components)

  
root@sanjose # pkginfo | grep SUNWzfsg
application SUNWzfsgr       ZFS Administration for Sun Java(TM) Web Console (Root)
application SUNWzfsgu       ZFS Administration for Sun Java(TM) Web Console (usr)




  II. Start webconsole service, check version, list plug-in apps.

root@sanjose # svcs -p webconsole
STATE          STIME    FMRI
online          4:26:43 svc:/system/webconsole:console
                4:26:42    11411 java

root@sanjose # wcadmin -V
Sun Java(tm) Web Console 3.1

root@sanjose # wcadmin list



  III. Verify webconsole is listening on the network.

root@sanjose # svccfg -s webconsole listprop 
options                        application
options/stability              astring  Evolving
options/tcp_listen             boolean  true		<<< 




  IV. Locate plug-in app for ZFS and identify app executable and jars.

root@sanjose # pkginfo | grep SUNWzfsg
application SUNWzfsgr       ZFS Administration for Sun Java(TM) Web Console (Root)
application SUNWzfsgu       ZFS Administration for Sun Java(TM) Web Console (usr)


root@sanjose # pkgchk -l SUNWzfsgu | grep Path
Pathname: /usr
Pathname: /usr/share
Pathname: /usr/share/webconsole
Pathname: /usr/share/webconsole/webapps
Pathname: /usr/share/webconsole/webapps/zfs					<<< APP
Pathname: /usr/share/webconsole/webapps/zfs/WEB-INF
Pathname: /usr/share/webconsole/webapps/zfs/WEB-INF/app.xml
Pathname: /usr/share/webconsole/webapps/zfs/WEB-INF/lib
Pathname: /usr/share/webconsole/webapps/zfs/WEB-INF/lib/registrationservlet.jar	<<< JAR
Pathname: /usr/share/webconsole/webapps/zfs/WEB-INF/lib/zfs.jar			<<< JAR
Pathname: /usr/share/webconsole/webapps/zfs/WEB-INF/tld
Pathname: /usr/share/webconsole/webapps/zfs/WEB-INF/tld/com_iplanet_jato



  V. Register plug-in .

  ex.
  wcadmin add ...
  wcadmin deploy ...
  wcadmin enable ...


root@sanjose # wcadmin add -l -a zfs -n zfs_reg_jar /usr/share/webconsole/webapps/zfs/WEB-INF/lib/registrationservlet.jar
Registered the zfs_reg_jar resource for the zfs application.

root@sanjose # wcadmin add -l -a zfs -n zfs_jar /usr/share/webconsole/webapps/zfs/WEB-INF/lib/zfs.jar
Registered the zfs_jar resource for the zfs application.

root@sanjose # wcadmin deploy -a zfs -x zfs_console /usr/share/webconsole/webapps/zfs
The zfs_console web application has been successfully deployed.

root@sanjose #  wcadmin enable -x zfs_console
The zfs_console web application was enabled.



  VI. Restart webconsole service.

  alt-a:
root@sanjose # smcwebserver enable
root@sanjose # smcwebserver restart

  alt-b:
root@sanjose # svcadm clear webconsole
root@sanjose # svcadm restart webconsole



  VII. Browse to Java Web Console BUI.

	https://<server_running_webconsole>:6789
		user:	root
		pw:	xxx

       Page displays error:

        https://my_server:6789/zfs/zfsmodule/Index
	Error:
	HTTP Status 404 - /zfs/zfsmodule/Index
	type Status report
	message /zfs/zfsmodule/Index
	description The requested resource (/zfs/zfsmodule/Index) is not available.

I will post an update when this is solved.
BTW: ZFS GUI is needed for non-Solaris administrators of Thumper X4500 .

Thank You,
KW
 

7 More Discussions You Might Find Interesting

1. Solaris

Problem with connecting with Sun Java Web console

Hi, I have Solaris 10 8/07 on SPARC and I can't log in Web console. When I opened browser (Firefox 3) at localhost:6789 I get Save file dialog which asks me to save some file with .part at the end. What information should I provide to find out where is the trouble?.. Internet explorer says... (3 Replies)
Discussion started by: Sapfeer
3 Replies

2. HP-UX

Secure Web Console Firmware

I have firmware 2.0 for the HP Secure Web Console, but looking for 1.8. Hp does not have this posted anywhere. Anyone have it? Thanks. (0 Replies)
Discussion started by: mrmurdock
0 Replies

3. Solaris

zfs web console

i need how to use graphical user interface for zfs using web console , thanks (3 Replies)
Discussion started by: Amr
3 Replies

4. Solaris

SMC web console

Dear Team please some body know what happened with smcwebconsole from Solaris10 to Solaris11 I don't found this script or Don't find in svcs -a please if some body know any think about this issue to tell us best, :p (2 Replies)
Discussion started by: Hosam
2 Replies

5. Solaris

Java web console Vs Web-Based Enterprise Management(WBEM)

Java web console Vs Web-Based Enterprise Management(WBEM) 1. I like to understand the difference in purpose of using java web console and Web-Based Enterprise Management (WBEM) 2. As per CIS benchmark, both of them has to be disabled when not used for increased security. Solaris admin(s) -... (0 Replies)
Discussion started by: cyberidude
0 Replies

6. Solaris

Is there any GUI or web ui to administrate zfs/zpool

HI, Is there any GUI or web ui to administrate zfs/zpool. i want to monitor/expand/migrate zfs from one machine to another machine (0 Replies)
Discussion started by: bentech4u
0 Replies

7. HP-UX

J3591A, HP Secure Web Console firmware

Hello all, Looking for a pre v2.0 rev of firmware for this ancient device. Nothing I've seen in searches indicates previous versions were available for download but I have to believe they were. I've tried the new hpe community website, (formerly ITRC I believe) but no dice. Also if... (0 Replies)
Discussion started by: 0ddentity
0 Replies
All times are GMT -4. The time now is 03:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy