Solved

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

Posted on 2013-06-25
17
924 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 8
17 Comments
 
LVL 120
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
 
LVL 1

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 120
ID: 39274971
if you use the vSphere Client, can you set the Advanced Settings in the log options?
0
Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

 
LVL 1

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 120
ID: 39275028
do you have a simple datastore name without spaces?

e.g. datastore1
0
 
LVL 1

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 120
ID: 39275079
try quotations
0
 
LVL 1

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
 
LVL 120
ID: 39275117
if you use the non-friendly name. e.g. the numbers
0
 
LVL 1

Author Comment

by:vmich
ID: 39275127
not sure what you are saying there
0
 
LVL 120
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
 
LVL 1

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 120
ID: 39275157
0
 
LVL 1

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
 
LVL 1

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 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) 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
 
LVL 1

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

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

730 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