Video: Setting up Admin Center
The following transcript is for the "Setting up Admin Center" video, which demonstrates how to configure a server.xml file to enable Admin Center. This transcript is the video storyboard. Audio describes narration and captions. Onscreen Action describes the content shown in the video.
Scene | Audio | Onscreen Action |
---|---|---|
1 | This video shows how to enable Liberty Admin Center and get to the login page. Enabling Admin Center is quick and easy. | Show Liberty Admin Center login page in web browser. |
2 | You need a Liberty Version 8.5.5.2 or later installation. Make a few changes to the server.xml file of a server and you can use the Admin Center. | In Windows Explorer, show wlp/usr Liberty installation directory with no server defined. |
3 | I have just installed Liberty. To add a server, I go to a command prompt at
the wlp/bin directory and run:
This
creates a server named myServer. |
Show command window open at wlp/bin, run server create
myServer, and then show message
|
4 | The server.xml file is in the usr/servers/myServer directory. I want to make 4 changes to this server.xml file. | In Windows Explorer, select wlp/usr/servers/myServer directory. Select server.xml. |
5 | First, I add the adminCenter-1.0 feature to the feature manager. | In editor open on server.xml, add the
adminCenter-1.0 feature to the feature
manager:
Important: Do not specify <feature>jsp-2.2</feature>. Admin Center no longer requires the JSP feature in the
feature manager. Admin Center automatically brings in a
compatible JSP feature. When this video was made, jsp-2.2 was required. Now, if you
specify <feature>jsp-2.2</feature> but another feature in your configuration
needs a later JSP version, your configuration might not behave as
expected.
|
6 | Second, I add a quickStartSecurity element and specify a user name and password to configure a secure login. My user name is admin and my password is adminpwd. | In editor, add user name and
password:
|
7 | Third, I add a keyStore element to protect keystore files that have server authentication credentials. I choose defaultKeyStore for the id attribute and Liberty for the password attribute. | In editor, add
keystore:
|
8 | Fourth, I add a host attribute set to asterisk to the httpEndpoint element. Setting host to asterisk, or to a defined host name, lets me view Admin Center on a cell phone, tablet, and remote computer, and not just on this localhost computer. | In editor, press enter after id="defaultHttpEndpoint" in the
httpEndpoint element and add host="*" to the new
line:
|
9 | Save the server.xml changes. | In editor, save changes. |
10 | Make these server.xml changes for every Liberty server
and collective controller that you want to be able to view in Admin Center. In a multiple-server environment, you only need to make these changes to the server.xml file of a collective controller. You do not need to change the server.xml files of members. |
In editor, continue to show server.xml. |
Scene | Audio | Onscreen Action |
---|---|---|
11 | I am now ready to start myServer and see Admin Center. Because I want messages shown in the
foreground, I use the run command. I
enter:
To not show the messages, I would
enter:
|
In command window on wlp/bin directory, enter server run myServer. The command runs and product messages display in the command window. |
12 | Liberty writes status messages to the command window. One message has the URL for the adminCenter web application. | Highlight http://host_name:9080/adminCenter/ URL in messages. |
13 | I put this URL into a web browser, and press Enter. The URL changes to https and port 9443 because I specified a secure connection in the server.xml file. | Add URL http://host_name:9080/adminCenter/ to browser, press Enter, show URL change to https://host_name:9443/adminCenter/. |
14 | You might need to add a browser exception to confirm that the connection is trusted. | Show Firefox dialog and button selections Add Exception, Get Certificate, and then Confirm Security Exception. |
15 | I am now ready to log in to Admin Center. | Show Liberty Admin Center login page. |
Scene | Audio | Onscreen Action |
---|---|---|
16 | For information on logging into and using Admin Center, and viewing your personal Toolbox, see WASdev.net and the WebSphere Application Server Liberty documentation on IBM Knowledge Center. | Show Liberty Admin Center login
page with login fields and title covered by information on documentation:
|
For more information, see Administering Liberty using Admin Center.