Solved

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

Posted on 2013-06-25
17
835 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
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.
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

760 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

20 Experts available now in Live!

Get 1:1 Help Now