Displaying 2 results from an estimated 2 matches for "new_ip".
Did you mean:
new_eip
2008 Mar 30
3
Bignums, integers and migrations
...only very low IP-ranges "make it thru".
Integer-based IPs seem to be capped around 2150000000.
def self.up
require ''ipaddr''
@ips = GeoIpDatabase.find(:all)
@ips.each do |ip|
start_ip = IPAddr.new(ip.start_ip)
end_ip = IPAddr.new(ip.end_ip)
new_ip = Ip.new( :start_ip => start_ip.to_s, :end_ip =>
end_ip.to_s, :start_ip_integer => start_ip.to_i, :end_ip_integer =>
end_ip.to_i )
new_ip.save
end
end
I''m using MySQL, with the integer-columns migrated as, yes, integers ;)
Anyone know of a workaround?
Thanks!
--...
2012 Jun 22
1
Renew IP address node came online again - Amazon EC2
Hi,
I was looking for why one of the nodes could not mount OCFS again, then I found this path:
/sys/kernel/config/cluster/r0/node/
Which I have folders related to my servers, then I noticed that node1 (which is working with OCFS2) did not update node2 IP address.
The file I am talking about is:
/sys/kernel/config/cluster/r0/node/raid2/ipv4_address
Example:
root at