Skip to main content

IBM Cluster Systems Management: Installing the Webmin tool for Web access

Harish Chauhan (hchauhan@in.ibm.com), Solution Architect, IBM 
Photo of Harish Chauhan
Harish has been with IBM since 1998 during which he spent five years at the India Research Lab, one year at the IBM T.J.Watson Research Center, and two years at the Linux Center of Compentence. Harish currently leads the Linux Center of Competence in Bangalore, India. You can contact him at hchauhan@in.ibm.com.

Summary:  Learn to install and use the Webmin UNIX® system administration tool so you can use a standard Web interface to remotely manage a clustered environment This article is an update to the 2005 developerWorks article about the IBM Cluster Systems Management tool: IBM Cluster Systems Management: An installation guide.

Date:  22 Dec 2006
Level:  Advanced
Activity:  1566 views

Introduction

In any clustered environment, you need Web-enabled access for monitoring and managing the resources. Web access makes management easier by letting you manage and monitor the resources using a Web browser with proper user access. Webmin is an open-source tool that incorporates many modules for basic system administration. Webmin provides the basic framework -- you can easily add other modules to the tool to support other function.

This brief set of instructions complements the previous article IBM Cluster Systems Management: An installation guide. Webmin is a browser-based tool for UNIX system administrators. IBM Cluster Systems Management (CSM) provides modules to integrate with Webmin to monitor a cluster. The CSM Webmin modules -- part of a package called xCSM -- were introduced shortly after the earlier article was published. The xCSM Web interface is a browser-based graphical interface for CSM, available for both AIX® and Linux®. See Resources to view some xCSM screen shots on the IBM xCSM Utilities software Web page.

Webmin provides many system management capabilities, including networking, backup, user management, RAID implementation, and disk management. According to the Webmin Web site (see Resources): "Using any browser that supports tables and forms (and Java™ for the File Manager module), you can set up user accounts, Apache, DNS, file sharing, and so on. Webmin consists of a simple Web server and a number of CGI programs that directly update system files, such as /etc/inetd.conf and /etc/passwd. The Web server and all CGI programs are written in Perl version 5, and they use only standard Perl modules."

You can download Webmin from the Webmin Web site (see Resources), which also contains information and ideas about how to use the tool.

(Note: All the figures listed in this article are only partial images and do not show full screen shots.)



Hardware, software, and setup

The following hardware and software were used to perform the tasks described in this article:

  • IBM System x346 (model number 8840-11A)

  • Red Hat Enterprise Linux (RHEL) version 4.0, update 4

  • IBM Cluster Systems Management Version 1.6 (Version 1.6.0.1)

  • Webmin modules xcsm.web-1.3-16.noarch.rpm and xcsm-1.4-13.noarch.rpm. Download these modules from the IBM xCSM Utilities software area of the CSM download Web site (see Resources).

  • The Webmin tool itself, webmin-1.300-1.noarch.rpm. Download the latest rpm from the Webmin Web site (see Resources).

  • autoupdate-5.3.12-1, or higher, and expect-5.42.1-1, or higher. These software modules should be available to install along with Webmin. You can download the latest autoupdate rpm from the CSM download Web site (see Resources). The expect module is part of the Red Hat distribution.

Figure 1. Viewing the setup diagram
Viewing the setup diagram

Follow these steps:

  1. Install RHEL4 U4 on all the computers in the environment, such as master.my.com, node1.my.com, node2.my.com, and node3.my.com as shown in Figure 1.

  2. Install IBM CSM v1.6 on master.my.com as explained in IBM Cluster Systems Management: An installation guide..

  3. Install webmin-1.300-1.noarch.rpm on master.my.com as shown in Listing 1.

    Listing 1. Webmin rpm installation
                            
      #rpm -ivh webmin-1.300-1.noarch.rpm 

    Now, you can access the Webmin interface from your browser at the location https://master.my.com:10000.

  4. Install xcsm.web-1.3-16.noarch.rpm and xcsm-1.4-13.noarch.rpm on master.my.com as shown in Listing 2.

    Listing 2. xcsm.web and xcsm.rpm installation
                            
      #rpm -ivh xcsm.web-1.3-16.noarch.rpm 
      #rpm -ivh xcsm-1.4-13.noarch.rpm 
    			



  5. Use your browser to access the Webmin interface at the location https://master.my.com:10000. Specify username and password as set on the master.my.com computer. On successful login, the Web page shown in Figure 2 opens.

    Figure 2. Viewing the Webmin interface
    Viewing the Webmin interface



  6. Click the Cluster tab, and then click Cluster Systems Management. The Web page shown in Figure 3 opens.

    Figure 3. Viewing the Cluster Systems Management page
    Viewing the Cluster Systems Management page

    On this page, you see all the activities to perform on the cluster nodes in the Node Actions section.



  7. If you defined node1.my.com and registered master.my.com, you see the nodes in the Cluster Systems Management page as shown in Figure 4. Note: For this example, master.my.com is also added as a cluster node.

    Figure 4. Registering and defining nodes
    Registering and defining nodes



  8. Now, test as follows:

  • To modify the attributes of master.my.com, select that node and click the Attributes button. After changing the HW Type and saving the change, you see the output shown in Figure 5.

    Figure 5. Modifying attributes of master.my.com
    Modifying attributes of master.my.com



  • To monitor the performance of master.my.com, select that node and click the Perf Mon button. The output appears as shown in Figure 6.

    Figure 6. Monitoring the node performance
    Monitoring the node performance



  • To copy files from the CSM server to the selected nodes, select node1.my.com and click the Copy button. This opens the panel shown in Figure 7.

    Figure 7. Copying files to node1.my.com
    Copying files to node1.my.com



  • You can also register a new condition or response using the task manager on the left side of the Webmin interface. You can even start or stop the registered conditions through the same panel, as shown in Figure 8.

    Figure 8. Monitoring conditions
    Monitoring conditions




Conclusion

Webmin is a good tool to use because it offers a standard Web interface for UNIX cluster system administration. You need not use secure shell (ssh) or telnet to communicate with the cluster master to perform any activity on your cluster; you can perform these activities with the Webmin interface instead. This article described how to install Webmin, and it described the required modules that help you to access your CSM server from anywhere in your network. After you install and test Webmin to ensure it is working properly, your cluster management work will be much easier using the Webmin simple Web interface.


Resources

Learn

Get products and technologies

Discuss

About the author

Photo of Harish Chauhan

Harish has been with IBM since 1998 during which he spent five years at the India Research Lab, one year at the IBM T.J.Watson Research Center, and two years at the Linux Center of Compentence. Harish currently leads the Linux Center of Competence in Bangalore, India. You can contact him at hchauhan@in.ibm.com.

Comments (Undergoing maintenance)



Trademarks  |  My developerWorks terms and conditions

Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=AIX and UNIX
ArticleID=185322
ArticleTitle=IBM Cluster Systems Management: Installing the Webmin tool for Web access
publish-date=12222006
author1-email=hchauhan@in.ibm.com
author1-email-cc=pdreyfus@us.ibm.com

My developerWorks community

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Special offers