problem Proxmox configure high availability, any help?

reloaded

Member
Aug 25, 2009
69
0
6
Hi all,


I am having a problem when configuring the Proxmox HA 2.1, story:




1 I created the cluster, no problems
2 I configured the ipmi2.0 2 intel with user names and passwords with administrator access
3 I have changed the cluster.conf.new with this:

<?xml version="1.0"?>
<cluster name="clusterha" config_version="3">


<cman keyfile="/var/lib/pve-cluster/corosync.authkey">
</cman>


<fencedevices>
<fencedevice agent="fence_ipmilan" name="ipmi1" lanplus="1" ipaddr="192.168.1.235" login="ipmi" passwd="12345678" power_wait="5"/>
<fencedevice agent="fence_ipmilan" name="ipmi2" lanplus="1" ipaddr="192.168.1.236" login="ipmi" passwd="12345678" power_wait="5"/>
<fencedevice agent="fence_ipmilan" name="ipmi3" lanplus="1" ipaddr="192.168.1.237" login="ipmi" passwd="12345678" power_wait="5"/>
</fencedevices>




<clusternodes>
<clusternode name="nodomaster" votes="1" nodeid="1"/>
<fence>
<method name="1">
<device name="ipmi1"/>
</method>
</fence>


<clusternode name="nodo2" votes="1" nodeid="2"/>
<fence>
<method name="1">
<device name="ipmi2"/>
</method>
</fence>


<clusternode name="nodo3" votes="1" nodeid="3"/>
<fence>
<method name="1">
<device name="ipmi3"/>
</method>
</fence>


</clusternodes>
<rm>
<service autostart="1" exclusive="0" name="ha_test_ip" recovery="relocate">
<ip address="192.168.7.180"/>
</service>
</rm>
</cluster>





also indicate:
fence domain
member count 3
victim count 0
victim now 0
master nodeid 1
wait state none
members 1 2 3

its perfect, and fuction correct.



The problem when you turn Proxmox changes, I get the message::


config validation failed: unknown error (500)


I know I'm very close to getting, but only need to implement these changes, any help please?

Any idea???

Thank you very much for your help
 

reloaded

Member
Aug 25, 2009
69
0
6
In this market that happens to someone the problem is in the / thing forward>


I've removed and added everything.


And now? that should occur? as I do that containers are replicated to other nodes?


I have followed all the steps in the guide puts Proxmox, I have a container mark (ha) as active.


When I stop the node with that container, I see as the container is moved to another node, but is unable to boot, so I guess the container data are not migrated to other nodes.


Why can this happen?


thank you very much
 

reloaded

Member
Aug 25, 2009
69
0
6
Thanks Dietmar for you response

for example nfs? only need ha on containers openvz

thanks
 

reloaded

Member
Aug 25, 2009
69
0
6
ok, I thought that the containers are automatically copied to other nodes.
Then? all nodes working on the same disk group?




Thanks again, I will configure nfs to see if it works correctly
 

reloaded

Member
Aug 25, 2009
69
0
6
Hello, I created the shared NFS volume, and have added the shared storages.


When I try to create a container, I get the following error:

Can't create directory /mnt/pve/volumenfs/private/100.tmp: Permission denied
Unable to create directory /mnt/pve/volumenfs/private/100.tmp: Permission denied
Creation of container private area failed
TASK ERROR: command 'vzctl --skiplock create 100 --ostemplate /var/lib/vz/template/cache/debian-4.0-standard_4.0-5_i386.tar.gz --
private /mnt/pve/volumenfs/private/100' failed: exit code 48

This is the directory
drwxr-xr-x 5 root root 4.0K Jul 25 08:34 .drwxr-xr-x 3 root root 4.0K Jul 24 18:55 ..
drwxr-xr-x 2 root root 4.0K Jul 24 18:55 new
drwxr-xr-x 4 root root 4.0K Jul 24 19:26 new2
drwxr-xr-x 4 root root 4.0K Jul 24 19:26 volumenfs
root@nodomaster:/mnt/pve# cd volumenfs/
root@nodomaster:/mnt/pve/volumenfs# ls
images private
root@nodomaster:/mnt/pve/volumenfs# ls -lha
total 16K
drwxr-xr-x 4 root root 4.0K Jul 24 19:26 .
drwxr-xr-x 5 root root 4.0K Jul 25 08:34 ..
drwxr-xr-x 2 root root 4.0K Jul 24 19:26 images
drwxr-xr-x 2 root root 4.0K Jul 24 19:26 private


This is the content in file /etc/exports:

/var/lib/vz/nfs/ 192.168.1.245/255.255.255.0(rw,sync) 192.168.1.246/255.255.255.0(rw,sync) 192.168.1.247/255.255.255.0(rw,sync)

permits are assigned to root, assign other permissions to Proxmox can create a container in nfs?

As always, thank you very much for the enormous help Proxmox team









 

reloaded

Member
Aug 25, 2009
69
0
6
Hello again,


Continuous unable to make the HA, I wonder if there is a manual of Proxmox 2.x to configure NFS.


Thanks!
 

reloaded

Member
Aug 25, 2009
69
0
6
Hello!

The problem is:


When I create a container vz NFS I get the following:


tar: ./var/lib/dpkg/info/libmagic1.postinst: Can not change ownership to uid 0, gid 0: Operation not permitted
tar: ./var/lib/dpkg/info/dhcp3-client.prerm: Can not change ownership to uid 0, gid 0: Operation not permitted
tar: ./var/lib/dpkg/info/libxt6.md5sums: Can not change ownership to uid 0, gid 0: Operation not permitted
tar: ./var/lib/dpkg/info/libxrender1.postrm: Can not change ownership to uid 0, gid 0: Operation not permitted
tar:. / var / lib / dpkg / info / debconf.list: Can not change ownership to uid 0, gid 0: Operation not permitted
tar: ./var/lib/dpkg/info/libpopt0.shlibs: Can not change ownership to uid 0, gid 0: Operation not permitted
tar: ./var/lib/dpkg/info/libslang2.postinst: Can not change ownership to uid 0, gid 0: Operation not permitted
tar: ./var/lib/dpkg/info/libxtrap6.list: Can not change ownership to uid 0, gid 0: Operation not permitted
tar:. / var / lib / dpkg / info / aptitude.postrm: Can not change ownership to uid 0, gid 0: Operation not permitted


What am I doing wrong?


Thanks for all the help
 

reloaded

Member
Aug 25, 2009
69
0
6
thanks for the quick response.


The permission of the folder is this

drwxrwxrwt 4 root root 4.0K Jul 24 19:26 nfs


and permissions of the files within the folder are these

drwxrwxrwt 2 root root 4.0K Jul 24 19:26 images
drwxrwxrwt 4 root root 4.0K Jul 25 10:08 private


I have to apply other permissions?




Thank you very much for the excellent support
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!