mirror of
https://github.com/xcat2/xcat-core.git
synced 2024-11-21 09:02:00 +00:00
Page:
Shared data based xCAT MN HA user case
Pages
2014_10_01_Bash_vulnerability
2014_11_04_Poodle_Attack
AIX_NIM_NFSv4_support
Add_Extra_Parameters_for_confignics_Postscript
CRHS like_function
CRHS like_function_enhancements
CSM_CFM like_function_to_sync_config_files_to_the_nodes
Capture_Linux_Image_from_running_node_to_create_a_stateless statelite_image
Chef_databag_support_for_deploying_openstack_in_xCAT
Cluster_config_file
Conserver_Replacement
Coordinated_Cluster_Shutdown_and_Bringup
Copycds_enhancement
Coral PDU supports
Create_osimage_definition_for_Management_Node
Cumulus_OS_Upgrade_Support_Test
DFM_Service_Node_Hierarchy_support
DHCPv6_management
DNS_Enhancments
DNS_master_slave_support
Def_commands_to_display set_nic_attributes_more_easily
Deploying_OpenStack_Baremetal_Nodes_Using_xCAT
Disable_ssh_root_passwordless_node to node_access
Document_large_cluster_tunables,_etc.
Dynamic_node_groups_support
Energy_Management_for_Flex
Energy_management_support_for_blade
Enhance_NTP_setup_support
Enhancement_of_lsslp_ flexdiscover
Enhancement_on_makeroutes_and_snmove_commands
Exporting_more_table_attributes_to_nodes
Filling_the_osimage_attributes_with_the_files_that_are_found_in_the_search_path
Full_Automation_of_DB2_Setup_on_Service_Nodes
Function Verification Test Design of xCAT High Availability
GPFS_statelite_nodes
Getmacs_and_rnetboot_enhancement
Getnodetype_performance_imprvoments_ _phase_I
HA_NFS_on_AIX_service_nodes
HA_Service_Nodes_for_AIX
HA_Service_Nodes_for_AIX_ _using_External_NFS_Server
HFI_MAC_address_failover
HPC_Integration_Phase_1
Hardware_Inventory_for_Node
Health_Check_Script_Framework
Hierarchical_Design
Home
Image_Provisioning
Image_import_and_export_enhancement_for_Linux
Improve_perl_array_search_efficiency_for_scalability
Improvement_of_pre creating_mypostscripts_on_linux
Initrd_Enhancement_separate_initrd_hacking_from_noteset_get_drivers_from_os_update_distro
Kdump_for_Linux_diskless_nodes
Linux_AIX_mixed_Clusters_postscripts_cleanup
Local_Disk_support_for_statelite
Lstree_for_Servicenode_Hardware_and_VM_hierarchies
Management_Node_Pool
Management_Node_Setup_Verification
Managing_Multiple_Sites_and_Clusters
Mellanox_Switch_Support
Mini design for openbmc python framework
Mini design_of_updating_pre defined_groups_for_nodes
Minimize_the_install setup_steps_of_xcat_on_the_MN
Mkvlan_enhancements
Multiple_Zone_Support2
Multiple_pkgdir_support_with_full_installation
NFS_Redundancy_Investigation
NFS_redundancy
New_Cloud_Tables_in_xCAT
Node_Status_and_Application_Status
Node_definition_installation_service_node_setup_verification
Nodeset_defaults_when_node_provmethod=osimage_is_set
OS_Deployment_Monitoring_And_Automatic_Retry
OS_Distro_Update_xCAT_command_osdistroupdate
OpenStack Chef Cookbook_xCAT_Integration
OpenStack_Deployment_using_Chef
OpenStack_Deployment_using_Puppet
Ospkgs_enhancements_to_install upgrade_OS_packages_from_Updates
Overview_of_HA_Services_for_Diskless_AIX_Nodes
Power8_BE_support
Predict_long_nicname_for_RH7
Proposal_for_docker_Support_in_xCAT
RHEL7_Support
RHEV_support
Rcons_hierachy_support
Redfish_support
Refine_the_usage_of_installnic_and_primarynic_attributes
Release processs automation investigation
Resolving_Nodenames_for_System_p_HW_Ctrl
Run_parallel_commands_for_Ethernet_switches
Run_postbootscripts_after_each_diskful_reboot
SLES12_Support
SLES_11_SP1_SDK_support
Secure root support
Sequential_Discovery
Sequential_Discovery_phase_2
Service_Node_Scenarios_and_Retry_Logic_in_Postscript_Process
Service_node_manual_takeover_on_AIX
Service_node_take_over
Setup_IP_routes_between_the_MN_and_the_CNs
Shared data based xCAT MN HA mini design
Shared data based xCAT MN HA user case
Shared data based xCAT MN HA
Specify_the_disk_partitions_during_diskfull_install
Steps to install xcat_openbmc_py3 on RH8
Support uploading openbmc firmware in parallel
Support_Management_Node_in_the_servicenode_table
Support_for_Redundant_BPAs_and_FSPs
Support_multiple_hardware_control_points
Support_osimage.pkgdir_with_multiple_paths_in_genimage_and_diskfull_installation
Support_postscripts_associated_with_rsync_files_to_be_run_after_rsync_in_xdcp
Support_to_inject_drivers_from_Driver_RPM_Package
Support_xcatd_running_user_defined_sql_scripts_on_start_and_foreign_keys
Supporting_driver_update_disk_for_Linux
Supporting_the_scalable_functions_for_HX5_blade
Switch_Discovery_And_Switch_Management
System_p_Discovery_Enhancements
System_z_hierarchical_tree
Test Design of HA
Test Design of TestCase Label
Test Design of `goconserver` Regression Testing
Test Design of `goconserver` Support
Test Design of configib
Test Design of cumulus osimage
Test Design of cumulus_osimage
Test Design of gonconserver redirect logs
Test Design of hardware control commands regression
Test Design of makegocons option l
Test Design of rbeacon python version
Test Design of rcons based goconserver
Test Design of revenlog python version
Test Design of rflash python version
Test Design of rinv python version
Test Design of rpower python version
Test Design of rsetboot python version
Test Design of rspconfig python version
Test Design of rvitals python version
Test Design of syncfiles
Test Design of xcat inventory diff
Test Design of xcat inventory export import performance
Test Design of xcat inventory option e
Test Design of xcat inventory osimage environment variables export part
Test Design of xcat inventory osimage environment variables
Test Design of xcat inventory osimage phase2
Test Design of xcat inventory osimage support share file directory
Test Design of xcat inventory osimage
Test Design of xcat inventory phase 1
Test Design of xcat inventory regular expression
Test Design of xcat inventory save keys
Test Design of xcat inventory user case
Test Design of xcat terraform provider phase1
Test Report of `goconserver`
Test cases against nodeset error handling
Test_Case_Designs_FVT
The mini design of osimage version control(initial draft)
The mini design of syncfiles for cumulus
The mini design of using xcat inventory templates to setup xCAT cluster with ansible
The_remote_console_support_of_hmc
Trace_Facility_for_xCAT
Ubuntu_supports_internet_repository
Updatenode_Performance_Enhancements
Updatenode_Sync_Service_Nodes_for_install
Updatenode_enhancement_for_security_keys_and_certificates
Updatenode_support_to_run_mypostscript_sections
Updatenode_to_the_Management_Node
Updates_to_xcatsetup_and_Cluster_Config_File
Windows_Multiple_Disks_Partitions_Configuration
Windows_Multiple_Nics_Configuration
Windows_Multiple_Winpes
Windows_Support_to_Run_Postscripts_Postbootscripts_in_Windows_Deployment
Wish_List_for_xCAT_2
Wish_List_for_xCAT_FVT
XCAT 2 Mini Designs for New Features
XCAT_2.10_Release_Notes
XCAT_2.11.1_Release_Notes
XCAT_2.11_ESP_Release_Notes
XCAT_2.11_Release_Notes
XCAT_2.12.1_Release_Notes
XCAT_2.12.2_Release_Notes
XCAT_2.12.3_Release_Notes
XCAT_2.12.4_Release_Notes
XCAT_2.12.5_Release_Notes
XCAT_2.12_Release_Notes
XCAT_2.13.10_Release_Notes
XCAT_2.13.11_Release_Notes
XCAT_2.13.1_Release_Notes
XCAT_2.13.2_Release_Notes
XCAT_2.13.3_Release_Notes
XCAT_2.13.4_Release_Notes
XCAT_2.13.5_Release_Notes
XCAT_2.13.6_Release_Notes
XCAT_2.13.7_Release_Notes
XCAT_2.13.8_Release_Notes
XCAT_2.13.9_Release_Notes
XCAT_2.13_Release_Notes
XCAT_2.14.1_Release_Notes
XCAT_2.14.2_Release_Notes
XCAT_2.14.3_Release_Notes
XCAT_2.14.4_Release_Notes
XCAT_2.14.5_Release_Notes
XCAT_2.14.6_Release_Notes
XCAT_2.14_Release_Notes
XCAT_2.15.1_Release_Notes
XCAT_2.15_Release_Notes
XCAT_2.16.1_Release_Notes
XCAT_2.16.2_Release_Notes
XCAT_2.16.3_Release_Notes
XCAT_2.16.4_Release_Notes
XCAT_2.16.5_Release_Notes
XCAT_2.16_Release_Notes
XCAT_2.17_Release_Notes
XCAT_2.9.2_Release_Notes
XCAT_2.9.2_aix_Release_Notes
XCAT_2.9.3_Release_Notes
XCAT_2.9.4_Release_Notes
XCAT_Cluster_in_SoftLayer
XCAT_HPC_Integration_Files_per_OS,_Architecture,_Product
XCAT_Health_Check
XCAT_IPv6_support_on_AIX
XCAT_IPv6_support_on_Linux
XCAT_Mini Design_Template
XCAT_Monitoring_Failure_Analysis_Conditions_Batched_Events
XCAT_Postscripts_framework_enhancements
XCAT_Provisioning_OS_on_consistent_disk
XCAT_REST_API_enhancements
XCAT_Support_for_Kits_and_Kit_Components
XCAT_probe
XCAT_support_for_multiple_network_domains
Xcatexport_and_xcatimport_commands
Xcatmon_and_appstatus_for_HPC_products
Xeon_Phi_support
cofignetwork_for_RH7
confignetwork integrate confignics_configeth_configib functions usage
determine_install_disk
diskdiscover_and_configraid
docker_instances_lifecycle_management
enhancement_for_rinstall_command
logging pre script to make debug easy
makedhcp_append_statement_automatically_rather_than_get_statement_from_nodeset
mini design of ZTP based onie switch discovery and configuration
minidesign Switch based switch discovery
minidesign_xcatprobe
node status enhancement
ntp_enhancement
openbmc_support
post.xcat_restructure
rflash_streamline_procedure
rscan command for hypervisor
rspconfig network
rspconfig ntpservers
rspconfig password
scaleup_basedon_xcat_in_openshift_cluster
supporting_partitionfile_for_Ubuntu
supporting_persistent_kernel_cmdline_after_diskful_installation
test_sidebar
the mini design of xcat inventory export and import for osimage
use fifo pipe to enhance getadapter
xCAT Build Schedule
xCAT_2.12_ReleaseInformation
xCAT_2.13_ReleaseInformation
xCAT_2.14_ReleaseInformation
xCAT_2.15_ReleaseInformation
xCAT_Docker_Image
xcatprobe_framework
xcatprobe_requests
1
Shared data based xCAT MN HA user case
Yuan Bai edited this page 2018-05-11 15:32:47 +08:00
Table of Contents
The shared data based xCAT MN HA user case
As a xCAT user, I have host1 and host2 with the same shared data directory, I want to configure xCAT management node HA rapidly.
Pre-requirements for User:
host1 host2
Shared data directory
The nic that the virtual ip address attaches to
Virtual IP
Net mask
1. setup 2 xCAT MN nodes
There are 2 scenarios:
Scenario 1 xCAT is not installed on 2 xCAT MN nodes
host1 is installed as xCAT primary MN, host2 is installed as xCAT standby MN
- Install xCAT on xCAT standby MN host2 using VIP/its hostname, details:
- configure VIP and its hostname
- make symbolic link to share data directories
/install -> /HA-data/install /etc/xcat ->/HA-data/etc/xcat /root/.xcat -> /HA-data/root/.xcat /var/lib/pgsql -> /HA-data/var/lib/pgsql /tftpboot -> /HA-data/tftpboot
- install xCAT
- Switch DB to required type as needed
- Deactivate xCAT standby MN host2 ---> details refer to section 1 in "failover scenario 1"
- Install host1 as active xcat primary MN using VIP and its hostname, details steps:
- configure VIP and its hostname
- make symbolic link to share data directories
/install -> /HA-data/install /etc/xcat ->/HA-data/etc/xcat /root/.xcat -> /HA-data/root/.xcat /var/lib/pgsql -> /HA-data/var/lib/pgsql /tftpboot -> /HA-data/tftpboot
- install xCAT
Scenario 2 user uses host1 as xCAT MN, he wants to add another new node host2 as xCAT standby MN node
- The original xCAT MN host1 ip becomes virtual IP, user should add another new IP for host1,
- User should deactivate xCAT MN host1, deactivte virtual ip and its hostname
- User installs host2 as a xCAT standby MN using VIP and its hostname, then deactivate xCAT standby MN host2
- User activate host1 as xCAT primary MN
- Configure all related service stop from starting on reboot on both 2 nodes
2. Different failover scenarios:
failover scenario 1
when active xCAT MN host1 is broken and we can access to its OS
- I use deactivate-xcatmn to make host1 as non-active xcat MN node
- make sure all related services as followings are down, make sure all related services are configured stop from starting on reboot
- console service
- DHCP service
- named service
- xcatd
- database (mysql/postgresql/sqlite type)
- umount/un-link shared data directories on host1
- change hostname if needed
- remove virtual IP
- make sure all related services as followings are down, make sure all related services are configured stop from starting on reboot
- I use activate-xcatmn to configure host2 as active xcat MN node
- make sure virtual ip is not used (ping), or else, exit
- add virtual ip into its nic
- set hostname to virtual ip hostname
- check if current DB type is matched, if not, exit and clean up env
- make symbolic link to share data directories, for example:
/install -> /HA-data/install /etc/xcat ->/HA-data/etc/xcat /root/.xcat -> /HA-data/root/.xcat /var/lib/pgsql -> /HA-data/var/lib/pgsql /tftpboot -> /HA-data/tftpboot
- start/re-configure all related services as followings:
- database (mysql/postgresql/sqlite type)
- xcatd
- named service (makedns -n)
- DHCP service (makedhcp -n, makedhcp -a)
- Console Server
- ... ...
failover scenario 2
when active xCAT MN host1 is broken and we cannot access to its OS, restart this xCAT MN node host1, after it reboots:
-
if we can access to its OS
- do the same with failover scenario 1
-
if we cannot access to host1 OS, un-plugin its network cable.
- use activate-xcatmn to configure host2 as active xcat MN node, the same as section 2 in failover scenario 1
- Recommend to fix host1 OS or hardware.
News
- Apr 22, 2016: xCAT 2.11.1 released.
- Mar 11, 2016: xCAT 2.9.3 (AIX only) released.
- Dec 11, 2015: xCAT 2.11 released.
- Nov 11, 2015: xCAT 2.9.2 (AIX only) released.
- Jul 30, 2015: xCAT 2.10 released.
- Jul 30, 2015: xCAT migrates from sourceforge to github
- Jun 26, 2015: xCAT 2.7.9 released.
- Mar 20, 2015: xCAT 2.9.1 released.
- Dec 12, 2014: xCAT 2.9 released.
- Sep 5, 2014: xCAT 2.8.5 released.
- May 23, 2014: xCAT 2.8.4 released.
- Jan 24, 2014: xCAT 2.7.8 released.
- Nov 15, 2013: xCAT 2.8.3 released.
- Jun 26, 2013: xCAT 2.8.2 released.
- May 17, 2013: xCAT 2.7.7 released.
- May 10, 2013: xCAT 2.8.1 released.
- Feb 28, 2013: xCAT 2.8 released.
- Nov 30, 2012: xCAT 2.7.6 released.
- Oct 29, 2012: xCAT 2.7.5 released.
- Aug 27, 2012: xCAT 2.7.4 released.
- Jun 22, 2012: xCAT 2.7.3 released.
- May 25, 2012: xCAT 2.7.2 released.
- Apr 20, 2012: xCAT 2.7.1 released.
- Mar 19, 2012: xCAT 2.7 released.
- Mar 15, 2012: xCAT 2.6.11 released.
- Jan 23, 2012: xCAT 2.6.10 released.
- Nov 15, 2011: xCAT 2.6.9 released.
- Sep 30, 2011: xCAT 2.6.8 released.
- Aug 26, 2011: xCAT 2.6.6 released.
- May 20, 2011: xCAT 2.6 released.
- Feb 14, 2011: Watson plays on Jeopardy and is managed by xCAT!
- xCAT Release Notes Summary
- xCAT OS And Hw Support Matrix
- xCAT Test Environment Summary
History
- Oct 22, 2010: xCAT 2.5 released.
- Apr 30, 2010: xCAT 2.4 is released.
- Oct 31, 2009: xCAT 2.3 released.
xCAT's 10 year anniversary! - Apr 16, 2009: xCAT 2.2 released.
- Oct 31, 2008: xCAT 2.1 released.
- Sep 12, 2008: Support for xCAT 2
can now be purchased! - June 9, 2008: xCAT breaths life into
(at the time) the fastest
supercomputer on the planet - May 30, 2008: xCAT 2.0 for Linux
officially released! - Oct 31, 2007: IBM open sources
xCAT 2.0 to allow collaboration
among all of the xCAT users. - Oct 31, 1999: xCAT 1.0 is born!
xCAT started out as a project in
IBM developed by Egan Ford. It
was quickly adopted by customers
and IBM manufacturing sites to
rapidly deploy clusters.