Solved

Getting erros when trying to setup persistent scracth area in esxi 4.1

Posted on 2013-06-25
17
851 Views
Last Modified: 2013-07-03
I am trying to setup the persistent scratch area for troubleshooting but when I keep trying to add in the path either via the vcenter or ssh, I keep getting the following error message:
(vmodl.fault.InvalidArgument) {
   dynamicType = <unset>,
   faultCause = (vmodl.MethodFault) null,
   invalidProperty = <unset>,
   msg = "A specified parameter was not correct.

This is what I am putting in via ssh:

/vim-cmd hostsvc/advopt/update ScratchConfig.ConfiguredScratchLocation string /vmfs/volumes/XXX SAS Storage 3 2MB/xxxxxxx-persistent

Any idea what I am doing wrong?
0
Comment
Question by:vmich
  • 9
  • 8
17 Comments
 
LVL 118
ID: 39274897
It's recommended to use a Syslog Server.

either use vMA or Syslog server supplied with vCenter Server 5.x installation.

or use the latest VMware vCenter Log Insight

http://www.vmware.com/products/datacenter-virtualization/vcenter-log-insight/overview.html

which is currently in free.
0
 

Author Comment

by:vmich
ID: 39274917
I know but I need to get this setup like now and that is why I am trying to use the persistent scratch area for this now...
0
 
LVL 118
ID: 39274971
if you use the vSphere Client, can you set the Advanced Settings in the log options?
0
 

Author Comment

by:vmich
ID: 39274993
That's what I was trying to do with the scratch settings in advanced under software and keep getting the message that it does not like what I am putting in for some reason..
/vmfs/volumes/name of datastore/folder name..
0
 
LVL 118
ID: 39275028
do you have a simple datastore name without spaces?

e.g. datastore1
0
 

Author Comment

by:vmich
ID: 39275039
No they all have spaces..
That should not matter though should it?
Since they all have spaces, do I need to add it in another way?
0
 
LVL 118
ID: 39275079
try quotations
0
 

Author Comment

by:vmich
ID: 39275101
I tried this:

/vmfs/volumes/xxx sas storage 3 2mb/xxxxxx-persistent

Then I tried:
/vmfs/volumes/"xxx sas storage 3 2mb"/xxxxxx-persistent

But it does not like any of them..
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 118
ID: 39275117
if you use the non-friendly name. e.g. the numbers
0
 

Author Comment

by:vmich
ID: 39275127
not sure what you are saying there
0
 
LVL 118
ID: 39275140
okay, if you look at the datastores from SSH, you will see the VMFS datastores have a UUID, which corresponds to a friendly datastore name

e.g. UUIDs
see the numbers in the red box next to friendly names, these are the datastore UUID
0
 

Author Comment

by:vmich
ID: 39275149
so try the friendly name in place of the datastore name as it is seen in the vc
0
 
LVL 118
ID: 39275157
0
 

Author Comment

by:vmich
ID: 39275171
Thanks I know how to enable the ssh and this is esxi 4.1 which is the same but I just tried to add in the name from ssh and I get the same error: The value entered is not valid. Enter another value.
0
 

Author Comment

by:vmich
ID: 39275756
Any other suggestions to try hanccocka that you can think of?
I cant seem to get this thing to take anything I put in...
0
 
LVL 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 39276167
yes, try the following:-

folders *must exist*

datastore must be in square brackets [ ] to signify a datastore, otherwise it will assume it's in the local root /

e.g. [nfs-data]/scratch/tools

where nfs-data is the datastore in [square brackets]

/scratch is a folder
/scratch/tools is a folder...

so try

[xxx sas storage 3 2mb]/xxxxxx-persistent
0
 

Author Closing Comment

by:vmich
ID: 39297630
solved
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Vmware Independent Disk 5 74
VMware 6:  VMs vanished during migration 8 55
Vmware PowerCLI script 4 68
esx multi vlans 3 58
If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now