DSC Pull Server functional description
I am trying to find a functional description of how a DSC Pull Server fits into the model.
My understanding is that if I place a Custom Resource Module in the \WindowsPowerShell\Modules folder of the DSC Pull Server and I use Import-DscModule in the configuration that the file will be downloaded to the client auto-magically and used.
But what I am not clear on is MSI and EXE files with the Package Provider.
Do I place those some place onto he Pull Server and they magically get downloaded?
Do I need to define in the configuration that they need to be explicitly downloaded and placed in a particular path?
If so, is there some path they should exit in on the client (expected location)?
I am just trying to wrap my head around dealing with DSC and 3rd party software and the Pull Server model.
Thanks!
Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat.
Disclaimer: Attempting change is of your own free will.
Hi BrianEh,
Based on my research, to add content in Pull server, we need to Package each custom resource into its own ZIP file and copy it to Folder location (e.g $env:PROGRAMFILES\WindowsPowerShell\DscService\Modules), which has been defined during the Pull
server configuration, and also need to create a checksum file for each of the above ZIP files.
After configure the pull server and the DSC client, with patiently minutes the configuration should be downloaded to your client, however, you can also force this with powershell script.
For more detailed information to configure powershell DSC pull mode, please refer to these articles:
How to Deploy and Discover Windows PowerShell Desired State Configuration Resources
PowerShell DSC Resource for configuring Pull Server environment
Configuring PowerShell DSC Pull Mode
If I have any misunderstanding, please let me know.
If you have any feedback on our support, please click here.
Best Regards,
Anna
TechNet Community Support
Similar Messages
-
I have setup a DSC Pull server and a few client to connect. The problem is on the clients the config does not pull down and I get the following in the event viewer on all the clients. If I manually copy the config to a client everything works
fine until I update the config on the Pull server then the errors start again. Am I missing some permissions somewhere?
4110 - Successfully got the action GetConfiguration from pull server using Download Manager WebDownloadManager.
4194 - Failed to delete the current configuration file
4105 - Attempting to get the configuration from pull server using Download Manager WebDownloadManager.Configuration Id is e785307e-61a2-419b-8e07-2178295326d9.
4210 - Attempting to get the configuration e785307e-61a2-419b-8e07-2178295326d9 from pull server with Server Url http://SERVER:8080/PSDSCPullServer.svc using Web Download Manager.
4226 - WebDownloadManager for configuration e785307e-61a2-419b-8e07-2178295326d9 Get-DscDocument command, GET Url: PSDSCPullServer.svc/Action(ConfigurationId='e785307e-61a2-419b-8e07-2178295326d9')/ConfigurationContent
4104 - This event indicates that failure happens when LCM is trying to get the configuration from pull server using download manager WebDownloadManager. ErrorId is 0x1. ErrorDetail is A generic exception occured during the invocation of the Get-DSCDocument
cmdlet by Download Manager WebDownloadManager.
PS C :\WINDOWS\systen32> Get-DscLocalConfigurationManager
AllowModuleOverwrite : True
CertificatelD :
ConfigurationID : e785 307e-61a2-419b-8e07--2178295 326d9
ConfigurationMode : ApplyAndAutoCorrect
ConfigurationModeFrequencyMins : 30
Credential :
DownloadManagerCustonData : {MSFT_KeyValuePair (key = “ServerUrl”), MSFL.KeyValuePair (key =
“AllowUnsecureConnection”) }
DownloadManagerName : WebDownloadManager
RebootNodelfNeeded : False
RefreshFrequencyMins : 30
RefreshMode : Pull
Thanks for any assistance.More log:
#Software: Microsoft Internet Information Services 8.5
#Version: 1.0
#Date: 2015-05-01 10:37:55
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2015-05-01 10:37:55 fe80::4c44:15cc:9bc6:1455%12 POST /PSDSCPullServer.svc/Action(ConfigurationId='4a90d746-d78e-45e0-9d5d-ca6cac7c0e9b')/GetAction - 8080 PSDSCUser fe80::4c44:15cc:9bc6:1455%12 - - 200 0 0 15
2015-05-01 10:39:10 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='e785307e-61a2-419b-8e07-2178295326d9')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 0
2015-05-01 10:40:59 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='7b8d8905-ee40-440c-b20f-4036fcf073a5')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 78
2015-05-01 10:40:59 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='7b8d8905-ee40-440c-b20f-4036fcf073a5')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 93
2015-05-01 10:44:45 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='67da0c37-24fc-4c3f-bc25-ee81aba879e5')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 15
2015-05-01 10:44:45 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='67da0c37-24fc-4c3f-bc25-ee81aba879e5')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 0
2015-05-01 10:49:38 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='c8cd8e64-9d55-43a2-9d32-948be8a99003')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 0
2015-05-01 10:49:38 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='c8cd8e64-9d55-43a2-9d32-948be8a99003')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 15
2015-05-01 10:51:32 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='1d66b01b-0768-4cd0-a639-92c386bc86af')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 0
2015-05-01 10:51:32 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='1d66b01b-0768-4cd0-a639-92c386bc86af')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 31
#Software: Microsoft Internet Information Services 8.5
#Version: 1.0
#Date: 2015-05-01 11:10:14
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2015-05-01 11:10:14 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='e785307e-61a2-419b-8e07-2178295326d9')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 15
2015-05-01 11:11:54 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='7b8d8905-ee40-440c-b20f-4036fcf073a5')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 93
2015-05-01 11:11:54 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='7b8d8905-ee40-440c-b20f-4036fcf073a5')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 31
2015-05-01 11:19:34 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='c8cd8e64-9d55-43a2-9d32-948be8a99003')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 15
2015-05-01 11:19:34 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='c8cd8e64-9d55-43a2-9d32-948be8a99003')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 0
2015-05-01 11:21:34 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='1d66b01b-0768-4cd0-a639-92c386bc86af')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 0
2015-05-01 11:21:34 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='1d66b01b-0768-4cd0-a639-92c386bc86af')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 0
#Software: Microsoft Internet Information Services 8.5
#Version: 1.0
#Date: 2015-05-01 11:41:21
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) sc-status sc-substatus sc-win32-status time-taken
2015-05-01 11:41:21 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='7b8d8905-ee40-440c-b20f-4036fcf073a5')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 78
2015-05-01 11:41:21 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='7b8d8905-ee40-440c-b20f-4036fcf073a5')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 93
2015-05-01 11:44:18 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='67da0c37-24fc-4c3f-bc25-ee81aba879e5')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 15
2015-05-01 11:44:18 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='67da0c37-24fc-4c3f-bc25-ee81aba879e5')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 0
2015-05-01 11:47:48 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='c8cd8e64-9d55-43a2-9d32-948be8a99003')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 15
2015-05-01 11:47:48 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='c8cd8e64-9d55-43a2-9d32-948be8a99003')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 15
2015-05-01 11:50:15 X.X.X.X POST /PSDSCPullServer.svc/Action(ConfigurationId='1d66b01b-0768-4cd0-a639-92c386bc86af')/GetAction - 8080 PSDSCUser X.X.X.X - - 200 0 0 0
2015-05-01 11:50:15 X.X.X.X GET /PSDSCPullServer.svc/Action(ConfigurationId='1d66b01b-0768-4cd0-a639-92c386bc86af')/ConfigurationContent - 8080 PSDSCUser X.X.X.X - - 200 0 0 31 -
Access, execute mof from pull server using release management
I have created a DSC pull server and deployed a mof to this server.
I could access the mof from pull server using below script and it executed successfully from powershell ISE.
1.
Configuration
C_Pull_Webserver
2.
3.
LocalConfigurationManager
4.
5.
AllowModuleOverwrite=$true;
6.
ConfigurationID
= "db00cf80-cb0e-4537-8344-90e3906e0b34";
7.
RefreshMode
= "Pull";
8.
DownloadManagerName
= "WebDownloadManager";
9.
RefreshFrequencyMins
= 15;
10.
ConfigurationModeFrequencyMins
= 30;
11.
ConfigurationMode
= "ApplyAndAutoCorrect";
12.
DownloadManagerCustomData
= @{
13.
ServerUrl
= "http://myserver:8080/PSDSCPullServer/PSDSCPullServer.svc";
14.
AllowUnsecureConnection
= "TRUE" }
15.
16.
17.
#Create MOF to push
18.
C_Pull_Webserver
19.
#push the MOF: this will engage pull mode
20.
$FilePath
= (Get-Location
-PSProvider FileSystem).Path
+ "\C_Pull_Webserver"
21.
Set-DscLocalConfigurationManager
-ComputerName "CHN-AERO-VM13"
-Path $FilePath
-Verbose
I removed the below lines from the above script
19.
#push the MOF: this will engage pull mode
20.
$FilePath
= (Get-Location
-PSProvider FileSystem).Path
+ "\C_Pull_Webserver"
21.
Set-DscLocalConfigurationManager
-ComputerName "CHN-AERO-VM13"
-Path $FilePath
-Verbose
andand tried to access it from release management and i get the below error
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AggregateException: One or more errors occurred. ---> Microsoft.TeamFoundation.Release.Common.Helpers.OperationFailedException:
Perform operation 'Invoke CimMethod' with following parameters, ''methodName' = SendConfigurationApply,'className' = MSFT_DSCLocalConfigurationManager,'namespaceName' = root/Microsoft/Windows/DesiredStateConfiguration'.
Failed to apply configuration in the DSC script to the computer. Consult the Logs below for details of the error.
System.Management.Automation.RemoteException: Unable to find the mof file. Make sure you are generating the MOF in the DSC script in the current directory.
at System.Management.Automation.PowerShell.CoreInvokeRemoteHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)Don't know. How did you generate the MOF?
When I run this it works just fine:
Configuration C_Pull_Webserver{
LocalConfigurationManager{
AllowModuleOverwrite=$true;
ConfigurationID = "db00cf80-cb0e-4537-8344-90e3906e0b34";
RefreshMode = "Pull";
DownloadManagerName = "WebDownloadManager";
RefreshFrequencyMins = 15;
ConfigurationModeFrequencyMins = 30;
ConfigurationMode = "ApplyAndAutoCorrect";
DownloadManagerCustomData = @{
ServerUrl = "http://myserver:8080/PSDSCPullServer/PSDSCPullServer.svc";
AllowUnsecureConnection = "TRUE"
C_Pull_Webserver
¯\_(ツ)_/¯ -
SAP IGS: JCO.Server could not find server function 'PIGFARMDATA'
dEAR ALL,
Operating System: aix6.0
Database: Oracle 11g
IGS is not getting started.
SM59--IGS_RFC_DEST--CONNECTION TEST is fine
sigs-- IGS_RFC_DEST-- Error is generating " JCO.Server could not find server function 'PIGFARMDATA' ".
Tried starting IGS USING the below command:
/usr/sap/KBQ/DVEBMGS01/exe/igswd_mt -mode=profile pf=/usr/sap/KBQ/SYS/profile/KBL_DVEBMGS01_<Hostname>
Startup using profile
***LOG Q0I=> NiIBindSocket: bind (67: Address already in use) [nixxi.cpp 3735]
*** ERROR => NiIBindSocket: SiBind failed for hdl 1/sock 5
(SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:40180) [nixxi.cpp 3735]
***LOG Q0I=> NiIBindSocket: bind (67: Address already in use) [nixxi.cpp 3735]
*** ERROR => NiIBindSocket: SiBind failed for hdl 2/sock 5
(SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:40100) [nixxi.cpp 3735]
***LOG Q0I=> NiIBindSocket: bind (67: Address already in use) [nixxi.cpp 3735]
*** ERROR => NiIBindSocket: SiBind failed for hdl 2/sock 5
(SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:40101) [nixxi.cpp 3735]
***LOG Q0I=> NiIBindSocket: bind (67: Address already in use) [nixxi.cpp 3735]
*** ERROR => NiIBindSocket: SiBind failed for hdl 2/sock 5
(SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:40102) [nixxi.cpp 3735]
kbqadm> sapcontrol -nr 01 -function GetProcessList
22.07.2014 16:36:48
GetProcessList
OK
name, description, dispstatus, textstatus, starttime, elapsedtime, pid
msg_server, MessageServer, GREEN, Running, 2014 07 22 16:33:57, 0:02:51, 8847548
disp+work, Dispatcher, GREEN Running, Message Server connection ok, Dialog Queue time: 0.00 sec, AS Java: ALL processes running, 2014 07 22 16:33:57, 0:02:51, 12976352
rslgcoll, Central Syslog Collector, GREEN, Running, 2014 07 22 16:33:58, 0:02:50, 9175214
rslgsend, Central Syslog Sender, GREEN, Running, 2014 07 22 16:33:58, 0:02:50, 8585278
DVEBMGS01\exe\ig.sapKBQ_DVEBMGS01, , GRAY, Stopped, , , 13566036
ps -ef | grep igs--all igs process are running
HTTP://<HOSTNAME>:40180---sap igs IS RUNNING
IGS Logs: ( /usr/sap/KBQ/DVEBMGS01/igs/log)
trace File pw_sapbwqa_1.trc
[Portwatcher::Ping] Ping was unsuccessful 3 times
[Portwatcher::Ping] Reconnect Portwatcher
Tue Jul 22 16:54:11 2014
[Portwatcher::Ping] Ping was unsuccessful 1 times
Tue Jul 22 16:54:41 2014
[Portwatcher::Ping] Ping was unsuccessful 2 times
igs vERSION IS Internet Graphics Service 7200.0.7.0
"mux_sapbwqa.trc---tRACE File
Tue Jul 22 16:29:13 2014
*** ERROR => [ListenerRfc::Loop] RfcListenAndDispatch() (IGS.KBQ sapbwqa sapgw01) returned error: RFC_INVALID_HANDLE [listenerrfc_ 1039]
*** ERROR => [ListenerRfc::OpenRfc] RfcRegisterServer() returned RFC_COMMUNICATION_FAILURE /
ERROR partner 'sapbwqa:sapgw01' not reached
TIME Tue Jul 22 16:29:13 2014
RELEASE 720
COMPONENT NI (network interface)
VERSION 40
RC -10
MODULE nixxi.cpp
LINE 2896
DETAIL NiPConnect: 10.10.90.150:3301
SYSTEM CALL connect
ERRNO 79
ERRNO TEXT Connection refused
COUNTER 18
[listenerrfc_ 948]
*** ERROR => [ListenerRfc::Loop] OpenRfc() (IGS.KBQ sapbwqa sapgw01) returned RFC_COMMUNICATION_FAILURE
Still trying... [listenerrfc_ 1007]
Tue Jul 22 16:30:13 2014
*** ERROR => [ListenerRfc::Loop] RfcListenAndDispatch() (IGS.KBQ sapbwqa sapgw01) returned error: RFC_INVALID_HANDLE [listenerrfc_ 1039]
trc file: "mux_sapbwqa.trc", trc level: 1, release: "720"
Tue Jul 22 16:39:40 2014
[IgsMux::Initialize] Internet Graphics Service 7200.0.7.1
[IgsMux::Initialize] Platform: IBM RS/6000 with AIX (rs6000_64)
[ListenerRfc::ListenerRfc] Constructed for R/3 NA
[ListenerHttp::ListenerHttp] Constructed for port 40180
*** ERROR => [ListenerHttp::Loop] NiListen on port 40180 failed [listenerhttp 703]
[ListenerHttp::~ListenerHttp] Destroyed for port 40180
[Multiplexer::StartUp]
*** ERROR => [ServerTcpIp::NiServerLoop] Caught a NetError: [NetError] [NiBufListen failed] [ServerTcpIp::NiServerLoop()] [-4]. [servertcpip_ 254]
can you please tel the reason why the IGS is not working
Regards
gayathri.KHi Gayathri,
Startup using profile
***LOG Q0I=> NiIBindSocket: bind (67: Address already in use) [nixxi.cpp 3735]
*** ERROR => NiIBindSocket: SiBind failed for hdl 1/sock 5
(SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:40180) [nixxi.cpp 3735]
***LOG Q0I=> NiIBindSocket: bind (67: Address already in use) [nixxi.cpp 3735]
*** ERROR => NiIBindSocket: SiBind failed for hdl 2/sock 5
(SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:40100) [nixxi.cpp 3735]
***LOG Q0I=> NiIBindSocket: bind (67: Address already in use) [nixxi.cpp 3735]
*** ERROR => NiIBindSocket: SiBind failed for hdl 2/sock 5
(SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:40101) [nixxi.cpp 3735]
***LOG Q0I=> NiIBindSocket: bind (67: Address already in use) [nixxi.cpp 3735]
*** ERROR => NiIBindSocket: SiBind failed for hdl 2/sock 5
(SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:40102) [nixxi.cpp 3735]
Just check the process which is using the port
netstat -tupan|grep 40180
With Regards
Ashutosh -
EPPM Extended schema functional description
Hi,
I have installed EPPM 8.3 using sql server database in a windows 2008 server.
In the documentation it says opening the PXReporting_83.dmd file I can find a functional description of a view in "Coments from RDBMS" property but there are no comments in any view in the model.
Is there any other place where I can found an explanation of every extended schema view ?
Thanks,Here are the services you need to start:
Project Arbiter service
Publish Project service
Publish Enterprise Data
Publish Enterprise Summaries
Publish Resource Management
Publish Security
More info on the above is here: http://docs.oracle.com/cd/E20686_01/English/Technical_Documentation/Reporting_Database/P6%20Extended%20Schema%20White%20Paper.pdf
Information on the tables is in a thread I started (and answered) here: R8.2 Extended Schema Tables Question -
I've got Snow Leopard Server, but don't need the server functions. What to do?
This is somewhat complicated, so please bear with me. My Mac Pro was running OS X 10.5 and required updating. But we have legacy Power PC apps (mainly FreeHand) that we want to continue using, even though Mountain Lion doesn't support them.
As a solution, I'm going to run Snow Leopard Server in emulation on Parallels 8 Desktop. I would rather have used plain old Snow Leopard instead of the server version, but Apple's EULA only allows 10.6 Server to run in emulation.
So, I got Snow Leopard Server and have used it to upgrade 10.5. Eventually, (once I get everything working properly), I'll upgrade that to Mountain Lion and use SL Server in Parallels emulation to run the old Mac apps we can't do without.
But I've run into a problem I didn't anticipate: I don't have a clue about running a server.
I'm having trouble setting it up so the other Mac user in my department can access a shared folder. Also, I want the login window to display the list of users, but that option is grayed out.
What I'd like to do is strip out all the server functions and just run as if 10.6.8 was a standard version of Snow Leopard, which I'm familiar with. If that's not practical, please explain how to get sharing to work since that's the main problem.
I've tried turning off the services listed in the Server Preferences (iCal, Mail, etc.) but that hasn't fixed the problems. I think there may be server functions running that I haven't found preventing me from fixing the problems. Or it could be something else entirely (as I said, no clue).DON'T MAKE A MOUNTAIN (lion?) OUT OF A MOLEHILL!
Several points in response to your post, in chronological order, not necessarily in order of importance:
• It was a common Urban Myth that Snow Leopard (client's) EULA prohibited its virtualization in Lion or Mt. Lion on a Mac! That myth has been largely debunked in the last 18 months.
Here are detailed instructions on how to install Snow Leopard client into Parallels 7 or 8:
http://forums.macrumors.com/showthread.php?t=1365439
That being said, and being the author of the aforementioned thread, I STRONGLY recommend that, where possible, you use Snow Leopard Server in favor of Snow Leopard client. This will side step some later corruption problems that can arise from the improper use and shutting down of this Parallels partition.
Historically, this thread was written when Apple sold Snow Leopard Server for $499+ or ceased sales altogether. Now, Apple has rendered the (now diminishing) debate over the EULA moot, by its recent release of Snow Leopard Server to the US & Canadian community for $20; leaving those who cannot purchase SLS (or get someone to purchase it for them) to continue to follow the instructions in my thread (or asking me to purchase SLS for them and forward it to them; my preferred course of action!).
• I ALWAYS recommend that data files be stored on the real Mac's HDs and NOT in a virtualized world. This is easy to accomplish and establishes a backup regimine (Time Machine, etc.) that will protect the users data. Lost applications are easily restored from their installer discs.
• In practice I find that using SLS in Parallels 8 is the same as using SL client in Parallels. I have even removed the Server apps from the Dock so as to not be confused by them.
So, your solution is to establish a "shared folder" on the hard drive of the Mac that is hosting Parallels. When in SLS in Parallels you will have access to your shared folder, ironically through Parallels' "Shared Folders" feature that is now present in Mac OS Guest installs on version 8 (see the "Shared Folders" SERVER on the right side of the screenshot, below).
When using Freehand MX or other PowerPC apps, save your data files into your shared folder through access to it by Parallels' Shared Folders. Other users on your network will have access to the SAME data files, through their customary use of file sharing to access your shared folder from your Mac's hard drive.
IGNORE the Server applications in the Applications folder...
Freehand MX running in Snow Leopard Server installed into Parallels 8 for use in Lion or Mt. Lion:
[click on image to enlarge]
Postscript: your post was so easy to follow! -
RFC call failed: JCO.Server could not find server function 'SET_SLD_DATA'
Hi, All
the system is PI 7.0 EHP1 oraclei Win2003 server, I configured SLD but I run RZ70, having error "RFC call failed: JCO.Server could not find server function 'SET_SLD_DATA' ". I know there are lot of tread about this error, but none of themsolve my problem. all JCO, RFC connections and SDL DATA supplier(VA) seem OK. error message in SM21 is "Could not send SLD data"
detail from SM21
The system could not send the data that has been collected automatical
for the System Landscape Directory (SLD). Check whether the gateway
configured in transaction RZ70 has been started and whether the SLD
bridge has been registered with this gateway.
You can use transaction SM59 to check this in the sending system for t
implemented RFC destinations. The RFC destinations have the standard
names "SLD_UC" for Unicode sending systems and "SLD_NUC" for non-Unico
sending systems. If a different RFC destination has been entered in
RZ70, check this destination instead.
You can use the Gateway Monitor to check the target gateways. In ABAP
systems, this monitor is started with transaction SMGW, or you can use
the external SAP program "gwmon". Check whether the specified gateway
has an active registration.
OF COURSE I checked RFC of SLD_UC and SMGW
any different ideas
Regards
ABHHi
Please check the following notes are implemented
Note 906454
Note 907729
You may be aware but if you are not --->RZ70 creates the required SLD* RFCs during runtime - therefore if you have defined these RFCs manually first using the same namespace you can get RFC conflicts which result in a failed submission
Please also check the user in the RFC is known to both systems and has required authorization to write to SLD
Generally with SLD you have to install or select a suitable gateway to handle incoming data supply traffic
Also the gateway you are using has be known to SLD and reflected in RZ70 - i.e these defintions have to be the same
It is also recommended to delete all references to SLD_* RFCs in data supplier and target SLD
after a failed submission attempt to allow RZ70 to recreate these consistently once the above has been checked
Best wishes
Stuart -
Incorrect syntax errors in sql server function. Please help.
This is my sql server function:
create function dbo.CleanTheStringAdv (@theString nvar
char(500), @CleanMode as int)
returns nvarchar(500)
begin
--define variables
declare @strAlphaNumeric nvarchar(500)
declare @i int
declare @strChar nvarchar(500)
declare @CleanedString nvarchar(500)
--initiate values
set @CleanedString =''
set @theString = @theString + ''
SET @i = 1
--Determine if we are looking for numeric values only or numbers and letters
return case @CleanMode
WHEN 1
THEN @strAlphaNumeric = '0123456789'
WHEN 2
THEN @strAlphaNumeric = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
WHEN 3
THEN @strAlphaNumeric = '|0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
else 0
end
--Search through chars in the string passed to the function
while (@i <= Len(@theString))
begin
@strChar = substring(@theString, @i, 1)
If (charindex(@strAlphaNumeric, @strChar) <>0)
--if the current char being reviewed is valid then add it to the new string
begin
@CleanedString = @CleanedString + @strChar
end
end
return @CleanedString
and below are the syntax errors I see when I press F5:
Msg 102, Level 15, State 1, Procedure CleanTheStringAdv, Line 24
Incorrect syntax near '='.
Msg 102, Level 15, State 1, Procedure CleanTheStringAdv, Line 39
Incorrect syntax near '@strChar'.
Msg 102, Level 15, State 1, Procedure CleanTheStringAdv, Line 43
Incorrect syntax near '@CleanedString'.
Any help is highly appreciated.....Here is the full code for the function:
create function dbo.CleanTheStringAdv (@theString nvarchar(500), @CleanMode as int)
returns nvarchar(500)
as
begin
--define variables
declare @strAlphaNumeric nvarchar(500)
declare @i int
declare @strChar nvarchar(500)
declare @CleanedString nvarchar(500)
--initiate values
set @CleanedString =''
set @theString = @theString + ''
SET @i = 1
--Determine if we are looking for numeric values only or numbers and letters
SET @strAlphaNumeric = case @CleanMode
WHEN 1
THEN '0123456789'
WHEN 2
THEN '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
WHEN 3
THEN '|0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
else 0
end
--Search through chars in the string passed to the function
while (@i <= Len(@theString))
begin
set @strChar = substring(@theString, @i, 1);
If (charindex(@strAlphaNumeric, @strChar) <>0) --if the current char being reviewed is valid then add it to the new string
begin
SET @CleanedString = @CleanedString + @strChar;
end
END
return @CleanedString;
END -
JCO RFC provider: Server function not found, short dump
Hi all,
I'm trying to use the JCO RFC provider service of NW04s (SP15) together with an ABAP 4.6C system. I've followed all the documentation that I could find, but couldn't get it to work yet. This is what I've done so far:
Using SM59 I've had a destination APP_JK1 created for me on the R/3 system. AFAIK it's set up correctly and marked as a "registered server", connection tests were successful.
On the portal, I've created a RFC portal destination using my R/3 credentials and successfully tested it. Then I created an entry in the RFC provider service, using the correct values for system, id & gateway, and let it point to my RFC destination for the repository connection. The program ID is also APP_JK1.
Next, I created a stateless session bean which is part of an EAR, gave it a JNDI name of "RFCTEST" and added a method like this:
* @ejb.interface-method view-type="both"
* @param function called function
public void processFunction(com.sap.mw.jco.JCO.Function function) {
JCO.ParameterList input = function.getImportParameterList();
String query = input.getString("I_STRING_SEARCH");
JCO.ParameterList output = function.getExportParameterList();
output.setValue(query, "ECHOTEXT");
(The project uses xdoclet for the creation of J2EE stuff)
In application-j2ee-engine.xml located in the META-INF directory of my EAR, I've added:
<reference reference-type="hard">
<reference-target provider-name="sap.com" target-type="library">com.sap.mw.jco</reference-target>
</reference>
The application deploys without errors, and besides from my RFC connection works as expected. In the JNDI registry view of VisualAdmin I see the corresponding entry: "rfcaccessejb/RFCTEST" is a local reference to my stateless session bean.
On ABAP, I have a tiny little program that calls my function, mainly looking like this:
CALL FUNCTION 'RFCTEST' DESTINATION 'APP_JK1'
EXPORTING
I_STRING_SEARCH = query
IMPORTING
ECHOTEXT = t1.
Unfortunately, it short dumps immediately. The error message is:
JCO.Server could not find server function 'RFCTEST'
I'm lost. What could be wrong? Any help is greatly appreciated. Kind regards,
Christian AustHello Perry song,
You got the short dump bcoz, there is no perform by the name you provided in the program,
for example. consider there are 2 programs.
Program 1 :
REPORT ZPGM1.
*Calling a perform SNAME1 , the code of perform is written in ZPGM2.
perform sname1 IN PROGRAM ZPGM2.
Program 2 :
REPORT ZPGM2.
perform sname1 .
Form SNAME1 .
write : 'Text in form SNAME1' .
endform. " SNAME1
(here SNAME1 is found and it works perfectly )
Change in Program 1 :
REPORT ZPGM1.
*Calling perform DELTA ,
perform DELTA IN PROGRAM ZPGM2 IF FOUND.
Now the perform statement will search for perform " DELTA " in ZPGM2 , but there is no perform by name DELTA , so here we need to mention the condition " IF FOUND " , so now by mentioning the condition " IF FOUND " in perform statement , if the perform DELTA is not found then it wont go to DUMP.
If condition " IF FOUND " is not mentioned in perform statement like
perform DELTA IN PROGRAM ZPGM2 . ( This gives DUMP )
just type " IF FOUND " when u r calling a perform from other program ( i guess this will solve the problem ).
Hope it might be helpfull,
Regards ,
Aby
Edited by: abhi on Nov 6, 2008 10:14 AM -
In my own NW RFC-SDK based application, I am trying to create a RFC module description the hard way, which is to not download such a description from a SAP system, but to craft the description on-the-fly using API functions RfcCreateFunctionDesc, RfcCreateTypeDesc, RfcAddTypeField, RfcAddParameter and RfcCreateFunction. When calling RfcCreateFunction the system responds with the message
"inconsistence in description detected: non-unicode length is too small".
As far as I can tell all values I provided in the API arguments are correct, including the unicode and non-unicode lengths in the type description of a structure that is underlying the only RFC parameter in the module.
Here is what the module isi supposed to look like:
module has only one Export parameter
the parameter is structured
the structure has a single field only, which is a character array of length 64 (i.e 128 bytes).
My application is unicode based. I added some code to the application to trace the API calls along with the argument values. Here is the output:
API RfcCreateFunctionDesc
Created function description object; returned handle: 024A1880
API RfcCreateTypeDesc
Created type description object; returned handle: 024A1A00
API RfcAddTypeField
Added Field to type description 024A1A00:
name DEST
type 0
nucLength 64
nucOffset 0
ucLength 128
ucOffset 0
decimals 0
typeDescHandle 00000000
extendedDescription 00000000
API RfcAddParameter
Added parameter to funtion description 024A1880:
name ATTRIBUTES
type 17
nucLength 64
ucLength 128
decimals 0
typeDescHandle 024A1A00
optional 0
direction 2
parameterText
defaultValue
extendedDescription 00000000
API RfcCreateFunction
Created function object from description 024A1880; returned handle: 00000000
RFC_INVALID_PARAMETER inconsistence in description detected: non-unicode length
is too small
Thanks so much for any help!Case closed. There was an API call missing in my code, RfcSetTypeLength, which sets the total lengths (unicode and non-unicode) of the structure after adding the structure components.Without that call the system assumes those lengths to be zero, thus the error ...
-
Calling SQL Server function in ODI
Hi All,
In the Target data store in the interface I have a column called COUNT_BY_CERTDATE column and in the mapping I have teh following syntax, which does not work.
SUM(CASE WHEN ((dbo.getcertdate(person_id,getdate()) >= current_timestamp) THEN 1 ELSE 0 END). The 'getcertdate' is a SQL Server function which returns a date.
I am getting a "Expression is not valid for this DBMS error" with the details as getcertdate is not a recognized built in function name. Please help on fixing this issue.
Thanks for your time and help.Its defined on the source.
I am getting the following error, when I execute it.
ODI-1228: Task Load_Fact_Table1 (Integration) fails on the target MICROSOFT_SQL_SERVER connection SQLSERVER_USAASC.
Caused By: java.sql.SQLException: [FMWGEN][SQLServer JDBC Driver][SQLServer]Cannot find either column "main" or the user-defined function or aggregate "main.dbo.getCertDate", or the name is ambiguous.
Edited by: ssk1974 on Dec 20, 2012 6:30 AM -
How can I call a server function by a button?
Hello, world...
I have a problem...
I need to call a server function by pushing a button. I put the condition on the label...
This is my script:
writeBtn1.addEventListener (MouseEvent.CLICK,writeFile1);
private function writeFile1 (e:MouseEvent=null):void
checkBtn = (writeBtn1.label == "Conferma" && textInput1.text != "" ); //my condition...
if (checkBtn)
nc.call ("WriteNow",null,textInput1.text+"\n");
writeBtn1.label = "Fatto";
I'd like to call the function on the release of the button...
Can someone helps me?
Please...
Emiliano.use:
writeBtn1.addEventListener (MouseEvent.CLICK,writeFile1);
writeBtn2.addEventListener (MouseEvent.CLICK,writeFile1);
writeBtn3.addEventListener (MouseEvent.CLICK,writeFile1);
private function writeFile1 (e:MouseEvent=null):void
if(e.currentTarget==writeBtn1){
// do whatever
} else if(e.currentTarget==writeBtn2){
// do whateverelese
} else {
// it's writeBtn3 -
JCO.SERVER could not find the server function
Hi,
I am calling "BAPI_COMPANY_GETDETAIL".thuough the zprogram"ZBAPI_COMPANY_GETDETAIL"
REPORT ZBAPI_COMPANY_GETDETAIL.
DATA:BEGIN OF ITAB,
RCOMP LIKE T880-RCOMP,
END OF ITAB.
ITAB-RCOMP = 99999.
CALL FUNCTION 'BAPI_COMPANY_GETDETAIL'
EXPORTING
COMPANYID = ITAB.
IMPORTING
COMPANY_DETAIL =
RETURN =
The Details I Gave......
In SM59 of R/3:
PROGRAMID:LCRSAPRFC_PIT
GATEWAYHOST:PITEST
GATEWAYSERVICE:sapgw01
Tested the connection and it is running
ID:
In Communication Channel.
Application server (Gateway):PITEST
Application server Service (Gateway):
PROGRAMID:LCRSAPRFC_PIT
RFC Metadata Repository parameter.
ip of XI Server
System No Xi System NO
username
pwd
In SM58 I find the Following error.
"JCO.SERVER could not find the server function BAPI_COMPANY_GETDETAIL.
I Tested RFC ADAPTOR in RWG and it is ok.
I do not Understand where the problem is.
Please clarify.
Thanks,
SrinivasaThanks for the reply,
Yes RFC is in the Sender side.
I am calling "BAPI_COMPANY_GETDETAIL".thuough the zprogram"ZBAPI_COMPANY_GETDETAIL"
REPORT ZBAPI_COMPANY_GETDETAIL.
DATA:BEGIN OF ITAB,
RCOMP LIKE T880-RCOMP,
END OF ITAB.
ITAB-RCOMP = 99999.
CALL FUNCTION 'BAPI_COMPANY_GETDETAIL'
EXPORTING
COMPANYID = ITAB.
IMPORTING
COMPANY_DETAIL =
RETURN =
The Details I Gave......
In SM59 of R/3:
PROGRAMID:LCRSAPRFC_PIT
GATEWAYHOST:PITEST(XI system name)
GATEWAYSERVICE:sapgw01
Tested the connection and it is running
ID:
In Communication Channel.
Application server (Gateway):PITEST(XI system name)
Application server Service (Gateway):
PROGRAMID:LCRSAPRFC_PIT
RFC Metadata Repository parameter.
ip of XI Server
System No Xi System NO
username
pwd
In SM58 I find the Following error.
"JCO.SERVER could not find the server function BAPI_COMPANY_GETDETAIL.
I Tested RFC ADAPTOR in RWG and it is ok.
I do not Understand where the problem is.
These is what I gave, -
JCO.Server could not find server function 'CONTROL_RECIPE_AVAILABLE'
Hi Experts,
I've been trying to read some of the topics in the forums to find answers about the error JCO.Server could not find server function but still haven't resolve the issue.
Basically, the scenario is from SAP r/3 to PI 7.1 ehp1 (process integration) system.
All of the aforementioned steps we're done.
R/3 (SAP) end
1.) Create RFC destination (T)
2. ) Indicate the program ID
3.) Indicate the server/hostname
4.) Indicate the sap gateway
Test connection was made and it was successful.
SAP PI end.
Integration Directory (Let me skip from the basics and state directly the setup of my senderRFC)
1.) RFC Comm Channel (set as Sender)
2.) Indicated the server hostname (sending system), sap gateway and Program ID (basically what was indicated in RFC setup in SAP end)
3.) RFC Metadata Repository Parameters (In here I used the details of PI environment)..Created user with SAP_ALL profile..I used system without Load Balancing (Parameter, AppServer, SysNo, Logon User, Logon Password, Language and Client)
I was able to test a message from SAP end but still "JCO.Server could not find server function" was the result upon checking sm58.
Did I miss something from my setup and config?Hi Michal,
I guess there's a big difference with RFC Server Parameters and with RFC Metadata Repository Parameters.
Note: Im using PI 7.1 ehp1
For RFC Server Parameters it includes:
- Application Server (gateway)*
- Application Server Service (gateway)*
- Program ID*
For RFC Metadata Repository Parameters it includes:
- Load Balancing or no Load Balancing (choices)..in here my choice is no Load Balancing
- Application Server*
- System No*
- Logon Language*
- Logon Client*
- Authentication Mode (Use Log-on Data for SAP System or Secure Network Connection for RFC)
if Use Log-on Data for SAP System it includes:
- Logon User*
- Logon Password*
If Secure Network Connection for RFC it includes:
- Quality of Protection
- SNC Partner Name
Looked onto your blogs mentioned several times, but no information on RFC Metadata Repository Parameters. -
JCO.server could not create server function - IDOC_INBOUND_ASYNCHRONOUS
Hello all.
On this platform I have found some threads for the above error we get, but unfortunately the solution was not described in detail.
We get this error in sending Idocs from a SAP 4.7 system to our Business Connector.
Complete error info is :
com.sap.mw.jco.JCO$Exception: (120) JCO_: JCO.Server could not create server function 'ä¥u201Eä½u0192å½u2030ä¹u201Aä½u2022ä¹u201Eå½åu2122ä¹u0192ä¡u2019'
com.sap.mw.jco.JCO$Exception: (123) JCO_: Server repository could not create function template 'ä¥u201Eä½u0192å½u2030ä¹u201Aä½u2022ä¹u201Eå½åu2122ä¹u0192ä¡u2019' caused by: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM GWHOST=CPAAQAT.US.CPO.COM, GWSERV=sapgw01, ASHOST=CPAAQAT.US.CPO.COM, SYSNR=01 LOCATION CPIC (TCP/IP) on local host ERROR partner not reached (host 172.20.12.65, service 3301) TIME Fri Jul 15 10:35:58 2011 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -10 MODU
Typically the message gets rolled-back and no sender, receiver or message info in visable in the transaction list.
Transaction List
Date TID Sender Receiver Msg Type State Delete
2011-07-14 08:00:19 BST AC140C4150524E1E92E80002 Rolled back
Who can help us.
Thanks in advance.
MarcelHi,
ä¥u201Eä½u0192å½u2030ä¹u201Aä½u2022ä¹u201Eå½åu2122ä¹u0192ä¡
looks like a character encoding error. Did you check the Unicode, code page at the RFC destination, and related SAP notes?
Sandra
Maybe you are looking for
-
Unable to access HP printer to router
I have a Macintosh running 10.8. HP officejet 4500 G510g-m non wireless printer. Belkin N600 wireless router with USB port and 4 ethernet ports When I plug the printer in via the USB port, Belkin software sees the printer but is unable to connect. I
-
What is the purchase register report?
Hi, Can anyone tell me what is significance of purchase register . How this report get in R/3 and BI Thanks and Regards Anil
-
Authentication between a web service and XI
Hi VC experts, I'm in a deadline date to show the project clients a proof of concept that show the VC consuming data from XI through a XI generated WSDL file deployed as a web service. When I test the web service with soapUI or XMLSpy, as there's a p
-
Best way to install new motherboard
I'm thinking of getting a new mboard - MSI of course (probably, maybe) - and was wondering what the best way was of installing onto an existing system with an os configured with different mobo settings. I had trouble installing my current nforce2 boa
-
Unable to request test.fmx after installing Forms 10.1.2.0.2
I've just installed Developer Suite 10.1.2.0.2 on Windows platform, then I 1) started the OC4J instance 2) called the test.fmx http://<localhost-IP>:8889/forms/frmservlet?form=test.fmx Firefox browser gives me the following error message "Error insta