Welcome, Guest. Please login or register.

Recent Posts

Pages: 1 [2] 3 4 ... 10
11
Installation / Re: ESXi host config backup
« Last post by rickli on June 04, 2017, 03:45:36 PM »
You could create a new folder and softlink all parentfolders in the there, then backup that "new folder" or use a wildcard to match all datastores (if possible). I'm aware of the implications due to different file paths. Therefore I leave it up to the users to find creative solutions :)
12
Installation / Re: ESXi host config backup
« Last post by maltyx on May 30, 2017, 06:34:48 PM »
So, in case I want to backup .VMX files of a VM placed on any Esx data-store I need to list all attached datastores to an ESX host in $cmd{'ESX'}{'shcf'} variable, one by one - right?
Is there Host's backup itself procedure? (not VMs)?

Thank and regards,
Michael
13
Installation / Re: Config backup for HPE Switches with latest firmware
« Last post by maltyx on May 30, 2017, 06:30:17 PM »
Hello!
Thank You for your help!
I ran in debug mode, you can see attached input.log and output.log (password was changed by *****). Also added input.log from switch with older firmware where backup job works as expected. Switches uses the same username and passwords (Both HPE ProcurveOS)
14
Installation / Re: ESXi host config backup
« Last post by rickli on May 29, 2017, 11:36:01 PM »
It's hardcoded in inc/libcli.pm, but you could easily change the $cmd{'ESX'}{'shcf'} variable..
15
Installation / Re: Config backup for HPE Switches with latest firmware
« Last post by rickli on May 29, 2017, 11:34:15 PM »
That's new to me. Watch the CLI tutorial on NeDi's youtube channel. A quicker way enable CLI debugging with -dc and check input- and output.log to see where it hangs...
16
Discovery / Re: Please help a challenged Nedi user
« Last post by rickli on May 29, 2017, 11:32:30 PM »
I assume you ran the discovery and got nodes? Try this nedi.pl -N10.10.10.1-254 -P1 -sid (lowercase s to scan). The -s option can contain a portlist as well -sid,3306,8080.The "id" part means literally id-ing a node based on some common ports like 22,23,25,80,137 and 443
17
Discovery / Re: Network devices that have 1.3.6.1.4.1.8072.3.2.10 as SysObjectID
« Last post by rickli on May 29, 2017, 11:21:56 PM »
Tx for the feedback :)

NeDi uses sysobjid only to determine the device type. This works for most networking vendors and that's what I've developed it for.

If your Linux devices provide their type in a MIB you could use the OID as typeoid in the .def file. Other than that you'd need to pester the vendors to change their implementations...
18
Discovery / Please help a challenged Nedi user
« Last post by gjames on May 29, 2017, 03:34:42 PM »
I have searched and searched and tried to scan the nodes of OS and Netbios information.
I have used nedi.pl -SxOs and -NS

Still nothing.

Also I cant seem to find nedi.log so I cant check that.

Thanks for ant pointers.
19
Installation / ESXi host config backup
« Last post by maltyx on May 28, 2017, 01:32:14 PM »
I have a general question about configuration backup for EXSi hosts by NEDI. What kind of backup could be done by NEDI backup job? Host configuration or VMs config? What I see, that there is a backup job for VMWare OS that trying to get .vmx files from datastore1 .. and it fails because there is no such data-store on my Vmware Hosts .. Is there any way to setup data-store names or there should be some kind of auto-config?
Thanks.

for file in /vmfs/volumes/datastore1/*/*.vmx; do echo \#== $file ===========
=====================; cat $file; done
#== /vmfs/volumes/datastore1/*/*.vmx ================================
cat: can't open '/vmfs/volumes/datastore1/*/*.vmx': No such file or directory
20
Installation / Config backup for HPE Switches with latest firmware
« Last post by maltyx on May 28, 2017, 11:11:40 AM »
Hello,
I am trying to setup my Nedi (v.1.5) environment to backup configurations of network switches. And I found out a strange problem, on all HPE switches with the latest available for that model firmware
I am getting the following error:
<code>
CLI2:Matched 'password:' sending password
CLI3:Password sent
CLI3:Matched 'any key' sending ctrl-Y
Use of uninitialized value $match in pattern match (m//) at /var/nedi/inc/libcli.pm line 795.
Use of uninitialized value $match in concatenation (.) or string at /var/nedi/inc/libcli.pm line 800.
CLI8:Matched '' enable failed
</code>

Nedi is logging to switch with user that does not need to enable, and get "Invalid input: enable" from switch OS. The same goes on all switches ("Invalid input: enable"), but on those that have firmware from previous versions, backup job runs successfully..

Affected switches:
HP J9624A 2620-24-PPoEP Switch, revision RA.16.03.0004, ROM RA.15.13
HP J9779A 2530-24-PoEP Switch, revision YB.16.03.0004, ROM YB.15.09
Pages: 1 [2] 3 4 ... 10