Store 3D models

I wrote a small 3DS loader, but now I ran into the problem of the storage of information. When I load a model, there are the ABC and XYZ coordinates for faces. Coordinates are taken from the file as floats then converted to integers with a small loss of precision and faces are integers as well.

It's really a problem of storage of multiple(~20) large arrays(~200) of 6 arrays of integers. I thought to do an operation a bit wise to convert the 6 tables in a long. 2 bytes for each x y and z can store each face as a single byte. But this gives me several large bays long. Also limit the amount of polygons I have 256.

I don't know that I'm more complicate this so I thought I would ask if there is a simpler method.

Hello

It's really a problem of storage of multiple(~20) large arrays(~200) of 6 arrays of integers. I thought to do an operation a bit wise to convert the 6 tables in a long. 2 bytes for each x y and z can store each face as a single byte. But this gives me several large bays long. Also limit the amount of polygons I have 256.
I don't know that I'm more complicate this so I thought I would ask if there is a simpler method.

Can reaffirm you what is your "problem"? I don't see any in your description, but maybe I missed something.
Based on your numbers, you're talking about store 20 * 200 * 6 = 24000 integers, i.e. 96KO. Not a large amount in the memory live to a regular desktop computer - but maybe you have running on a smaller device? Please clarify if this is the case.
It's probably not a lot either in terms of storing files.

Is your problem, the fact that you don't know how to code this "storage"? Search on the 'Java serialization' (of course there are many other approaches).

Best regards

J.

Tags: Java

Similar Questions

  • Apple Store display models - Apple Watch 2

    Anyone know if the new models are exposed and available to try in the Apple stores?

    Yes, they are. I was in my local Apple store yesterday. They were all models. Aluminium, stainless steel and ceramic.

  • In what directory Pages stores my models?

    I just did a clean install of Sierra. Before doing so, I backed up my documents, made a disk image of the drive and ran Time machine. I had *-U - MEd my models were either in Documents or Application Support, but after the installation of 6 Pages, I both can't find where I drag my old models, even if I could find them on the previous disk image. Please notify.

    If you are migrating your data and files using migration Assistant in your folder utilities, the models have to migrate with your software.

    Peter

  • Bought the model demo Touchpad, should I use Secure Full Erase WebOS account?

    Hi all

    Just picked up a new Tablet from HP Touchpad today and work out the kinks in there. Pretty good so far, but on a new snag has WebOS to come. The Tablet I bought was the store demo model that is apparently already set up with a generic soil profile demo. Unfortunately apparently you can create a new account WebOS via the Setup Wizard initial turning on the new device for the first time. At this point it would be better for me to use the "Secure full erase" options in the system settings to a factory default mode and would it prompt me to create a new account/profile as if I just bought new store?

    Thank you!

    DJ

    WOOT! Worked thanks a lot! On the waiting game now also for WebOS servers.

  • Items in-store marking as "On Sale" in Business Catalyst

    I have a customer asking for some elements in the store as on sale, but I can't get the store to display the sales prices. I tried everything I know how to do and still can not get this to work. Any help would be greatly appreciated!

    You must add this tag to your online store module model where you want the sale price to appear.

    {tag_saleprice}

  • Models of thin provision

    Looking to change my form of models thick to thin provisioned disks. The benefits are that they occupy less space and faster deployment.

    I have Win3K3 and Win3K8 models. Models have been created initially with ESX 3.5 so that they always have hardware virtual version 4. We

    are in the process of upgrading our ESX hosts to version 4.0 U1. Our virtual Center is already updated to version 4.0 U1. No downside to

    do this?

    Mike

    It is actually better to store your models as thin and then convert them into thickness during deployment.   They will use less space on the LUN model and should deploy more quickly.

    -MattG

    If you find this information useful, please give points to "correct" or "useful".

  • Clone of the model using the same file on disk

    I have 'Machine virtual Deploy form this model... ". "and on the new VM from the disk file points to the path of the template.  In the store of data info it shows the DS that I chose to place the new virtual machine, but also the DS that stores the model.  I saw the same thing with a model of RHEL 5 and SLES 10.  Thank you.

    You must re-create the model, cause the vmdk file was not duplicated and was used by the virtual machine.

    If you have the same problem again, call VMware to check why it occurs.

    André

    * If you found this device or any other answer useful please consider awarding points for correct or helpful answers

  • Suggestion of storage for backups/Devs/models

    Hello world

    We also got a cheap NAS from Thecus we mainly use to store our models and our images of vRanger connection.  She's exhausted on space now and I wonder what is a good alternative to replace the Thecus?

    Someone at - it any recommendations on any NetApp products or anything else that has NFS capabilities?  We are not concerned about the storage as long as it has at least 2 T.  Budget is approximately $ 5,000 to $ 10,000.

    Thanks for your time.

    Hello

    You can also simply use a server not expensive with a lot of drive or the ability to add a lot of drive. NetApp is a great solution, but can become expensive just for backups... I use a w/masses DL380G3 drive as my backup server... Then add in a disc tray needed more bands... Seems to work very well.

    Best regards

    Edward L. Haletky

    VMware communities user moderator

    ====

    Author of the book "VMWare ESX Server in the enterprise: planning and securing virtualization servers, Copyright 2008 Pearson Education.»

    Blue gears and SearchVMware Pro Articles: http://www.astroarch.com/wiki/index.php/Blog_Roll

    Security Virtualization top of page links: http://www.astroarch.com/wiki/index.php/Top_Virtualization_Security_Links

  • HP Envy 4504: Connected HP account

    I bought a HPENVY an E Bay store display model ex 4504.  It is in excellent condition and works great.  I tried to add the printer a HP connected account but it says that it is already registered.  I contacted the seller, and they suggest that I contacted HP.  Any suggestions to get it added?

    Hello

    If you can find that on the screen and then select delete the Web Services and confirm, click HP ePrint.

    Then locate web services on your printert and reactivate Web Services.

    You should then be able to print a new claim code which will allow you to claim the printer.

  • Treat the AVL ATF error file in the opening AVL recorder data

    We test our engines with AVL testbed. After the series of tests, we got the result of the test stored as FAT filesystem. According to AVL test bench specifications, Puma Open settings and data are stored in format ASAM ODS (Open Data Services). This means that the data structure conforms to the ASAM standards.

    But while we try to use the Diadem software for process AVL data file, we found something strange. The problem is that the tiara can open all other groups of the AVL ATF file as "AND" "EM" etc except the recorder group. Test data recorded by AVL Puma cannot open the Diadem software. The tiara channel shows "Novalue".

    Could someone tell me the reason and the solutions?

    Thank you

    While the file is readable by itself, it contains certain constructs that are not loadable using the submatrices.

    Use the attached code to load.

    Option Explicit

    If (FileNameGet ("ANY", "FileRead", DataReadPath, "the file ATFX (*.atfx;")) *. (ATF), *.atfx; *.ATF") ="IDOk") then

    "atf (x) open file
    Dim param: param = "" & replace (FileDlgFileName, "&", "&") & ""
    Dim store: store set = navigator. ConnectDataStoreByParameter ("ATFX", param)

    «get the submatrices to load»
    protected subMatrixEntity: subMatrixEntity = store. Model.Entities ("AoSubmatrix"). SubTypes (1). Name
    Dim sms: sms the value = store. GetElementList (subMatrixEntity, "")

    ' Load with the default configuration
    Call Navigator.LoadData (sms, "Load", Navigator.Settings.CreatePropertyImportSet (store))

    End If

  • Pavilion DV6000: Laptop display problem

    My laptop screen works not all Idiea before you take it to the store

    Model FF513EA number

    problem map graphic and plastic cable wire which connect it, technician fixed it finally.

    anyway thanks for the help.

  • Use QObject as a property in the user interface element

    I want to store an instance of QObject in an element of user interface for later use. My attempt to use a type of QtObject failed as follows:

    model var = retrieveModel() / / get instance of method C++ Q_INVOKABLE QObject

    containerInstance.model = modΦle

    ...

    {Of container

    ID: containerInstance

    model QtObject properties.<-- attempt="" to="" store="" the="" qobject="">

    {Label

    text: model.name

    onXYZ: {}

    Model of QObject here use

    }

    }
    }

    But apparently QtObject differs from QObject:

    Asset: / / / test. QML:51: error: could not assign QObject * to bb::cascades:QmlQObject *.

    Does anyone have an idea to store a QObject as a property of a UI element? My other option is to store the model instance of QObject as a global variable in "pints", but this isn't a nice solution.

    You must expose the object that you want to use in C++ and QML.

    Read this to understand how it's done...

    http://developer.BlackBerry.com/native/documentation/Cascades/dev/integrating_cpp_qml/

  • the RESTful web service and database NoSql.

    I configured a database version Oracle NoSQL 3.0.5.

    I wrote the below 12 c JDev RestFul web service.

    the Rest works well, but when running query (GET) it returns the following error.

    I don't know how to correct it. Need help

    package store;

    import com.hp.hpl.jena.query.Query;
    import com.hp.hpl.jena.query.QueryExecution;
    import com.hp.hpl.jena.query.QueryExecutionFactory;
    import com.hp.hpl.jena.query.QueryFactory;
    import com.hp.hpl.jena.query.ResultSet;
    import com.hp.hpl.jena.query.ResultSetFormatter;
    import com.hp.hpl.jena.query.Syntax;
    import com.hp.hpl.jena.rdf.model.Model;

    Import javax.ws.rs.GET;
    Import javax.ws.rs.Path;
    Import javax.ws.rs.Produces;

    Import oracle.kv.impl.api.ops.Get;

    Import oracle.rdf.kv.client.jena.OracleModelNoSql;
    Import oracle.rdf.kv.client.jena.OracleNoSqlConnection;

    @Path ("store")
    public class StoreResourceHandle {}
    public StoreResourceHandle() {}
    Super();
    }

    public static String queryStoreNoSQL() {}
    String StoreName = "semep;
    String HostName = 'localhost ';
    String HostPort = "5000";
    String szModelName = "http://example.org/Captation";
    String ModelName = "http://Repository";
    OracleNoSqlConnection conn = OracleNoSqlConnection.createInstance (StoreName, HostPort, HostName);
    Model = OracleModelNoSql.createOracleModelNoSql (ModelName, conn);

    String szQuery = "SELECT? s? p? o\n +.
    "where {\n" +
    "  { ?s  ?p  ?o}\n" +
    "}";


    System.out.println ("Execute query" + szQuery);

    Query query = QueryFactory.create (szQuery, Syntax.syntaxARQ);
    QueryExecution qexec = QueryExecutionFactory.create (query, model);
    ResultSet results = qexec.execSelect ();
    String textResults = ResultSetFormatter.asText (results);

    qexec. Close();
    Model.Close ();
    Conn.Dispose ();
    Return textResults;
    }


    @GET
    @Produces("text/plain")
    public String getStoreQuery() {}
    String result = StoreResourceHandle.queryStoreNoSQL ();
    System.out.println ("result");
    return the result;
    }

    }

    [Running the application on IntegratedWebLogicServer StoreResource...]
    [21: 45:44] StoreWebApp.war of Module Web recognized in the project Store.jpr
    [Another instance of the storeresource application is running on the server.  JDeveloper redeploy the application.]
    [21: 45:44]-deployment began.  ----
    [21: 45:44] the target platform's (Weblogic 12.x).
    [21: 45:44] recovery of the existing application information
    [21: 45:44] analysis of the dependence running...
    [21: 45:44] deployment 2 profiles...
    [21: 45:44] wrote on the Web for C:\Users\memus\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee\drs\StoreResource\StoreWebApp.war application Module
    [21: 45:44] wrote the Module Enterprise Application to C:\Users\memus\AppData\Roaming\JDeveloper\system12.1.2.0.40.66.68\o.j2ee\drs\StoreResource
    [21: 45:44] application is not transferred
    [21: 45:44] the constriction of context following URLS have been defined and can be used as a starting point for testing your application:
    [21: 45:44] http://localhost:7101 / StoreResource-store-context-root
    [21: 45:44] time to deployment: 1 second
    [21: 45:44]-deployment is complete.  ----
    Run start time: 554 ms.
    [Application running on IntegratedWebLogicServer StoreResource]

    Target application w- http://localhost:7101/StoreResource-Store-context-root/resources/application.wadl

    Target URL - http://localhost:7101 / StoreResource-store-context-root/resources/store
    < 25 may 2014 21: 45 CEST > < error > < com.sun.jersey.spi.container.ContainerResponse > < BEA-000000 > < exception contained in MappableContainerException could not be mapped to a response, re - throw to the HTTP container
    java.lang.NoClassDefFoundError: oracle/rdf/kv/customer/jena/OracleNoSqlConnection
    to the store. StoreResourceHandle.queryStoreNoSQL (StoreResourceHandle.java:41)
    to the store. StoreResourceHandle.getStoreQuery (StoreResourceHandle.java:68)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    Truncated. check the log file full stacktrace
    >
    < 25 may 2014 21: 45 CEST > < error > < HTTP > < BEA-101017 > < [ServletContext@10446167[app:StoreResource module: StoreResource-store-context-spec: null, path root-version: 3.0], request: [ weblogic.servlet.internal.ServletRequestImpl@1e35577
    GET StoreResource-Store-context-root/resources/store HTTP/1.1
    Connection: TE
    TE: trailers, deflate, gzip, compress
    User-Agent: Oracle HTTPClient Version 10: 00
    Accept: text/plain
    X HTTPAnalyzer-Rules: 1@localhost:8099

    Root cause]] of ServletException.
    java.lang.NoClassDefFoundError: oracle/rdf/kv/customer/jena/OracleNoSqlConnection
    to the store. StoreResourceHandle.queryStoreNoSQL (StoreResourceHandle.java:41)
    to the store. StoreResourceHandle.getStoreQuery (StoreResourceHandle.java:68)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    Truncated. check the log file full stacktrace
    >
    < 25 may 2014 21: 45 CEST > < opinion > < Diagnostics > < BEA-320068 > < Watch "UncheckedException" in the module "Module-FMWDFW" with severity "Notice" on the server "DefaultServer" triggered on 25 may 2014 21: 45 CEST. Details of the notification:
    WatchRuleType: Journal
    WatchRule: (SEVERITY = "Error") AND ((MSGID = ' WL-101020') OR (MSGID = "WL-101017'") OR (MSGID = "WL-000802'") OR (MSGID = "BEA-101020'") OR (MSGID = "BEA-101017'") OR (MSGID = "BEA-000802'"))
    WatchData: DATE = may 25, 2014 21: 45 CEST SERVER = DefaultServer MESSAGE = [ServletContext@10446167[app:StoreResource module: StoreResource-store-context-spec: null, path root-version: 3.0], request: [ weblogic.servlet.internal.ServletRequestImpl@1e35577
    GET StoreResource-Store-context-root/resources/store HTTP/1.1
    Connection: TE
    TE: trailers, deflate, gzip, compress
    User-Agent: Oracle HTTPClient Version 10: 00
    Accept: text/plain
    X HTTPAnalyzer-Rules: 1@localhost:8099

    Root cause]] of ServletException.
    java.lang.NoClassDefFoundError: oracle/rdf/kv/customer/jena/OracleNoSqlConnection
    to the store. StoreResourceHandle.queryStoreNoSQL (StoreResourceHandle.java:41)
    to the store. StoreResourceHandle.getStoreQuery (StoreResourceHandle.java:68)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    to com.sun.jersey.spi.container.JavaMethodInvokerFactory$ 1.invoke(JavaMethodInvokerFactory.java:60)
    to com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ TypeOutInvoker._dispatch (AbstractResourceMethodDispatchProvider.java:185)
    at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
    at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
    at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
    at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
    at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
    at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1511)
    at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1442)
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)
    at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)
    at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
    at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716)
    at weblogic.jaxrs.server.portable.servlet.ServletContainer.service(ServletContainer.java:218)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:341)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.j2ee.ws.server.jaxrs.TenantServletFilter.doFilter(TenantServletFilter.java:81)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)
    at java.security.AccessController.doPrivileged (Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:225)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3367)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3333)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2220)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2146)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2124)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1564)
    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:254)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:295)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:254)
    Subsystem = HTTP USERID < WLS Kernel > = SEVERITY = error THREAD = ExecuteThread [ASSET]: '1' for the queue: MSGID "(self-adjusting) weblogic.kernel.Default" = BEA - 101017 MACHINE = mustapha TXID = the CONTEXTID = 6a226c0c-6115-47df-833a-8465cd21cc68-0000002f TIMESTAMP = 1401047153802
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    < 25 may 2014 21: 46 CEST > < emergency > < oracle.dfw.incident > < BEA-000000 > < 65 incident created with the key to problem "DFW-99998 [java.lang.NoClassDefFoundError] [oracle.j2ee.ws.server.jaxrs.TenantServletFilter.doFilter] [StoreResource]" >

    Hi MEMU,.

    I have it. And he has deployed in the built-in container. It works very well. Note that I did the following.

    (1) change the project properties,

    In the libraries and Classpath, I need to add in Classpath entries associated Jena libraries, slf4j, sdordfnosqlclient.jar, kvclient.jar etc.

    (2) use the xercesImpl - 2.9.1.jar instead of xercesImpl - 2.10.0.  Jdev 12 c appears to use an older version of xerces as bundles of Jena.

    Once done the configurations above, I can execute your project without changing Java code.

    Here is the result:

    [14: 34:08] wrote the Web application Module for /home/alwu/.jdeveloper/system12.1.2.0.40.66.68/o.j2ee/drs/UniversalSparqlQuery/queryWebApp.war

    [14: 34:09] wrote the Module Enterprise Application to /home/alwu/.jdeveloper/system12.1.2.0.40.66.68/o.j2ee/drs/UniversalSparqlQuery

    [14: 34:09] Application deployment...

    [14: 34:15] Application deployed successfully.

    [14: 34:15] the constriction of context following URLS have been defined and can be used as a starting point for testing your application:

    [14: 34:15] http://192.168.1.1:7101 / UniversalSparqlQuery-application-context-root

    [14: 34:16] for deployment time: 9 seconds

    [14: 34:16]-deployment is complete.  ----

    Run start time: 9573 ms.

    [Application running on IntegratedWebLogicServer UniversalSparqlQuery]

    Target application w- http://localhost:7101/UniversalSparqlQuery-query-context-root/resources/application.wadl

    Target URL - http://127.0.0.1:7101 / UniversalSparqlQuery-query context root/resources/query/select/home/store/port/model/application

    I went in a universal store

    I create the connection to: model

    Run the select query

    I leave the store: store

    I spent in-store universal semep

    I create the connection to: http://Repository

    Run select select? s? p? o where {? s? p? o}

    I leave the store: semep

    It will be useful,

    Zhe Wu

  • New virtual machine creation error

    Hi guys

    Here's the script (part of)

    $myhost = get-VMHost-$indicated-$indicated is an internal thing where two hosts, each with a local data store

    $Myhost1 = $myhost [0]

    $Myhost2 = $myhost [1]

    $myds = $myhost1 | Get-Datastore

    $h1ds1 = $myds [0]

    $h1ds2 = $myds [1]

    $myds2 = $myhost2 | Get-Datastore

    $h2ds1 = $myds2 [0]

    $h2ds2 = $myds2 [1]

    New-OSCustomizationSpec-name $OSCostumSpec_SQL - Windows - $VMPassword AdminPassword OSType - zone ProductKey - $WinProductKey_SQL - ChangeSid - OrgName $OrgName - NamingScheme $TimeZone fixed NamingPrefix - $SQLVM.split(".") [0] - fullname administrator - workgroup WORKGROUP

    New-OSCustomizationNicMapping - OSCustomizationSpec $OSCostumSpec_SQL - IpMode UseStaticIP - IPAddress SubnetMask - $VMSubnet - passerelle_par_defaut $VMGefaultGateway $SQLVMIP - Dns $DNS, $DNSVCE - 1 post

    New-VM - VMHost $Esxihost - name $SQLVM - data store $h1ds2-model $SQL2008RTemplate - OSCustomizationSpec $OSCostumSpec_SQL

    Get-VM-name $SQLVM | Set-VM-Version $VMVER - confirm: $false

    Get-NetworkAdapter - VM $SQLVM | where {$_.} Name - eq 'Network adapter 2'} | Remove-NetworkAdapter-confirm: $false

    Get-NetworkAdapter - VM $SQLVM | where {$_.} Name - eq "Network adapter 1"} | Together-NetworkAdapter - NetworkName $MGMT - confirm: $false - StartConnected: $true

    Delete-OSCustomizationSpec $OSCostumSpec_SQL-confirm: $false

    Set-VM - VM $SQLVM MemoryMB - 8192 - NumCpu 4 - Description "vCenter Server database" - confirm: $false

    $SQLVM. ExtensionData.ReconfigVM_Task ($CPU2)

    New vm creation fails with this error

    New-VM cannot validate the argument on the parameter data store. The argument is null or empty, offer an argument that is not null or empty and try again.

    Any idease?

    Have you checked there is nothing in the variables $MyHost1, $MyHost2, $h1ds1, $h1ds2, $h2ds1, $h2ds2?

    Seems that the variable data store are empty (judging by the error message)

  • No suitable datastore placeholder

    Hello

    Configuration SRM5. Replication from Site A to Site B is now completely set up. Unfortunately, trying to configure replication from Site B to Site - A I cannot set the placeholder to a data store. He shows me a number of data warehouses, but they are all grayed out.

    As far as I can see, the data store that I would use is empty, but put in shape with VMFS5. It is configured at the other site. It is connected to all hosts.

    No idea why the data store is grayed out?

    Gabrié

    I am not sure if MRS. checks whether the placeholder data store is replicated.  But VMware recommends that you use a non replicated data warehouses.

    "To ensure that the space reserved to a data store has been created on the recovering site to complete this step
    correctly. Placeholder to a data store can hold VMs shadow for a protection group members. The placeholder
    data store should be accessible to all hosts in the cluster of recovery. It should not be replicated and can be
    relatively low. »

    http://www.VMware.com/files/PDF/products/SRM/VMware-vCenter-site-recovery-manager-evaluation-guide.PDF

    Most of the SRM designs I see use a dedicated very small (1 GB is plenty) LUN that contains only VMS placeholder.  I think it is cleaner and easier, then place your placeholder on a LUN that also stores the models.

Maybe you are looking for

  • My iPhone only more 6 does not ring when called.

    MY 6plus of the iPhone does not ring when called.  Any suggestions?

  • Lenovo G570 model 4334: Ram compatibility

    When I used the viewfinder of Crucial memory, he says that the laptop computer supports DDR3 1333 (10600) and DDR3 1600 (12800). On the Newegg memory finder it also says that the laptop supports DDR3 1600 (12800). However, on the tech sheet pdf of Le

  • How to restore the XP Welcome screen

    My X 200 is a machine of a user, so I decided to disable the fast user switching. In the process I inadvertently stops the welcome scree also. When I went to turn it on again, I got a dialog box with a message indicating that a - atginahook.dll - pro

  • Error on the motherboard

    I have a laptop HP Pavilion, Windows 7, 64 bit, i.e. 3 years I ran the System Diagnostics test recently - using HP Support Assistant.  I received that I have the following error:03/07/2015 Tuneup failed lists a number Code Memory Module. After that,

  • not accepting CD/dvd driver not disk

    When I try to put a disk in my laptop, it spits out either back out or going in and out without reading the disc. What should I do?