[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2013-06-25
17
Medium Priority
?
1,104 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
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 install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

649 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