Rename NServiceBus.Host.exe - nservicebus

This may very well be a silly question, but I cannot find any documentation on this or where anyone has really asked this question except here NServiceBus Yahoo Groups. I want to rename my NServiceBus.Host.exe, even though they have different names in the services group when I install the service, in task management all the services are NServiceBus.Host.exe. I have tried renaming the exe, but of course this has issues with deployment, and it simply will not run as per the url I had posted, encountering an endpoint config error.
I've looked through the configuration options and I do not see anything that looks as such an option, if anyone knows a good way to do this, that would be great. Thanks!

That sounds like not a very good idea. That road is bound to be riddled with potholes.
In order to tell the processes apart in Task Manager, there's a pretty simple solution.
Go to View -> Select Columns, and add "Command Line" which is just a few up from the bottom.
This will show you the full path to the specific NServiceBus.Host.exe instance, along with the command line arguments, which can give you valuable information like the Profiles that were used.

Related

TFS 2015 Migration to different service provider

I am looking at performing a TFS 2015 migration from one site (i.e. service provider) to another. 
The 2 sites are completely different companies and therefore different domains and hardware. 
This TFS has been used for work items and source control. 
I see that Microsoft has the following articles that seem to be related to this: 
https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/move-clone-hardware 
https://www.visualstudio.com/en-us/docs/setup-admin/tfs/admin/move-across-domains 
I have a ton of questions then as I try to sort this one out including: 
Is what I am trying to do reasonable... first follow the instructions in the 1st link and then follow the instructions in the 2nd link? I ask this since it would appear to me that what I am attempting is actually not really covered by these documents. 
For example, in my scenario there may be no mapping from one user to another for a user that has checked in code. So, does this approach handle this ok? 
When I searched stack overflow I see that the closest question to mine is this one which refers to a migration tool on CodePlex that is no longer supported: 
TFS to TFS Migration Tool - domain issues 
Thanks in advance!
Yes, it's reasonable. What you want to do is both changing domains and physical servers which called environment-based move and hardware-based move.
You should not try to combine an environment-based move with a hardware-based move. First complete the hardware move, and then change the environment. Detail steps just follow the tutorials above in your question.

Using Phabricator for a full code audit

I recently got Phabricator installed and am hoping to use it for our future code reviews. Once issue I'm having is that we have a couple of projects that have never been reviewed/audited, and we're hoping to sit down and audit them.
However, I'm not sure how we can go about doing that using Phabricator. When it comes to auditing, Phabricator seems geared towards auditing individual commits, rather than a full codebase. I liked the ability to browse through the code in Phabricator, highlight sections and comment them (especially since we've got multiple people reviewing the same code, one of which is in a very different timezone), but I can't do that with the regular code viewer.
Is there a way to do a full code audit of an existing project on Phabricator, while still benefitting from the review features they have such as adding comments?
This feature doesn't exist in Phabricator. See the following:
https://secure.phabricator.com/T5744
https://secure.phabricator.com/T4348

Get list of files and programs touched by AS400/iSeries service account

I am trying to get a list of the programs (RPG/CL/SQL) and files a service account on the iSeries has touched. The idea is that having this list we can tie specific permissions (I know this will really complicate things) to the user account in order to achieve a more secure application specific service account. Is there any way to do this and maybe get a report by running a command. Maybe there is a SQL statement?
Please excuse me if my terms are not appropriate, I am still new to the iSeries.
The audit journal will have what you are looking for....if so configured.
http://pic.dhe.ibm.com/infocenter/iseries/v7r1m0/topic/rzarl/rzarlusesecjnl.htm
The newest 7.1 TR includes stored procedures to allow easy read of journals.
https://www.ibm.com/developerworks/community/wikis/home/wiki/IBM%20i%20Technology%20Updates/page/DISPLAY_JOURNAL%20(easier%20searches%20of%20Audit%20Journal)
Charles
So though Charles' answer might be the one one should set up to get a thorough report. I wound up doing the following as suggested by one of my peers.
Please note that my goal though not properly explained as so, was to create an application specific user/service account for a program. This is to avoid using one with many privileges and thus gain some security.
1.Go through the source code (in my case classic ASP) and jot down all the names of the procedures used by that program.
2.Create a CL program that outputs the program references to a display file. Then export the file's contents onto Excel and massage where necessary.
PGM
DSPPGMREF PGM(MYLIB/PGM001) OUTPUT(*OUTFILE) OUTFILE(MYLIB/DSPPGMREF) OUTMBR(*FIRST *REPLACE)
DSPPGMREF PGM(MYLIB/PGM002) OUTPUT(*OUTFILE) OUTFILE(MYLIB/DSPPGMREF) OUTMBR(*FIRST *ADD)
ENDPGM
I was told however that service programs references cannot be displayed with DSPPGMREF. So the following was done for those.
PGM
ADDLIBLE LIB(ABSTRACT) POSITION(*LAST)
MONMSG MSGID(CPF0000)
WRKOBJR OBJ(SRVPGM01) OBJTYPE(*SRVPGM) OUTPUT(*OUTFILE) OUTFILE(MYLIB/WRKOBJR) MBROPT(*REPLACE)
WRKOBJR OBJ(SRVPGM02) OBJTYPE(*SRVPGM) OUTPUT(*OUTFILE) OUTFILE(MYLIB/WRKOBJR) MBROPT(*ADD)
WRKOBJR OBJ(SRVPGM03) OBJTYPE(*SRVPGM) OUTPUT(*OUTFILE) OUTFILE(MYLIB/WRKOBJR) MBROPT(*ADD)
ENDPGM
Thank you for all your help. I apologize that my answer is a little more specific than my question but in the end this was what I wanted to achieve, I had to generalize to ask the question. I'd thought i'd post post my answer anyways in case it helps someone in the future.

Noob Guidance on a Parallel Task Workflow (without Visual Studio)

This is going to be my first workflow, and I could use a little guidance.
I have a list I'm using for requests when a user needs their profile changed (eg: change of office location). The change has to be done in AD, PeopleSoft, and another database. Right now, I have it set up so requesters submit an item to a list, and Alerts go out to the different people responsible for making the updates in AD, PeopleSoft, etc. However, there has been enough frustration with missed emails and the like that I've been asked to track via workflow.
So essentially, I need to track a request that goes out to multiple users who will then need to confirm that the task has been completed. I found !(http://officeimg.vo.msecnd.net/en-us/files/989/238/ZA102615287.jpg), which is a very good representation of what I want to do, but does a very confusing job of explaining how to do it: http://office.microsoft.com/en-us/sharepoint-help/all-about-approval-workflows-HA102771433.aspx
Can someone point me to the workflow type that I need and the steps to implement? OOB/SPDesigner please, I don't have VS on my machine.
Thanks,
Scott
I will start by saying that implementing parallel tasks in a single workflow is hard.
What you can do is customise the OOB approval workflow (the one mentioned in the article) to suit your needs. This will give you an insight on how Sharepoint Workflows work and are designed.
It will look confusing at start (very confusing) since like i said is a complex workflow to setup, until you start to understand how it works.
make sure you make a copy of the approval workflow before modifying it so you can still use it if needed.

Migrations don't run on hosting

I'm using MigratorDotNet to manage Rails-style migrations for my web app. I have a workflow where, if I delete all the tables in the database, I can access an installation view that will run MigratorDotNet and create all the necessary tables.
This works locally. For some reason, when I upload my code to my Arvixe hosting, the migrations just never run. I get this odd error:
There is already an object named 'SchemaInfo' in the database.
This is odd because, prior to running migrations, I manually deleted all the tables in the database (to make sure it wasn't left over from a previous install).
My code essentially boils down to:
new Migrator.Migrator("SqlServer", connectionString.ToString(), migrationsAssembly).MigrateToLastVersion();
I've already verified by logging that the connection string is correct (production/hosting settings), and the assembly is correctly loaded (name and version).
Works locally, but not on Arvixe. How do I troubleshoot this?
This is a dark day.
It turns out (oddly) that the root cause was my hosting company used a schema other than dbo for my database. Because of this, the error message I saw (SchemaInfo already exists) was talking about their table.
My solution, unfortunately, was to rip out MigratorDotNet and go with FluentMigator instead. not only did this solve the problem, but it also gave me a more intelligible error message (one referring to the schema names).
While it doesn't seem possible to auto-set the schema, and while I need to switch the schema on my dev vs. production machine, it's still a solvable problem (and a better API, IMO). I googled, but did not find any way to change the default schema in migratordotnet.
I'm sorry for the issues that you were having. On shared hosting, unfortunately the only way that we may be able to change the schema is manually. If you are still looking for a solution that requires our assistance, please forward your ticket ID to qa .at. arvixe.com as well as arvand .at. arvixe.com and we can look into the best way to resolve this.