GetAFreelancer.com
 
Find projectsSearch
Sign Up | Log in | Top Rated Users | Browse projects | Post Project | RSS feeds | Articles
 

serverList.pl and Per_nodeGrp.pl

   Click here to post similar project

serverList.pl and Per_nodeGrp.pl is project number 120743 posted at GetAFreelancer.com. Click here to post your own project.

Closed
(Selected Service Provider russianfreelance)
Status: Closed
Budget: $30-100
Created: 01/23/2007 at 11:27 EST
Bidding Ends: 01/24/2007 at 11:27 EST
Project Creator: DCG View PM Post PM
Buyer Rating: 10.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/1010.00/10
(9 reviews)
Description: serverList.pl

1. Allow me to pass one or more argument(s) for example,
serverlist.pl CNJ TPC
2. It will run the following application command for each argument.
for ex,
ovownodeutil -list_nodes -recursive -group_path <ARGUMENT>
3. The sample output of one of this command is as follows. It lists
the server name in eachline.
server-a
server-b
server-a
server-c
server-c
server-d
4. Remove duplicates and then Write into a serverlist.txt file with
the following label for each argument
LIST OF SERVERS FOR NODE GROUP: CNJ
==================================
server-a
server-b
server-c
server-d

5. If I pass 2 parameters, the output will show like -

LIST OF SERVERS FOR NODE GROUP: CNJ
==================================
server-a
server-b
server-c
server-d
LIST OF SERVERS FOR NODE GROUP: TPC
==================================
server1
server2
server3

****************************************************************
nodeGrp.pl (persh project)

I need you to update the attached script that will do the following.

GroupName is derived from the <ServerName>.
Here is the logic -

1. If 1st char is NOT “W” letter, then
If 8th char is NOT “P” AND
If 4th and 5th char is “FP”
Then <GroupName> should be ApplicationsFPDevelopment
If 4th and 5th char is “JC” or “HS”
Then <GroupName> should be ApplicationsJCDevelopment
If 8th char is “P” AND
If 4th and 5th char is “FP”
Then <GroupName> should be ApplicationsFPProduction
If 4th and 5th char is “JC” or “HS”
Then <GroupName> should be ApplicationsJCProduction

2. If 1st char is “W” then
If 5th char is NOT “P” AND
If 2nd, 3rd, and 4th char are “TPC”
Then <GroupName> should be ApplicationsTPC_PershingDevelopment
If 2nd, 3rd, and 4th char are “FP1” or “FP2”
Then <GroupName> should be ApplicationsFPDevelopment
If 5th char is “P” AND
If 2nd, 3rd, and 4th char are “TPC”
Then <GroupName> should be ApplicationsTPC_PershingProduction
If 2nd, 3rd, and 4th char are “FP1” or “FP2”
Then <GroupName> should be ApplicationsFPProduction


If the <Current_GroupName> = <GroupName> then
Go to the next line
Else
1. Deassign <ServerName> from <Current_GroupName> by running
(ovownodeutil –deassign_node <ServerName> -group_path <Current_GroupName>)
2. Assign <ServerName> to <GroupName> by running
(ovownodeutil –assign_node <ServerName> -group_path <GroupName>)
End
Report violation
Job Type:
  • Perl/CGI
Database: (None)
Operating system: MS Windows
Bid count: 1
Average bid: N/A

 

Related project
 
java gsm phone application Featured
posted by n00
Budget: N/A
 

FREE Trial project for new buyers!

 

View Project Message Board     Post Message on Project Message Board
Messages Posted: 0

If you are the project creator or one of the bidders Log in as project creator or bidder for more options

Bid on This Project

Service Providers PMB Bid Delivery Within Time of Bid Provider Rating
Bids are hidden by project creator. Log in as project creator or bidder as the project creator or as one of the bidders to view bids.
Bid on This Project

 

[ GAF Top Users ] [ Outsourcing ] [ Post Project Free ]

What is GetAFreelancer.com? ( Read about the company )

Our escrow feature is developed to protect both buyers and sellers. Our mission is to find the best possible freelance workers at the best possible price. We have thousands of satisfied clients around the world. Find freelance programmers, web designers, copywriters and translators. Buy services with help from our secure escrow system. Outsource projects and save a lot of money. Getting affordable freelance work, freelance programming and custom web design done for your website has never been easier.

It's easy, fun and very affordable to outsource your project with our site. We provide a safe escrow environment and you don't release the money until project is completed. Outsourcing is the process of subcontracting network operations and support to an organization outside your own company. Try it free today! Bookmark our homepage to make sure you don't forget about our website next time you need to develop an IT project for yourself or your company. GetAFreelancer.com is one of the largest sites of its kind. We have earned a good reputation and you can trust us. Web Development doesn't have to be expensive. Outsourcing will cut your expenses by more than 50%.

Find Webmaster Resources and Webmaster Forum. Take a look at Search Engine Submission.