Re: [CentOS] Resize a VM: any risk involved ?

2021-04-11 Thread Antonio da Silva Martins Junior
Em sáb., 10 de abr. de 2021 às 05:25, Simon Matter 
escreveu:

> > Hi,
> >
> > Wow... I didn't know about "growpart" :)
> >
> >  I do, however, on XenServer (now XCP-NG) almost the same thing for
> > ages:
> >
> >  - shutdown the VM
>
> I thought we're talking about doing it online, which is quite a different
> thing because rereading partition layouts isn't always working as expected
> without a reboot.
>
>
Well, from this part of the text, I had presumed the machine was down:

"Here's how I expand the available disk size.

First I increase the virtual disk in the hypervisor.

Then I fire up the VM and do the following:"

What I do can be made with the machine online, but partprobe many times
refuses to find the new size of the partitions, then, I just programe this
on my maintenance window and shut all down. Made all the changes and
upgrades necessary at once.

 Att.,

Antonio.




> Regards,
> Simon
>
> >  - increase disk size on XCenter
> >  - boot VM on maintenance mode (with DVD boot)
> >  - do fdisk /dev/xvda, remove the desired partition (in your case 3),
> > and recreate it with the same initial block and occupying the rest of the
> > disk.
> >  - make what's is need to use the new space on the partition, in my
> > case it's a LVM partition used as a PVE block. Than pvresize, vgextend,
> > etc...
> >
> >  Until now, no problems...
> >
> >  Att.,
> >
> > Antonio.
> >
> >
> >
> >
> > Em qui., 8 de abr. de 2021 às 12:44, Nicolas Kovacs 
> > escreveu:
> >
> >> Hi,
> >>
> >> I'm currently fiddling with KVM, Proxmox and various VMs.
> >>
> >> I setup a very basic VM with a manual (fdisk) partitioning scheme: one
> >> /boot
> >> partition, one swap partition, and one root partition, the latter being
> >> the
> >> last partition and thus expandable).
> >>
> >> I'm starting with a reduced disk size (6 GB in total) and a minimal
> >> installation. The idea behind this approach is that I can clone this
> >> minimal VM
> >> and then eventually expand it to fit my needs.
> >>
> >> Here's how I expand the available disk size.
> >>
> >> First I increase the virtual disk in the hypervisor.
> >>
> >> Then I fire up the VM and do the following:
> >>
> >> # yum install cloud-utils-growpart
> >> # lsblk
> >> # growpart -v /dev/sda 3
> >> # resize2fs /dev/sda3
> >>
> >> Now here's my question (finally): is there any risk involved in this
> >> sort
> >> of
> >> operation? Or can it be performed on a production system without having
> >> to
> >> worry about data loss?
> >>
> >> Cheers from the sunny South of France,
> >>
> >> Niki
> >>
> >> --
> >> Microlinux - Solutions informatiques durables
> >> 7, place de l'église - 30730 Montpezat
> >> Site : https://www.microlinux.fr
> >> Blog : https://blog.microlinux.fr
> >> Mail : i...@microlinux.fr
> >> Tél. : 04 66 63 10 32
> >> Mob. : 06 51 80 12 12
> >> ___
> >> CentOS mailing list
> >> CentOS@centos.org
> >> https://lists.centos.org/mailman/listinfo/centos
> >>
> >
> >
> > --
> > *Antonio da Silva Martins Jr. *
> > *Analista de Suporte*
> > NPD - Núcleo de Processamento de Dados
> > UEM - Universidade Estadual de Maringá
> > email: *asmart...@uem.br* 
> > fone: +55 (44) 3011-4015 / 3011-4411
> > inoc-dba: 263076*100
> >
> > "Real Programmers don’t need comments — the code is obvious."
> > ___
> > 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
>


-- 
*Antonio da Silva Martins Jr. *
*Analista de Suporte*
NPD - Núcleo de Processamento de Dados
UEM - Universidade Estadual de Maringá
email: *asmart...@uem.br* 
fone: +55 (44) 3011-4015 / 3011-4411
inoc-dba: 263076*100

"Real Programmers don’t need comments — the code is obvious."
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Resize a VM: any risk involved ?

2021-04-09 Thread Antonio da Silva Martins Junior
Hi,

Wow... I didn't know about "growpart" :)

 I do, however, on XenServer (now XCP-NG) almost the same thing for
ages:

 - shutdown the VM
 - increase disk size on XCenter
 - boot VM on maintenance mode (with DVD boot)
 - do fdisk /dev/xvda, remove the desired partition (in your case 3),
and recreate it with the same initial block and occupying the rest of the
disk.
 - make what's is need to use the new space on the partition, in my
case it's a LVM partition used as a PVE block. Than pvresize, vgextend,
etc...

 Until now, no problems...

 Att.,

Antonio.




Em qui., 8 de abr. de 2021 às 12:44, Nicolas Kovacs 
escreveu:

> Hi,
>
> I'm currently fiddling with KVM, Proxmox and various VMs.
>
> I setup a very basic VM with a manual (fdisk) partitioning scheme: one
> /boot
> partition, one swap partition, and one root partition, the latter being the
> last partition and thus expandable).
>
> I'm starting with a reduced disk size (6 GB in total) and a minimal
> installation. The idea behind this approach is that I can clone this
> minimal VM
> and then eventually expand it to fit my needs.
>
> Here's how I expand the available disk size.
>
> First I increase the virtual disk in the hypervisor.
>
> Then I fire up the VM and do the following:
>
> # yum install cloud-utils-growpart
> # lsblk
> # growpart -v /dev/sda 3
> # resize2fs /dev/sda3
>
> Now here's my question (finally): is there any risk involved in this sort
> of
> operation? Or can it be performed on a production system without having to
> worry about data loss?
>
> Cheers from the sunny South of France,
>
> Niki
>
> --
> Microlinux - Solutions informatiques durables
> 7, place de l'église - 30730 Montpezat
> Site : https://www.microlinux.fr
> Blog : https://blog.microlinux.fr
> Mail : i...@microlinux.fr
> Tél. : 04 66 63 10 32
> Mob. : 06 51 80 12 12
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
*Antonio da Silva Martins Jr. *
*Analista de Suporte*
NPD - Núcleo de Processamento de Dados
UEM - Universidade Estadual de Maringá
email: *asmart...@uem.br* 
fone: +55 (44) 3011-4015 / 3011-4411
inoc-dba: 263076*100

"Real Programmers don’t need comments — the code is obvious."
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] HPE ProLiant - support Linux Vendor Firmware Service ?

2019-07-01 Thread Antonio da Silva Martins Junior
Hi,

We had some DL380-Gen10 on production, firmware updates are made via iLO!
Then boot after it is done, on Dell (with OMSA) we can update from linux
and boot after, same thing on my point of view.

  Att.,

   Antonio.

Em seg, 1 de jul de 2019 às 14:12, lejeczek via CentOS 
escreveu:

> hi guys
>
> does anybody here runs on HPE ProLiant?
> I was hoping you can tell whether HPE support Linux Vendor
> Firmware Service and you actually get to upgrade ProLiants'
> BIOS/firmware via fwupdmgr?
>
> many thanks, L.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
*Antonio da Silva Martins Jr. *
*Analista de Suporte*
NPD - Núcleo de Processamento de Dados
UEM - Universidade Estadual de Maringá
email: *asmart...@uem.br* 
fone: +55 (44) 3011-4015 / 3011-4411
inoc-dba: 263076*100

"Real Programmers don’t need comments — the code is obvious."
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OpenShift Origin Install

2018-02-20 Thread Antonio da Silva Martins Junior
Hi Fran,

 Thanks for your help! Now it's almost working :)

 The biggest problem we are encountering is the lack of concise
documentation. What we find diverges in key points, and often does not work
in the latest version which is the one we are using.

 Thanks,

Antonio.

2018-02-17 18:43 GMT-02:00 Fran Garcia <franchu.gar...@gmail.com>:

> On 15 February 2018 at 12:31, Antonio da Silva Martins Junior
> <asmart...@uem.br> wrote:
> > Hi,
> >
> > I'm trying to install OpenShift Origin on a CentOS 7 host (just for
> > initial testing), and I'm trying to follow the instructions from here:
> > https://wiki.centos.org/SpecialInterestGroup/PaaS/OpenShift-Quickstart
> >
> > On that page we need to run: "atomic-openshift-installer install" to
> > configure OpenShift... after run the script it throws this errors:
>
>
> hi Antonio,
>
> I believe you're facing the problems because OCP 3.7 was released and
> that page notes that only up to 3.6 that bit works.
>
> Based on the page you mention I was able to get ocp up and running as
> follows :
>
> yum install centos-release-openshift-origin
> yum install wget git net-tools bind-utils iptables-services
> bridge-utils bash-completion origin-clients
> yum install -y docker
> vim /etc/sysconfig/docker
> yum install -y vim nano
> vim /etc/sysconfig/docker
> systemctl enable --now docker
> systemctl status docker
> yum install origin
> openshift -h
> openshift start &
>
>
> WebUI is available on https://yourserver:8443  (admin/admin)
>
> HTH
>
> Fran
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
*Antonio da Silva Martins Jr. *
*Analista de Suporte*
NPD - Núcleo de Processamento de Dados
UEM - Universidade Estadual de Maringá
email: *asmart...@uem.br* <asmart...@uem.br> / asmartins@gmail.com
fone: +55 (44) 3011-4015 / 3011-4411
inoc-dba: 263076*100

"Real Programmers don’t need comments — the code is obvious."
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] OpenShift Origin Install

2018-02-15 Thread Antonio da Silva Martins Junior
Hi,

I'm trying to install OpenShift Origin on a CentOS 7 host (just for
initial testing), and I'm trying to follow the instructions from here:
https://wiki.centos.org/SpecialInterestGroup/PaaS/OpenShift-Quickstart

On that page we need to run: "atomic-openshift-installer install" to
configure OpenShift... after run the script it throws this errors:

Failure summary:


  1. Hosts:c7-oc-master
 Play: OpenShift Health Checks
 Task: Run health checks (install) - EL
 Message:  One or more checks failed
 Details:  check "docker_image_availability":
   One or more required container images are not available:
   openshift3/ose-deployer:v3.7.0,
   openshift3/ose-docker-registry:v3.7.0,
   openshift3/ose-haproxy-router:v3.7.0,
   openshift3/ose-pod:v3.7.0,
   openshift3/registry-console:v3.7
   Checked with: skopeo inspect [--tls-verify=false]
[--creds=:] docker:///
   Default registries searched: registry.access.redhat.com


   check "package_availability":
   Cannot install all of the necessary packages. Unavailable:
 atomic-openshift
 atomic-openshift-clients
 atomic-openshift-master
 atomic-openshift-node
 atomic-openshift-sdn-ovs
   You may need to enable one or more yum repositories to make
this content available.

   My problem is with the "atomic-openshift" packages it can't find... they
are necessary? I can't find it anywhere!

   Thanks,

Antonio.


-- 
*Antonio da Silva Martins Jr. *
*Analista de Suporte*
NPD - Núcleo de Processamento de Dados
UEM - Universidade Estadual de Maringá
email: *asmart...@uem.br*  / asmartins@gmail.com
fone: +55 (44) 3011-4015 / 3011-4411
inoc-dba: 263076*100

"Real Programmers don’t need comments — the code is obvious."
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] more than one IP address on network device?

2016-09-04 Thread Antonio da Silva Martins Junior
Hi,

It works, but, it didn't create "virtual address" aka "eth0:0", try
using "ip" command: "ip addr show dev eth0"

Att.,

 Antonio.

2016-09-04 14:27 GMT-03:00 Walter H. :

> On 04.09.2016 17:33, Ulf Volmer wrote:
>
>>
>> OK, some testing has been done. you have to specify
>>
>> IPADDR=192.168.0.10
>> NETMASK=255.255.255.0
>> NETWORK=192.168.0.0
>> GATEWAY=192.168.0.1
>> IPADDR2=192.168.2.10
>> NETMASK2=255.255.255.0
>> NETWORK2=192.168.2.0
>>
> I tried this way; but
> 'ifconfig' doesn't show these additional addresses ...
>
> please note, that you have to specify only one GATEWAY, there can be
>> only one default gateway active.
>>
> sure?
> thought that IPADDR, GATEWAY, NETMASK and NETWORK must go with,
> the same with IPADDR2, GATEWAY2, NETMASK2 and NETWORK2 ...
>
> Walter
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
>


-- 
*Antonio da Silva Martins Jr. *
*Analista de Suporte*
NPD - Núcleo de Processamento de Dados
UEM - Universidade Estadual de Maringá
email: *asmart...@uem.br*  / asmartins@gmail.com
fone: +55 (44) 3011-4015 / 3011-4411
inoc-dba: 263076*100

"Real Programmers don’t need comments — the code is obvious."
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] tui of centos 7 kickstart

2014-07-09 Thread Antonio da Silva Martins Junior

- 彭勇 p...@pubyun.com escreveu:

 De: 彭勇 p...@pubyun.com
 Para: CentOS mailing list centos@centos.org
 Enviadas: Terça-feira, 8 de Julho de 2014 11:45:04 (GMT-0300) Auto-Detected
 Assunto: Re: [CentOS] tui of centos 7 kickstart

 i have text option in kickstart file which is upgrade from CentOS 6,
 here is snippet:
 
 #System  language
 lang en_US.UTF-8
 
 #System keyboard
 keyboard us
 
 #Sytem timezone
 timezone --utc Asia/Shanghai
 
 rootpw changeme
 
 #Reboot after installation
 reboot
 
 # non-interactive text line mode
 cmdline
 
 #Use text mode install
 text
 
 #Install Red Hat Linux instead of upgrade
 install

Well...

   After trying a C7 install, with text we had about the same screens 
we had with cmdline on C6. The TUI, with graphs I can't get.

   Att.,

  Antonio.


 
 On Tue, Jul 8, 2014 at 8:07 PM, Antonio da Silva Martins Junior
 asmart...@uem.br wrote:
 
  - 彭勇 p...@pubyun.com escreveu:
 
  De: 彭勇 p...@pubyun.com
  Para: CentOS mailing list centos@centos.org
  Enviadas: Terça-feira, 8 de Julho de 2014 6:47:12 (GMT-0300)
 Auto-Detected
  Assunto: Re: [CentOS] tui of centos 7 kickstart
 
  thanks for your kind help.
 
  i add  inst.cmdline option as a boot option or cmdline option to
 my
  kickstart file, there still no TUI.
 
 
 
  ⁠15.1.2. Installation in Non-Interactive Line Mode
 
  If the inst.cmdline option was specified as a boot option in your
  parameter file (see Section 18.4, “Parameters for Kickstart
  Installations”) or the cmdline option was specified in your
 Kickstart
  file (see Chapter 23, Kickstart Installations), Anaconda starts
 with
  non-interactive text line mode. In this mode, all necessary
  information must be provided in the Kickstart file. The
 installation
  program will not allow user interaction and stops if there is
  unspecified installation information.
 
  On Tue, Jul 8, 2014 at 5:34 PM, Karanbir Singh
 mail-li...@karan.org
  wrote:
   On 07/08/2014 10:26 AM, 彭勇 wrote:
   there is a tui of centos 6 kickstart.
  
   and now there is no such tui, only text line output.
  
   is there an option to enable tui of centos 7 kickstart?
  
  
  
   there is a TUI for the installer, but it will only kick in if you
   are not running noninteractive mode.
  
   --
   Karanbir Singh
   +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
   GnuPG Key : http://www.karan.org/publickey.asc
 
  --
  Peng Yong
 
  Hi Peng,
 
 Try with the text option on the kickstart file, it works on C5
 and C6.
 
 Att.,
 
 Antonio.
  --
  Antonio da Silva Martins Jr.
  Analista de Suporte
  NPD - Núcleo de Processamento de Dados
  UEM - Universidade Estadual de Maringá
  email: asmart...@uem.br
  fone: +55 (44) 3011-4015 / 3011-4411
  inoc-dba: 263076*100
 
   Real Programmers don’t need comments — the code is obvious.
 
  --
  Esta mensagem foi verificada pelo sistema de antivirus e
   acredita-se estar livre de perigo.
 
  ___
  CentOS mailing list
  CentOS@centos.org
  http://lists.centos.org/mailman/listinfo/centos
 
 
 
 --
 Peng Yong
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 
 --
 Esta mensagem foi verificada pelo sistema de antivirus e
  acredita-se estar livre de perigo.

-- 
Antonio da Silva Martins Jr. 
Analista de Suporte
NPD - Núcleo de Processamento de Dados
UEM - Universidade Estadual de Maringá
email: asmart...@uem.br 
fone: +55 (44) 3011-4015 / 3011-4411
inoc-dba: 263076*100 

 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] tui of centos 7 kickstart

2014-07-08 Thread Antonio da Silva Martins Junior

- 彭勇 p...@pubyun.com escreveu:

 De: 彭勇 p...@pubyun.com
 Para: CentOS mailing list centos@centos.org
 Enviadas: Terça-feira, 8 de Julho de 2014 6:47:12 (GMT-0300) Auto-Detected
 Assunto: Re: [CentOS] tui of centos 7 kickstart

 thanks for your kind help.
 
 i add  inst.cmdline option as a boot option or cmdline option to my
 kickstart file, there still no TUI.
 
 
 
 ⁠15.1.2. Installation in Non-Interactive Line Mode
 
 If the inst.cmdline option was specified as a boot option in your
 parameter file (see Section 18.4, “Parameters for Kickstart
 Installations”) or the cmdline option was specified in your Kickstart
 file (see Chapter 23, Kickstart Installations), Anaconda starts with
 non-interactive text line mode. In this mode, all necessary
 information must be provided in the Kickstart file. The installation
 program will not allow user interaction and stops if there is
 unspecified installation information.
 
 On Tue, Jul 8, 2014 at 5:34 PM, Karanbir Singh mail-li...@karan.org
 wrote:
  On 07/08/2014 10:26 AM, 彭勇 wrote:
  there is a tui of centos 6 kickstart.
 
  and now there is no such tui, only text line output.
 
  is there an option to enable tui of centos 7 kickstart?
 
 
 
  there is a TUI for the installer, but it will only kick in if you
  are not running noninteractive mode.
 
  --
  Karanbir Singh
  +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
  GnuPG Key : http://www.karan.org/publickey.asc

 --
 Peng Yong

Hi Peng,

   Try with the text option on the kickstart file, it works on C5 and C6.

   Att.,

   Antonio.
-- 
Antonio da Silva Martins Jr. 
Analista de Suporte
NPD - Núcleo de Processamento de Dados
UEM - Universidade Estadual de Maringá
email: asmart...@uem.br 
fone: +55 (44) 3011-4015 / 3011-4411
inoc-dba: 263076*100 

 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos box and Cisco 3750 VLAN's

2014-05-30 Thread Antonio da Silva Martins Junior

- Boris Epstein borepst...@gmail.com escreveu:

 De: Boris Epstein borepst...@gmail.com
 Para: CentOS mailing list centos@centos.org
 Enviadas: Sexta-feira, 30 de Maio de 2014 16:59:41 (GMT-0300) Auto-Detected
 Assunto: [CentOS] Centos box and Cisco 3750 VLAN's

 Hello all,
 
 I have a CentOS box that has a NIC (eth0) on which I defined 4 VLAN's
 (counting the NIC itself): eth0, eth0.1, eth0.2 and eht0.3. Initially
 the Cisco switch was not partitioned into VLAN's which means that the only
 VLAN running on it was the default one (VLAN 1).
 
 I have then played with VLAN's a bit on the switch and at this point
 have two: VLAN 1 (which is default and can not be deleted) and VLAN 3. The
 CentOS box is plugged into a trunk port on VLAN 3 which by virtue of
 being a trunk should belong to all VLANs. However, this does not seem to
 work as expected.
 
 What I get is the following:
 
 1) eht0 does not come up at all.
 
 ifup eth0
 Device eth0 does not seem to be present, delaying initialization
 
 2) eth0.3 comes up fine.
 
 3) Other VLAN's do not come up. No error messages, just never show
 up.
 
 Any insight into this would be most welcome. Primarily, I fail to
 understand why all those VLAN's came up on VLAN 1 and why now even
 VLAN 1 does not come up - even though the trunk port the device is plugged
 into is supposed to be a member of all VLAN's.

Hi Boris,

   Well, can you send to us the result of the show run interface on the 
switch interface? Maybe seeing the switch configuration we can help :D

   On the VLAN1 matter, you cannot disabled it. But, you can shut it down,
and can restrict the access to it on that port. If it was needed. :D

   Thanks,

  Antonio.

-- 
Antonio da Silva Martins Jr. 
Analista de Suporte
NPD - Núcleo de Processamento de Dados
UEM - Universidade Estadual de Maringá
email: asmart...@uem.br 
fone: +55 (44) 3011-4015 / 3011-4411
inoc-dba: 263076*100 

 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Forward http traffic

2014-01-08 Thread Antonio da Silva Martins Junior

- Nikolaos Milas nmi...@noa.gr escreveu:

 De: Nikolaos Milas nmi...@noa.gr
 Para: CentOS mailing list centos@centos.org
 Enviadas: Quarta-feira, 8 de Janeiro de 2014 6:43:16 (GMT-0300) Auto-Detected
 Assunto: Re: [CentOS] Forward http traffic

 On 7/1/2014 6:19 μμ, Antonio da Silva Martins Junior wrote:
 
  If you put it that way only xxx will receive packets, to balance
 betwin both of them
  you will need this:
 
  -A PREROUTING -s 10.250.250.0/24 -p tcp -m tcp --dport 8080 -j DNAT
  --to-destination xxx.xxx.xxx.xxx-yyy.yyy.yyy.yyy:80
 
 Thank you,
 
 According to man iptables, this defines an inclusive *range*. Yet, I
 don't want a range, but two (or more) distinct ip addresses. How can
 this be done?
 

Humm...

   Well, I had only used with a range. Maybe you can take a look on a 
software load-balancer, like haproxy, or use something like nginx. Then 
forward to the load-balancer instead to the servers.

   Att.,

   Antonio.

-- 
Antonio da Silva Martins Jr. 
Analista de Suporte
NPD - Núcleo de Processamento de Dados
UEM - Universidade Estadual de Maringá
email: asmart...@uem.br 
fone: +55 (44) 3011-4015 / 3011-4411
inoc-dba: 263076*100 

 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Forward http traffic

2014-01-08 Thread Antonio da Silva Martins Junior

- Nikolaos Milas nmi...@noa.gr escreveu:

 De: Nikolaos Milas nmi...@noa.gr
 Para: CentOS mailing list centos@centos.org
 Enviadas: Quarta-feira, 8 de Janeiro de 2014 11:02:48 (GMT-0300) Auto-Detected
 Assunto: Re: [CentOS] Forward http traffic

 On 8/1/2014 11:54 πμ, Antonio da Silva Martins Junior wrote:
 
  Well, I had only used with a range. Maybe you can take a look on a
  software load-balancer, like haproxy, or use something like nginx.
  Then forward to the load-balancer instead to the servers.
 
 Thanks,
 
 Actually, I don't want load balancing; I want incoming http traffic
 (to port 8080) to be forwarded to *ALL* defined target IP addresses.
 

Well,

Maybe if you can explain more what you want. If you forward this to
*ALL* servers, all will answer the request, and then from what server you
will send the answer to the client? If the software uses some session control
how it´ll be done? As each server can create an unique session control.

Sorry, but I didn´t understand what you are trying to do :D

Antonio.

-- 
Antonio da Silva Martins Jr. 
Analista de Suporte
NPD - Núcleo de Processamento de Dados
UEM - Universidade Estadual de Maringá
email: asmart...@uem.br 
fone: +55 (44) 3011-4015 / 3011-4411
inoc-dba: 263076*100 

 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Forward http traffic

2014-01-07 Thread Antonio da Silva Martins Junior

- Nikolaos Milas nmi...@noa.gr escreveu:

 De: Nikolaos Milas nmi...@noa.gr
 Para: centos@centos.org
 Enviadas: Terça-feira, 7 de Janeiro de 2014 10:28:33 (GMT-0300) Auto-Detected
 Assunto: [CentOS] Forward http traffic

 Hello,
 
 On CentOS 6.5 x86_64 I have (/etc/sysconfig/iptables):
 
 *filter
 :INPUT ACCEPT [0:0]
 :FORWARD ACCEPT [0:0]
 :OUTPUT ACCEPT [0:0]
 :RH-Firewall-1-INPUT - [0:0]
 -A INPUT -j RH-Firewall-1-INPUT
 -A FORWARD -j RH-Firewall-1-INPUT
 -A RH-Firewall-1-INPUT -i lo -j ACCEPT
 -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
 -A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
 -A RH-Firewall-1-INPUT -m state --state NEW -s 10.10.10.0/24 -m tcp -p
 
 tcp --dport 22 -j ACCEPT
 -A RH-Firewall-1-INPUT -s 10.10.10.0/24 -m state --state NEW -m tcp -p
 
 tcp --dport 80 -j ACCEPT
 -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
 COMMIT
 
 Now, I want to forward all http traffic coming in from
 10.250.250.0/24, 
 at local port 8080, to 2 particular IP Addresses (port 80). Is it
 enough 
 to prepend (to the above) the following:
 
 *nat
 :PREROUTING ACCEPT [0:0]
 :POSTROUTING ACCEPT [0:0]
 :OUTPUT ACCEPT [0:0]
 -A PREROUTING -s 10.250.250.0/24 -p tcp --dport 8080 -j DNAT 
 --to-destination xxx.xxx.xxx.xxx:80
 -A PREROUTING -s 10.250.250.0/24 -p tcp --dport 8080 -j DNAT 
 --to-destination yyy.yyy.yyy.yyy:80
 COMMIT
 
 ...?
 
 Please advise!
 
 Thanks in advance,
 Nick


Hi Nick,

   If you put it that way only xxx will receive packets, to balance betwin both 
of them
you will need this:

-A PREROUTING -s 10.250.250.0/24 -p tcp -m tcp --dport 8080 -j DNAT 
--to-destination xxx.xxx.xxx.xxx-yyy.yyy.yyy.yyy:80

   Hope this helps,

   Att.,

Antonio.

-- 
Antonio da Silva Martins Jr. 
Analista de Suporte
NPD - Núcleo de Processamento de Dados
UEM - Universidade Estadual de Maringá
email: asmart...@uem.br 
fone: +55 (44) 3011-4015 / 3011-4411
inoc-dba: 263076*100 

 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] to lvm or not to lvm - why/when to use lvm

2013-09-26 Thread Antonio da Silva Martins Junior

- Rob Kampen rkam...@kampensonline.com escreveu:

 De: Rob Kampen rkam...@kampensonline.com
 Para: CentOS mailing list centos@centos.org
 Enviadas: Quinta-feira, 26 de Setembro de 2013 17:11:06 (GMT-0300) 
 Auto-Detected
 Assunto: Re: [CentOS] to lvm or not to lvm - why/when to use lvm

 On 09/26/2013 09:35 PM, James A. Peltier wrote:
  - Original Message -
  | - Original Message -
  | | Hi,
  | |
  | | I was wondering, why/when it is useful or when should I avoid
 to
  | | use
  | | LVM.
  | |
  | | I think the big advantage of LVMing is if you modify (rezising,
  | | ...)
  | | disk and filesystem layouts a lot.
  | |
  | | Are there any real pros or cons for following situations
 regarding
  | | e.g.
  | | management and speed?
  |
  | The speed at which you can manage your disk environment through
 the
  | use of LVM makes most of the tradeoffs worth while.  Of course,
 YMMV
  | so you're best to test.
  |
  | | e.g.:
  | |
  | | I do have a server system raid for which the disk layout will
 not
  | | change; e.g. /var /usr /home will not change much in size.
  |
  | This isn't so much the issue.  What if *any* partition
 requirements
  | *do* change in the future.  LVM can account for that my allowing
 you
  | flexibility to make a change should it be required.  Standard
  | partitioning is less flexible in this regard.
  |
  | | OR
  | |
  | | I do have some file storage shares (iscsi raids) up to some TB
 each
  | | on
  | | one big storage device.
  | |
  | | Sometimes (e.g. after a server crash) it is useful to remount
 the
  | | storage to a different server.
  |
  | Standard caveats apply.  If the Volume Groups or the Logical
 Volumes
  | are named the same moving them to another system with similar VGs
 or
  | LVs can be problematic.  Same goes for file system labels, albeit
  | both are relatively easy to fix in such a scenario.
  |
  | | Should I use LVM on the iscsi storage volumes?
  |
  | I would find it difficult to find a case where LVM shouldn't be
 used
  | because of it's flexibility.  I tend to use full disk LVM (no
  | partitions at all) and file system labels for mounting and the
 like
  | (labels match LVs).
  |
  | lvcreate -L 20G -n csgrad DATA
  | mkfs.xfs -L csgrad /dev/DATA/csgrad
  |
  | /etc/fstab
  | --
  |
  | LABEL=csgrad /exports/csgrad xfs defaults 0 0
  |
  |
  | LVM offers other additional flexibility too in that you can
 migrate
  | PVs from one device to another online.  So if you have one iSCSI
  | server that is coming off support and you are replacing it with
  | another, you can use pvmove to move the data from one target to
  | another.
 
  Oh!  One last case in point.  Partition Alignment.  This is very
 important to the performance of a disk subsystem.  With full disk LVM
 it's not an issue at all.
 
 Not having much experience with LVM, I just wondered how this last 
 comment applies.
 Surely the alignment of partitions has got to do with the underlying 
 hardware and how it seeks to and finds the beginning of where it wants
 
 to read - the sector. I am curious how LVM negates this hardware
 constraint.
 


Well, I think this is one of the big examples of what
we can do with LVM: http://www.greyoak.com/lvmdrive.html

-- 
Antonio da Silva Martins Jr. 
Analista de Suporte
NPD - Núcleo de Processamento de Dados
UEM - Universidade Estadual de Maringá
email: asmart...@uem.br 
fone: +55 (44) 3011-4015 / 3011-4411
inoc-dba: 263076*100 

 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Enable HT on CentOS 6.4 (Dell R720 64 Bit server)

2013-05-24 Thread Antonio da Silva Martins Junior

- Kaushal Shriyan kaushalshri...@gmail.com escreveu:

 De: Kaushal Shriyan kaushalshri...@gmail.com
 Para: CentOS mailing list centos@centos.org
 Enviadas: Sexta-feira, 24 de Maio de 2013 9:28:06 (GMT-0300) Auto-Detected
 Assunto: [CentOS] Enable HT on CentOS 6.4 (Dell R720 64 Bit server)

 I have HT Feature available on my Dell Server R720. Please help me
 understand if HT is enabled on the server, will there be a
 performance impact. What are the deciding factors to enable HT on the servers.
 

Hi,

   If you had HT enabled on the BIOS, the SO will see two times de cores 
you had on that machine. The Linux kernel will use it, and possibly will give
some performance gain. But, for sure, you will need to try with your install
and application to guarantee that there is really some performance impact.

   Att.,

   Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Making a clone of an LVM-based EL5 install

2013-03-19 Thread Antonio da Silva Martins Junior

- Lists li...@benjamindsmith.com escreveu:

 De: Lists li...@benjamindsmith.com
 Para: CentOS mailing list centos@centos.org
 Enviadas: Segunda-feira, 18 de Março de 2013 19:36:41 (GMT-0300) Auto-Detected
 Assunto: [CentOS] Making a clone of an LVM-based EL5 install

 Does anybody here have any idea how to make an exact copy of a drive 
 that has LVM partitions? I'm having trouble using dd to do this for an
 

Hi, 

  What about Clonezilla (www.clonezilla.org) or Mondo (www.mondorescue.org) ??

  But, I do it with dd too, and it works fine with LVM.

  Att.,

 Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Where's crm (from pacemaker-cli) on CentOS 6.4?

2013-03-12 Thread Antonio da Silva Martins Junior
Hi,

   After upgrade the nodes on one of my HA clusters I find that crm isn't 
on the pacemaker-cli package. After some research on the web I find this:

http://www.gossamer-threads.com/lists/linuxha/pacemaker/84376?page=last

   That thread points to this OpenSuSE repo:

http://download.opensuse.org/repositories/network:/ha-clustering/RedHat_RHEL-6/

   Which suply the new crm from CRM shell project: 

http://savannah.nongnu.org/projects/crmsh/

   Then, after upgrade, put the new repo on, and install crmsh.

   Hope this helps.

   Att.,

  Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] SNAT Logging

2013-02-27 Thread Antonio da Silva Martins Junior
Hi All,

   I'm running our network with an 10/8 IPv4 subnets, with an SNAT catch all
rule on the iptables firewall to the world.

   Is there a pratical way to log each connection? Maybe an automatic hotspot
wich will assign an external IP to each internal one, and log it.

   What are you using folks?

   Thanks,


   Antonio.
  
-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Monitoring bandwidth, latency, packet drop.

2012-11-09 Thread Antonio da Silva Martins Junior
- Rafał Radecki radecki.ra...@gmail.com escreveu:

 De: Rafał Radecki radecki.ra...@gmail.com
 Para: CentOS mailing list centos@centos.org
 Enviadas: Sexta-feira, 9 de Novembro de 2012 5:59:46 (GMT-0300) Auto-Detected
 Assunto: [CentOS] Monitoring bandwidth, latency, packet drop.

 Hi all.
 
 I am currently thinking about monitoring a network link (bandwidth,
 latency, packet drop). I have a centos server which is connected to
 providers network through a switch. How to test the link? Should I:
 - use ICMP to ping gateway and collect staistics of time/packet
 loss/etc.
 - use software like here:
 http://www.cyberciti.biz/faq/linux-unix-windows-monitor-outgoing-bandwidth-latency/
  (client/server)
 ?
 Is there an option to monitor bandwidth, latency, packet drop without
 installing additional software on gateway or external host?
 

Hi Rafal, 

   I use this https://collectd.org/wiki/index.php/Plugin:Ping
collectd plugin to monitor latency and packet drop. The bandwidth
can be monitored with another plugin, if it's the server bandwidth,
or using snmp on the router to monitor the site bandwitdth.



  Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Virtualization Options!

2012-11-01 Thread Antonio da Silva Martins Junior
Hi folks,

   Thanks for your advices, I'll take a look on all and post what I conclude on
it. 

   Maybe I'm not clear enought, I already had CentOS5.8 Xen on my Hosts, but I'm
finding a solution more enterprise. The HA/Load Balance solution we had are 
self
made, it is much time consuming for our needs. We are searching for something 
more 
easy (or self) administering software.

   This is why we take a look on VMware, Citrix, etc...

   We'll take a look on OpenStack, RHEV/RHEM, maybe Oracle VM...

   Thanks,

Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Virtualization Options!

2012-11-01 Thread Antonio da Silva Martins Junior

- Johnny Hughes joh...@centos.org escreveu:

 De: Johnny Hughes joh...@centos.org
 Para: centos@centos.org
 Enviadas: Quinta-feira, 1 de Novembro de 2012 10:55:05 (GMT-0300) 
 Auto-Detected
 Assunto: Re: [CentOS] Virtualization Options!

 On 11/01/2012 07:42 AM, Johnny Hughes wrote:
  On 11/01/2012 06:53 AM, Antonio da Silva Martins Junior wrote:
  Hi folks,
 
 Thanks for your advices, I'll take a look on all and post what I 
  conclude on it. 
 
 Maybe I'm not clear enought, I already had CentOS5.8 Xen on my Hosts, 
  but I'm 
  finding a solution more enterprise. The HA/Load Balance solution we had 
  are self 
  made, it is much time consuming for our needs. We are searching for 
  something more 
  easy (or self) administering software.
 
 This is why we take a look on VMware, Citrix, etc...
 
 We'll take a look on OpenStack, RHEV/RHEM, maybe Oracle VM...
 
 Thanks,
 
  Antonio.
 
  If you are looking for Cloud stacks and not just Virtualization
 
 Note:  This is a very good resource to explain the differences between
 a Cloud and Virtualization:
 
 http://vimeo.com/51856809
 

Well, thanks...

   I'll take a look on this...

   I'm thinking a cloud will be a bit overkilling for our applications :D We
had only a dozen hosts with aprox. 100 VMs (linux, windows) on it. But, today,
almos everything is a cloud :D

   I already read the manuals of Eucaliptus and OpenStack, will take a look on 
OpenNebula, too...

   I'm thinking that we will have a cloud when we can use VDI to virtualize 
our desktop labs :D
For now we are searching a way to automatize the management of our VMs, but 
without all of the lights,
rings, and bells most of the cloud softwares had :D Our installation is prety 
simple: all hosts share some
LUNs from the Storage (via iSCSI). We had cLVM on it. The VMs had their own LVM 
partition. And we had a
couple o C and bash programs that do the magic. But, to deploy a new VM is 
almos the same as deploy a physical
host. No snaphsot (cLVM didn't had it working), and no clone (it almost kills 
the SAN net). This is why we are
searching for something else! VMware and Citrix made some demonstrations for 
our boss, but both needs MS-AD.

Then we are searching for other options :D

We already had talks with RH, thanks Jim Wildman, and well we aren't in a 
touristic area either :D 
 
Well... we are still searching :D

 
Thanks,


   Antonio.
   
-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Virtualization Options!

2012-10-31 Thread Antonio da Silva Martins Junior
Hi, 

   I'm searching for virtualization options. I already take a look on 
VMware, but it needs too much MS software to work for my needs. Citrix needs
less, but the key validation is still MS-AD.

   Now I'm taking a look at RHEV... and run into Oracle VM! Somebody had already
take a look at Oracle VM? 

   We need in primary a solid VM solution for an enterprise cloud running 
on top of some old and new Dell servers in conjunction with an EMC Cx4-120 
storage.

   We had plans to provide desktop virtualization in the future, most to
labs class, and maybe adminstrative tasks. But it isn't necessary now.

   Anybody had some other options to tell?

   Thanks in advance,


 Antonio.  

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Linux Software RAID 1 - Unequal Sized Hard Disks

2012-10-18 Thread Antonio da Silva Martins Junior

- Manish Kathuria mkathu...@tuxtechnologies.co.in escreveu:

 De: Manish Kathuria mkathu...@tuxtechnologies.co.in
 Para: centos@centos.org
 Enviadas: Quinta-feira, 18 de Outubro de 2012 12:29:02 (GMT-0300) 
 Auto-Detected
 Assunto: [CentOS] Linux Software RAID 1 - Unequal Sized Hard Disks

 Has anyone created or rebuilt a Linux Software RAID having mirrored
 partitions on unequal sized hard disks ? There is  a CentOS 5 server
 having two 400 GB hard disks with five mirrored partitions (software
 RAID 1) and one of the hard disks is dying. Since new 400 GB HDDs are
 not available here, we are exploring the possibility of replacing the
 faulty hard disk with one of a higher capacity (500 GB or more). And
 once it is fully replicated, we plan to replace the other 400 GB HDD
 also with another hard disk of the same higher capacity.
 
 Just want to know if anyone has done something similar and what are
 the chances of success (or data loss) ?
 

Hi Manish,

   Well this did work. Remember Linux Soft RAID is for partitions not disks,
then, you need to create the new partitions on the bigger drive at the same
size of the old ones. Then replicate. When you had changed the two drives 
you can create a new soft RAID partition on the space leaved.

   But, if you are already planning on change the two disks. You can mount
a new RAID1 schema using the new drives and then copy the data to the new
disks.
   
   As for guarentee the safest of the data, first backup :D

   
  Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NTOP alternatives?

2012-08-29 Thread Antonio da Silva Martins Junior

- Bent Terp b...@terp.se escreveu:

 De: Bent Terp b...@terp.se
 Para: CentOS mailing list centos@centos.org
 Enviadas: Quarta-feira, 29 de Agosto de 2012 5:29:07 (GMT-0300) Auto-Detected
 Assunto: Re: [CentOS] NTOP alternatives?

 On Wed, Aug 29, 2012 at 9:52 AM, Rafał Radecki
 radecki.ra...@gmail.comwrote:
 
  After some search I think I will use ntop ;)
 
 
 Having lurked in this thread, I think I'll start using ntop as well.
 Did a quick test today on my laptop and got it up and running in no time.
 
 But to answer the question people at the office keeps asking me, I
 need to dump Network Load data with a 1-second granularity. Does anoybody know
 how to do that? Basic question is, do we have large fluctuations on our
 internet connection usage.
 

Hi Bent,

   Give a try to Collectd: www.collectd.org is a RRDTOOL data collect system.

   I use it on various systems without impacts on performance.

   Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is there a way to _remove_ dependencies from an RPM built from source?

2012-02-26 Thread Antonio da Silva Martins Junior

- Michael Lampe la...@gcsc.uni-frankfurt.de escreveu:

 De: Michael Lampe la...@gcsc.uni-frankfurt.de
 Para: CentOS mailing list centos@centos.org
 Enviadas: Domingo, 26 de Fevereiro de 2012 17:29:05 (GMT-0300) Auto-Detected
 Assunto: Re: [CentOS] Is there a way to _remove_ dependencies from an RPM 
 built from source?

 Frank Cox wrote:
 
  Gimme a trick: How to unregister an implicit but formally
  unavailable runtime dependency in a spec file?
 
  I've given you the solution twice.  Here is a more detailed
  description of the
  exact lines that you need to edit in the spec file:
 
  http://www.rpm.org/max-rpm/s1-rpm-depend-manual-dependencies.html
 
 We are talking about different things:
 
 My stuff is linked against 'libfoo'. When the package is finally
 build, it records this depedency because of that. Now this package requires 
 libfoo to be installed. It's there but not registered with rpm!
 
 That's what I want to get rid of. Something like 'Unrequire' perhaps.
 Or another trick: IIRC, at some time taking the x bit from libs achieved
 that, but it's not working anymore since quite some time.


Ok,

   Have you tried to make a fake src.rpm package that provides this 'libfoo' 
and
install it ? It didn't need to install anything just tell to the rpm library 
that it 
provides 'libfoo'.

Another way is to just force the install, but, doing it you will have some 
problems
during updates.

  Antonio Jr.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6.1- RPS/RFS kernel patch

2011-11-28 Thread Antonio da Silva Martins Junior

- Akemi Yagi amy...@gmail.com escreveu:

 De: Akemi Yagi amy...@gmail.com
 Para: CentOS mailing list centos@centos.org
 Enviadas: Sexta-feira, 25 de Novembro de 2011 17:56:21 (GMT-0300) 
 Auto-Detected
 Assunto: Re: [CentOS] CentOS 6.1- RPS/RFS kernel patch

 On Fri, Nov 25, 2011 at 11:49 AM, Karanbir Singh
 mail-li...@karan.org wrote:
  On 11/25/2011 07:35 PM, Antonio da Silva Martins Junior wrote:
      I'm looking into the RPMs changelog for the 6.0CR kernel, and
 didn't
  find mention of receive packet steering (RPS) and receive flow
 steering (RFS).
  This was included on RHEL6.1, is it on the CR repo already?
 
  what kernel ver was it included in RHEL ?
 
 It is mentioned in the 6.1 Release Notes, so must be in the 6.1 GA
 kernel.
 
 I saw 'RFS' in the changelog but not 'RPS'. But both are supposed to
 be in the 6.1 kernels.
 

Well, replying to my own question:

- I didn't find a clear mention of it on the changelogs;
- By the 6.1 Release notes I imply that all 2.6.32-131.X have it; 
- Cheking on the sysfs I found the RPS queues: 
 /sys/devices/virtual/net/lo/queues/rx-0/rps_cpus
 /sys/devices/virtual/net/lo/queues/rx-0/rps_flow_cnt

Then I presume it's on :D

Thanks for the help,

Antonio.


-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 6.1- RPS/RFS kernel patch

2011-11-25 Thread Antonio da Silva Martins Junior
Hi,

I'm looking into the RPMs changelog for the 6.0CR kernel, and didn't
find mention of receive packet steering (RPS) and receive flow steering (RFS).
This was included on RHEL6.1, is it on the CR repo already?

Thanks in advance,

  Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] What happened to 6.1

2011-10-21 Thread Antonio da Silva Martins Junior

- Steve Clark scl...@netwolves.com escreveu:

 De: Steve Clark scl...@netwolves.com
 Para: CentOS mailing list centos@centos.org
 Enviadas: Sexta-feira, 21 de Outubro de 2011 9:00:00 (GMT-0300) Auto-Detected
 Assunto: Re: [CentOS] What happened to 6.1

 Is there a package for the cr repo? I don't see anything like that
 when I do a yum repolist all.

 Yep, there is a package... but it is on the CR repo:


ftp://(some.centos.mirror)/CentOS/6/cr/x86_64/RPMS/centos-release-cr-6-0.el6.centos.x86_64.rpm

   Install it :D

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] pvresize on a cLVM

2011-10-13 Thread Antonio da Silva Martins Junior
Hi, 

   I'm needing to expand a LUN on my EMC CX4-120 SAN. (Well I already had done 
it).

   On this LUN I had a PV of a cLVM VG. Know I need to run pvresize on it. 

   Has anybody done this on a cLVM PV ? 

   I'm trying to rescan the devices, but I can't see the new size. And,
googling on it I can only find RHEL5.2 responses.

   Thanks in advance,

 
   Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] pvresize on a cLVM [SOLVED]

2011-10-13 Thread Antonio da Silva Martins Junior

- Antonio da Silva Martins Junior asmart...@uem.br escreveu:
 De: Antonio da Silva Martins Junior asmart...@uem.br
 Para: centos@centos.org
 Enviadas: Quinta-feira, 13 de Outubro de 2011 15:58:34 (GMT-0300) 
 Auto-Detected
 Assunto: [CentOS] pvresize on a cLVM

 Hi,
 
I'm needing to expand a LUN on my EMC CX4-120 SAN. (Well I already
 had done it).
 
On this LUN I had a PV of a cLVM VG. Know I need to run pvresize on
 it.
 
Has anybody done this on a cLVM PV ?
 
I'm trying to rescan the devices, but I can't see the new size.
 And, googling on it I can only find RHEL5.2 responses.
 

Well, I did it :D

   After more search I found this: 
http://serverfault.com/questions/66638/how-to-extend-a-san-based-vdisk-in-red-hat-without-rebooting

   With this instructions:

1) Increase size of LUN in SAN
2) Check with multipath -ll which devices belong to said LUN
3) For each device above, do echo 1  /sys/block/sdX/device/rescan
4) Go to multipath command line with multipathd -k
5) For each device, do del path sdX, add path sdX while hoping that
  the multipathing functionality works as advertised and fails over 
properly.
6) resize map multipath-map-name
7) Exit multipath command line (Ctrl-D), check with multipath -ll that
  new size is seen.
8) pvresize, lvextend, resize2fs
9) Profit!

  Well, to do steps 4, 5 and 6 on a 10 node cluster will be a litte slow... 
then I did:

1) Increase size of LUN in SAN
2) Check with multipath -ll which devices belong to said LUN
3) For each device above, do echo 1  /sys/block/sdX/device/rescan 
4) service multipathd restart
5) pvresize, lvextend, resize2fs

   The steps on 3, 4 and 5 where did with cexec (from C3 package).

   Works!! Solved!!

   Thanks,

 Antonio.

 






-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS5 with Dell Broadcom iSCSI Offload, does it work ?

2011-09-09 Thread Antonio da Silva Martins Junior
Hi all,

   After finding multiples answers to this question via google, but without 
making it work on my servers. Has anybody iSCSI Offload working on a Dell 
Server with Broadcom NICs ?

   My environment: I'm running CentOS 5.6 CR, on a Dell PowerEdge R710 with 
Broadcom Corporation NetXtreme II BCM5709 conecting to an EMC CX4-120 SAN, 
via 2x Cisco 2960G-24TC-L switches. It's working without the iSCSI offload. 

   Thanks in advance,

 Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS5 with Dell Broadcom iSCSI Offload, does it work ?

2011-09-09 Thread Antonio da Silva Martins Junior

- Steve Walsh st...@nerdvana.net.au escreveu:

 De: Steve Walsh st...@nerdvana.net.au
 Para: centos@centos.org
 Enviadas: Sexta-feira, 9 de Setembro de 2011 9:17:50 (GMT-0300) Auto-Detected
 Assunto: Re: [CentOS] CentOS5 with Dell Broadcom iSCSI Offload, does it work ?

 On 09/09/2011 10:05 PM, Drew Weaver wrote:
  Hi,
 
I could be wrong here but don't you go into the Broadcom NIC
  configuration while the server is booting and add the iSCSI target in
  there and then it should appear as Just Another Volume (TM) to the
  operating system?
 
  I've never tried it but I assume thats how the 'offloading' works.
 
 close, but not. TCP Offloading (obviously) offloads the TCP protocol 
 processing from the server CPU onto the server adapter. This preserves
 valuable CPU cycles for applications processing and improves overall 
 server performance and network efficiency, as the heavy lifting for 
 iSCSI is done on the card, by the card.
 
 snip
  After finding multiples answers to this question via google, but
  without making it work on my servers. Has anybody iSCSI Offload 
  working on a Dell Server with Broadcom NICs ?
 
 Depending on how the Broadcom is in the server (ie - Physical Card vs
 onboard mezzanine card) depends on if you enable it in BIOS, or switch
 into the firmware when prompted at boot time to enable it.

Hi,

  Well... I looked into the NICs config to make sure it's on. On BIOS I can
see the 4 onboard NICs. On these I can chage from no boot / PXE / iSCSI boot. 
And 
the BIOS detect that this NICs are TOE  ISOE capable. I had PXE on the 
first one 
and no boot on the other 3. From the NICs firmware menu I can see all the 8 
NICs 
(including the 4 onboard), I can change the same options, no option to 
enable/disable iSCSI
Offload, only iSCSI boot.

  I'm trying the instructions from:

   - http://www.open-iscsi.org/docs/README
   - 
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/pdf/Online_Storage_Reconfiguration_Guide/Red_Hat_Enterprise_Linux-5-Online_Storage_Reconfiguration_Guide-en-US.pdf
   - http://webpages.marshall.edu/~wolfe21/papers/rhel5-iscsi-HOWTO.pdf


  All of these say almost the same, and I can configure open-iscsi to access 
the EMC SAN using the two 
broadcom NICs using dm-multipath. But when I tryed to use the second MAC on the 
NIC (to activate
iSCSI Offload) then I can't connect on the SAN. I can discovery it using the 
second MAC, but can't connect.

  Using default iface, it will conect using eth1 or eth2:

[root@vHst-153-NEAD03 ~]# iscsiadm -m discoverydb -t st -p 10.252.1.1:3260 -I 
default --discover -P 1
Target: iqn.1992-04.com.emc:cx.ckm00091500140.a2
Portal: 10.252.1.1:3260,1
Iface Name: default
Target: iqn.1992-04.com.emc:cx.ckm00091500140.b2
Portal: 10.252.1.2:3260,2
Iface Name: default
Target: iqn.1992-04.com.emc:cx.ckm00091500140.a3
Portal: 10.252.2.1:3260,3
Iface Name: default
Target: iqn.1992-04.com.emc:cx.ckm00091500140.b3
Portal: 10.252.2.2:3260,4
Iface Name: default

[root@vHst-153-NEAD03 ~]# iscsiadm -m node -I default -lLogging in to [iface: 
default, target: iqn.1992-04.com.emc:cx.ckm00091500140.a3, portal: 
10.252.2.1,3260]
Logging in to [iface: default, target: 
iqn.1992-04.com.emc:cx.ckm00091500140.b2, portal: 10.252.1.2,3260]
Logging in to [iface: default, target: 
iqn.1992-04.com.emc:cx.ckm00091500140.b3, portal: 10.252.2.2,3260]
Logging in to [iface: default, target: 
iqn.1992-04.com.emc:cx.ckm00091500140.a2, portal: 10.252.1.1,3260]
Login to [iface: default, target: iqn.1992-04.com.emc:cx.ckm00091500140.a3, 
portal: 10.252.2.1,3260] successful.
Login to [iface: default, target: iqn.1992-04.com.emc:cx.ckm00091500140.b2, 
portal: 10.252.1.2,3260] successful.
Login to [iface: default, target: iqn.1992-04.com.emc:cx.ckm00091500140.b3, 
portal: 10.252.2.2,3260] successful.
Login to [iface: default, target: iqn.1992-04.com.emc:cx.ckm00091500140.a2, 
portal: 10.252.1.1,3260] successful.

[root@vHst-153-NEAD03 ~]# iscsiadm -m session
tcp: [5] 10.252.2.1:3260,3 iqn.1992-04.com.emc:cx.ckm00091500140.a3
tcp: [6] 10.252.1.2:3260,2 iqn.1992-04.com.emc:cx.ckm00091500140.b2
tcp: [7] 10.252.2.2:3260,4 iqn.1992-04.com.emc:cx.ckm00091500140.b3
tcp: [8] 10.252.1.1:3260,1 iqn.1992-04.com.emc:cx.ckm00091500140.a2

[root@vHst-153-NEAD03 ~]# iscsiadm -m session -P 1
Target: iqn.1992-04.com.emc:cx.ckm00091500140.a3
Current Portal: 10.252.2.1:3260,3
Persistent Portal: 10.252.2.1:3260,3
**
Interface:
**
Iface Name: default
Iface Transport: tcp
Iface Initiatorname: iqn.1994-05.com.redhat:vHst-153-NEAD03
Iface IPaddress: 10.252.2.153
Iface HWaddress: empty
Iface Netdev: empty
SID: 5
iSCSI Connection State: LOGGED IN
iSCSI Session 

Re: [CentOS] 5.6 is out, great my first upgrade didn't work...

2011-04-09 Thread Antonio da Silva Martins Junior

- Nicolas Ross rossnick-li...@cybercat.ca escreveu:

 5.6 is out. That is good news.
 

Well, I did it on a bunch of servers, and until now always ok.

Nice work :)

Antonio

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] EMC CX4 Clariion

2009-10-27 Thread Antonio da Silva Martins Junior
Hi,

   We had received a new EMC storage (Clariion CX4) and the EMC analist has 
told us that CentOS aren't on their support list, but RHEL are :)

   Well anybody on the list has a CentOS host talking (iSCSI) with an EMC 
storage,
preferably using the EMC Powerpath software, and can talk about you experience?
Or I will need to buy some REHL licenses ?

   I'll put my hands on it only next week, but I'm trying to get prepared to do 
it :)

   Thanks in advance,

  Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivírus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] EMC CX4 Clariion

2009-10-27 Thread Antonio da Silva Martins Junior

- Neil Aggarwal n...@jammconsulting.com escreveu:

 We had received a new EMC storage (Clariion CX4) and the 
  EMC analyst has told us that CentOS aren't on their support list, but RHEL 
  are :)
 
 I have always taken the stance that if something works with
 RHEL, it will work with CentOS.  
 
 Have not had a problem yet.
 

  Humm... I think the same, and on the rare cases when I need some support from 
a 
vendor (HP, Dell, IBM, etc), when I call them I tell it's RHEL and always it 
had worked. Most of the time I find the solution before them :)

   But, this time (I'm on vacation, will return to work next week) the analyst 
who 
came to install (well he unpack and plug the wires :D ) told one of my 
co-workers
that it won't run. Next week I will try to install the EMC Powerpatch, or 
better try
with dm-multipath directly.

 Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivírus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Switch to measure traffic at IP level?

2009-10-23 Thread Antonio da Silva Martins Junior

- Les Mikesell lesmikes...@gmail.com escreveu:

 Neil Aggarwal wrote:
  Matt:
   
  why not just use your current cacti setup and 
  enable snmp on each of the hosts?  That seems like 
  the simplest and cheapest approach.
  
  As I understand it, I would actually have to
  enable snmp on each of the guests, not the hosts.
  
  Am I wrong?
  
 
 Yes - the host would see the total traffic.  The only other way to
 separate it would be something upstream (switch/router, etc.) that knows how 
 to do
 sflow plus a collector device.  These are typically pretty expensive.  For
 some small number of guests it might be cheaper to add NICs to your hosts and
 bridge the guests to individual NICs where you could monitor on either the 
 host
 interface or the connected switch port.  You might be able to simulate this 
 with
 some clever use of vlans but I'm not sure how they interact with the
 virtual nic bridges.

Hum... I haven't tried it myself but maybe it is possible to try on the virtual 
NICs.
The only drawback is that the need to create a way to link the data from the 
vifs to
the corret guest :)

Antonio. 

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivírus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] local centos repository upgrade from 5.3 to 5.4

2009-10-21 Thread Antonio da Silva Martins Junior
Hi :)
- Paul Herbosch paul.herbo...@tbwaworld.com escreveu:
 
 I run quite a few centos 5.3 servers and have a local yum repository 
 which is working fine.
 Below a list of what I'm rsyncing at the moment + an extract from my 
 /etc/yum.repos.d/CentOS-Base.repo file
 I copied the OS directory from the install media and ran createrepo on
 that dir.


  Well, I had some CentOS 5.3 and 4.8 servers too. But, I mirror the directory
structure and loop mount an ISO image on the os dir on it :)

 I would like to upgrade my servers to 5.4.
 I was wondering if I could simply replace the '5.3' part in the rsync 
 source to '5.4' ?
 Or is there more to it?

  When a new version is released I link copy the old structure to a new one
(cp -al 5.3 5.4), mount the new media under the os tree, and run rsync against
a mirror of the new structure. I do this because sometimes there are packages in
common betwen both versions and I didn't need to download it (or store it, as 
it is
only a hard link) again.

  When I think the new version is ok to run in my production servers I simply 
move
the upper link from one version to another, i.e. fom 5 - 5.3  to 5 - 5.4, the 
yum.conf
files are set to get from the 5 repo and not from 5.x 

   Hope this helps 

 Antonio.

--   
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivírus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] DHCP authauth software

2009-10-19 Thread Antonio da Silva Martins Junior

- Marko Vojinovic vvma...@gmail.com escreveu:

 Does anyone know about some free (as in beer, and maybe as in speech)
 software which would implement authentication and authorization of a user 
 prior
 to issuing a valid dhcp lease?
 
 I imagine the following scenario: someone walks into my office
 building with a laptop (a colleague, a visitor, a guest, whoever), and hooks 
 up onto
 the local net (wired or wireless). The server detects an unknown MAC address,
 issues a bogus dhcp lease which resolves all dns queries to a single internal
 web page with a form the user is supposed to fill in and send. After he does
 so, an administrator does a sanity check of the data the user provided, and
 grants or denies access. If access is granted, the user gets a new, 
 unrestricted
 dhcp lease, which provides him with a normal access to local network.
 
 The goal is to have a database which relates IP or MAC addresses to
 people names, so I can track a person down efficiently if he brings an 
 infected/spamming machine into the building.
 
 I would know how to build this infrastructure manually, but it's a lot
 of work, and I don't want to reinvent the wheel. Google somehow failed to
 help, or I failed to provide the right keywords. :-(
 

After reading this thread I think you can try PacketFence (www.packetfence.org)
and there are some others less powerfull ones on the wikipedia under the NAC 
topic: http://en.wikipedia.org/wiki/Network_Access_Control

   Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antivírus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] One for the Cisco experts...

2009-04-24 Thread Antonio da Silva Martins Junior

- Daniel Bird db...@sgul.ac.uk escreveu:

  How can I find out which port on the switch a particular server is
  connected to?  I was hoping that this is somehow possible using the
  mac address and the data gathered from snmpwalk/snmpget requests
 but
  I'm not having much luck.  How would you tackle this problem?

 Take a look at Netdisco. I seem to remember it's a little tricky to
 set
 up on CentOS but I wouldn't live without it now.
 
 http://www.netdisco.org/
 

Hi List,

   Well after following the little tricky :D install scripts on
this address: http://www.auburn.edu/~gouldwp/netdisco/ 

   I had this error: failed to resolve handler `netdisco::Mason': Can't locate 
netdisco/Mason.pm in @INC 
on my httpd error_log file. Anyone had sucess on made netdisco running ?
My problem (apparently) was only on the WebCli. And after I had the work to put 
it all together I was hopping I can see their face :D

   On the other hand, I will try OpenNMS and ZenoOS ASAP :D

   Thanks in advance,

  Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] One for the Cisco experts...

2009-04-24 Thread Antonio da Silva Martins Junior

- Antonio da Silva Martins Junior asmart...@uem.br escreveu:

 - Daniel Bird db...@sgul.ac.uk escreveu:
 
   How can I find out which port on the switch a particular server
 is
   connected to?  I was hoping that this is somehow possible using
 the
   mac address and the data gathered from snmpwalk/snmpget requests
  but
   I'm not having much luck.  How would you tackle this problem?
 
  Take a look at Netdisco. I seem to remember it's a little tricky to
  set
  up on CentOS but I wouldn't live without it now.
  
  http://www.netdisco.org/
 
 
Well after following the little tricky :D install scripts on
 this address: http://www.auburn.edu/~gouldwp/netdisco/ 
 
I had this error: failed to resolve handler `netdisco::Mason':
 Can't locate netdisco/Mason.pm in @INC 
 on my httpd error_log file. Anyone had sucess on made netdisco running?
 

Hi List,

   Well nothing better than post an email to the list to find the solution:

   The install script I was using (following) from the site above, put
two include lines (from netdisco_apache.conf and netdisco_apache_dir.conf)
on the end of /etc/httpd/conf/httpd.conf. But it generates some errors on
the httpd programa, and I moved them to links on /etc/httpd/conf.d to the 
netdisco config files.
 
   The problem was netdisco* was load before perl* and then the errors.

   Quick solution: rename netdisco* to zz_netdisco*, now the load order
are OK and the WebCli are running.


Thanks for the help,

 Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 Real Programmers don’t need comments — the code is obvious.

-- 
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] LVM2: large volume problem?

2007-12-06 Thread Antonio da Silva Martins Junior
Hi all,

   I'm having problems to create/resize an lv up to 1T (well I can't reach 
300G),
my system is a CentOS 5.1 x86_64 on a Dell 2950 with 6x500G SATA (RAID5 to 
aprox. 2.5T)


[EMAIL PROTECTED] ~]# fdisk -l

Disk /dev/sda: 2497.7 GB, 2497791918080 bytes
255 heads, 63 sectors/track, 303672 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes

Dispositivo Boot  Start End  Blocks   Id  System
/dev/sda1   *   1  13  104391   83  Linux
/dev/sda2  14   36323   291657269+  8e  Linux LVM
[EMAIL PROTECTED] ~]# vgdisplay
  --- Volume group ---
  VG Name   sys
  System ID 
  Formatlvm2
  Metadata Areas1
  Metadata Sequence No  26
  VG Access read/write
  VG Status resizable
  MAX LV0
  Cur LV4
  Open LV   4
  Max PV0
  Cur PV1
  Act PV1
  VG Size   2,27 TB
  PE Size   32,00 MB
  Total PE  74436
  Alloc PE / Size   512 / 16,00 GB
  Free  PE / Size   73924 / 2,26 TB
  VG UUID   yuxYGR-dLVP-DuXz-i4oP-14ep-aYWQ-xBp6f1
[EMAIL PROTECTED] ~]# lvs
  LV   VG   Attr   LSize Origin Snap%  Move Log Copy% 
  root sys  -wi-ao 4,00G  
  swap sys  -wi-ao 2,00G  
  usr  sys  -wi-ao 5,00G  
  var  sys  -wi-ao 5,00G  



  When I try to create a 1T lv it gives me this error:

[EMAIL PROTECTED] ~]# lvcreate -L1T -nstor sys
  device-mapper: reload ioctl failed: Argumento inválido
  Failed to activate new LV.

  and on /var/log/messages I had this:

Dec  6 08:31:27 Mugello kernel: device-mapper: table: device 8:2 too small for 
target
Dec  6 08:31:27 Mugello kernel: device-mapper: table: 253:4: linear: dm-linear: 
Device lookup failed
Dec  6 08:31:27 Mugello kernel: device-mapper: ioctl: error adding target to 
table

   the lv is created:

[EMAIL PROTECTED] ~]# lvs
  LV   VG   Attr   LSize Origin Snap%  Move Log Copy% 
  root sys  -wi-ao 4,00G  
  stor sys  -wi-d- 1,00T  
  swap sys  -wi-ao 2,00G  
  usr  sys  -wi-ao 5,00G  
  var  sys  -wi-ao 5,00G  

   but is unusable:

[EMAIL PROTECTED] ~]# mkfs -t ext3 /dev/sys/stor
mke2fs 1.39 (29-May-2006)
Could not stat /dev/sys/stor --- Arquivo ou diretório não encontrado

The device apparently does not exist; did you specify it correctly?
[EMAIL PROTECTED] ~]# ls -la /dev/mapper/
total 0
drwxr-xr-x  2 root root 160 Dez  6 09:02 .
drwxr-xr-x 12 root root4220 Dez  6 07:43 ..
crw---  1 root root  10, 63 Dez  6 07:43 control
brw-rw  1 root disk 253,  0 Dez  6 07:43 sys-root
brw-rw  1 root disk 253,  4 Dez  6 09:02 sys-stor
brw-rw  1 root disk 253,  3 Dez  6 07:43 sys-swap
brw-rw  1 root disk 253,  1 Dez  6 07:43 sys-usr
brw-rw  1 root disk 253,  2 Dez  6 07:43 sys-var
[EMAIL PROTECTED] ~]# mkfs -t ext3 /dev/mapper/sys-stor
mke2fs 1.39 (29-May-2006)
mkfs.ext3: Device size reported to be zero.  Invalid partition specified, or
partition table wasn't reread after running fdisk, due to
a modified partition being busy and in use.  You may need to reboot
to re-read your partition table.

  If I try with a small size (less than 300G) it works well:

[EMAIL PROTECTED] ~]# lvcreate -L100G -nstor sys
  Logical volume stor created
[EMAIL PROTECTED] ~]# lvs
  LV   VG   Attr   LSize   Origin Snap%  Move Log Copy% 
  root sys  -wi-ao   4,00G  
  stor sys  -wi-a- 100,00G  
  swap sys  -wi-ao   2,00G  
  usr  sys  -wi-ao   5,00G  
  var  sys  -wi-ao   5,00G  

 What can I try to do to create an lv with 1T??

Thanks in advance,

   Antonio.  

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


-- 
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] backup / compressed copy

2007-12-04 Thread Antonio da Silva Martins Junior
- Andreas Kuntzagk [EMAIL PROTECTED] escreveu:
 
 So to reduce load I'd like to have a script that:
 
 identifies changed files only (using md5?)
 copies them
 and compresses them
 
 storeBackup.pl does something similar, but keeps versions and creates
 hardlinks between them. (Is storeBackup in any CentOS repo? I know it
 from my SuSE box)
 Any ideas? Do I have to change storeBackup to my needs? (Would really
 hate that, because I'm not a Perl man)

Well, I'm using rsync --link-dest to do this. This article 
http://www.rootprompt.org/article.php3?article=8976; had the principle
but didn't use --link-dest.

Antonio.
-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


-- 
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] backup / compressed copy

2007-12-04 Thread Antonio da Silva Martins Junior

- Andreas Kuntzagk [EMAIL PROTECTED] escreveu:
   So to reduce load I'd like to have a script that:
   
   identifies changed files only (using md5?)
   copies them
   and compresses them
   
  
  Well, I'm using rsync --link-dest to do this. This article 
  http://www.rootprompt.org/article.php3?article=8976; had the
  principle but didn't use --link-dest.
 
 Well, but rsync doesn't compress, does it?
 So I would need to compress first and then rsync - meaning I need to
 keep the compressed files around twice. 

Well, rsync can compress on the wire (the data travels compressed), but
rsync will do the first two items: identifies changed files and copy them.
The compress to tape part will need to be done after that :) On the other
hand, with the prices of tapes and HD today, I had chose to buy two servers
with a lot of HD on each, put each one on a different building, and make a
backups on them. 

   Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


-- 
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 32bit HVM within CentOS5 x86_64+xen3?

2007-12-02 Thread Antonio da Silva Martins Junior
- Nils Toedtmann [EMAIL PROTECTED] escreveu:
 Am Donnerstag, den 29.11.2007, 15:08 -0200 schrieb Antonio da Silva
 Martins Junior:
  - Nils Toedtmann [EMAIL PROTECTED] escreveu:
 
  But, you need windows, then you need VT on your CPU.
 
 I have. That's what i meant with HVM
 
  With VT you can do both windows and 32bit on a 64bit host.
 
 Sure? OK, i'll give it a try.
 

Well, my servers didn't had VT (yet), then I didn't try it (yet), but
take a look on the manual section 1.2: 

 http://tx.downloads.xensource.com/downloads/docs/user/


Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


-- 
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 32bit HVM within CentOS5 x86_64+xen3?

2007-11-29 Thread Antonio da Silva Martins Junior
- Nils Toedtmann [EMAIL PROTECTED] escreveu:
 
 I have to install a xen virtualization host that will start with 4GB
 RAM and will maybe grow to 8GB in the future. And there has to be a 32bit
 winXP domU. Is CentOS5(.1) x86_64 able to run 32bit HVMs or do i have
 to stick with i386/PAE?


Hi,

   I'm using it with a Linux/Linux setup, without CPU VT. I had migrated 
a CentOS4.5-i386 to a Xen DomU and switch to a Xen-x86_64 kernel (only the 
kernel).

   But, you need windows, then you need VT on your CPU. With VT you can do
both windows and 32bit on a 64bit host.


   Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


-- 
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] handling kernel panics

2007-10-31 Thread Antonio da Silva Martins Junior
- Andy Harrison [EMAIL PROTECTED] escreveu:

 I have a problem with a couple of my centos servers hitting a kernel
 panic about once a week or so.
 
 1) How do I make it reboot after a panic instead of sitting in a hung
 state?
 

Hi,

   Set the /proc var (via /etc/sysctl.conf) kernel.panic to the amount of
seconds you like the panic screen stays on. After that amount of time the 
server will boot :)

  Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


-- 
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using raid 1 for rollback purposes

2007-10-19 Thread Antonio da Silva Martins Junior
- James Olin Oden [EMAIL PROTECTED] escreveu:
 For quite some time I've used raid 1 as a means of providing a
 rollback mechanism for an upgrade (which I learned from others long
 ago).  So essentially, before an upgrade you split the mirrors and
 upgrade one side or the other.  If your upgrade goes well you sync
 one way, if your upgrade does not you sync the other (much hand waving
 and chanting going on, as its more complicated than that, but that is the
 essence of the solution).

 Nice, I didn't think on this before... Will make a try :)

 Recently, I was asked to do the same thing but with a raid 1+0
 solution.  Its easy, enough to break the raid 1 volumes underneath, 
 but then how do I use the broke off volumes to form the duplicate strip.  
 Pictures may help.
  We start off looking like:
 
   /--- Raid 0 Volume --\
   |[disk 0]---R 1---[disk 2]|
   ||
   |[disk 1]---R 1---[disk 3]|
   \/
 
 
 What we want to go to is:
 
   /--- Raid 0 ---\   /--- Raid 0 ---\
   |[disk 0]   |   |[disk 2]   |
   |  |   |  |
   |[disk 1]   |   |[disk 3]   |
   \-/   \--/
  Old System   New System
 
 Is this possible with the current set of mdadm tools?

 Humm... didn't know if it's possible, but IMHO it'll be much easier to
do if you use a 0+1 RAID instead of a 1+0 schema :)

   Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


-- 
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrading Java on CentOS 4.5

2007-10-18 Thread Antonio da Silva Martins Junior

- Scott Moseman [EMAIL PROTECTED] escreveu:
 On 10/18/07, Matthew Miller [EMAIL PROTECTED] wrote:
 
   java is a CentOS package.  jdk and jre are from Sun.
 
  Don't get it directly from Sun. Use the jpackage versions.
  (The hoops you have to jump through are worth it.)
 
 
 I'm going to need a wee bit more direction.  I don't see any
 newer java-* packages in any of the repositories.  Can you
 point me in a little bit more of the direction I should take?

Ok,

   Maybe you need to take a look on here: 
http://www.jpackage.org/installation.php


   Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


-- 
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to recover data off SATA-to-SCSI external 2TBARRAY

2007-10-16 Thread Antonio da Silva Martins Junior
- Dan Carl [EMAIL PROTECTED] escreveu:

 Did you go from a SmartArray to a standard u-320 SCSI controller?
 The reason I asked is:
 Could my problem be because the the DAS was originally partition and
 formated as a /dev/cciss device
 and now I trying to read it as a /dev/sda device?

Nope, I never had the opportunity of doing this, as I had told I changed
disks from one SmartArray to another (one of my servers go down, and I need it
running ASAP).

But, in you case, it appears from the info you provide that the DAS had a 
controller by itself and are viewed by the controller as a disk.

Then, the /dev/cciss devices are the devices made by the SmartArray driver, if
your DAS are connected on another controller it will be different. 

The following data are from one of my servers with an Adaptec RAID controller,
it has 7 disks, but the controller show only the RAID array (on /dev/sda) to 
linux: 

SCSI subsystem initialized
libata version 2.00 loaded.
Adaptec aacraid driver (1.1-5[2412])
ACPI: PCI Interrupt :03:01.0[A] - GSI 24 (level, low) - IRQ 201
aacraid0: kernel 4.2-0[8205] 
aacraid0: monitor 4.2-0[8205]
aacraid0: bios 4.2-0[8205]
aacraid0: serial 269ee9
aacraid0: Non-DASD support enabled.
aacraid0: 64 Bit DAC enabled
scsi0 : aacraid
  Vendor: Adaptec   Model: Sakhir RAID 5 Rev: V1.0
  Type:   Direct-Access  ANSI SCSI revision: 02
SCSI device sda: 1720086528 512-byte hdwr sectors (880684 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
SCSI device sda: drive cache: write through
SCSI device sda: 1720086528 512-byte hdwr sectors (880684 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
SCSI device sda: drive cache: write through
 sda: sda1 sda2 sda3
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0


and, the following data are from a SmartArray 6i controller:

SCSI subsystem initialized
HP CISS Driver (v 3.6.14-RH1)
GSI 20 sharing vector 0xC0 and IRQ 20
ACPI: PCI Interrupt :04:03.0[A] - GSI 51 (level, low) - IRQ 20
cciss0: 0x46 at PCI :04:03.0 IRQ 20 using DAC
  blocks= 284506560 block_size= 512
  heads= 255, sectors= 32, cylinders= 34866

  blocks= 284506560 block_size= 512
  heads= 255, sectors= 32, cylinders= 34866

 cciss/c0d0: p1 p2

[EMAIL PROTECTED] ~]# ls -la /dev/cciss/
total 0
drwxr-xr-x  2 root root100 Out 16 08:49 .
drwxr-xr-x 15 root root   4020 Out 16 08:50 ..
brw-r-  1 root disk 104, 0 Out 16 08:49 c0d0
brw-r-  1 root disk 104, 1 Out 16 08:49 c0d0p1
brw-r-  1 root disk 104, 2 Out 16 08:49 c0d0p2

[EMAIL PROTECTED] ~]# hpacucli ctrl all show config

Smart Array 6i in Slot 0  ()

   array A (Parallel SCSI, Unused Space: 0 MB)

  logicaldrive 1 (135.7 GB, RAID 5, OK)

  physicaldrive 2:0   (port 2:id 0 , Parallel SCSI, 72.8 GB, OK)
  physicaldrive 2:1   (port 2:id 1 , Parallel SCSI, 72.8 GB, OK)
  physicaldrive 2:2   (port 2:id 2 , Parallel SCSI, 72.8 GB, OK)

Then, on the SmartArray i had /dev/cciss/c0d0 (and /dev/cciss/c0d0p1 
and /dev/cciss/c0d0p2) and on the Adaptect I had a /dev/sda 
(and /dev/sda1, /dev/sda2 and /dev/sda3). IMHO from the info you post, 
your DAS had a RAID controller and was detected as a single disk, and 
it differ depending on the SCSI controller it was attached. 
From the /etc/fstab line it didn't had partitions before the failure. 
You told that the channel A hangs the controler on the new server, 
then maybe it was faulty. If it's possible to change the array disks to
the B channel (if it's necessary, I didn't know if the RAID array was 
exported from both channels at the same time).

   Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


-- 
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to recover data off SATA-to-SCSI external 2TBARRAY

2007-10-15 Thread Antonio da Silva Martins Junior

- Dan Carl [EMAIL PROTECTED] escreveu:

 The array that I'm tyring to recover is a SCSI-toSATA 2U external
 Raid device.
 It connects to any u320 controller and is suppose to show up to Linux
 as 1 SCSI drive.
 Quote from the manual:
 These host interfaces are host O/S independent and will operate on
 any system that has a working SCSI or Fiber interface
 The DAS is made up of several components including a RAID controller,
 backplane board with intelligent environmental monitoring, chassis,
 power supplies, fans, front control panel with LCD display and hard drive 
 bays.
 
 The Smart Array card that it was originally connected to doesn't
 recongize it.
 The SmartArray is in a working server and is currently running an
 internal Raid 5.
 
 My guess is there was some hardware failure on the external side of
 the controller or the external array.
 My reasoning for this, is if I connect the A Channel of the external
 array to my Centos server my SCSI card doesn't recognize it. 
 But if I connect it to the B channel side it does

Well,

  from this I'm thinking you didn't need another SmartArray, but it looks
like the A channel from your DAS is the problem... Try look on the DAS manual
for the configuration options (how the RAID drive are made) and try to search
a way to migrate the RAID from channel A to B. Look for a way to acquire as much
info on the DAS configuration you can before trying it. I already had changed 
RAID disks from one controler to another (SmartArrays by the way), and the RAID 
disks are found without problem. But, if it didn't work and the DAS rebuild 
it's
RAID the data on the disks are gone :(

  another way is trying to contact the DAS maker and their tech assistant.


Antonio.
 
 
-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


-- 
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] question(s) about LVM snapshots

2007-10-12 Thread Antonio da Silva Martins Junior
- Tony Schreiner [EMAIL PROTECTED] escreveu:
 
  When the snap shot volume is mounted, yes you can do df on it. But 
  that shows you the state of the volume you take the snapshot of at 
  the time of the snapshot. That's not what I want to know.
 
 Sorry to answer my own question, but I just learned, lvdisplay shows 
 the amount currently used by the snapshot
 
 #lvdisplay /dev/vg_data/lv_backup

Hi Tony,

  You can use lvs too:

#lvs
  LVVG   Attr   LSize   Origin Snap%  Move Log Copy%
  home  sys  -wi-ao   2.00G
  opt   sys  owi-ao 250.00G
  root  sys  -wi-ao   1.50G
  usr   sys  -wi-ao   1.50G
  var   sys  -wi-ao   2.00G
  zcssnap   sys  swi-ao 150.00G opt  0.24
  zimbrabkp sys  -wi-ao 150.00G

  zcssnap is a snapshot of opt, and during the time spent to sync it with 
zimbrabkp the difference between opt and it's snapshot was 0.24%, I 
think this is what you are looking for.

  Antonio.


-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


-- 
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 4gb ram shows as 3.3gb

2007-07-26 Thread Antonio da Silva Martins Junior
Hi Nick,

- Nick [EMAIL PROTECTED] escreveu:
 Running Centos 5 (32bit)... running a server with 4gb of RAM and it's
 shows up as:
 
 [EMAIL PROTECTED] ~]# free
  total   used   free sharedbuffers
 cached
 Mem:   33695442549668 819876  0  29008   
 2382360
 -/+ buffers/cache: 1383003231244
 Swap:  6291448  06291448
 
 I know 4gb is the limit for a 32bit OS but i thought it would be able
 to use all of it? Is there another kernel i was supposed to install?

  I have almost the same issue here :) what I can advice is to take a look
on the reserved memory on boot (using dmesg), but I didn't know what can
be done to change it. Take a look:

--- CentOS-5.0 (x86_64) on HP-DL380G4 (4GB)

[EMAIL PROTECTED] ~]# dmesg |more
Bootdata ok (command line is ro root=/dev/sys/root rhgb quiet)
Linux version 2.6.18-8.1.8.el5xen ([EMAIL PROTECTED]) (gcc version 4
.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Tue Jul 10 07:06:45 EDT 2007
... cut ...
Memory: 3772028k/3933628k available (2321k kernel code, 152780k reserved, 1312k 
data, 168k init)

   The free command on this machine reports less memory because of Xen.
[EMAIL PROTECTED] ~]# free
 total   used   free sharedbuffers cached
Mem:   30320643024120   7944  0  15472 313564
-/+ buffers/cache:2695084 336980
Swap:  419429612806362913660

   But xentop reports aprox. 4GB:
xentop - 11:02:21   Xen 3.0.3-rc5-8.1.8.el
3 domains: 3 running, 0 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown
Mem: 4128324k total, 4127496k used, 828k freeCPUs: 4 @ 3400MHz


--- CentOS-4.5 (i386) on SuperMicro MoBo

[EMAIL PROTECTED] ~]# dmesg |more
Linux version 2.6.9-55.0.2.ELsmp ([EMAIL PROTECTED]) (gcc version 3.
4.6 20060404 (Red Hat 3.4.6-8)) #1 SMP Tue Jun 26 14:30:58 EDT 2007
... cut ...
Memory: 4149888k/4587520k available (1883k kernel code, 42852k reserved, 761k da
ta, 188k init, 3276224k highmem)

[EMAIL PROTECTED] ~]# free
 total   used   free sharedbuffers cached
Mem:   41519804100544  51436  0 2333161579404
-/+ buffers/cache:22878241864156
Swap:  21045041922104312


   I don't know why, but on my HP machine CentOS always recognized less memory, 
with both CentOS4 and CentOS5 64bits, I had SLES9-x86_64 on that machine and it 
used all 4GB. And on the SuperMicro with 32bits OS I'm using all 4GB, but 
didn't 
try CentOS5 on it yet.
 
   Hope this data helps someone on this issue :)
  
   Antonio

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


-- 
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.0 and php-yaz

2007-07-18 Thread Antonio da Silva Martins Junior

- Niki Kovacs [EMAIL PROTECTED] escreveu:
 I have a CentOS 5.0 LAMP server, and I need to install the php-yaz 
 module to implement the Z39.50 protocol (which handles data exchange
 for public libraries).
 
 I've already done this with Debian (a one-liner: apt-get install 
 php-yaz) and also on Slackware (more complicated: compile Yaz, rebuild
 PHP).
 
 Has anyone here ever done this on CentOS? What would be the most 
 orthodox method to do this?
 
 Here's the Yaz page: http://www.indexdata.dk

Hi,

  I already had done this on CentOS4.5...

  Download and instal the yaz library (on C5 I think the FC6 packages
will build ok). Then use the pear installer: pear install yaz
  
  The php-yaz package are in the PECL repo, wich can be accessed using the pear
utilities :)

   Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


-- 
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] LVM recovery questions

2007-07-05 Thread Antonio da Silva Martins Junior

- Michael Mueller [EMAIL PROTECTED] escreveu:

I have a centos 4 box i use for a file server (nfs and samba).  
It has two hdd: hda is for the standard install; hdb is for 
/export/samba/netdisk0

hda is lost - it just clicks now

i think hdb is still good

i can't figure out how i can remount the hdb disk in a new machine and 
retrieve the info from it;  
i've scanned the LVM howto and googled some LVM topics, but nothing seems to 
address my particular need

i was oblivious to LVM until now, so i did not save anything from the /etc dir 
on the hda disk

can someone help me get a clue?

Well,

  I will first try to boot from the install CD/DVD on rescue mode, if it can't
handle the LVM data on the HDD. I will try Ubuntu :)

  Can you send more info on the partition schema for this HDD ?

  Antonio.


-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!   |
| E-Mail: [EMAIL PROTECTED] / [EMAIL PROTECTED] | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


-- 
Esta mensagem foi verificada pelo sistema de antiv�rus e
 acredita-se estar livre de perigo.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos