Best way to add permissions to a shared data store?

I have an application (Replay), who must be able to restore a computer to an ESX virtual.  She is aware of vCenter and uses it to identify hosts and data warehouses, but he wants then SSH to that host, mkdir on a data store directory, then copy the vm disk data.  Operations of connection and files are unattended.


I created a user on a host ESX 4.1 but that the user has no rights to create a directory on the data store.  I want to be careful to apply permissions because this data store is shared storage between this group and there are production virtual machines running on it.  I don't want to enable the root user access SSH and I don't want the root password is known other demand for proofreading business owners.

I already tried to add this new user directly on the host, allowing SSH access to it, adding that user to the Administrator role on the ESX using the vSphere client.  I thought that would be enough to allow file operations, but when the user account wants to mkdir there is an access denied error.

Can anyone recommend a solution?

Thank you

Scott

I would check your permissions on the host computer by using 'su - username'.  Once you are connected as long as user, try to create a directory in the subdirectory appropriate off/vmfs/volumes.

If it fails, look this user permissions in the folder datastore ("/ vmfs/volumes/datastorename he 's").  In my case, all files owned by user root and group root.  However, by default, permissions are 755 therefore belonging to a group of "root" will not help because the members of the group is not write.  If you can, I test this on a non-essential data store and change the permissions of the directory data store itself be 775 (rwxrwxr-x).

In addition, if the default group for the user is not root, but users or something else, the new directories in the data store will be created with a bad group membership unless you change the variables in the shell of the user.  I simplify this by ensuring that the default group for the user is 'root '.

I don't think your NFS here login account.  The data store is read/write to this host and guests and the locking takes place on a basis by the host to the data store subdirectory level.

I hope this helps.

Tags: VMware

Similar Questions

  • best way to add a CURVES layer

    Hi all

    I am writing to you the best way to add an ArtLayer with a script.

    I already know that it is possible to add an Artlayer, and then change the layer.kind to the TEXT property.

    But unfortunately it is not possible to add change this property to LayerKind.CURVES.


    Here is an example

    /**
     * Function to add a layer to a Document
     * @param {LayerKind} layer_kind, the type of the layer (CURVES, TEXT, SELECTIVECOLOR)
     * @param {Document|LayerSet} [obj = app.activeDocument] the obj which contains the new layer
     * @return {ArtLayer} layer the added layer
     * @todo add a better test to check if layer_kind is an enum of LayerKind
     * @toto add control the layer is background or not
     * @todo https://forums.adobe.com/thread/1601245
     */
    my.add = function (name, layer_kind, obj) {
    
       if (obj === undefined) {
       var obj = app.activeDocument;
      }
    
       if (typeof layer_kind !== 'object') {
       throw {
       name: 'InvalidArgumentError',
       message: 'you must enter a valid value for the param layer_kind [CURVES, TEXT, SELECTIVECOLOR, etc.]',
       fileName: $.fileName,
       lineNumber: $.line
       };
      }
    
       var layer = obj.artLayers.add();
    
       layer.kind = layer_kind;
       layer.name = name;
    
       return layer;
    
    }
    

    So the only way to add different type of layer should use listener Action Script?

    I'm a little confused, because it would be much better to be able to change the layer.kind property.

    In advance, thank you very much for your help.
    Best account.

    Don't forget your does not deal with Adobe here it is the user forums.  If you want changes made to Photoshop scripts that you need to address Adobe please use Photoshop family customer community and submit a suggestion.

    Adobe DOM is limited without Manager Action code via ScriptListener Photoshop script script is not very useful because limited methods of model DOM of Adobe Photoshop. Many Photoshop features are not supported and the supported features can be supported in a limited way.

  • What is the best way to add libraries to a project?

    What is the best way to add technology to the ADF? For example log4j. Or the on-board recorder features log4j?

    Hello
    Hope useful

    http://technology.AMIS.nl/Blog/8380/manage-JDeveloper-external-libraries

  • How can I add an ISO to the data store?

    How can I add an ISO to the data store?  It doesn't let me access the ISO.

    of the error, it seems that your iso is bad.

    hitting a md5 checksum or re-download the iso

  • Lost ESX Server shared data store

    Hello

    I can't find the data store shared in one of my ESX Server. And I try to rescan and may find the logic unit number but just can't find the shared data store. This is the channel san fibre storage system.

    Is it possible to return the lost shared data store?

    Thanks in advance!

    LAN

    You mean it must be confirmed if the partition table is OK first? But how to confirm...

    Just run this command:

    fdisk-l

    You should see your LUN with a VMFS (type fb) partition.

    André

  • Best way to add the query?

    Hey all, I'm adding the media to the Html file. I was wondering is it better to add them inline in the Html file or add them in the CSS file? I added a slide show to a container and want only on the left with a line to the right to add text. I want this float underneath when the xs.

    This is the code:

    < div class = "container-fluid" >

    < div class = "row" >

    < div class = "col-md-12 col-md-offset-3" >

    < h1 class = 'text-center' >#< / h1 >

    < / div >

    < / div >

    < hr >

    < / div >

    < div class = "container" >

    < div class = "row text-Center" >

    < div class = "col-md-6 col-md-offset-3" >

    < div id = "carousel1" class = "slide Carousel" data-ride = "Carousel" >

    < ol class = "Carousel-indicators" >

    < li data-target = "#carousel1" data-slide-to = "0" class = "active" > < /li >

    < li data-target = "#carousel1" data-slide-to = "1" > < /li >

    < li data-target = "#carousel1" data-slide-to = "2" > < /li >

    < /ol >

    < div class = "Carousel-interiors" role = "listbox" >

    "< div class ="active item"> < img src="file:///HD/Users/macuser/Library/Carousel_Placeholder.png "alt ="First slide"class ="Center-block">

    < div class = "Carousel-caption" >

    < H3 >first slide heading< / h3 >

    < p >first slide legend< /p >

    < / div >

    < / div >

    "< div class ="item"> < img src="file:///HD/Users/macuser/Library/images/Carousel_Placeholder.png "alt ="Second image slide"class ="Center-block">

    < div class = "Carousel-caption" >

    < H3 >second slide heading< / h3 >

    < p >second slide legend< /p >

    < / div >

    < / div >

    "< div class ="item"> < img src="file:///HD/Users/macuser/Library/images/Carousel_Placeholder.png "alt ="Third slide"class ="Center-block">

    < div class = "Carousel-caption" >

    < H3 >section third slide< / h3 >

    < p >third slide legend< /p >

    < / div >

    < / div >

    < / div >

    < a class = "Carousel-control left" href = "#carousel1" role = "button" data-slide 'prev' = > < span class = "glyphicon glyphicon-chevron-left" aria-hidden = "true" > < / span > < span class = 'sr-only' >previous</span > < /a > < a class = "carousel-control right" href = "#carousel1" role = "button" data-slide 'next' = > < span class = "glyphicon glyphicon-chevron-right" aria-hidden = "true" > < / span > < span class = 'sr-only' >Next</span > < /a > < / div >

    Click outside the blue container select this option for < strong >line< facilities >. The columns are always contained in a line. < Strong >lines are indicated by a dotted grey lines and rounded corners online< facilities >.

    < / div >

    < / div >

    Find it me easier to add online and I think this is the best way. This way I have add a container then an ID and this is where I add questions from the media. Is this the wrong way? I keep seeing people adding them in the CSS file. What is the best and why? I'm a newb. Thank you!

    I think that sometimes people get a little confused by the Bootstrap classes that establish points of breaking for you if used correctly.  So in that sense, I guess that some people may think it's the CSS inline code.  But technically, it's just the HTML markup.   In this example, you can set widths different collar for xs, sm, md and lg devices.   Bootstrap is mobile in the first place, so the default value is 12-xs-col.  This is why we don't need to express it in our code.

    something here...

    class=" "="">
  • What is the best way to add more languages to my Adobe Muse site?

    Hi, I just created a site for an international artist of the work. I finished the site of Muse in 1 language. Now, I want to add 2 other languages on the site that I realized. I would like to add the choice for the visitor to link to the home page (text or in a signpost) to 'their' language. I imagine that the 2nd and 3rd language are part of the same site.

    What is the best way to do?

    Or: where can I find the information in the Adobe-help site? I prefer to read the instructions in Dutch. If this is not possible, the English will be correct.

    Thank you, Martha

    Hi Martha,

    You can consult the links below:-

    (1)How to put in place a multilingual with Adobe Muse website and push it live to Adobe Business Catalyst

    (2)re: How can I create different languages for my page?

    Kind regards

    Neha

  • Best way to add numbers or available several pages

    I have a ticket that needs to be numbered. It is small enough to mount 5 on a sheet of 8.5 x 11.

    Each ticket must be numbered.

    I can do a master page and adds all the numbers in this way and then make a pdf.

    What is the best way to get the numbers on tickets that are printing 5 up on a sheet and I can print via a copier?

    There are several ways to do this:

    1. create single page tickets, numbered by car and use institution the Copier feature (if available and access to the)

    2. use the data with the numbered list merge and produce several cliché recording to create a 5 - up document

    3 create a 5 - model up with block of text frames for import of numbering, a numbered list that flows into the document

  • Oracle 12 c, the best way to add a foreign constraints on a property to json

    Hi, I wonder what is the best way to achieve a foreign constraint in this situation:

    In TABLE_A there is a column CLOB with the constraint "check is JSON.

    Is it possible to create a foreign key on a column property of json that references a column (primary key) on another table?

    Is it possible to create a constraint on a column property json referencing a property of another JSON column on another table?

    Currently, I do as well using a trigger, or by adding a column copy the value of the property of json which I need the constraint.

    Are there other ways to do this?

    Thank you!.

    Supported JSON is relatively new for Oracle 12 c.

    Is it possible to create a foreign key on a column property of json that references a column (primary key) on another table?

    Is it possible to create a constraint on a property of the column of json that refers to a property of another JSON column on another table?

    As I know there is no way to create a constraint on a property JSON in a column. Part of the issue with JSON is that not all properties are required to be present in the JSON document. What would you do if these goods were missing?

    Currently, I do as well using a trigger, or by adding a column copy the value of the property of json which I need the constraint.

    That's how I'd do. If you have a JSON property that must be part of a constraint, use a trigger to fill another column, then put the constraint on this column.

    See you soon,.
    Brian

  • Best way to record 50 kech. / s data to the file

    I'm reading a data acquisition data at a sample rate of 50 kech. / s and save it in a file. My application must run for at least a few hours. At first, I tried a model of loop of consumer-producer with a writing on measurement file Express VI, but he wrote the data too slowly, and my queue. Now, I'm trying to use the Write to VI file spreadsheet with or without a loop of producer-consumer model (see attached screws). Both seem to write data to the file, but no written records the number of datapoints I expect (the two have a lot less datapoints).

    What is the best way to write data to the file? Seems like a basic question, so if it has already been discussed in detail in another forum, or if there are examples of what someone could point me to, that would be appreciated also.

    Thank you!

    Hvea look at "stream directly to disk with TDMS in LabVIEW".

  • Best way to migrate (RDBMS and Essbase) planning data between systems

    Hello. I need to migrate data from planning (fact data relationship of Planning (time and text comments) and Essbase). Migration of Essbase is relatively simple (migration of Essbase dimension data and then export and reload fact Essbase data) but I'm not sure on the best way to migrate relational data 100% done. Should I do a dump of the schema and then migrating the other system of planning? Thank you.

    It comes to 11.1.1.3.

    Like you're on 11.1.1.3 I suggest to use LCM to migrate the planning elements.
    An example on how is available at:-http://www.oracle.com/technology/obe/hyp_ss/SS11.1.1_PLNLCM/PLN_LCM_OBE.htm

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Add virtual machines to a data store while changing the name?

    I am trying to create a virtual machine in standby (or more, I do not have a final number) in a second datacenter.  The goal is to have a copy of a group of virtual machines updated once a week as a relief.

    I'll use our SAN replication to keep them up-to-date, so once a week, I stop all virtual machines in the data store, remove them from the inventory and remove the data store.  Then on the side of SAN, I'll create a new copy of the data store, then add this data store to vSphere.  We will do a few rounds of network to ensure we have not any change in the network that should be taken in the virtual machine.

    The only changes to the virtual machine that needs to be done, are changing the vSwitch is logged in, that I understood, and to rename the virtual machine, either before being added, or when it is added.  Since it is a copy of a virtual machine running, I'm not able to add all virtual machines to the new data store.  I need either change the name of the virtual machine before being added, or when it is added.  All I have to do to change the name is add something like - backup at the end of the name of the virtual machine.

    Is it reasonably simple way to do this?  It seems that he was promised that we could do that and now I need to find a way to make it work.

    Thank you

    You can search the data for the VMX store you want to register a script like the one you'll find in VMX Raiders revisited.

    To change the name of the virtual machine, you will need to replace the line that contains the New - VM cmdlet with something like this

    $newName = $VMXFile.DatastoreFullPath.split('/')[1].Split('.')[0]New-VM -VMFilePath $path -Name ($newName + "-backup") -VMHost $ESXHost -Location $VMFolder -RunAsync
    
  • Add the total size of data store and space remaining


    Hi,

    What would be the easist way to add the total datastore size and remaining datastore size to the following.
    I do emphasise, esasiest, since I'm as green as can be to powercli, powershell for that matter. I'm trying to learn in babysteps

    Get - VM $VM | %{ $_. Name; ($_ | get-datastore | select name). Name}

    At the moment I get day like this, I get to the above.

    DataStoreName (Add info here on DS size?)

    vmname

    DataStoreName (Add info here on DS size?)

    vmname

    ...

    ...

    ...

    Thank you!!

    The $_ represents the object that has been passed through pipeline (the ' |') of the previous cmdlet.

    For example

    Get - VM | %{$_. Name}

    The cmdlet Get - VM will get all the VMs on the servers of vSphere to which you are connected.

    The pipeline ('|) ') said these VM objects one by one to the following code.

    In what is a Foreach-Object (alias is '%') who will send the name of the virtual machine (available in the variable $_) to the default output.

    On a Select-Object cmdlet, you can select properties of the object that was passed through the pipeline, or you can use what is called a "calculated property. Such a calculated property consists of a pair of hash, name (N) and Expression.

    Obviously, name is the name you want to give to this calculated property.

    Expression is the block of code that must be executed.

    For example

    Get-Datastore. Select Name,@{N="CapacityGB; E={$_. CapacityMB/1 KB}}

    All database objects are passed to the Select-Object cmdlet.

    The Select cmdlet displays the name of the data store, and it will display a property called CapcityGB, which displays the ability to store data in GB.

    Notice how the property CapacityMB that is present in the data store object is converted to GB by the code in the Expression block.

    The part of the Expression has not always need to do something with a property of the object that was passed.

    For example

    Get - VM | Select Name, @{N = 'Current time'; E = {Get-Date}}

    In this case the Select-Object cmdlet displays the Name property of the virtual computer object that has been sent.

    And it will display the current time as the propertyname "current time".

    This is an example of a calculated property that has nothing to with the object passed through the pipeline.

    I hope that clarifies the code a bit.

  • Best way to add two mic clips to a video clip

    I have two microphones tie run in two different channels (not the camera).  I want to add these two audio clips to video.  I took the two clips and clip video and synchronized together... that works although I... now no control over each audio clip is what it is.  Is there a better way to do it, or where I can have control over each audio clip in the timeline?

    Have you used the function of the extent of the audio components in the timeline?

  • Best way to add words to the different parts of the frame?

    There are sometimes opportunities when I want to put the text on different parts of the screen, possibly with different fonts sizes and colors etc.

    On this occasion, I'm going to fill in the spaces in the jury of the Clap below.

    Is there a quick way to do it using a single title I can position each word (or groups of words) exactly where I want to?

    Or do I just add writing in Photoshop? This would limit still edit in FCP X.

    To add the likelihood that I will use fonts like marker felt, slate etc.

    Change the fonts and sizes is normally done in any title - just select the text and apply the changes. No need for a special title for this.

    To move the text independently:

    It is very easy to create a title in movement with more than one piece of text - this is a title with two layers of separate text:

    By posting the Position for each text, you can place and move independently.

    This will appear in the tab title of the Inspector instead of the video tab.

    In a quick test, I could not change the name of the parameter, but it works very well

    :

  • Maybe you are looking for

    • Memory card causes problems

      I have a new PRS - T1 and have devoted a 16 GB MicroSD card. 1. with the card in place, the device does not "remember" any book that he was reading, which is stored on the card and also, of course, do remember not what page it's on. He can remember b

    • Unable to boot after Windows update

      Hello As is strives to update windows today, I wasn't expecting to lock up my computer, but now I am facing blue screen of death at every start. The Startup Repair tool is not help... So for now, the only option I see is to reformat my C drive? It wa

    • Cd/dvd USB for DOS drive carrier

      I try to install my old copy of win 98SE (that I still hang out) on my eeepc 4G but BACK won't recognise DVD USB drive that I use (no IDE/SCSI internal drive). I was able to copy the contents of the CD on an SDHC card and install windows, but after t

    • H5V62EA #ABZ, portable Italian with U.S. power.

      Hello everyone, I have a laptop HP product number 650 Italian: H5V62EA #ABZ. It's Italian, and we, in Europe, about 200-200 Volts at 50 Hz power point, I think, while in the United States the outlet works at 100-120 V 60 Hz. do I need a converter for

    • Items related to work plans

      How can I create common elements through plans of work such as headers and footers? I was wondering if there was an option, so if you update one header it would update other which were related?