Using N1SPS to do audit trailing of GlassFish V2 administration
By janeyoung on Oct 10, 2007
One of the benefit of using N1SPS with Application Server Plugin to administer GlassFish V2 is all actions and changes made by administrators are recorded. This feature is also known as audit trail. Lets take a look at how this feature works.
In N1SPS left hand frame, you'll see a section called, "View Activity Log":
| Click on "Run History" and on the right panel, you'll see all the activities recorded |
click here to enlarge the image.
The 2nd column of the Run History screen is the Plan name. The Plan name is descriptive and it tells the user the action of the plan. Plan name is suffixed with an unique ID generated by the Master Server. The 5th column is the target host and it tells the user where the action is taken place. The 6th column tells the user which user executed the plan. The 7th column tells the user the status of the execution. The 8th and 9th columns display the start and end time.
Let's take a look at the first plan. The plan name is "DomainAdminServer-inst-create-<unique ID>". The name of the plan tells me that it's an install Domain creation. If it's a markOnly install, then the plan name is "DomainAdminServer-markOnly-create-<unique ID>". The Domain is created on "z19-AppServer-1" where "z19" is the physical host name and "AppServer-1" is the Application Server install ID. I logged in as admin to create this domain. The Domain creation is successful and it was created on 10/10/2007 at around 4:31-4:33pm.
If you click on the link of the plan name, you'll be able to see more details of the plan including the domain name and port numbers. In addition, you can even view the error logs and run results to view the preflight and deployment execution. This is useful for debugging failed executions.
Download N1SPS and Application Server plugin and give this feature a try. I think this is a really good feature that supplements GlassFish V2 administration.
Please see Sreeni's blog for other references and blogs on N1SPS.