Capturing Hosts,cluster,ad Resource information of hosts using SPF REST API
Hi,
We are using SCVMM 2012R2 to integrate Hyper-V VMM with java using SPF REST API.For this I am using tenant API.
I am able fetch all the entities in VMM using GET query in SPF URL,but I am unable to fetch hosts,cluster and resource information for hosts.
Can anyone please tell me how will I fetch this information with REST API or does there any other way exists.
If so please tell me with the example.
Thank you.
Hi ,
SPF only covers Tenant actions and information. There is no information about hosts and clusters that can be get from SPF.
Similar Messages
-
How to read "Customixed Information" in UME using WebDynpro Java APIs
Dear All
In our Portal UME we have defined 3 custom fields that appear in the "Customized Information"
tab in the standard Portal "Identity Mangagement" application ie:
krb5principalname :
How can I retrieve the custom fields and values using WebDynpro APIs?
I have the following basic code to retrieve the standard user session information, but
do not know how to extend it to extract the values of the custom fields.
Full points will be awarded to whoever answers question with suggestion that works.
Many thanks in advance
MikeHi Mike,
Following code is for just one custom attribute <custom attribute>
String namespaces[] = umeUser.getAttributeNamespaces();
String ns = null;
for (int i = 0; i < namespaces.length; i++) {
if (i > 0)
ns = namespaces[ i ];
String attrNames[] = umeUser.getAttributeNames(ns);
if (ns != null){
if(ns.equals("<name-space>")){
for (int j = 0; j < attrNames.length; j++) {
if(attrNames[j].equals("<custom attribute>")){
Object attr[] = umeUser.getAttribute(ns, attrNames[j]);
for (int k = 0; k < attr.length; k++){
if(!(null == attr[k])|| !(attr[k].toString().length() == 0)){
//attr[k].toString() has the custom attribute value
break;
}else
continue;
}else
continue;
Where <name-space> is the same value you set in config tool or on portal UME configuration.
Config Tool: Global Service Configuration>services->com.sap.security.core.ume.service>ume.virtual_groups.user_attribute.namespace
Portal
System Administration>System Configuration>UME configuration> User Admin UI tab>
Custom attributes of the user profile
Administrator-Managed Custom Attributes: add ;<name-space>:<custom-attribute>
Hope this helps -
Why such error information when I used sqlite3 SQL API?
Hi
When I programming with sqlite3 SQL API, some error information about lock occurred:
DB_LOCK->lock_put: Lock is no longer valid
Following error log also occurred sometimes:
“Locker still has locks”
I have called the function sqlite3_threadsafe to make sure the library is threadsafe.
Is there any way to avoid the above error logs?
The information of my test bed is as follows:
CentOS6
$ uname -a
Linux localhost.localdomain 2.6.32-71.el6.x86_64 #1 SMP Fri May 20 03:51:51 BST 2011 x86_64 x86_64 x86_64 GNU/Linux
Berkeley DB version: db-5.2.28
When I build BDB, I using the following options:
../dist/configure enable-sql_compat enable-test --with-tcl=/usr/lib64
Can you help me with that please?
Thanks!This error was already reported in another Re: Berkeley DB lost data sometimes when I ran the example ex_sql_multi_thread. Please do not post the same issue multiple times and follow the issue in the original thread, which is currently handled by one of our engineers.
Thanks,
Andrei -
I have an app that can successfully get a list of a folders content. However, by default the list is limited to 200 entries. I luckily ran into this limit when getting the list on a folder that contained 226 entries and realized I needed to then request
a list of the next items but it wasn't obvious from the REST API document how to do that. I tried sending the skipToken query parameter and setting it to 0 initially and incrementing each time I sent the request but always got the same 200 items back. So,
how do I get the list of files and folders beyond the initial list?In SP2013 the skiptoken query parameter does not work with list items. You can look at the link below which discusses using the "__next" parameter.
http://stackoverflow.com/questions/18964936/using-skip-with-the-sharepoint-2013-rest-api
Blog | SharePoint Field Notes Dev Tools |
SPFastDeploy | SPRemoteAPIExplorer -
Error 2927 when refreshing host cluster
We are running SCVMM 2012 R2 on Windows Server 2012 and it manages a 4 node 2012 Hyper-V cluster. I am receiving the following error when the job "Refresh host cluster" runs:
Error (2927)
A Hardware Management error has occurred trying to contact server Virtualsrv9.xxxxx.xxx :w:InternalError :HRESULT 0x803381e8:The WS-Management service cannot process the request. This service has exceeded its maximum of 100 concurrent operations per user allowed
for plugin "WMI Provider". Retry the request later or raise the Maximum Operations per User quota. .
WinRM: URL: [http://virtualsrv9.xxxxx.xxx:5985], Verb: [INVOKE], Method: [GetVersion], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/scvmm/AgentManagement]
Unknown error (0x803381e8)
This error never showed up before I upgraded to SCVMM 2012 R2, however it had been refreshing the host cluster just fine for a while after the upgrade, then it started to occur sporadically. I have been able to fix it when it shows up by restarting
the Windows Remote Management Service on the cluster nodes which automatically restarts the VMM agent service also.Why is this happening?I was able to fix this issue by running the following command from an administrator command prompt on my hyper-v nodes and VMM server. I then restarted WinRM on all the servers and VMM was still cranky so I rebooted the VMM server and it has been working
since then. Hopefully it continues as it has only been a couple days.
winrm set winrm/config/Service @{MaxConcurrentOperationsPerUser="400"}
I have exactely the same issue. When I looked the winrm parameters of all the servers, the MaxConcurrentOperationsPerUser has already been set to "1500" -
Question about 'hosts: cluster' entry in /etc/nsswitch.conf
Hi~
my system have "hosts: cluster files dns" entry in /etc/nsswitch.conf.
I know 'files' to see the '/etc/hosts'.
I want to know that 'cluster' to see 'what file'.
Thanks,'cluster' denotes internal lookups, i.e. no file on the file system. If I recall correctly, it allows the system to look up the cluster interconnect private addresses.
Tim
--- -
Query about SCVMM Host Cluster
Hi All,
We have built a private cloud for one of our customers using SC 2012 R2.
We have SCVMM 2012 R2 in place, everything was up & running till we face a power failure & now we have a configuration issue which made me think on the entire private cloud design.
What we have ?
1. A Storage Server - which has 1 TB disc attached. we have created 2 ISCSI Disks out of it.
2. A SCVMM 2012 R2 server - The ISCSI disc are connected to this server using ISCSI initiator.
3. 3 Hyper-v Hosts for Host cluster.
We have added the storage server in SCVMM & have created 2 LUN's. This server is also added as storage in Hyper-v host cluster. All the system center VM's were built on the hyper-v cluster with there VHD's on the Luns.
What the problem is ?
The SCVMM is now not able to connect to the iscsi disk due to some configuration problem (which was caused after a power outage) & our private cloud got down not a single VM is running now as they were all built on Host cluster with storage on iscsi
disks.
I discussed this issue with my manager & he said that scvmm is just a management tools & once we have a cluster up & running we don't even need scvmm services running. which made me to rethink on the design of the private cloud.
Need Experts help :-
Should we connect the iscsi disk to all the hosts which were added in SCVMM. So, that even if scvmm is down every vm created on hyper-v cluster runs without any issue.
Thanks,
Pranay.Not sure that I have the right overview, but here is how it works:
VMM is the management layer, and can communicate with virtualization hosts, network and storage fabric. In the context of storage, VMM can discover and connect storage directly to the Hyper-V host. VMM should not be the storage server itself.
Here's some info around the process: http://kristiannese.blogspot.no/2013/06/storage-management-with-datacenter.html
let me know if we are on track.
If VMM goes down, your Hyper-V hosts should not be affected at all.
-kn
Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com ) -
Security Error : Multiple hosts referenced in resources
Hi,
Im attempting to use the abbot maven plugin that can download an application via webstart and run GUI tests against it.
I have got this working before, and am setting it up again, but get a webstart error that I have not seen before/can see in the forums.
Title: SystemTest1
Vendor: mycompany, inc.
Category: Security Error
Multiple hosts referenced in resources
JNLPException[category: Security Error : Exception: null : LaunchDesc: null ] at com.sun.javaws.LaunchDownload.checkJNLPSecurity(Unknown Source) at com.sun.javaws.Launcher.downloadResources(Unknown Source) at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source) at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thr
Could anyone shead some light as to where this error comes from/why??
Thanks
Jamesin any given jnlp file, all the resources must be downloaded from the same download host. In this way the SecurityManager can assign one permission collection to all the code loaded from that jnlp file (allowing socket permission only to that host).
If you have a jnl;p file with multiple resources loaded from differant hosts, re-factor the jnlp file so all of the resources loaded from a seperate host are in one component extension jnlp file.
/Andy -
Hi All,
I have SharePoint hosted app deployed on On-Premise using(F5) which reads User Profile data consumes WCF(Hosted on same server) through REST API to insert data in to SQL DB(Different server).
SharePoint hosted app was working as expected and suddenly it started asking for credential and not login(any user) to the application landing page.
Checked SharePoint Logs, IIS Logs and Windows log but did not get any clue.
WCF is accessible, User Profile access is also happening but not sure what changes done on server or infra level which causing this issue.
I have an On-Premise Environment for SharePoint 2013. where we have created SharePoint hosted app which calls "http:///_api/SP.UserProfiles.PeopleManager/GetMyProperties" to get current user's data. but this gives me 401 unauthorized error.
Notes:
I had given read permission to user profile and full control to sitecollection in appmanifest. If I run this app on Office 365 developer site it works fine, but on premise environment it give 401 error.
On premise environment when I deploy this app 3 times it prompt for credential and finally gives the following error
Error message after login 3 times:
{"error":{"code":"-2147024891, System.UnauthorizedAccessException","message":{"lang":"en-US","value":"Access
denied. You do not have permission to perform this action or access this resource."}}}
-Lovekush KumarAdd your site (http://*.app.contoso.com) to your local intranet sites in IE.
"app.contoso.com" is app domain.
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful -
How do I add video to be hosted directly on my MUSE site without using a third party like Vimeo / You tube etc ?
Hi,
You can consider html video tag to do this. You will need to add it in Muse using, Object-insert as html. Detailed instructions can be viewed here
HTML video Tag -
I'm trying to install VMM 2012 SP1 on a Windows Server 2012 machine and it fails with this error,
the scenario is as follows,
Old database (from 2012 RTM) exists on remote SQL 2012 SP1 server
Server was 2008 R2 SP1 so I decided to make a fresh installation of 2012 with the same name
installed ADK
specific error: 01:42:13:VMMPostinstallProcessor threw an exception: Threw Exception.Type: Microsoft.VirtualManager.Setup.Exceptions.BackEndErrorException, Exception.Message: Unable to assign the name NO_PARAM to this host because this name is already in
use.
please helpI had a similar problem today when upgrading from SCVMM 2012 RTM to SCVMM 2012 SP1 RTM. To re-create the issue you describe originally you can actually just uninstall SCVMM 2012 SP1 RTM with "retain data" option and re-install the software on the same
computer (with the same name of course), attaching it to the retained DB. If you change the SCVMM server name I believe it will make some things go wrong after your install, like missing VM template passwords for example as the data gets encrypted in
the DB. Maybe it didn't but I didn't risk it. I definitely know if you change service accounts on a scenario like this you will be without the encrypted DB data which isn't much fun. To avoid changing the computer name, if you look in the setup log
files in %systemdrive%\ProgramData\VMMLogs\, specifically the SetupWizard.log file. You will see details on it failing because the same computer name is in the DB table "dbo.tbl_ADHC_AgentServer" and until it is removed from that table I wasn't able to get
the install to complete at all. The error in my logs looked something like this "InnerException.Type: System.Data.SqlClient.SqlException, InnerException.Message: Violation of UNIQUE KEY constraint 'unique_ADHC_AgentServer_ComputerName'. Cannot insert duplicate
key in object 'dbo.tbl_ADHC_AgentServer'. The duplicate key value is (computername.is.writtenhere). The statement has been terminated." In the row data in the DB it also seems to suggest that the computer name had "Virtual Machine Manager Library Files" on
it which is strange since I always remove the local SCVMM server as a library server after I install it and use an off box library server. -
Getting error while uploading multiple files in sharepoint hosted app in 2013 with REST API
Hi All,
In one of my tasks, I was struck with one issue, that is "While uploading multiple files into custom list with REST API".
Iam trying to upload multiple files in library with REST calls for an APP development, my issue is if i wants to upload 4 image at once its storing only
3 image file and further giving "Conflict" error". Below is the attached screenshot of exact error.
Error within screenshot are : status Code : 409
status Text :conflict
For this operation i am uploading different files as an attachment to an list item, below is the code used for uploading multiple files.
my code is
function PerformUpload(listName, fileName, listItem, fileData)
var urlOfAttachment="";
// var itemId = listItem.get_id();
urlOfAttachment = appWebUrl + "/_api/web/lists/GetByTitle('" + listName + "')/items(" + listItem + ")/AttachmentFiles/add(FileName='" + fileName + "')"
// use the request executor (cross domain library) to perform the upload
var reqExecutor = new SP.RequestExecutor(appWebUrl);
reqExecutor.executeAsync({
url: urlOfAttachment,
method: "POST",
headers: {
"Accept": "application/json; odata=verbose",
"X-RequestDigest": digest
contentType: "application/json;odata=verbose",
binaryStringRequestBody: true,
body: fileData,
success: function (x, y, z) {
alert("Success!");
error: function (x, y, z) {
alert(z);Hi,
THis is common issue if your file size exceeds
upload a document of size more than 1mb. worksss well for kb files.
https://social.technet.microsoft.com/Forums/office/en-US/b888ac78-eb4e-4653-b69d-1917c84cc777/getting-error-while-uploading-multiple-files-in-sharepoint-hosted-app-in-2013-with-rest-api?forum=sharepointdevelopment
or try the below method
https://social.technet.microsoft.com/Forums/office/en-US/40b0cb04-1fbb-4639-96f3-a95fe3bdbd78/upload-files-using-rest-api-in-sharepoint-2013?forum=sharepointdevelopment
Please remember to click 'Mark as Answer' on the answer if it helps you -
Hello all,
yesterday I got one task in that I have to stored procedure for getting host name, host instance and status of that host is it running or stopped.
any body knows where exactly, In which table this details are there in BizTalk databases.
thanksStatus of the host instance is not stored in the SQL database for you to query the status using stored procedure. You have to either use Powershell or WMI to get the status.
In SQL, following table contains the details about the host like Name, LoginName, IsDisables etc but status of the host instance is not stored in the database.
SELECT * FROM BizTalkMgmtDb..adm_HostInstance
Powershell to get the status:
http://axonolympus.nl/?page_id=186&post_id=969&cat_id=6&lang=en
WMI to get the status:
https://msdn.microsoft.com/en-us/library/aa561820.aspx?f=255&MSPPError=-2147217396
https://msdn.microsoft.com/en-us/library/aa578621.aspx
Regards,
M.R.Ashwin Prabhu
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply. -
How do I create/host interactive articles with embedded video for use in browsers?
I'm seeking a little guidance -
How do I create/host interactive articles with embedded video for use in browsers?
The aim is to bring together video, design, images and writing in one place. A little like Born Presents, but very accessible and user friendly.
I'm happy using InDesign but want to create interactive articles / magazines that have embeded video files as required. I've been looking at .SWF files but I've come unstuck.
I want people to view the articles via a blog, ideally with them opening in a lightbox style viewer. It's not intended for tablet viewing and people should be able to view and interact with the files with little effort on their part.
I think I know how to create these files within InDesign, but I'm not so hot on web design and I'm not sure how to host these online. Does this start coming into the realms of Flash?
If anyone could point in the right direction I'd really appreciate it - Thank you in advance.PDF is one thing. Folios for DPS is another. There is a little bit of
overlap but not much.
The interactivity in the folio overlays panel is for DPS only. -
How to Get user profile properties in provider -cloud hosted app in sharepoint online - office 365 using REST API?
any idea?Hi,
From your description, my understanding is that you want to get user profile properties in provider-hosted app in SharePoint online using REST API.
Here is sample code for getting user profile properties:
http://www.vrdmn.com/2013/07/sharepoint-2013-get-userprofile.html
Here is a blog below about accessing data from the provider-host apps:
http://dannyjessee.com/blog/index.php/2014/07/accessing-sharepoint-data-from-provider-hosted-apps-use-the-right-context/
Best Regards,
Vincent Han
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]
Maybe you are looking for
-
Error in replacing the default repository of BI server with a new one
Hi everyone, This is my first post to this form, i have just started exploring oracle BI Enterprise edition. I am naive to Oracle BI, sorry i do'nt know much about the installion and configuration things, i installed Oracle BI to explore the Developm
-
Hi , I have created a partner profile of type logical system. If i dont specify anything in the inbound parameters and send an idoc to this partner profile then how would the system respond. Regards Arun
-
Previously deleted messages are re-downloaded, not removed from server??
I have a POP email account that I access from my iMac using Mail. I regularly delete mail from my inbox in Mail, so there are only a few hundred messages in the inbox. But the other day I logged onto my mail account via the web and discovered thousan
-
HT1535 Unable to manually load music and video to ipod touch
Since upgrading my iTunes and ipod Touch to the latest versions I can no longer manually sync my videos and music. Any ideas?
-
PROTOCOL.MSGID_EXISTING_INBOUND: Message already exists in called system
Hello all, in our receiver system we get follow error: PROTOCOL.MSGID_EXISTING_INBOUND: Message already exists in called system The message is in status: message already processed. But sure we sent the message only once and the message aren't process