VMware Cloud Community
RatnajitHCL
Contributor
Contributor

Backup of VMware Integrated Openstack

Hi,

We have created a NFS server using CentOS 7.3. We are able to share the NFS file system on a generic Ubuntu system but when we are trying to do the same on management of VMware Integrated OpenStack then we are facing issues, please see below. Can you please guide on this.

VIO version - 2.0.3, underlying layer consists of ESXi 6.0, vSAN, NSX, VIO is using NSX based networking.

When I run the command to take the backup,

pastedImage_0.png

The /mnt/backup folder is already present, see below

    pastedImage_1.png

Thanks

Ratnajit

Reply
0 Kudos
4 Replies
admin
Immortal
Immortal

could you please try with below steps if you want to use OMS as the NFS server.

mkdir -p /export/backups

chmod -R 777 /export

apt-get update

apt-get --yes install nfs-kernel-server

append /etc/exports

/export 192.168.1.0/24(rw,fsid=0,insecure,no_subtree_check,async) <== use your ip range

/export/backups 192.168.1.0/24(rw,nohide,insecure,no_subtree_check,async) <== use your ip range

append /etc/hosts.deny

rpcbind mountd nfsd statd lockd rquotad : ALL

append /etc/hosts.allow

rpcbind mountd nfsd statd lockd rquotad : 192.168.1.0/24 <== use your ip range

service nfs-kernel-server restart

iptables -A INPUT -p tcp --dport 2049 -j ACCEPT

iptables-save

viocli backup mgmt_server 192.168.1.77:/backups <== put in your oms ip instead

———

Reply
0 Kudos
RatnajitHCL
Contributor
Contributor

HI Steven,

Good Morning. The information that you provided is really helpful.

The goal is to use CentOS 7.3 Linux server as NFS storage for VIO backup. A shared folder was created on a NFS server and I am trying to put the backup of VIO on the shared storage.

Can you share how can we achieve this ? I had already shared some inputs.

Do I have to disable some firewall rules on the OMS? Can you recommend?

Thanks

Ratnajit

Reply
0 Kudos
rpellet
VMware Employee
VMware Employee

what do /var/log/messages say on both the client side and the server side?   What does /etc/hosts.allow say?

Reply
0 Kudos
admin
Immortal
Immortal

Hi Ratnajit,

do you still need any help on this issue?

Cheers,

Domenico

Reply
0 Kudos