[Linux-HA] Migrate one resource from one node to another
Andrew Beekhof
beekhof at gmail.com
Wed Oct 18 01:34:45 MDT 2006
On 10/17/06, miguel velasco <miguel.suscripcion at gmail.com> wrote:
> Hello list,
>
> I´d like to know if there is any way to migrate just some resources
> (not all) from one node to another when I provoke it.
I dont think so when you're using a haresources-style cluster.
With a v2, CIB-based cluster you can.
> For example I have the next configuration:
> [root at c-123 ha.d]# more ha.cf
> logfile /var/log/linux-ha.log
> node c-123 c-229
> keepalive 2
> deadtime 30
> ucast eth0 10.64.110.32
> ping 10.64.110.254
> auto_failback no
> respawn hacluster /usr/lib/heartbeat/ipfail
>
> [root at c-123 ha.d]# more haresources
> c-123 IPaddr::10.64.110.70/24/eth0 IEL
> c-123 monitorip::10.64.110.70/24/eth0
> c-123 IPaddr::10.64.110.63/24/eth0 ULTRASEEK
> c-123 monitorip::10.64.110.63/24/eth0
> c-123 IPaddr::10.64.110.71/24/eth0 CMC
> c-123 monitorip::10.64.110.71/24/eth0
> c-123 IPaddr::10.64.110.64/24/eth0 GAC
> c-123 monitorip::10.64.110.64/24/eth0
> c-123 IPaddr::10.64.110.87/24/eth0 tws
> c-123 monitorip::10.64.110.87/24/eth0
>
> [root at c-123 resource.d]# ls -l
> total 236
> -rwxr-xr-x 1 root root 8475 Sep 28 2005 apache
> -rwxr-xr-x 1 root root 2339 Sep 28 2005 AudibleAlarm
> -rwxr-xr-x 1 root root 767 Jul 3 08:37 CMC
> -rwxr-xr-x 1 root root 5664 Sep 28 2005 db2
> -rwxr-xr-x 1 root root 1481 Sep 28 2005 Delay
> -rwxr-xr-x 1 root root 7385 Sep 28 2005 Filesystem
> -rwxr-xr-x 1 root root 704 Feb 7 2006 GAC
> -rwxr-xr-x 1 root root 3112 Sep 28 2005 hto-mapfuncs
> -rwxr-xr-x 1 root root 4112 Sep 28 2005 ICP
> -rwxr-xr-x 1 root root 767 Oct 11 2005 IEL
> -rwxr-xr-x 1 root root 27471 Sep 28 2005 IPaddr
> -rwxr-xr-x 1 root root 8416 Sep 28 2005 IPaddr2
> -rwxr-xr-x 1 root root 5258 Sep 28 2005 IPsrcaddr
> -rwxr-xr-x 1 root root 30528 Sep 28 2005 IPv6addr
> lrwxrwxrwx 1 root root 20 Oct 11 2005 ldirectord ->
> /usr/sbin/ldirectord
> -rwxr-xr-x 1 root root 5523 Sep 28 2005 LinuxSCSI
> -rwxr-xr-x 1 root root 4684 Sep 28 2005 LVM
> -rwxr-xr-x 1 root root 4131 Sep 28 2005 LVSSyncDaemonSwap
> -rwxr-xr-x 1 root root 1942 Sep 28 2005 MailTo
> -r-xr----- 1 root root 56 Jul 4 09:58 monitorip
> -r-xr----- 1 root root 1524 Jul 18 14:41 monitorip.sh
> -rwxr-xr-x 1 root root 2919 Sep 28 2005 OCF
> -rwxr-xr-x 1 root root 4291 Sep 28 2005 portblock
> -rwxr-xr-x 1 root root 6898 Sep 28 2005 Raid1
> -rwxr-xr-x 1 root root 3460 Sep 28 2005 SendArp
> -rwxr-xr-x 1 root root 8845 Sep 28 2005 ServeRAID
> lrwxrwxrwx 1 root root 15 Jul 26 14:18 tws -> /etc/init.d/tws
> -rwxr-xr-x 1 root root 787 Jan 13 2006 ULTRASEEK
> -rwxr-xr-x 1 root root 9582 Sep 28 2005 WAS
> -rwxr-xr-x 1 root root 1997 Sep 28 2005 WinPopup
> -rwxr-xr-x 1 root root 2672 Sep 28 2005 Xinetd
>
> Could be possible just migrate IEL service fron one node to another?
>
> Thanks all for ur help!
> --
> MIGUEL
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
More information about the Linux-HA
mailing list