Re: [CentOS] centos-release-gluster8 for centos 7
Thanks for that information. On https://buildlogs.centos.org/centos/7/storage/x86_64/gluster-8/ one can find at least rpms for gluster 8, 8.1, 8.2, and 8.3. And in the community build service one can find a centos-release-gluster8 and glusterfs-8.3-1.el7 entries with state complete. So I guess it is already build as far as I understand. Best Regards Nicolas On Mo. 18.01.2021 20:20 Uhr, Strahil Nikolov via CentOS wrote: Last time I asked, there was no reply - which means that most probably v8 is not yet build for C7 Best Regards, Strahil Nikolov В понеделник, 18 януари 2021 г., 15:04:12 Гринуич+2, Nicolas Zuber написа: Hi all, We have some Centos 7 server running with gluster 7 installed. We are using the the packages provided by the storage SIG (centos-release-gluster7). "Yum search centos-release-gluster" shows centos-release-gluster7 as the latest gluster version provided. But according to https://wiki.centos.org/SpecialInterestGroup/Storage there should be already packages for the gluster 8 release available. So I am wondering what I can do to be able to install glusterfs 8 from the storage SIG. Thanks, Nicolas ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] centos-release-gluster8 for centos 7
Last time I asked, there was no reply - which means that most probably v8 is not yet build for C7 Best Regards, Strahil Nikolov В понеделник, 18 януари 2021 г., 15:04:12 Гринуич+2, Nicolas Zuber написа: Hi all, We have some Centos 7 server running with gluster 7 installed. We are using the the packages provided by the storage SIG (centos-release-gluster7). "Yum search centos-release-gluster" shows centos-release-gluster7 as the latest gluster version provided. But according to https://wiki.centos.org/SpecialInterestGroup/Storage there should be already packages for the gluster 8 release available. So I am wondering what I can do to be able to install glusterfs 8 from the storage SIG. Thanks, Nicolas ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] Samba setup
I'm following https://www.linuxbabe.com/redhat/set-up-samba-server-on-centos-8-rhel-8-for-file-sharing to set up Samba 4.12.3-12 on my Storinator fileserver running CentOS 8.3. I am trying to share out /tank/Windows/ as a Samba share: # ls -al /tank total 61 drwxr-xr-x. 6 root root 7 Dec 26 10:43 Backups drwxr-xr-x. 6 root root 6 Dec 4 22:47 Repos drwxrwxrwx. 2 doc doc 4 Dec 28 14:01 VMs drwxrwxrwx. 2 root root 2 Jan 17 17:04 Windows My /etc/samba/smb.conf file is set up as follows: # testparm Load smb config files from /etc/samba/smb.conf Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions # Global parameters [global] printcap name = cups security = USER idmap config * : backend = tdb cups options = raw hosts allow = 192.168.0 ... [public] comment = public share, no need to enter username and password guest ok = Yes path = /tank/Windows read only = No When I try to map network drive from my Windows 10 PC using the graphical File Explorer, it asks me for my username and password. It doesn't accept my password. When I try to map it at the CMD cli, I get: C:\> net use S: \\192.168.1.20\public\ System error 67 has occurred. The network name cannot be found. Could this be a network browsing problem in Samba? What have I missed? --Doc Savage Fairview Heights, IL ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to do virtual IP on NetworkManager
On Mon, 18 Jan 2021 at 12:51, Simon Matter wrote: > > On Mon, Jan 18, 2021 at 2:56 PM Jerry Geis wrote: > > > >> Hi All, > >> > >> I use virtual IP from time to time on CentOS 7. just take something like > >> eth0 and make eth0:1 put in there the IP and subnet and bring up the new > >> IP > >> and it works. > >> > >> How do I do that with NetworkManager on the command line (assuming all > >> static IP information) > >> I do something like this from nmcli to set the static address: > >> nmcli connection modify eth0 ipv4.method manual ipv6.method ignore > >> autoconnect yes ipv4.addr 192.168.1.8/24 gw4 192.168.1.1 ipv4.dns > >> 8.8.8.8 > >> > >> How then do I add a virtual IP? > >> > >> Thanks > >> > >> Jerry > > > > > > With nmcli you should use: > > nmcli con mod eth0 +ipv4.addresses 192.168.1.X/24 > > > > This would modify your existing ifcfg-eth0 adding the lines: > > > > IPADDR1=192.168.1.X > > PREFIX1=24 > > > > To have the new setting applied and your new ip alias up and running you > > can then use > > > > nmcli dev reapply eth0 > > (supposing the device name bound to the connection is eth0) > > > > You can also manually modify the file adding the two lines above and then > > run: > > nmcli con reload > > nmcli dev reapply eth0 > > > > I think you should not lose your connection, but always test on a non > > production machine with the same os version... just for safety > > HIH, > > Gianluca > > Hi Gianluca, > > Am I right that what you describe doesn't add an alias device like eth0:1 > but adds the additional IP address to the eth0 device? > > Apart from that, when running with NetworkManager, can one still add a > temporary eth0:1 alias (with ifconfig/ip), use it and remove it again, or > does NM somehow prevent this? > > There are several issues which get in the way, but the major one is with the iproute command replacing net-tools (versus NetworkManager) https://unix.stackexchange.com/questions/192908/how-do-you-create-an-ip-alias-using-iproute-utils https://unix.stackexchange.com/questions/87829/difference-between-virtual-interfaces-with-ifconfig-and-iproute2 [The major issues I run into is that ethX is considered a kernel only interface and may not always point to the same interface depending on the day of the week.. that gets added onto how iproute wants to do 'aliases' versus proper port configs and then NetworkManager sits on top and get the blame :)] > Regards, > Simon > > ___ > CentOS mailing list > CentOS@centos.org > https://lists.centos.org/mailman/listinfo/centos > -- Stephen J Smoogen. ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to do virtual IP on NetworkManager
On Mon, Jan 18, 2021 at 6:51 PM Simon Matter wrote: > > Hi Gianluca, > > Am I right that what you describe doesn't add an alias device like eth0:1 > but adds the additional IP address to the eth0 device? > Yes, in fact after adding it I see this kind of thing (with my ip test addressing on eth1): # ip a . . . 3: eth1: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 52:54:00:61:73:d4 brd ff:ff:ff:ff:ff:ff inet 192.168.124.102/24 brd 192.168.124.255 scope global noprefixroute eth1 valid_lft forever preferred_lft forever inet 192.168.124.152/24 brd 192.168.124.255 scope global secondary noprefixroute eth1 valid_lft forever preferred_lft forever > Apart from that, when running with NetworkManager, can one still add a > temporary eth0:1 alias (with ifconfig/ip), use it and remove it again, or > does NM somehow prevent this? > > Regards, > Simon > > > I think it is not managed by NM. I didn't find anything in its documentation Probably to have it configured you need to setup the desired interfaces/connections using NM_CONTROLLED=no in its configuration and use the classic network service Also because the eth0:1 ip aliasing way is deprecated https://www.kernel.org/doc/html/latest/networking/alias.html and perhaps NM uses only iproute2... Gianluca ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to do virtual IP on NetworkManager
> On Mon, Jan 18, 2021 at 2:56 PM Jerry Geis wrote: > >> Hi All, >> >> I use virtual IP from time to time on CentOS 7. just take something like >> eth0 and make eth0:1 put in there the IP and subnet and bring up the new >> IP >> and it works. >> >> How do I do that with NetworkManager on the command line (assuming all >> static IP information) >> I do something like this from nmcli to set the static address: >> nmcli connection modify eth0 ipv4.method manual ipv6.method ignore >> autoconnect yes ipv4.addr 192.168.1.8/24 gw4 192.168.1.1 ipv4.dns >> 8.8.8.8 >> >> How then do I add a virtual IP? >> >> Thanks >> >> Jerry > > > With nmcli you should use: > nmcli con mod eth0 +ipv4.addresses 192.168.1.X/24 > > This would modify your existing ifcfg-eth0 adding the lines: > > IPADDR1=192.168.1.X > PREFIX1=24 > > To have the new setting applied and your new ip alias up and running you > can then use > > nmcli dev reapply eth0 > (supposing the device name bound to the connection is eth0) > > You can also manually modify the file adding the two lines above and then > run: > nmcli con reload > nmcli dev reapply eth0 > > I think you should not lose your connection, but always test on a non > production machine with the same os version... just for safety > HIH, > Gianluca Hi Gianluca, Am I right that what you describe doesn't add an alias device like eth0:1 but adds the additional IP address to the eth0 device? Apart from that, when running with NetworkManager, can one still add a temporary eth0:1 alias (with ifconfig/ip), use it and remove it again, or does NM somehow prevent this? Regards, Simon ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to do virtual IP on NetworkManager
On Mon, Jan 18, 2021 at 2:56 PM Jerry Geis wrote: > Hi All, > > I use virtual IP from time to time on CentOS 7. just take something like > eth0 and make eth0:1 put in there the IP and subnet and bring up the new IP > and it works. > > How do I do that with NetworkManager on the command line (assuming all > static IP information) > I do something like this from nmcli to set the static address: > nmcli connection modify eth0 ipv4.method manual ipv6.method ignore > autoconnect yes ipv4.addr 192.168.1.8/24 gw4 192.168.1.1 ipv4.dns 8.8.8.8 > > How then do I add a virtual IP? > > Thanks > > Jerry With nmcli you should use: nmcli con mod eth0 +ipv4.addresses 192.168.1.X/24 This would modify your existing ifcfg-eth0 adding the lines: IPADDR1=192.168.1.X PREFIX1=24 To have the new setting applied and your new ip alias up and running you can then use nmcli dev reapply eth0 (supposing the device name bound to the connection is eth0) You can also manually modify the file adding the two lines above and then run: nmcli con reload nmcli dev reapply eth0 I think you should not lose your connection, but always test on a non production machine with the same os version... just for safety HIH, Gianluca ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] How to do virtual IP on NetworkManager
Hi All, I use virtual IP from time to time on CentOS 7. just take something like eth0 and make eth0:1 put in there the IP and subnet and bring up the new IP and it works. How do I do that with NetworkManager on the command line (assuming all static IP information) I do something like this from nmcli to set the static address: nmcli connection modify eth0 ipv4.method manual ipv6.method ignore autoconnect yes ipv4.addr 192.168.1.8/24 gw4 192.168.1.1 ipv4.dns 8.8.8.8 How then do I add a virtual IP? Thanks Jerry ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] centos-release-gluster8 for centos 7
Hi all, We have some Centos 7 server running with gluster 7 installed. We are using the the packages provided by the storage SIG (centos-release-gluster7). "Yum search centos-release-gluster" shows centos-release-gluster7 as the latest gluster version provided. But according to https://wiki.centos.org/SpecialInterestGroup/Storage there should be already packages for the gluster 8 release available. So I am wondering what I can do to be able to install glusterfs 8 from the storage SIG. Thanks, Nicolas ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos