Home

NEC Express5800/320Lb Linux Installation & Configuration Guide

image

Contents

1. Back gt A A Qsearch Gyravorites Hristory Gy Sp Sy Address http 10 123 187 1 29003 x so Links EXpreSSCIUSter rererence ony Alert Search Option Log Collect Reload SREVCC l Server Name SRE SRV F servers gt sRE Property Value F group Server Name SRE SRV g SRE Mehoot Comment Standalone Server monitols Version 3 1 2 Edition SE IP Address a Status Online Heartbeat Status Heartbeat Name Status lanhb1 Normal Receive Time Time Y J_ Server Name if Module Name EventID Message a 2005 04 08 12 28 38 2008 04 08 12 28 37 SRE SRV fe 1 The start processing of a group SRE GRP ended gt 2005 04 08 12 28 35 _ 35_ SRE SRV re fo The start processing of a group SRE GRP started 2005 04 08 12 28 34 34 SRE SRV m at Period of rial is till 2006 03 31 SE31 2005 04 08 12 SRE SRV nm 1 2005 04 08 12 28 33 z SRE SRV nm 3 2005 04 08 12 28 31 2005 04 08 12 28 31 SRE SRV pm 34 There was a request to resume cluster daemon from the command z ey LOL A he On 0d LOE AO AAO A DO AL LOO ADS L a La E Internet Astart aesa EA c winnt systemaz cmd EnpressCluster Webm amp ExpressCluster Trekking T Gjetc ERZI gh 1237m Check or Uncheck the Operation check box according to your requirement click Apply and OK once done 41 Step 8 Select File gt Save the configuration file E SRE SRV
2. 42 Step 9 lt For Windows gt Select clp conf and click Save p Save x Ge lt For Linux gt Select File System and Click OK on the following screen Ok canci 43 Select clp conf and click Save Gee fs Be Step 10 lt For Windows gt Click Yes on the following screen ji Trekking Tool lt For Linux gt Click Yes on the following screen 44 Step 11 Note You do not need to reboot the server at this time Please ignore this dialog below and click OK Trekking Tool i xj FS The configuration file was saved normally iy Configuration summary Newly creation Reflection method Need to shutdown system and reboot oe This completes the security configuration for management clients Configuration Distribution Pre requisites Please ensure that the ftp daemon is started on the FT Linux server Please refer to Appendix E Starting the ftp daemon to start the wu ftpd daemon on the server Distribution Steps Note Steps 1 through 3 needs to be executed just one time Step 1 Add a user sreadmin using the command adduser sreadmin Step 2 Set the password for sreadmin as sreadmin with the command passwd sreadmin When prompted for the new password type in sreadmin Step 3 Create a directory called scripts in the home sreadmin folder using the following commands cd home sreadmin mkdir scripts 45 Step 4
3. aya 2 Runtime Environment SE 1 4 2_07 Maintenance Welcome Welcome to the InstallShield Wizard for Java 2 Runtime Environment SE v1 4 2_07 The InstallShield R Wizard will allow you to modify repair or remove Java 2 Runtime Environment SE 1 4 2_07 To continue click Next 93 Step 3 Select Modify and click Next gt is Java 2 Runtime Environment SE 1 4 2_07 Maintenance Program Maintenance Modify repair or remove the program Installshield 94 Step 4 In addition to the Java 2 Runtime Environment also select the Support for Additional Languages as shown below and click Next gt is Java 2 Runtime Environment SE 1 4 2_07 Custom Setup Custom Setup Select the program Features you want installed The Java Runtime Environment with support for European languages will be installed Select optional Features to install from the list below Feature Description E Java 2 Runtime Environment l Support for Additional Languages Support for non European This feature will be installed on local hard drive 38 This feature and all subfeatures will be installed on local hard drive Dont install this Feature now Install to C Program Files Java j2re1 4 2_074 Change InstallShield 95 Step 5 Click Finish on the following screen iz Java 2 Runtime Environment SE 1 4 2_07 Complete InstallShield Wizard Completed 96 Appendi
4. SRE VCC servers ping monitors ping monitor Server Name SRE SRY Property Value Server Name SRE SRV Comment Standalone Server Version 3 1 2 Edition SE IP Address Status Online Heartbeat Status Heartbeat Name Status lanhb1 Normal Receive Time Time V Server Name Module Name EventID J Message J 2005 04 07 15 36 28 2005 04 07 15 36 28 SRE SRV im 1 Monitor ping monitor start 2005 04 07 16 36 23 2005 04 07 15 36 23 SRE SRV re 11 The start processing of a group SRE GRP ended 2005 04 07 15 36 20 2005 04 07 15 36 20 SRE SRV ire 10 The start processing of a group SRE GRP started 34 2005 04 07 15 34 50 SRE SRV ire 21 The stop processing of a group SRE GRP ended SRESRV im 2 Mo p SRE SRV re 20 The a group SRE GRP started a a T eA SS S E Be 40 If de selected clients accessing the server can only view the status and would not be able to perform basic operations like shutdown reboot stop group start group etc A sample screenshot for a client with IP address 10 123 187 3 with the Operation checkbox un checked is as below eT ExpressCluster WebManager Microsoft Internet Explorer File Edit View Favorites Tools Help
5. lt For Windows gt Open Internet Explorer type in C Program Files nec clptrek clptrek html in the address bar You will see the screen as below aixi Fie Edit view Favorites Tools Help Ei Back gt G A A Asearch GaFavortes meda lt 4 B Address E CAProgram Filesinec clptrekiclptrek html i x ao Links a Kril X Yr 2 O o i ee oe retrieve buttons from Yahoo File Edit Help sjol Name Applet ExpressCluster Trekking Toal started I il u fi 8 amp E3 aS PAstart I Gs ea id ExpressCluster WebMana jexpressCluster Trekki LA em oe fore 3 10 PM 31 lt For Linux gt Open the browser in the address bar type in opt nec clptrek clptrek hitml You will see the screen as below 32 Step 2 lt For Windows gt Click File gt Open the configuration file gt Change the cluster configuration and navigate to C Program Files nec clptrek etc and open clp conf as below HELE 33 lt For Linux gt Click File gt Open the configuration file gt Change the cluster configuration and navigate to opt nec clptrek etc and open clp conf as below Ge lec Ly clp conf 34 Step 3 The following screen will be displayed luster Trekking Too osoft Internet Explorer __Name Type SRE SRV Co SRE GRP failover 11 Resource Group SRE GRP Monitors Q CI Servers E SRE SRV 35 Step 4 Rig
6. lt Windows gt From the client computer start the command prompt Start gt Run gt cmd and type in the following cd C Program Files nec clptrek etc lt Linux gt From the client computer type in ed opt nec cliptrek etc Step 5 Connect to the server using ftp lt IP address gt with the user name as sreadmin and password sreadmin e g ftp 10 123 187 1 Note If you encounter the error ftp connect Connection refused you missed the pre requisite stated above Please refer to Appendix E Starting the ftp daemon to start the wu ftpd daemon on the server and repeat Step 5 Step 6 ftp gt mput clp conft Step 7 Quit out of ftp typing in bye ftp gt bye Step 8 On the FT Linux server execute the following command opt nec clusterpro management sre push Hit Return when prompted as below Need to shutdown system and reboot please shutdown system after push hit return lt HIT RETURN HERE gt file delivery to server 127 0 0 1 success 46 Note You do not need to reboot the server at this time The group will be started and the cluster will be resumed Step 9 Execute the following command opt nec clusterpro management sre mgr restart The webalert daemon and the webmanager server will be restarted Step 10 The security settings for the management clients will now be set and only clients permitted to access the server can view operate the server using the Management Client us
7. ie Java 2 Runtime Environment SE 1 4 2 07 Setup Type Setup Type Choose the setup type that best suits your needs Installshield 88 Step 4 In addition to the Java 2 Runtime Environment also select the Support for Additional Languages as shown below and click Next gt is Java 2 Runtime Environment SE 1 4 2_07 Custom Setup Custom Setup Select the program Features you want installed The Java Runtime Environment with support for European languages will be installed Select optional Features to install from the list below Feature Description Sagi E Java 2 Runtime Environment l Support for Additional Lanquages Support For non European This Feature will be installed on local hard drive 38 This feature and all subfeatures will be installed on local hard drive g Don t install this Feature now Install to C Program Files Java j2re1 4 2_074 Change InstallShield lt Back Cancel Note The Support for Additional Languages is required because the Customization Tool uses shift JIS character encoding on the Windows Platform 89 Step 5 Select Microsoft Internet Explorer and click Next gt ie Java 2 Runtime Environment SE 1 4 2 07 Browser Registration Browser Registration Select the browsers you want to register with Java TM Plug In InstallShield 90 Step 6 Click Finish on the following screen iz Java 2 Runtime Environment SE 1
8. Enter license key Ex XXXXXXXX XXXXXXXX XXXXXXXX XXXXXXXX A1234567 B1234567 C1234567 D1234567 Step 8 You will see the following output command was success Step 9 Confirm the registered license with the command below clplcnse L P SEH30 The output will be similar to lt Cluster CPU License SE 3 0 lt PRODUCT gt gt Seq 1 Key A1234567 B1234567 C1234567 D1234567 The number of license 1 Status valid 11 Starting ExpressCluster SRE Step 1 With the login as root type in the following at the command prompt opt nec clusterpro management sre register This command registers the daemons of ExpressCluster SRE with chkconfig so that the daemons startup automatically on all subsequent system reboots Step 2 Run the following opt nec clusterpro management sre start This command starts the ExpressCluster SRE daemons Step 3 Verify that the status of the cluster daemon using the following command clpstat s The output will be similar to CLUSTER STATUS Cluster SRE VCC lt S6rver gt localhost Online Standalone Server lanhbl Normal LAN Heartbeat lt group gt SRE GRP Online Resource Group current localhost lt monitor gt 12 Chapter 3 Management Client Installation Overview The Management Client is a Java applet that allows you to monitor the status of the cluster start and stop the grou
9. Open the java policy file in WordPad and add the following lines to the end of the file grant codeBase file C Program Files nec clptrek clptrek jar permission java security AllPermission Note The path specified above needs to be delimited by 7 not 27 Step 5 Open Internet Explorer type in C Program Files nec clptrek clptrek html and confirm that the Script Customization Tool is installed successfully You will see the screen as below 22 Alg ES 3D oe E C Program Files neciciptrekiciptrek html 0 rte gt 28 Linux Installation Step 1 Insert the installation CD into the CD ROM drive Step 2 Login as root with the password set for the root user Step 3 Type in the following to mount the CD as read only mount o ro dev cdrom mnt Step 4 Type in the following rpm i mnt manager ecsre cfg 3 1 2 1386 rpm Step 5 You could verify that the rpm is installed successfully by the following command rpm q ecsre cfg 3 1 2 The output will be csre cfg 3 1 2 This completes the installation of the Script Customization Tool Setting Java Security Pre requisites Ensure that you exit out from all Browsers before you execute the steps below Step 1 Check to see if java policy file is present in your home directory Note If you are logged in as root your home directory is root If you are logged in as a u
10. Normal ping Target PID 24169 monitors ping monitor I nline SRE SRV Onl eceive Time me erver Name odule Name Ve essage ___ Receive Ti Time Y _Serer Name Module Name EventID M 2005 04 07 15 31 05 2005 04 07 16 31 05 SRE SRV im It Monitor ping monitor start 2 731 i 31 ie The start processing of a group ended G 2005 04 07 15 31 00 2005 04 07 15 31 00 SRE SRV 14 The start ing of SRE GRP ended 30 04 30 ie The start processing of a group z started G 2005 04 07 15 30 58 2005 04 07 15 30 58 SRE SRV 10 The start f SRE GRP started 30 M0407 15 30 SRE irm Period of trial is till 431 1 G 2005 04 07 15 30 56 2005 04 07 15 30 56 SRE SRV 51 Period of trial is till 2006 03 31 SE3 2005 04 07 15 30 54 2005 04 07 15 4 SRE ipm 4 There was a request to resume cluster daemon from the command G 2005 04 07 15 30 54 2005 04 07 1 4 _ BRE SRV pn 34 There was a requestto resume cluster daemon from the command 2005 04 07 15 30 54 2005 04 07 15 30 54 SRE SRV pm 1 Cluster daemon has started properly Es mim 1 2 The status of the ping monitor resource is shown Online 20 Stopping a Group Step 1 Right click on the group SRE GRP and select stop as below 3 HTTP 403 Forbidden Microsoft Internet Explorer File Edit View Favorites Tools Help Back gt O A Al Qsearch eyFavorites meda A B SG fw O Address http 10 123 187 1 29003 Y7
11. gt ping monitor Normal monitors ping Starting the Management Client Step1 Open Internet Explorer and type in the following http lt IP Address of the server gt 29003 Example http 10 123 187 1 29003 15 This will open up the user interface similar to the one below EY ExpressCluster WebManager Microsoft Internet Explorer File Edit View Favorites Tools Help Nl Back gt amp A Al Qsearch GFavortes Bmeda A D Sf D nates Elwoinosessersemea SSSR E Y a 2 Search web attempting to retrieve buttons from Yahoo ExpressCluster AlertSearch Option Logcottect Reload SRE VCC fl Cast peta jer Name SRE VCC Detail servers SRE SRV Property Value F groups Name SRE VCC SRE GRP Comment Standalone Cluster monitors I Receive Time Time V Server Name Module Name EventID Message jj 2005 03 22 11 20 51 2005 03 22 11 20 51 SRE SRV im 1 Monitor pidw1 start J a 2005 03 22 11 20 46 2005 03 22 11 20 46 SRE SRV ire j1 The start processing of a group SRE GRP ended 2005 03 22 11 20 44 2005 03 22 11 20 44 SRE SRV ire 10 The start processing of a group SRE GRP started 2005 03 22 11 20 43 2005 03 22 11 20 43 SRE SRV irm 51 Period oftrial is till 2005 04 03 SE31 2005 03 22 11 20 39 2005 03 22 11 20 39 SRE SRV inm Resource lanhb1 of server SRE SRV
12. prompted for the new password type in sreadmin Step 3 Create a directory called scripts in the home sreadmin folder using the following commands cd home sreadmin mkdir scripts Step 4 lt Windows gt From the client computer start the command prompt Start gt Run gt cmd and type in the following cd C Program Files nec clptrek erc lt Linux gt From the client computer type in cd opt nec clptrek etc Step 5 Connect to the server using ftp lt IP address gt with the user name as sreadmin and password sreadmin e g ftp 10 123 187 1 Note If you encounter the error ftp connect Connection refused you missed the pre requisite stated above Please refer to Appendix E Starting the ftp daemon to start the wu ftpd daemon on the server and repeat Step 5 Step 6 ftp gt mput clp conft Step 7 Quit out of ftp typing in bye ftp gt bye Step 8 On the FT Linux server execute the following command opt nec clusterpro management sre push Hit Return when prompted as below 81 Need to shutdown system and reboot please shutdown system after push hit return lt HIT RETURN HERE gt file delivery to server 127 0 0 1 success Note You do not need to reboot the server at this time Step 9 You can verify the status of the cluster using clpstat s Step 10 You can verify that the squid daemon has started using the command service squid status The output will be simi
13. to help you install NEC ExpressCluster SRE 3 1 and configure it to monitor processes and daemons on the NEC FT Linux Operating System The following topics are covered Chapter 1 Server Agent Installation explains the pre requisites and steps to install NEC ExpressCluster SRE 3 1 Chapter 2 Server Agent Configuration explains the software configuration required post installation of NEC ExpressCluster SRE 3 1 Chapter 3 Management Client Installation explains the installation of the Management Client used to manage the server Chapter 4 Basic Operations explains the basic operation and usage of the Management Client user interface Chapter 5 Management Configuration Client Installation explains the steps required to install a client tool used for configuring scripts to monitor processes Chapter 6 Management Client Security Configuration explains the steps required to restrict client computers using the Management Client to view and operate the server Chapter 7 Customization for Sendmail walks you through the steps to customize the monitoring of sendmail using pre defined scripts Chapter 8 General Customization explains the steps required to configure scripts using the Management Configuration Client Tool to monitor processes Appendix A Changing the Computer Name explains the steps that need to be executed before and after changing the computer name of the server Appendix B Assigning an IP address explains the steps to team a
14. to restart target resource in case of termination If the target resource terminates more than a set threshold number of times in a given time interval the server is rebooted automatically 50 Customization Steps Creating the target resource Step1 lt For Windows gt Open Internet Explorer type in C Program Files nec clptrek clptrek html in the address bar You will see the screen as below ExpressCluster Trekking Tool Microsoft Internet Explorer 51 lt For Linux gt Open the browser in the address bar type in optnec clptrek clptrek html You will see the screen as below 52 Step 2 lt For Windows gt Click File gt Open the configuration file gt Change the cluster configuration and navigate to C Program Files nec clptrek etc and open clp conf as below aeon Cid 53 lt For Linux gt Click File gt Open the configuration file gt Change the cluster configuration and navigate to opt nec clptrek etc and open clp conf as below Ge lec Ly clp conf 54 Step 3 The following screen will be displayed luster Trekking Too osoft Internet Explorer __Name Type SRE SRV Co SRE GRP failover 11 Resource Group SRE GRP Monitors Q CI Servers E SRE SRV 55 Step 4 Right click on SRE GRP in the tree view and click Add resource ExpressCluster Trekking Tool Microsoft Internet Explorer gt f ale ay p A File
15. up 2005 03 22 11 20 39 2005 03 22 11 20 39 SRE SRY Server SRE SRV up Applet WebManager started iaeewnes start a ea gt E EnpressCluster webm Sl G AQYUSMBS 1205P 16 Exiting the Management Client Step 1 Click File gt Close in Internet Explorer Browser as below 3 ExpressCluster WebManager Microsoft Internet Explorer 17 Fie Edit View Favorites Tools Help New Favorites Media Zia aw Open Ctrl 0 lee unis gt Edit with Microsoft Word for Windows Save Ctr feb _ attempting to retrieve buttons from Yahoo Save As BR ah Alert Search ion Log Collect Reload ian ais option Log Print Preview ZA 5 l Cluster Name SRE VCC Detail Import and Export Property Value oe Name SRE VCC Properties Comment Standalone Cluster Work Offline Receive Time Time V Server Name Module Name EventID Message j G 2005 03 22 11 20 51 2005 03 22 11 20 51 SRE SRV im 1 Monitor pidw start a G 2005 03 22 11 20 46 2005 03 22 11 20 46 SRE SRV ire 11 The start processing of a group SRE GRP ended G 2005 03 22 11 20 44 2005 03 22 11 20 44 SRE SRV ire 10 The start processing of a group SRE GRP started G 2005 03 22 11 20 43 2005 03 22 11 20 43 SRE SRV im 51 Period of trial is till 2005 04 03 SE31 G 2005 03 22 11 20 39 2005 03 22 11 20 39 SRE SR
16. 0 2005 04 07 15 36 20 SRE SRV re 10 The start processing of a group SRE GRP started 2005 04 07 15 34 50 2005 04 07 15 34 50 SRE SRV ire 21 The stop processing of a group SRE GRP ended 2005 04 07 15 34 48 2008 04 07 15 34 48 SRE SRV im 2 Monitor ping monitor stop OOOO 2005 04 07 15 34 47 2005 04 07 15 34 47 SRE SRV ire 20 The stop processing of a group SRE GRP started CAPS E r iA SMA Bo Step 2 Click OK on the following screen onfirmation Are you sure to reboot SRE SRV nal flavaAppletWindow SSS The server will be restarted 24 Chapter 5 Management Configuration Client Installation Overview The Management Configuration Client is a Java Applet used for configuring scripts to monitor processes on the server Prerequisites Please refer to the Server Prerequisites and Standalone Computer Prerequisites sections of Chapter 3 since prerequisites for the Management Configuration Client are the same as the Management Client and can be installed on the same machine Windows Installation Step 1 Note If this is not the first time you are installing the Management Configuration Client please remember to back up the clp conf file present in C Program Files clptrek etc if you wish to retain the previous configuration Double click the file ecsre cfg 3 1 2 1386 exe from the folder lt CD gt manager Click Unzip x WinZip Self Extractor ecsre cfg 3 1 2 13
17. 04 07 15 30 56 2005 04 07 15 30 56 SRE SRV im 51 Period oftrial is till 2006 03 31 5E31 G 2005 04 07 15 30 54 2005 04 07 15 30 54 _ SRE SRV pm 34 There was a request to resume cluster daemon from the command G 2005 04 07 15 30 54 2005 04 07 15 30 54 SRE SRV pm 1 Cluster daemon has started properly a i caps E TIAA 29 E EA 22 a The status for the group server and ping resource are shown Online 18 Viewing Monitored Resource Status Step 1 Use the left mouse button and click on the resource name ping as below 3 HTTP 403 Forbidden Microsoft Internet Explorer File Edit View Favorites Tools Help Back gt gt amp A Al Qsearch feyFavorites Amedia G B S H O Address http 10 123 187 1 29003 x co Links gt 4 ExpressCluster Y7 2 Search web attempting to retrieve buttons from Yahoo atertSearch Option Logcollect Reload SREVCC l me fe Saeed EXEC Name ping Detail SRE SRV Property Value lanhb1 Nam F groups Q E SRE GRP fing fart Script Pal ping 127 0 0 monitors Stop Script Path Jusr binipkill ping ping monitor Resource On Server Status Server Name Status SRE SRV Online Receive Time Time V Server Name Module Name EventID Message G 2005 04 07 15 31 05 2005 04 07 15 31 05 S
18. 2 Search web attempting to retrieve buttons from Yahoo ExpressCluster alert Search Option Logcollect Reload SRE VCC 4 G roup Name SRE GRP Detail servers a _ Detail SRE SRV Property Value B lanhb1 Name SRE GRP F groups Comment Resource Group SRE GR Status Online ping start er ping mo Move Group On Server Status Server Name Status SRESRY lonline Resource Status Resource Name Status ping Online Receive Time Time V Server Name Module Name EventID Message G 2005 04 07 15 31 05 2005 04 07 15 31 05 ISRE SRV im 1 Monitor ping monitor start a G 2005 04 07 15 31 00 2005 04 07 15 31 00 SRE SRV ire 11 The start processing of a group SRE GRP ended G 2005 04 07 15 30 58 2005 04 07 15 30 58 SRE SRV re 10 The start processing of a group SRE GRP started G 2005 04 07 15 30 56 2005 04 07 15 30 56 SRE SRV im 51 Period of trial is till 2006 03 31 SE31 2005 04 07 15 30 54 2005 04 07 15 30 54 SRE SRV pm 34 There was a requestto resume cluster daemon from the command G 2005 04 07 15 30 54 2005 04 07 15 30 54 SRE SRV pm 1 Cluster daemon has started properly i caps E TIAR 89 E EA 2 nn Step 2 Click OK on the following screen onfirmation Are you sure to stop SRE GRP canca lava A
19. 4 2_07 Complete InstallShield Wizard Completed The InstallShield Wizard has successfully installed Java 2 Runtime Environment SE v1 4 2_07 Click Finish to exit the wizard This completes the installation of JRE on Windows 91 Linux Step 1 Login is root with the set password for the root user Type in the following Gdi Step 2 Insert the installation CD in the CDROM drive and mount the CD as read only using mount o ro dev cdrom mnt Step 3 Type in the following mnt tools j2re 1_4_2_07 linux i586 rpm bin Step 4 The script displays a binary license agreement which you are asked to agree to before installation can proceed Once you have agreed to the license the install script creates the file j2re 1_4 2 07 linux i586 rpm in the current directory Step 5 Run the rpm from the directory rpm iv j2re 1_4 2 _07 linux i586 rpm This completes the installation of JRE on Linux 92 Appendix D Modifying JRE The following section walks you through the steps to modify the existing installation of JRE on the Windows Platform These steps install the Support for Additional Languages as the Client Configuration Tool uses shift JIS character encoding on the Windows Platform Step 1 Double click the 32re 1_4_2_07 windows i586 p exe installable from the following directory lt CD gt tools Step 2 Click Next gt on the Maintenance screen as below
20. 47 2005 04 07 15 34 47 SRE SRV Ire 20 The stop processing of a group SRE GRP started caps E PT uA 85 89 E E 23 nn Step 2 Click OK on the following screen Confirmation Are you sure to shutdown SRE SRV 0K cancer lava Applet Window The server will shutdown completely 23 Restarting a Server Step 1 Right click on the server SRE SRV and select Reboot 3 HTTP 403 Forbidden Microsoft Internet Explorer File Edit View Favorites Tools Help Back gt amp A Al Qsearch GFavortes meda A D S fw Q Address http 10 123 187 1 29003 he YA 2 Search Web attempting to retrieve buttons from Yahoo ExpressCluster AtertSearch Option LogCollect Reload SREVCC Server Name SRE SRV servers SRE f Property J Value i ia Shutdown Server Name SRE SRV F groups Comment Standalone Server ISRE GRPE Version 3 1 2 ping Edition SE monitors IP Address ping monitor Status Online Heartbeat Status Heartbeat Name Status lanhb1 Normal Receive Time Time V Server Name Module Name EventID Message 2005 04 07 15 36 28 2005 04 07 15 36 28 SRE SRV im j Monitor ping monitor start a 2005 04 07 15 36 23 2005 04 07 15 36 23 SRE SRV ie 11 The start processing of a group SRE GRP ended 2005 04 07 15 36 2
21. 86 exe To unzip all files in ecste cfg 3 1 2 1386 exe to the Unzip specified folder press the Unzip button _ Run WinZip Browse Close IV Overwrite files without prompting About Unzip to folder C Program Files PER Help 25 Step 2 Click OK on the following screen WinZip Self Extractor x 128 File s unzipped successfully Step 3 Click Close on the following screen WinZip Self Extractor ecsre cfg 3 1 2 1386 exe To unzip all files in ecste cfg 3 1 2 1386 exe to the specified folder press the Unzip button Run Winzip Unzip to folder C Program Files Browse Close IV Overwrite files without prompting About PER Help This completes the installation of the Management Configuration Client Setting Java Security Pre requisites Ensure that you exit out from all Browsers before you execute the steps below Step 1 Open Windows Explorer and browse to the following location C Documents and Settings lt USERNAME gt Here lt USERNAME gt is the name of the user logged in 26 Step 2 Check to see if java policy file is present If not present please execute Step 3 and skip Step 4 If present skip Step 3 and execute Step 4 Step 3 Execute this step if not present Copy the java policy file present in C Program Files nec clptrek etc to the following directory C Documents and Settings K USERNAME gt Step 4 Execute this step if present
22. JRE installed please refer to Appendix D Modifying JRE for modifying your existing installation on Windows The Management Configuration Client explained in Chapter 5 requires the Support for Additional Languages for JRE as it uses shift JIS character encoding on the Windows platform The Management Client and the Management Configuration Client can be installed on the same machine Hence it is required to modify JRE if it is already installed 14 Chapter 4 Basic Operations The following sections describe how to use the management client to perform basic ExpressCluster SRE monitoring and control operations Please note that screenshots in the example below have one resource ping ping 127 0 0 1 and a monitoring resource ping monitor which monitors ping Also the host name of the server is SRE SRV and the group name is SRE GRP Prerequisites 1 The personal computer or laptop machine where the Management Client is installed should be network reachable to the FT Linux Server 2 The ExpressCluster SRE daemon on the FT Linux Server should be running You could verify this using the following command clpstat s The output will be similar to CLUSTER STATUS Cluster SRE VCC lt server gt SRE SRV Online Standalone Server lanhbl Normal LAN Heartbeat lt group gt SRE GRP eecsee0 Online Resource Group current SRE SRV ping Online ping resource lt monitor
23. NEC NEC ExpressCluster SRE Version 3 1 Installation and Configuration Guide FT Linux edition NEC ExpressCluster SRE 3 1 Installation and Configuration Guide FT Linux edition Document Number EC SRE 001 LN Version 1 2 April 2005 Part Number 456 01701 000 Copyright 2005 NEC Solutions America Inc Information in this document is subject to change without notice No part of this document may be reproduced or transmitted in any form or by any means electronic or mechanical for any purpose without the express written permission of NEC Solutions America Inc Microsofte Windowse is registered trademarks of Microsoft Corporation Other system names company names and product names are trademarks and registered trademarks of their respective companies Contents About this guide 5 Using this guide 5 Where to go for more information 6 Chapter 1 Server Agent Installation 7 Prerequisites 7 Hardware 7 Minimum Hard disk and Memory Capacity 7 Software 7 Operating System 7 Installation Steps 7 Chapter 2 Server Agent Configuration 9 Computer Name Configuration 9 Registering a License 9 Starting ExpressCluster SRE 12 Chapter 3 Management Client Installation 13 Overview 13 Server Prerequisites 13 Network 13 Standalone Computer Prerequisites 13 Hardware 13 Network 13 Software 13 Chapter 4 Basic Operations 15 P
24. RE SRV Irm j1 Monitor ping monitor start a Q 2005 04 07 15 31 00 2005 04 07 15 31 00 SRE SRV ire 1 The start processing of a group SRE GRP ended G 2005 04 07 15 30 58 2005 04 07 15 30 58 SRE SRV ire 10 The start processing of a group SRE GRP started i 30 56 2005 04 07 15 30 56 SRE SRV Im 51 Period of trial is till 2006 03 31 SE31 G 2008 0407 1 2005 04 07 15 30 54 _ SRE SRV pm 34 There was a request to resume cluster daemon from the command G 2005 04 07 15 30 54 2005 04 07 15 30 54 SRE SRV lpm 1 Cluster daemon has started properly a eagle A TAA i E E A i The status of the ping resource bin ping 127 0 0 1 is shown Online 19 Viewing Monitor Resource Status Step 1 Use the left mouse button and click on the monitor resource name ping monitor as below 3 HTTP 403 Forbidden Microsoft Internet Explorer File Edit View Favorites Tools Help laj x e Heak gt OA A Qseach Favorites Guede A Er S A O Address http 10 123 187 1 29003 z Po Links Cm oe Yr 2 Search web T attempting to retrieve buttons from Yahoo ExpressCluster atertSearch Option LogComect Reload SRE VCC f Pw Monitor Name ping monitor Detail Q aarre SRE SRV Property Value lanhb1 Name ping monitor aroups Comment monitors ping SRE GRP Status
25. Retry Count 0 time Start Monitor Wait Time 30 sec Monitor Timing Activity Target Resource Browse 71 Step 5 Select squid and click Ok squid would be the target resource you created in this case ping Selection Of Target Resource SRE VCC E SRE GRP k 72 Step 6 Click Next gt 73 Step 7 Recover Object is the object you want to recover Click Browse below Definition of a monitor resource 74 Step 8 Select the squid resource here to recover squid This means that ExpressCluster SRE will try to restart squid as part of recovery Click OK Selection Of Recover Object O SRE GRP squid 75 Step 9 Reactivation Threshold indicates the maximum number of times the recovery action will be executed Set this to 3 Set the Failover Threshold to 0 as this is not applicable here for a single server If Reactivation Threshold is crossed the Final Action is executed Select Stop Cluster Daemon And OS Reboot for the Final Action and click Complete Definition of a monitor resource 76 Step 10 Select File gt Save the configuration file ExpressCluster Trekking Tool Microsoft Ir gt Oil w lt EZ c Program Files nectclptrek clptrek html 5 7 File all Monitors Servers E SRE SRV 77 Step 11 lt For Windows gt Select clp conf and click Save Gee al lt For Linux g
26. V inm 3 Resource lanhb1 of server SRE SRY up G 2005 03 22 11 20 39 2005 03 22 11 20 39 SRE SRV nm 1 Server SRE SRV up liner CAPS Closes the window iA S E i ia start AS AO Ejexpressctuster webm E start Paint AQVO MS 12 06PM Viewing Group Status Step 1 Use the left mouse button and click on the group name SRE GRP as below s HTTP 403 Forbidden Microsoft Internet Explorer File Edit View Favorites Tools Help Back gt O A A Qsearch Syravorites meda lt 4 D 3 w a Address a http 10 123 187 1 29003 z eao Links gt Cae oe Yr 2 Search Web attempting to retrieve buttons from Yahoo ExpressCluster alertsearch Option Logcotlect Reload sREVoC f Group Name SRE GRP Detail Q servers ed SRE SRV Property Value 2 lanhb4 Name SRE GRP oroups g Resource SRE GRP i 7 ping monitors ping monitor Group On Server Status SS Status ing Online Receive Time Time V Server Name Module Name EventID Message j 2005 0407 15 31 05 2005 04 07 15 31 05 SRE SRV im 1 Monitor ping monitor start a G 2005 04 07 15 31 00 2005 04107 15 31 00 SRE SRV ire 11 The start processing of a group SRE GRP ended G 2005 04 07 15 30 58 2005 04 07 15 30 58 SRE SRV re 10 The start processing of a group SRE GRP started G 2005
27. al LAN card configuration has completed when the screen displays the status as UP and the link is LINK with LAN cable connected as shown above Step 9 Execute the following command to check whether IP address is set correctly vndctl ipconf 7 DEVICE ha0 ONBOOT yes BOOTPRONTOzstatic IPADDR 10 123 187 1 NETMASK 255 255 255 0 GATEWAY 10 123 187 254 This completes the steps to assign the IP address to the Dual 10 100 100 Base Ethernet adapter 86 Appendix C Installing JRE Windows You can install it from the EC SRE FT Linux CDROM from the following directory lt CD gt tools Step 1 Double click the j2re 1_4_2_07 windows i586 p exe installable from the following directory lt CD gt tools Step 2 Select I accept the terms in the license agreement and click Next gt is Java 2 Runtime Environment SE 1 4 2 O07 License License Agreement Please read the Following license agreement carefully Sun Microsystems Inc Binary Code License Agreement for the JAVA 2 RUNTIME ENVIRONMENT J2RE STANDARD EDITION VERSION 1 4 2 X SUN MICROSYSTEMS INC SUN IS WILLING TO LICENSE THE SOFTWARE IDENTIFIED BELOW TO YOU ONLY TPON zi yrevevencoeveocseeeneoensesvenenacsneoesoeevesen eee neossecevensncoenooscenevenenevsnenseseeceneesvenson Tdo not accept the terms in the license agreement InstallShield cot _ 87 Step 3 Select Custom and click Next
28. crossed the Final Action will be executed and the server would be rebooted Set 3 here Set the Failover Threshold to 0 This should be 0 at all times any other value is not applicable Select the Final Action as Stop Cluster Daemon And OS Reboot from the list box Deactivity Retry Threshold indicates the number of times ExpressCluster SRE will try to stop the process incase the process fails to stop the first time When this threshold is crossed the Final Action will be executed and the server would be rebooted Set 3 here Select the Final Action as Stop Cluster Daemon And OS Reboot from the list box Click Next gt Definition of a resource x Restoration operation when detecting activity failure Activity Retry Threshold 3 time Failover Threshold 0 time Final Action Stop Cluster Daemon And OS Reboot w Restoration operation when detecting deactivity failure Deactivity Retry Threshold 3 time Final Action Stop Cluster Daemon And OS Reboot v lt Back Cancel 66 Step 13 Uncheck Default dependence is followed and click Complete Definition of a resource Ej see lt Back _complete cancet_ 67 Creating the monitoring resource Step 1 Right Click on Monitors and select Add monitor resource F ExpressClus ekking Tool Microsoft Internet Explorer E 2 a lt ES zje eel E C Program Fiesjnec cbtrekicptrek hem z eGo Links TWP oT search wet k attemp
29. e 0 TX packets 129 errors 0 dropped 0 overnms 0 carmier 0 collisions 0 txqueuelen 100 RX bytes 946021 923 8 Kb TX bytes 6876 6 7 Kb Interrupt 47 Base address 0xb000 epro40 06 DOWN Link encap Ethemet HWaddr 00 30 13 F1 E9 7D BROADCAST SLAVE MTU 1500 Metric 1 RX packets 125 errors 0 dropped 0 overruns 0 frame 0 TX packets 0 errors 0 dropped 0 overruns 0 carmer 0 collisions 0 tsqueuelen 100 RX bytes 8928 8 7 Kb TX bytes 0 0 0 b Interrupt 19 Base address 0xd000 haO indicates the interface name haQ which is used to set dual configuration to the two LAN cards and then virtually treats them as one LAN card Step 5 Use the following command to set the IP address vndctl config 7 Step 6 The screen will be switched to the entry screen netconfig command is being executed The message Would you like to set up networking will appear Click Yes to continue Note Do not select DHCP here 85 Set the IP address Subnet Mask Default Gateway IP and the Primary Name Server as per your Network environment Step 7 Use the following command to activate the dual LAN card configuration of the slot 7 vndctl up 7 Step 8 Check the status using vndctl status Virtual Network Status virtual status ipconf slot real s haQ OKAY yes 7 epro01 06 epro40 06 slot real status link 1 let nght left nght left night qgb01 03 0 gb40 03 0 epro01 06 UP LINK epro40 06 UP LINK Du
30. er interface 47 Chapter 7 Customization for Sendmail Prerequisites 1 The sendmail daemon needs to be stopped Please verify its status using service sendmail status The output will be similar to sendmail pid 8366 is running If sendmail is running please stop sendmail using the command service sendmail stop 2 The sendmail daemon should not startup automatically when the Operating System boots up ExpressCluster SRE would automatically start up and shuts down the sendmail daemon once configured with the steps explained below Please execute the following command to disable sendmail from automatic startup at boot time chkconfig del sendmail Customization Steps Step 1 Suspend the cluster using the following opt nec clusterpro management sre suspend Step 2 Run the following commands to enable sendmail monitoring cd opt nec clusterpro etc cp clp conf sendmail clp conf If you are prompted for overwrite type y and hit enter Step 3 Resume the cluster using the following opt nec clusterpro management sre resume 48 Step 4 You can verify the status of the cluster using clpstat s The output will be similar to CLUSTER STATUS Cluster SRE VCC lt server gt LOCaALENOST 4 thie sa Online Standalone Server lanhbl Normal LAN Heartbeat lt group gt SRE GRP wee cites ee Ondine Resource Group current localhost sendmail Online sendma
31. er the computer name lt server name XXX gt Step 3 Look for the following line and change the computer name to the new name say XXX Please retain the quotations before and after the computer name lt policy name XXX gt Step 4 Save the file and quit the vi editor Registering a License Note The license key A1234567 B1234567 C1234567 D1234567 and the serial number AA000000 used in the steps below is a sample Please do not use this key and number Step 1 Login as root with the password set for the root user If the password for root has not been changed the default is OhnAdx6Nz Step 2 Locate the FT Linux ExpressCluster SRE License Key at the back of the server along the edge as indicated in following figure Key A1234567 B 1234567 C1234567 D 1234567 S N AA000000 FT Linux ExpressCluster SRE Lic Key 405 01734 000 Step 3 Type in the following command clplecnse I P SE30 Step 4 Type in 1 for the product division at the prompt below 10 Selection of product division 1 Product 2 Trial Select product division 1 or2 1 Step 5 Enter the number of license as 1 Enter the number of license 1 to 99 default 2 1 Step 6 Enter the serial number similar to the license as in the sample below Enter serial number Ex XX000000 AA000000 Step 7 Enter the license key similar to the license as in the sample below
32. ht click on the cluster SRE VCC and select the Property popup menu item as below 36 Step 5 Select the WebManager tab check the Connection is restricted by Client IP Address check box and click the Add button i SRE CC Cluster Property 37 Step 6 In the edit box specify either of the following 1 A specific client IP address which would be the only client that would have access to the server e g 10 123 187 3 OR 2 A network addresses which would enable access to all the clients within the specified network segment e g 10 123 187 0 24 The input of an IP Address 10 123 187 3 Click OK once done 38 Step 7 The Operation check box is selected by default as below i SRE CC Cluster Property If selected clients accessing the server can view the status and also perform basic operations like shutdown reboot stop group start group etc 39 A sample screenshot for a client with IP address 10 123 187 3 with the Operation checkbox checked is as below File Edit View Favorites EY HTTP 403 Forbidden Microsoft Internet Explorer Tools Help lt Back gt amp A G Qsearch Favorites meda lt J BD S i D Address http 10 123 187 1 29003 x Po tins gt ExpressCluster Yr 2 Search web attempting to retrieve buttons from Yahoo Alert Search Option Log Collect Reload
33. il service lt monitor gt sendmail monitor Normal monitor sendmail service Step 5 You can verify that the sendmail daemon is started up using the following command service sendmail status The output will be similar to sendmail pid 8366 is running Step 6 If sendmail is terminated it is automatically restarted If it is terminated 4 times which is more than the threshold set as 3 within 4 X 30 120 seconds the server is rebooted automatically You can verify this by terminating sendmail using kill 9 lt pid gt The lt pid gt of sendmail can be obtained using the command service sendmail status The output will be similar to sendmail pid 8366 is running In this case the lt pid gt is 8366 49 Chapter 8 General Customization Overview Processes to be monitored may be classified into two categories 1 Processes that remain attached to a terminal when started e g ping These processes do not fork child processes 2 Processes that do not remain attached to a terminal when started e g squid These processes fork other child processes The customization steps explained are common for both the categories above unless stated otherwise The customization involves two major steps 1 Creating the target resource that starts the process to be monitored 2 Creating the monitoring resource that monitors the target resource This monitoring resource attempts
34. lar to squid pid 30750 30748 is running If squid is terminated it is automatically restarted If it is terminated 4 times which is more than the threshold set as 3 within 4 X 30 120 seconds the server is rebooted automatically 82 Appendix A Changing the Computer Name Please execute Step 1 before changing the computer name Step 1 Run the following command to suspend the cluster opt nec clusterpro management sre suspend Please go ahead and change the computer name now After changing the computer name please execute Steps 2 through 6 Step 2 Open the file opt nec clusterpro etc clp conf using the vi editor Step 3 Look for the following line and change the computer name to the new name say XXX Please retain the quotations before and after the computer name lt server name XXX gt Step 4 Look for all the entries of the following line and change the computer name to the new name say XXX Please retain the quotations before and after the computer name lt policy name XXX gt Step 5 Save the file and quit the vi editor Step 6 Run the following command to resume the cluster opt nec clusterpro management sre resume 83 Appendix B Assigning an IP address The following steps team the 10 100 100 Base Ethernet adapters and assign an IP address to it Note 1 If you want to team the 1000 Base Ethernet adapters and assign an IP add
35. n and customization are dependent on customer site specific environment Prerequisites Hardware Server Model The NEC Express5800 320Lb server Minimum Hard disk and Memory Capacity Hard Disk 77MB Memory 512 MB Software Operating System NEC FT Linux Version 2 1 0 1 001 Installation Steps Step 1 Insert the installation CD into the CD ROM drive Step 2 Login as root with the password set for the root user If the password for root has not been changed the default is OhnAdx6Nz Step 3 Type in the following to mount the CD as read only mount o ro dev cdrom mnt Step 4 Type in the following rpm i mnt server ecsre svr 3 1 2 1386 rpm Step 5 You could verify that the rpm is installed successfully by the following command rpm q ecsre svr 3 1 2 The output will be csre svr 3 1 2 Chapter 2 Server Agent Configuration This chapter describes the one time initial configuration procedure for NEC ExpressCluster SRE 3 1 in the final deployment environment Computer Name Configuration If the computer name as shown by running the hostname command is changed from the factory setting localhost then you MUST perform the following steps Step 1 Open the file opt nec clusterpro etc clp conf using the vi editor Step 2 Look for the following line and change the computer name to the new name say XXX Please retain the quotations before and aft
36. nd assign an IP address to the virtual network interface card on the server Appendix C Installing JRE guides you through the installation instructions for installing the Java Runtime Environment Appendix D Modifying JRE guides you through the instructions for modifying an existing installation of the Java Runtime Environment on the Windows Platform Appendix E Starting the ftp daemon explains the steps to start up the ftp daemon on the FT Linux server For installation configuration and customization to monitor sendmail please read the following chapters in sequence Installation Chapter 1 e Configuration Chapter 2 e Management Chapter 3 Chapter 4 Chapter 5 and Chapter 6 e Customization Chapter 7 For installation configuration and customization to monitor other general processes please read the following chapters in sequence Installation Chapter 1 Configuration Chapter 2 Management Chapter 3 Chapter 4 Chapter 5 and Chapter 6 Customization Chapter 8 Where to go for more information Please refer to additional documentation under the documentation directory on the NEC ExpressCluster SRE 3 1 distribution CD or archive file This directory contains a Command Reference CommandReference pdf of all the commands used by NEC ExpressCluster SRE 3 1 Chapter 1 Server Agent Installation Please note that only Server Agent Installation this chapter should be performed at the factory since configuratio
37. ng down a Server Step 1 Right click on the server SRE SRV and select Shutdown 3 HTTP 403 Forbidden Microsoft Internet Explorer File Edit View Favorites Tools Help Back gt amp A A Qach Favorites meda B S I a Address http 10 123 187 1 29003 c0 Links gt Ei Ge Search Wi attempting to retrieve Ins Yahoo 2 ch Web buttons from Yah ExpressCluster atertSearch Option LogCollect Reload SRE VCC 4 Server Name SRE SRV F servers E ga pou z 5 Property es a Value la erver Name Baroups Reboot Comment Standalone Server SRE GRP Version 3 1 2 ping Edition SE monitors IP Address pina monitor Status Online Heartbeat Status Heartbeat Name Status lanhb1 Normal Receive Time Time V Server Name Module Name EventID Message G 2005 04 07 15 36 28 2005 04 07 15 36 28 ISRE SRV im 1 Monitor ping monitor start a G 2005 04 07 15 36 23 2005 04 07 15 36 23 SRE SRV ire 14 The start processing of a group SRE GRP ended G 2005 04 07 15 36 20 2005 04 07 15 36 20 SRE SRV ire 10 The start processing of a group SRE GRP started G 2005 04 07 15 34 50 2005 04 07 15 34 50 SRE SRV ire 21 The stop processing of a group SRE GRP ended 2008 04 07 1 2005 04 07 15 34 48 SRE SRV m 2 Monitor ping monitor stop G 2005 04 07 15 34
38. o status ps pid Sprocessid no headers 2 gt dev null g if Sstatus t J then sleep 1 else exit 1 EL done stop etc init d squid stop esac 61 In the Start edit box enter the absolute path of this script with its start parameters In the Stop edit box enter the absolute path of this script with its stop parameters Click OK The input of the path to application Joptineciclusterpro monitorsisquidexec start Joptinec clusterpro monitors squidexec stop 62 Step 9 Click the Tuning button This takes you to the Parameter tab Asynchronous means ExpressCluster SRE will not wait for the completion of the start script execution Always select Asynchronous here Exec Resource Tuning Properties 63 Step 10 Optional In the Maintenance tab you could specify the absolute path to a log file where standard output and standard error are redirected to If this is left blank standard output and standard error redirect to dev null Click OK once you are done Exec Resource Tuning Properties 64 Step 11 Click Next gt on the following screen Definition of a resource __ Kind Name Startpath opt nec clusterprofmonitors Stop path Joptnec clusterprofmonitors 65 Step 12 Activity Retry Threshold indicates the number of times ExpressCluster SRE will try to re start the process incase the process fails to startup the first time When this threshold is
39. pplet Window 21 The group will be stopped and all resources are offline as below File Edit View Favorites Tools Help HTTP 403 Forbidden Microsoft Internet Explorer Back gt A Qsearch GFavortes meda D Sw Q Address http 10 123 187 1 29003 z Eso ie gt ExpressCluster Yr 2 Search web attempting to retrieve buttons from Yahoo Alert Search Option a SRE VCC a nt SRE SRV anno groups F SJ SRE GRP ping monitors ping monitor Group Name SRE GRP Ofline Receive Time Time V Server Name j Module Name EventID Message 2005 04 07 15 34 50 2005 04 07 15 34 50 SRE SRV ire 21 The stop processing of a group SRE GRP ended G 2005 04 07 15 34 48 2005 04 07 15 34 48 SRE SRV im 2 Monitor ping monitor stop G 2005 04 07 15 34 47 2005 04 07 15 34 47 SRE SRV ire 20 The stop processing of a group SRE GRP started G 2005 04 07 15 31 05 2005 04707 16 31 05 SRE SRV im 1 Monitor ping monitor start G 2005 04 07 15 31 00 2005 04 07 15 31 00 SRE SRV ire 11 The start processing of a group SRE GRP ended G 2005 04 07 15 30 58 2005 04 07 15 30 58 SRE SRV ire 10 The start processing of a group SRE GRP started 22 a T aA AE OS OB Ba S Shutti
40. ps and shutdown and reboot the server Server Prerequisites Network On the FT Server either the 100 base or the 1000 base pair of Network Interface Cards need to be teamed to form one Virtual Interface An IP address needs to be assigned to this Virtual Interface Please refer to Appendix B Assigning an IP address for instructions on teaming and assigning an IP address Standalone Computer Prerequisites Hardware A standalone computer or laptop with one Network Interface Card and the following minimum requirements Disk 2MB Memory 40MB Network A static IP address needs to be assigned to the standalone computer or laptop Please ensure network connectivity to the FT Server while assigning this IP address ping should be successful Software Operating System Any one of the following combinations 1 Windows 2000 Professional with Internet Explorer 6 Service Pack 1 2 Windows XP Professional with Internet Explorer 6 Service Pack 1 or Netscape 7 1 Windows 2000 Advanced Server with Internet Explorer 6 Service Pack 1 Turbo Linux 8 Enterprise Server with Mozilla 1 0 1 or Netscape 7 1 Red Hat Linux 9 0 with Mozilla 1 2 Red Hat Enterprise Linux ES 3 0 with Mozilla 1 4 Sn R o Java Runtime Environment Java 2 Runtime Environment Standard Edition Version 1 4 1_02 or later 13 If you do not have JRE installed please refer to Appendix C Installing JRE for installation instructions If you already have
41. rerequisites 15 Starting the Management Client 15 Exiting the Management Client 17 Viewing Group Status 18 Viewing Monitored Resource Status 19 Viewing Monitor Resource Status 20 Stopping a Group 21 Shutting down a Server 23 Restarting a Server 24 Chapter 5 Management Configuration Client Installation 25 Overview 25 Prerequisites 25 Windows Installation Setting Java Security Linux Installation Setting Java Security Chapter 6 Management Client Security Configuration Overview Configuration Steps Configuration Distribution Pre requisites Distribution Steps Chapter 7 Customization for Sendmail Prerequisites Customization Steps Chapter 8 General Customization Overview Customization Steps Creating the target resource Creating the monitoring resource Configuration Distribution Appendix A Changing the Computer Name Appendix B Assigning an IP address Appendix C Installing JRE Windows Linux Appendix D Modifying JRE Appendix E Starting the ftp daemon 25 26 29 29 31 31 31 45 45 45 48 48 48 50 50 51 51 68 80 83 84 87 87 92 93 97 About this guide NEC ExpressCluster SRE 3 1 is an integrated software solution designed for monitoring and automatically restarting processes and daemons on a single server Using this guide This document includes step by step instructions
42. ress to it replace 7 by 4 for all steps below 2 It is mandatory for ExpressCluster SRE that this IP address is static 3 Steps below assign the following static IP address as an example IP 10 123 187 1 Mask 255 255 255 0 Please set an appropriate static IP address according to your environment Step 1 Login as root with the password set for the root user Step 2 Execute the following command to check if the indication of the LAN card appears on the slot 7 vndctl status Virtual Network Status virtual status ipconf slot real s slot real status link let night left night left nght left gb01 03 0 right gb40 03 0 let night let night left epro01 06 nght epro40 06 Step 3 Execute the following command to add the LAN card of the slot 7 to the VND list vndctl add 7 84 Step 4 Use the following command to check the status of LAN card vndctl status 7 Virtual Network Status virtual status ipconf slot real s had OKAY no 7 epro01 06 epro40 06 Link encap Ethemet HWaddr 00 30 13 F1 E9 7D BROADCAST MASTER MULTICAST MTU 1500 Metric 1 RX packets 0 errors 0 dropped 0 overnms 0 frame 0 TX packets 0 errors 0 dropped 0 overruns 0 carnier 0 collisions 0 txqueuelen 0 RX bytes 0 0 0b TX bytes 0 0 0 b Teal status link epro01 06 DOWN Link encap Ethemet HWaddr 00 30 13 F1 E9 7D BROADCAST SLAVE MTU 1500 Metric 1 RX packets 12242 errors 0 dropped 0 overruns 0 fram
43. s nechciptrek clptrek html 56 Step 5 Select execute resource from the list box as below Definition of a resource 57 Step 6 Change the name to squid and type in a comment as appropriate for your process Definition of a resource squid service 58 Step 7 Select the User Application radio button and click Edit as below Definition of a resource e Statpath OOOO Stoppath SCS 59 Step 8 lt For processes that do not fork other child processes e g ping gt In the Start edit box enter the absolute path of the process and start parameters if any you would like to start In the Stop edit box enter the absolute path of this process and its stop parameters if any Click OK The input of the path to application fbinfping 127 0 0 1 Jusibin pkill ping 60 lt For processes that fork other child processes e g squid gt On the FT server you could create a script that takes in command line arguments start and stop This script should also have the logic of starting stopping and monitoring the process by based on its Process ID pid and should terminate if the process terminates You could refer to this sample script opt nec clusterpro monitors squidexec customized for the squid process bin bash case 1 in start etc init d squid start sleep 3 processid cat var run squid pid 2 gt dev null amp while 1 d
44. ser your home directory is home lt user gt If not present please execute Step 2 and skip Step 3 If present skip Step 2 and execute Step 3 29 Step 2 Execute if not present Copy the java policy file present in opt nec clptrek etc into your home directory Step 3 Execute if present Open the java policy file in the vi editor and add the following lines to the end of the file grant codeBase file opt nec clptrek clptrek jar permission java security AllPermission Note The path specified above needs to be delimited by not V Step 4 Open the browser type in opt nec clptrek clptrek html and confirm that the Script Customization Tool is installed successfully You will see the screen as below arks Tools Help BQ A O neonne OOOO A 30 Chapter 6 Management Client Security Configuration Overview Management Client Security can be configured by restricting server access either to clients with specific IP addresses or to all clients within a network segment Once the security is configured only clients with the specific IP addresses or clients within the specified network addresses can use the Management Client user interface to operate the server The following section walks you through the steps to configure security using the Management Configuration Client tool You can execute these steps anytime you wish to configure client security Configuration Steps Step 1
45. t Select File System and Click OK on the following screen Lok J Cancel 78 Select clp conf and click Save Ge ame Step 12 lt For Windows gt Click Yes on the following screen Trekking Tool lt For Linux gt Click Yes on the following screen 79 Step 13 Note You do not need to reboot the server at this time Please ignore this dialog below and click OK Trekking Tool z x 8 The configuration file was saved normally iy Configuration summary Newly creation Reflection method Need to shutdown system and reboot m This completes the creation and configuration of the required resources Configuration Distribution Pre requisites 1 Ensure that the process you are trying to monitor is not already running If it is running please stop it Also for processes that startup when the OS reboot please disable the automatic startup of the process at boot time using the command chkconfig del lt service name gt e g for squid it is chkconfig del squid 2 Please ensure that the ftp daemon is started on the FT Linux server If not please refer to Appendix E Starting the ftp daemon to start the wu ftpd daemon on the server Note Steps 1 through 3 needs to be executed just one time Step 1 Add a user sreadmin using the command adduser sreadmin Step 2 Set the password for sreadmin as sreadmin with the command passwd sreadmin 80 When
46. ting toretrieve buttons from vahoot OOOO Name Tye Placetowatth Commen E SRE SRV 68 Step 2 Select pid monitor from the list box shown Definition of a monitor resource 69 Step 3 Change the Name to squid monitor and add a suitable comment and click Next gt Definition of a monitor resource monitors squid service 70 Step 4 Interval indicates the monitoring interval in seconds Set this to 2 Timeout indicates the timeout value within which the status of the process should be normal If this exceeded ExpressCluster SRE will consider it abnormal Set this to 60 Retry Count indicates the number of times abnormality should be detected consecutively before the status of the resource is considered abnormal Set this to 0 Start Monitor Wait Time is the monitoring interval time in seconds ExpressCluster SRE will wait for this much time before it starts monitoring the resource This time is generally the time required for the processes to start up Set this to 30 seconds If your process takes more than 30 seconds to start up set this accordingly Monitor Timing indicates Activity for execute resources by default This means that the resource monitoring starts just after the group is started Click the Browse button to browse to the target resource to be monitored In this case squid Definition of a monitor resource a x Interval 2 sec Timeout 60 sec
47. x E Starting the ftp daemon The following section walks you through the steps to start the wu ftp daemon on the FT Linux server Step 1 On the FT Linux server with the login as root open the wu ftpd file in the etc xinetd d folder using the command vi etc xinetd d wu ftpd Step 2 Change the default setting from disable yes to disable no as below default on description The wu ftpd FTP server serves FTP connections It uses normal unencrypted usernames and passwords for authentication service ftp socket_type stream wait no user root server usr sbin in ftpd server_args a log_on_success DURATION USERID log_on_failure USERID nice 10 disable no Step 3 Save the file and quit the vi editor Step 4 Run the following commands to restart the xinetd service service xinetd stop service xinetd start The wu ftpd daemon will now be started on the server 97

Download Pdf Manuals

image

Related Search

Related Contents

  Samsung SGH-E620B User Manual  cleARANceS ANd INStAllAtIoN MANUAl  DR-70D Owner`s Manual - Tascam  Computer Gear 24-0520 mice  Hubbell TayMac DG28 Installation Guide      

Copyright © All rights reserved.
Failed to retrieve file