similar issues on avamar where date and time was wrong.. please verify
Re: VDP scheduled backup of virtual machines has error (Manual backup = ok)
download vmx from vSphere Server
in my program, i wang to automatic download vmx file from vSphere Server for backuping, how to do it ? I can get ns2__VirtualMachineConfigInfo from vSphere Server , but it is very difficulty to convert the ns2__VirtualMachineConfigInfo to vmx file。pelease give me some advise, thanks
Re: download vmx from vSphere Server
i want to download vmx file locally, for example, down vmx file from ESXi to loacl path /home/vmfoler/
Re: download vmx from vSphere Server
Hi @jicheng_08
You can directly download the .vmx file from datastore browser using vsphere client (or) you can use tools like winscp to navigate to the VM folder path and copy it.
But why are you downloading the .vmx file, what is the reason behind it.
Thank you.
Re: download vmx from vSphere Server
my program run like this:
1、the program use vSphere Web Services SDK to connect vsphere server.
2、 take snapshot form a vm , the vm will be bakcup.
3、in the server that my program running, there has some *.vmdk files in the locally path;
4、the program use VDDK connet to the snapshot disks, and copy the snap shot disk data to the locally disk vmdk file;
5、 delete the sanoshot;
when the vm in the vsphere server can not use, we should use nfs to mount the locally vmdk file to the vsphere server, but we dont have the vmx file to register the a new vm to the vsphere server.
the new vm must have the same configure as the snapshot vm take before, and vm disk is the diskes we backup before.
Re: download vmx from vSphere Server
Hi -
You may create new VM with same configuration and map the backup local .vmdk files to it. SvMotion after that will help you in bringing all the files (vmx, vmdk , nvram etc) in single folder with required name. But in this case, UUID and MAC will get change.
Thank you.
Re: download vmx from vSphere Server
hi, GPVenkatesh, thank you very much for give me some advise.
but in this case, the vm in the vsphere sever is can not used or the vm is delete from the vsphere server, so the vm configuration can not kown.
we must record the vm configuration every bakcups.
Re: download vmx from vSphere Server
hi @jicheng_08
Then you may consider using backup solution for your virtual infrastructure which will help you with image level, file level, application level backup and restore.
For example - Veeam Backup, Veritas Netbackup, VMware VDP etc.
https://www.vladan.fr/top-5-backup-software-vmware-infrastructure/
https://www.vladan.fr/top-5-backup-software-for-vmware-infrastructure-part-2/
ubuntu 16.04 is not booting after an improper shutdown
Hi,
I am using Windows 10 host and VMware workstation9 and VM player 5.
I was installed ubuntu16.04 LTS using its .iso some time back and many a times updates happened to Windows host and Ubuntu guest with their respective procedures.
Ubuntu never gave any problem except from a day when it was shutdown improperly.
Then on wards Ubuntu is started to boot but hand at middle . Can some one help.
Sharing screenshot and .log file here.
I did not take snapshot , so I can not recover it.
Re: ubuntu 16.04 is not booting after an improper shutdown
Reading your log-file shows that the vmdk itself still seems to be fine.
Try to log on in single user mode and run a filesystem check
Re: ubuntu 16.04 is not booting after an improper shutdown
What continuum said. It looks like Ubuntu just isn't happy with the way it was powered off. Boot Ubuntu into single user mode and run a manual fsck to let the machine check if it has any issues. More info on fsck from Ubuntu here: SystemAdministration/Fsck - Community Help Wiki
Re: download vmx from vSphere Server
i find vsphere server has provided http api to access vm file on vmfs. so i use http to download files
Re: VDP - Service "Backup scheduler is not running" stop suddenly and recursively
I have the same problem!
Updates VDP 6.1.3 -> 6.1.5
mcserver.log.0:
com.avamar.mc.security.mgmt.LoginManager.isUserLoginLocked
WARNING: The user MCUser@/ is locked. Product MCCLI
ls -lah ./webapps/avi/WEB-INF/lib/mccommons.jar
-rw------- 1 root root 285K 12. Jul 08:09 ./webapps/avi/WEB-INF/lib/mccommons.jar
What is the solution?
Re: Delete Delta.vmdk
hey thank's guys
i did create new VM with the "flat.vmdk" ,it's working fine but it's old version i think it's before the snapshot
so there's no way to rebuild the delta from the descriptor !!!!
Re: Delete Delta.vmdk
Unfortunately no, you can create a descriptor (metadata) file from a data file, but not the other way around. To restore a data (flat, delta) file, you'd need to find a way to restore/recover it from the datastore itself.
André
Re: VDP - Service "Backup scheduler is not running" stop suddenly and recursively
The Solution:
A symlink was missing:
Login via ssh with admin@servername:
cd /usr/local/avamar-tomcat/lib/
ln -s /usr/local/avamar/lib/mccommons.jar
reboot
After that no more messages with "Backup scheduler is not running" appeared!
Re: VDP EOA
VDP, Linux and XFS are three things that should never be together, unless you want it to break. Any word on a ZFS based Avimar?
VDP and gsan.log
is there any way to reduce the log-spam of the VDP appliance
fresh deployment of vSphereDataProtection-6.1.5.ova at 2016-12-06 and until tody 280 such 25 MB files
since the appliance itself is thin-provisioned on NFS that thing grows useless and 50-75 MB per day is way too much
what makes this also bad is that on NFS UNMAp don't work and we copy the whole appliance regulary to a USB3 harddisk with "cp -R --sparse=always"
at the bottom a log-sample - frankly if something goes wrong i prefer re-deploy anyways
[root@vmware-recovery:/etc/cron.daily]$ cat /usr/local/bin/remove-gsan-logs.sh
#!/bin/bash
/usr/bin/find /data01/ -mtime +3 -type f -regex ".*\/gsan\.log\.[0-9][0-9].*" -exec /bin/ls -lh {} \;
/usr/bin/find /data01/ -mtime +3 -type f -regex ".*\/gsan\.log\.[0-9][0-9].*" -exec /bin/rm -f {} \;
/usr/bin/find /data02/ -mtime +3 -type f -regex ".*\/gsan\.log\.[0-9][0-9].*" -exec /bin/ls -lh {} \;
/usr/bin/find /data02/ -mtime +3 -type f -regex ".*\/gsan\.log\.[0-9][0-9].*" -exec /bin/rm -f {} \;
/usr/bin/find /data03/ -mtime +3 -type f -regex ".*\/gsan\.log\.[0-9][0-9].*" -exec /bin/ls -lh {} \;
/usr/bin/find /data03/ -mtime +3 -type f -regex ".*\/gsan\.log\.[0-9][0-9].*" -exec /bin/rm -f {} \;
[harry@srv-rhsoft:/downloads]$ cat remove-gsan-logs.log | wc -l
280
part of the delete-log:
-r--r----- 4 admin admin 25M Dec 29 00:33 /data01/cur/gsan.log.014
-r--r----- 4 admin admin 25M Dec 28 12:53 /data01/cur/gsan.log.015
-r--r----- 4 admin admin 25M Dec 28 03:49 /data01/cur/gsan.log.016
-r--r----- 4 admin admin 25M Dec 27 20:29 /data01/cur/gsan.log.017
-r--r----- 4 admin admin 25M Dec 27 08:51 /data01/cur/gsan.log.018
-r--r----- 4 admin admin 25M Dec 27 00:36 /data01/cur/gsan.log.019
-r--r----- 4 admin admin 25M Dec 26 12:59 /data01/cur/gsan.log.020
-r--r----- 4 admin admin 25M Dec 26 03:53 /data01/cur/gsan.log.021
-r--r----- 4 admin admin 25M Dec 25 17:10 /data01/cur/gsan.log.022
-r--r----- 4 admin admin 25M Dec 25 07:05 /data01/cur/gsan.log.023
-r--r----- 4 admin admin 25M Dec 24 21:17 /data01/cur/gsan.log.024
-r--r----- 4 admin admin 25M Dec 24 09:42 /data01/cur/gsan.log.025
-r--r----- 4 admin admin 25M Dec 24 01:20 /data01/cur/gsan.log.026
-r--r----- 4 admin admin 25M Dec 23 14:07 /data01/cur/gsan.log.027
-r--r----- 4 admin admin 25M Dec 23 05:00 /data01/cur/gsan.log.028
-r--r----- 4 admin admin 25M Dec 22 18:36 /data01/cur/gsan.log.029
-r--r----- 4 admin admin 25M Dec 22 07:53 /data01/cur/gsan.log.030
-r--r----- 4 admin admin 25M Dec 21 23:45 /data01/cur/gsan.log.031
-r--r----- 4 admin admin 25M Dec 21 11:05 /data01/cur/gsan.log.032
-r--r----- 4 admin admin 25M Dec 21 01:34 /data01/cur/gsan.log.033
......................
[root@vmware-recovery:/data01/cp.20180101051643]$ tail -n 10 gsan.log.010
2017/12/29-07:59:26.78420 {0.0} [srvm-14292621#srv:2729] servloop::acctrequest login username=root
2017/12/29-07:59:26.78507 {0.0} [srvm-14292621#srv:104] syslog: msg=[/usr/local/avamar/bin/avmaint --flagfile=/usr/local/avamar/etc/usersettings.cfg --password=**************** --vardir=/usr/local/avamar/var --server=vmware-recovery --id=root --bindir=/usr/local/avamar/bin getclientmsgs --server=vmware-recovery.thelounge.net --hfsport=27000 --conntimeout=120 --timeout=120 --vardir=/usr/local/avamar/var --startoffset=22188496] host=[vmware-recovery] time=[Fri Dec 29 08:59:26 2017 CEST] build=[version=7.2.80-133 date=Jul 13 2017 08:07:49 msg=13-10 SSL=TLSv1 OpenSSL 1.0.2a-fips 19 Mar 2015 Zlib=1.2.7 LZO=1.08 Jul 12 2002 platform=Linux OS=SLES-64 Processor=x86_64]
2017/12/29-07:59:26.78872 {0.0} [srvm-14292621#0x8ea22b0 clientaddr=192.168.196.114:57533 ismaint=1 type=avmaint access=uname=root uid=0 priv=enabled,create,read,backup,access,move,delete,maint,manage,fullmanage,noticketrequired,superuser,ignoreacls,readdir,mclogin,opt1,opt2 avail=modes=00pu:3179] servmain::dispatcherloop end
2017/12/29-07:59:26.78882 {0.0} [srvm-14292621#0x8ea22b0 clientaddr=192.168.196.114:57533 ismaint=1 type=avmaint access=uname=root uid=0 priv=enabled,create,read,backup,access,move,delete,maint,manage,fullmanage,noticketrequired,superuser,ignoreacls,readdir,mclogin,opt1,opt2 avail=modes=00pu:3179] servmain::execute end
2017/12/29-07:59:27.03422 {0.0} [acpt0-27000-192.168.196.114] Socket buffer size (recv) requested 131072, was set to 131072
2017/12/29-07:59:27.03425 {0.0} [acpt0-27000-192.168.196.114] Socket buffer size (send) requested 131072, was set to 131072
2017/12/29-07:59:27.03457 {0.0} [srvm-14292637#0x8ea22b0 clientaddr=192.168.196.114:51043 ismaint=1 type=unknown access=<noaccess> avail=<noavail>:3358] servmain::execute start
2017/12/29-07:59:27.03459 {0.0} [srvm-14292637#0x8ea22b0 clientaddr=192.168.196.114:51043 ismaint=1 type=unknown access=<noaccess> avail=modes=0000:3358] servmain::dispatcherloop start
2017/12/29-07:59:27.03484 {0.0} [srvm-14292637#srv:078] servloop::handle_getserverconnection 192.168.196.114:27000 -> 192.168.196.114:27000
2017/12/29-07:59:27.03666 {0.0} [srvm-14292637#srv:872] servloop::acctrequest login username=root
Re: VDP and gsan.log
Unable to start cloned vm
hello,
I'm new in the IT world and I have some trouble cloning a VM.
So I have a sentinel one vm working on an ESXI and i want to backup it.
I choosed to use the vmkfstools command to clone it and then reinstall it.
My command is like
vmkfstools -i path1/vmfile.vmdk -d thin path2/vmfile.vmdk
Im using this command twice because i have 2 disks on this vm, one someting.vmdk and an other someting_1.vmdk
I also copy paste the VMX file which i think is needed to start the config.
When everything is done I try to start the cloned vm and it doesnt work, the vm stays at Starting up.
Do you have any idea what is wrong ?
Thank you and sorry for bad english.