(→MIGRAÇÃO VMS) |
(→XEN-SERVER (Citrix e XCP)) |
||
| Linha 1: | Linha 1: | ||
= XEN-SERVER (Citrix e XCP) = | = XEN-SERVER (Citrix e XCP) = | ||
| + | |||
| + | ==Renovando a licença do XENSERVER - CITRIX pela linha de comando== | ||
| + | |||
| + | ''' Primeiro você deve solicitar uma nova licença [http://deliver.citrix.com/go/citrix/xenserver_renewalb AQUI]''' | ||
| + | |||
| + | '''Procedimento para renovação da licença por linha de comando:''' | ||
| + | |||
| + | <pre> | ||
| + | |||
| + | find / -iname \*license | ||
| + | /etc/xensource/license | ||
| + | cd /etc/xensource/ | ||
| + | mv license /home/lupa/licenca/BKP_`date +%d-%m-%Y`.license | ||
| + | cp /home/lupa/license.xslic ./license | ||
| + | |||
| + | </pre> | ||
==Habilitar Repositorio no XENSERVER== | ==Habilitar Repositorio no XENSERVER== | ||
Tabela de conteúdo |
Primeiro você deve solicitar uma nova licença AQUI
Procedimento para renovação da licença por linha de comando:
find / -iname \*license /etc/xensource/license cd /etc/xensource/ mv license /home/lupa/licenca/BKP_`date +%d-%m-%Y`.license cp /home/lupa/license.xslic ./license
yum repolist enabled
sed -i -e "s/enabled=0/enabled=1/" /etc/yum.repos.d/CentOS-Base.repo
Instalação
yum install net-snmp
Arquivo conf
########################################################################### # # snmpd.conf # # - created by the snmpconf configuration program # ########################################################################### # SECTION: Access Control Setup # # This section defines who is allowed to talk to your running # snmp agent. # rocommunity: a SNMPv1/SNMPv2c read-only access community name # arguments: community [default|hostname|network/bits] [oid] rocommunity <EMPRESA> # rwcommunity: a SNMPv1/SNMPv2c read-write access community name # arguments: community [default|hostname|network/bits] [oid] rwcommunity <EMPRESA> 192.168.0.0/24 com2sec mynet 192.168.0.0/24 <EMPRESA> com2sec lupa <Ip Liberado para consultar o SNMP> <EMPRESA> com2sec local localhost <EMPRESA> group MyROGroup v1 mynet group MyROGroup v2c mynet group MyROGroup usm mynet group MyRWGroup v1 local group MyRWGroup v2c local group MyRWGroup usm local group MyRWGroup v1 lupa group MyRWGroup v2c lupa group MyRWGroup usm lupa access MyROSystem "" any noauth exact system none none access MyROGroup "" any noauth exact all none none access MyRWGroup "" any noauth exact all all none ########################################################################### # SECTION: System Information Setup # # This section defines some of the information reported in # the "system" mib group in the mibII tree. # syslocation: The [typically physical] location of the system. # Note that setting this value here means that when trying to # perform an snmp SET operation to the sysLocation.0 variable will make # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to # the variable. # arguments: location_string syslocation <EMPRESA> # syscontact: The contact information for the administrator # Note that setting this value here means that when trying to # perform an snmp SET operation to the sysContact.0 variable will make # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to # the variable. # arguments: contact_string syscontact nome@seudominio.com.br # sysservices: The proper value for the sysServices object. # arguments: sysservices_number sysservices 76 view all included .1 80 proc mountd proc ntalkd 4 proc sendmail 10 1 disk / 10000 disk /var 5% includeAllDisks 10% load 12 14 14
Regras IPTABLES (Liberação da porta 161)
Arquivo:
/etc/sysconfig/iptables
Adicionar a regra:
-A RH-Firewall-1-INPUT -p udp --dport 161 -j ACCEPT
Execute o comando:
service iptables restart
xe vmexport vm=<novo_nome_vm> filename=/<diretorio_de_backup_nome-da-vm.xva
xe vm-import filename=/<diretorio_de_backup_nome-da-vm.xva