- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: HPE servieguard multi_node package not in sync...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2017 06:02 AM
03-14-2017 06:02 AM
Hello,
I have installed HPE serviceguard with a multinode package. the package are running succesfully on both nodes and are mounted.
Now when I create any files on either of the node it's not reflecting on other node, basically it's not syncing I belive.
OS=RHEL7.2
SG Version = 12.00.50
vgcreated in shared mode and mentioned as "vgchange -as" in package configuration file.
filesystem used is xfs
Any help how to fix this
Thanks,
Syed
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2017 07:32 PM
03-14-2017 07:32 PM
Re: HPE servieguard multi_node package not in sync mode on both node
Service Guard doesn't sync data between nodes. Unless you use a clustered filesystem (not xfs), only one node can read/write data to the portable volume. The other node can see the shared data by moving the package (stop and restart). Additional information about how you have configured your storage between the nodes and where you are writing your file would be useful.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2017 12:43 AM
03-15-2017 12:43 AM
Re: HPE servieguard multi_node package not in sync mode on both node
Hi Bill,
Thanks for your reply. As you said the other node can see the sahred data by stop & restart.
SO to test this I created few files on each node respectively but the data was not updation on other node. I tried stopping & restarting the package. Once the package restarted I can see both nodes sync in data and both nodes can see same files.
Now my question here as you said xfs is not cluster file system agree but HPE serviceguard doesn't support GFS2 which is RHEL cluster fs and vxfs is not supported by RHEL. So what fs I should create which is supported on multi_node in RHEL7.
I have 2 nodes with RHEL7.2 OS in VMware Virtual machine. Mapped 1 raw partition disk of 50GB to both the nodes. Created 1 packagae of 10GB with failover type and it works normal.
created 2nd package of 20GB from the same disk as multi_node package.
Below is the cmviewcl -v o/p :
[root@skvlinuxhpsgtest2 testpkg2]# cmviewcl -v
CLUSTER STATUS
HPSG_cluster up
NODE STATUS STATE
skvlinuxhpsgtest1 up running
Cluster_Lock_LUN:
DEVICE STATUS
/dev/sdb up
Network_Parameters:
INTERFACE STATUS NAME
PRIMARY up eno33555456
PRIMARY up eno16784128
NODE STATUS STATE
skvlinuxhpsgtest2 up running
Cluster_Lock_LUN:
DEVICE STATUS
/dev/sdb up
Network_Parameters:
INTERFACE STATUS NAME
PRIMARY up eno16784128
PRIMARY up eno33555456
PACKAGE STATUS STATE AUTO_RUN NODE
pkg1 up running enabled skvlinuxhpsgtest2
Policy_Parameters:
POLICY_NAME CONFIGURED_VALUE
Failover configured_node
Failback manual
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled skvlinuxhpsgtest1
Alternate up enabled skvlinuxhpsgtest2 (current)
Other_Attributes:
ATTRIBUTE_NAME ATTRIBUTE_VALUE
Style modular
Priority no_priority
MULTI_NODE_PACKAGES
PACKAGE STATUS STATE AUTO_RUN SYSTEM
pkg2 up running enabled no
NODE_NAME STATUS STATE SWITCHING
skvlinuxhpsgtest1 up running enabled
NODE_NAME STATUS STATE SWITCHING
skvlinuxhpsgtest2 up running enabled
Other_Attributes:
ATTRIBUTE_NAME ATTRIBUTE_VALUE
Style modular
Priority no_priority
Thanks,
Syed
Syed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2017 09:08 AM
03-15-2017 09:08 AM
Re: HPE servieguard multi_node package not in sync mode on both node
Syed,
I think you have answered your own question here. You cannot do this in a supported manner with Serviceguard for Linux due to the file system types that are supported. There is no cluster filesystem that is supported today with Serviceguard for Linux. If this is something you really need it would be a good use case to bring up through your sales channel to try to get some attention on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2017 10:22 AM
03-15-2017 10:22 AM
Re: HPE servieguard multi_node package not in sync mode on both node
The mountpoint where you stored the new files is only available on one node. There is NO sync involved. The other node cannot see the mountpoint at all unless you've something to force-mount the package volumes on the other node. The new files are stored on the shared storage but only one node can see that location. Move the package to node2 and now you'll see the new files. Move it back to node1 and you'll see the files.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2017 01:38 AM - edited 03-16-2017 02:49 AM
03-16-2017 01:38 AM - edited 03-16-2017 02:49 AM
Re: HPE servieguard multi_node package not in sync mode on both node
Thanks Mike for the reply,
The reason I am wondering is when HPE serviceguard says multi_node features availaible so it must be some way configurable also. I think I am just missing the point where it says the file system requuired for multi_node. Even the HPE documents don't say anything about file system specific to multi_node.
Hi Bill,
As per last post I have posted cmviewcl -v o/p You can see there, pkg2 is mounted on both the nodes same time and both nodes can write or create new file in same dir /testpkg2 at sametime but can't see the files created on other node unless package restart.. once the package restart both nodes can see the files created by other node.
Thanks
Syed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2017 09:20 AM
03-16-2017 09:20 AM
Solutionpage 224
section 6.1.4.54 fs_type
Table 11 - the supported filesystem types are ext3 ext4 XFS Btrfs abd VxFS
None of these are cluster filesystem types and the same filesystem types are supported for both regular failover packages and multi-node packages. There are use cases for multi-node type packages that do not require filesystems as part of those packages so you can use them for that, but simply putting a non-clustered filesystem type in a multi-node package and trying to use it this way will not work because Serviceguard does not do anything special to the filesystem. The kernel still handles the IO and metadata upadating etc. If the filesystem is not a type that is explicitly supported for simultaneous read-write access across multiple servers then there is nothing Serviceguard will do to enable this. You will end up with filesystem corruption just as surely as you would if you manually mounted one of these filesystems on multiple nodes from the command line and proceeded to start doing simultaneous read-write activity from multiple nodes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2017 01:54 AM
03-20-2017 01:54 AM
Re: HPE servieguard multi_node package not in sync mode on both node
Thnak you Mike for your feedback... Agree with you we can use multi_node package in rhel only in the scenario where fs is not used and we are using RAW disk.
Thanks,
Syed