?
Solved

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

Posted on 2013-06-25
17
Medium Priority
?
1,040 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 123
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 123
ID: 39274971
if you use the vSphere Client, can you set the Advanced Settings in the log options?
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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 123
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 123
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 123
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 123
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 123
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 123

Accepted Solution

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

764 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