From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 19 Nov 2007 18:23:08 -0000 Subject: [Cluster-devel] conga/luci/cluster form-macros Message-ID: <20071119182308.10624.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Changes by: rmccabe at sourceware.org 2007-11-19 18:23:08 Modified files: luci/cluster : form-macros Log message: split up form-macros into manageable modules Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/form-macros.diff?cvsroot=cluster&r1=1.216&r2=1.217 --- conga/luci/cluster/form-macros 2007/11/06 19:58:00 1.216 +++ conga/luci/cluster/form-macros 2007/11/19 18:23:08 1.217 @@ -15,71 +15,7 @@ -
-
- -
- - - - - - - - -
-

Please be patient - this cluster's configuration is being modified.

-
- -
- - -

-
- - - - - -

- - -
- - - -

- -
- - - - - - - [cluster software installed] - - - - [cluster node rebooted] - - - - [cluster node configured] - - - - [cluster node joined cluster] - -
-
-
-
+
+ + + First table row is status icon, name, and dropdown + Second row is daemon macro and failoverdom membership + Third row is fencing macro + - - - + - + + + - - + -
+ + Node Name: + + +
+ - - -
- - - - - - - - + + +
- - - + + - - - - - - - - - - -
-
- General Properties -
-
+
+ + +
+
Cluster Name - -
Configuration Version - -
+ + + Status: + + + - - - - + + + - - -
- [+] - Show - advanced cluster properties -
+ This node is a GULM lock server. +
+ + + + Show recent log activity for this node + + + + - - - - -
-
- -
-
- -
+
-
-
- - - - - - - + + + The ricci agent for this node is unresponsive. Node-specific information is not available at this time. + + - - - - + + - - - - - - - - - - - - - - - - +

Cluster daemons running on this node

+ +
-
- Fence Daemon Properties -
-
Post Fail Delay - - -
Post Join Delay - -
- Run XVM fence daemon - -
-
 
- XVM fence daemon key distribution -
+ + + + + + + + + + + + + + + - - + - - - - + + + + +
DaemonCurrently runningEnabled at start-up
+
+ +
+
+ + + + + + + + -
- - - - - - - - - - - - -
- Enter a node hostname from the host cluster - - -
- Enter a node hostname from the hosted (virtual) cluster - - -
- -
-
- - - -
- -
- - - - -
-
+ -
- - - -
- - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - -
-
- Multicast Configuration -
-
- - - Do not use multicast - - - Let cluster choose the multicast address - -
- - - Use multicast - - - Specify the multicast address manually - -
- Multicast address - - -
- Multicast network interface (optional) - - -
-
- -
-
-
-
- -
- - -
- - - - -
- - - - - - - - - - -
-
- Quorum Partition Configuration -
-
- - Do not use a Quorum Partition -
- - Use a Quorum Partition -
-
- -
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Interval - -
Votes - -
TKO - -
Minimum Score - -
Device - -
Label - -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- Heuristics -
-
-
Path to Program
-
-
Interval
-
-
Score
-
-   -
- - - - - - - -
- - - - - - - -
- -
-
-
- -
-
- -
- -
-
- - -
- - - -
- - - - - - GULM Configuration
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NodeLock Server
- - - -
-
-

You may have exactly 1, 3, or 5 GULM lock servers, in any combination of the hosts checked above and given below.

-
External Lock Server 1 - -
External Lock Server 2 - -
External Lock Server 3 - -
External Lock Server 4 - -
External Lock Server 5 - -
- -
-
- -
-
-
- - - -
- -

Cluster Process Form

-
- -
- - - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - -
- -
- -
- - - - - - - - - -
Fence Type[unknown]
Name - -
- - - - - -
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Fence TypeAPC Power Switch
Name - -
IP Address - -
Login - -
Password - -
- Password Script (optional) - - -
- - - - - - - - -
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Fence TypeMcData SAN Switch
Name - -
IP Address - -
Login - -
Password - -
- Password Script (optional) - - -
- - - - - - - - -
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - -
Fence TypeWTI Power Switch
Name - -
IP Address - -
Password - -
- Password Script (optional) - - -
- - - - - - - - -
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Fence TypeHP iLO
Name - -
Hostname - -
Login - -
Password - -
- Password Script (optional) - - -
- - - - - - - -
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Fence TypeDell Drac
Name - -
IP Address - -
Login - -
Password - -
- Password Script (optional) - - -
- - - - - - - -
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Fence TypeIBM RSA II
Name - -
Hostname - -
Login - -
Password - -
- Password Script (optional) - - -
- - - - - - - -
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Fence TypeBrocade Fabric Switch
Name - -
IP Address - -
Login - -
Password - -
- Password Script (optional) - - -
- - - - - - - - -
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Fence TypeQLogic SANbox2
Name - -
IP Address - -
Login - -
Password - -
- Password Script (optional) - - -
- - - - - - - - -
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - -
Fence TypeVixel SAN Switch
Name - -
IP Address - -
Password - -
- Password Script (optional) - - -
- - - - - - - - -
-
- -
- -
- - - - - - - - - - - - - -
Fence TypeGNBD
Name - -
Servers (whitespace separated list) - -
- - - - - - - - -
-
- -
- -
- - - - - - - - - - - - - - - - - -
Fence TypeEgenera SAN Controller
Name - -
CServer - -
ESH Path (Optional) - -
- - - - - - - - -
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Fence TypeIBM Blade Center
Name - -
IP Address - -
Login - -
Password - -
- Password Script (optional) - - -
- - - - - - - - -
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - -
Fence TypeBull PAP
Name - -
IP Address - -
Login - -
Password - -
- Password Script (optional) - - -
- - - - - - - - -
-
- -
- -
- - - - - - - - - - - - - - - - - -
Fence TypeRPS10 Serial Switch
Name - -
Device Name - -
Port - -
- - - - - - - -
-
- -
- -
- - - - - - - - - -
Fence TypeVirtual Machine Fencing
Name - -
- - - - - - - - -
-
- -
- -
- - - - - - - - - -
Fence TypeSCSI Reservation Fencing
Name - -
- - - - - - - - -
-
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Fence TypeIPMI Lan
Name - -
IP Address - -
Login - -
Password - -
- Password Script (optional) - - -
Authentication Type - -
Use Lanplus - - - - - - -
- - - - - - - -
-
- -
- -
- - - - - - - - - -
Fence TypeManual Fencing
Name - -
- - - - - -
-
- -
- - - - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- - - - - - - - - - -
Port - -
Switch (optional) - -
-
- - - - - - -
-
- - - - - - -
-
- -
-
- - - - - - - - - - -
lpan - -
pserver - -
-
- - - - - - -
-
- - - - - - -
-
- -
-
- - - - - - -
Port - -
-
- - - - - - -
-
- - - - - - -
-
- -
-
- - - - - - -
Port - -
-
- - - - - - -
-
- - - - - - -
-
- -
-
- - - - - - -
Port - -
-
- - - - - - -
-
- - - - - - -
-
- -
-
- - - - - - -
Port - -
-
- - - - - - -
-
- - - - - - -
-
- -
-
- - - - - - -
Port - -
-
- - - - - - -
-
- - - - - - -
-
- -
-
- - - - - - -
IP Address - -
-
- - - - - - -
-
- - - - - - -
-
- -
-
- - - - - - -
Blade - -
-
- - - - - - -
-
- - - - - - -
-
- -
-
- - - - - - -
Domain - -
-
- - - - - - -
-
- - - - - - -
-
- -
-
- - - - - -
Node name - -
- - - - - - -
-
- -
-
- - - - - - -
Domain - -
-
- - - - - - -
-
- - - - - - -
-
- -
- - - - - - - - - - - - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - First table row is status icon, name, and dropdown - Second row is daemon macro and failoverdom membership - Third row is fencing macro - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Node Name: - - - - - - - - -
- - -
-
- Status: - -
- This node is a GULM lock server. -
- - Show recent log activity for this node - -
- -
- - - - The ricci agent for this node is unresponsive. Node-specific information is not available at this time. - - - - - - -

Cluster daemons running on this node

-
- - - - - - - - - - - - - - - - - - -
DaemonCurrently runningEnabled at start-up
-
- -
-
- - - - - - - - - - - - -
- - - - - - -
-
-
-
- -
-

Services on this Node

-
    - -
  • No cluster services are currently running here
  • -
    -
  • - -
  • -
-
- -
- -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - Main Fencing Method - - - - Backup Fencing Method - -
-
- -
- - -
- - - -
- - - - - -
- - - - - -
- -
- - - -
-
-
-
-
- - -
- - -
-
- - -
- - -
-
- -
- - -
- - - -
- - - - - -
- - - - - -
- -
- - - -
-
-
-
-
- - -
- - -
-
- - -
- - -
-
-
- - - - - - -
-
-
-
-
- - - - - - -
-
-
-
- -
- - - -
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Node Name: - - -
- - -
-
-
- - -
-
- Status: - -
- This node is a GULM lock server. -
- Services on this Node: -
    -
  • - No cluster services are currently running here -
  • -
  • - -
  • -
-
- Failover Domain Membership: -
    -
  • - This node has no failover domain membership -
  • -
  • - -
  • -
-
- - Manage Fencing for this Node - - - - Show recent log activity for this node - -
-
-
-
-
- -
-

Node List Form

-
- -
-

Node Grid Form

-
- -
-

Node Configuration Form

-
- -
-

Recent Log Activity for

-
- -
- -
- - - - - - - -
- -

Add a node to

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Node HostnameRoot PasswordKey IDTrust
-
- -
-
- -
    -
  • - - Download packages -
  • -
  • - - Use locally installed packages. -
  • -
-
- - Enable Shared Storage Support -
-
    -
  • - - View system certificates before sending any passwords. -
  • -
  • - - Check if node passwords are identical. -
  • -
-
- - - - - - - - - - - - - - - - -
- - - - - -
- - - -
- -
-
- -
- -
-
- -
- - -
-

The following errors occurred:

- -
    - -
  • - -
-
-
-
- -
-

Services Form

-
- -
- - - - - - - - - - - - - - - - - - - - - - -
- Service Name - - - (virtual service) - - -
- - -
-
-
- Status: - - Running on - - - This service is stopped - -
-

Autostart is enabled for this service

-
- Failover Domain Association: -
-
-
-
- -
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Create a Virtual Machine Service

-
Automatically start this service - -
Run exclusive - -
Failover Domain - -
Recovery policy - -
-
- -
-
Virtual machine name
Path to VM configuration files
-
-
-
- -
-
- - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Properties for

-
- - - - - - -
Automatically start this service - -
Run exclusive - -
Failover Domain - -
Recovery policy - -
-
- - -
-
Virtual machine name - -
Path to VM configuration files - -
-
- -
- -
- - - -

Add a Service

- - - - -
-
- - - - - - - - - - - - - - - - - - - - - -
- Service name - - -
- Automatically start this service - - -
Run exclusive - -
Failover Domain - -
Recovery policy - -
-
-
-
-
- -
-
- - - - - - - - - - - - - - -
-
- - -
- -
- - - - - -
- -
- - - - - -
- -
- - - - - -
- -
- - - - - -
- -
- -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - - -
- - -
- - -
- - -
+ + -
- -
- - - - - - - - - var uuid_list = ; - var global_resources = ; - var active_resources = ; - var resource_names = ; - -
- -
- - - - - - - - - - - - -
- Service Name - - -
- - - - -
-
- Service Status - - - - - - - - Stopped - -
-
- -

Service Composition

- - - - -
-
- - - - - - + +
- -
+
+

Services on this Node

+
    + +
  • No cluster services are currently running here
  • +
    +
  • + +
  • +
-
-
- - - - - - - - - - - - - - - - - -
Automatically start this service -
Run exclusive -
Failover Domain - -
Recovery policy - -
- -
-
- - - - - - - - - - - - - - -
-
+
-
- -
-

Service Form

-
- -
-

Service Process Form

-
- -
-

Service Delete Form

- - - - -
- -
-

Resources Form

-
- -
-

Resource List Form

-
- -
-

Resource Add Form

-
- -
-

Resource Configuration Form

-
-
-

Resource Form

-
- -
-

Resource Process Form

-
- -
-

Failover Domains Form

-
- -
- - - - - - -
-
- - Failover Domain Name: - -
+
-
-

This Failover Domain is - - - + - -
-

Services running in this failover domain will not be failed back. -

-
- -
-

This Failover Domain is

-
+ -
-

Members of this Failover Domain

-
+ - - - - - -
- - - + + + + -
+ + Main Fencing Method + +
- - - - - - - - - - - - - - - - - - - - - + + - - - + + - - - - - - - - - - - - -
Failover Domain Name - -
Prioritized - -
Restrict failover to this domain's members - -
Do not fail back services in this domain - -
-

-

Failover domain membership

-
+ + Backup Fencing Method + +
-
- -
-
+
-
NodeMemberPriority
- - - - - -
-
+
+
+ -
- -

Fence Device List Form

-
+
-
- + - +
+ + - + - +
+ + + + -

Add a Sharable Fence Device

+
- +
+ + + +
+
+
+
+
+ + +
+ + +
+ - - - - - - - - - + +
-
- - Fencing Type - + + + +
-
- -
- -
-
-
-
+
+
+ + + + + + - - - - - + value="Update main fence properties" + onclick="validate_node_fence_form(this.form, 'fence_list_level1')" /> + +
+
+
+
+ + + + + + +
+
- -
-
+
+ -

Configure a Fence Device

+
+ - + - - - - - - - - - - - + + - - - + + + - - - + + + - - - + + - - - + + - - - + + + + +
NameTypeConfigure
- - - + + + + - -
+ Node Name: + - configure - + href nd/configurl; + class python: node_class" + />
-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
+
+ + +
+
+
+ + +
+
+ Status: + +
+ This node is a GULM lock server. +
+ Services on this Node: +
    +
  • + No cluster services are currently running here +
  • +
  • + +
  • +
+
+ Failover Domain Membership: +
    +
  • + This node has no failover domain membership +
  • +
  • + +
  • +
+
+ + Manage Fencing for this Node + + + + Show recent log activity for this node + +
+
+
+
+
- - - +
+

Node List Form

+
- - - +
+

Node Grid Form

+
- - - +
+

Node Configuration Form

+
+

Recent Log Activity for

+
+ +
-
+
-

Fence Device Form

- -
- - - - - - -
- + - - - - -
- -
- +

Add a node to

-
- - - - -
- -
-
-
-
+ + -
-

Fence Device Process Form

-
+ -
- - -

Configure System Services

+ -
+ + + + + + + + + + + + - + + + + + + - + -
Node HostnameRoot PasswordKey IDTrust
+
+ +
+
+ +
    +
  • + + Download packages +
  • +
  • + + Use locally installed packages. +
  • +
+
+ + Enable Shared Storage Support +
+
    +
  • + + View system certificates before sending any passwords. +
  • +
  • + + Check if node passwords are identical. +
  • +
+
- - - - - - + + + + + - + + + + + + + + + + - + + + + + + + +
NameStateEnabled at boot
+ + + + + -
- - + + + + + + +
- -
+ + + + + +
- - - + - - - - - - - - - - - -
- -
- - - +
+ +
-
-
- +
+ +
-
- +
+ + +
+

The following errors occurred:

+ +
    + +
  • + +
+
+
@@ -5461,6 +1313,15 @@
+
+ +

Cluster Process Form

+
+ +
+ +