Scripts of Configuration tasks
I need to perform the following tasks in the WebCenter 11 g (11.1.1.8.0) as actions scripted content:
1. modify the Server Socket Port (according to me, there's a WLST command for this, setUCMServerPort?)
2. Add an IP address for the filter security addresses for incoming connection Socket (another command WLST, setUCMIPAddressFilter?)
3. set the Option of full text search.
4 activate a component (Component Manager)
5. Add a new role and change its permissions (User Admin Applet)
6. create a new user and assign the new role (User Admin Applet)
7. create fields of multiple Information (Applet Configuration Manager)
8 start the reconstruction of Collection Cycle (Repository Manager Applet)
9. create a new folder of Contribution
So the question is, can these steps are completed using WLST, Web Services, a combination of both, or something else that we can program or script user interaction is not required to complete the configuration?
sc0ttTehC0hdur wrote:
I need to perform the following tasks in the WebCenter 11 g (11.1.1.8.0) as actions scripted content:
1. modify the Server Socket Port (according to me, there's a WLST command for this, setUCMServerPort?)
2. Add an IP address for the filter security addresses for incoming connection Socket (another command WLST, setUCMIPAddressFilter?)
3. set the Option of full text search.
4 activate a component (Component Manager)
5. Add a new role and change its permissions (User Admin Applet)
6. create a new user and assign the new role (User Admin Applet)
7. create fields of multiple Information (Applet Configuration Manager)
8 start the reconstruction of Collection Cycle (Repository Manager Applet)
9. create a new folder of Contribution
So the question is, can these steps are completed using WLST, Web Services, a combination of both, or something else that we can program or script user interaction is not required to complete the configuration?
#1. Oracle WebCenter content personalized WLST orders - 11 g Release 1 (10.3.6)
Yes, this can be set via WLST, but I don't know if the change will be written in the cfg file. You can use the manipulation of file to change this value.
#2. See #1
#3. Don't believe there's a WLST for this, but you can use the file manipulation technique that I mentioned.
#4. Don't believe there is a service for this, but you can use the file manipulation technique that I mentioned.
#5. You can take advantage of the web services or RIDC or idccommand to call add_role service
#6. where would your username created? creating local users coe is not recommended. helps standard users in the4 embedded ldap is not friendly production. You can script a ldif file to push the new user, with groups in your LDAP
#7. See #5, but it is the service ADD_METADEF; In addition, if it makes sense, you can have your components create their related metadata fields. I wrote a blog on that a few years ago.
#8. See #5, but it is the START_SEARCH_INDEX service
#9. See #5, but it is the COLLECTION_ADD service for contribution files (that is, not frameworkfolders)
#10. you will need to restart your server after making these changes; You can use wlst for this.
In short, Yes, it should be feasible.
Hope this helps
-ryan
Tags: Fusion Middleware
Similar Questions
-
Script to configure security on vSwitch error
Here's my problem. I set up a script to configure ESXi 4 U1 guests. During the configuration, we must define security vSwitch reject for allowPromiscuous, forgedTransmits and macChanges. Here is the section and the error.
$vh01 = get-vmhost myhost.domain.com
$vh01vsw0 = $vh01 | get-virtualswitch-name "vSwitch2.
$vh01moref = $vh01 | % {get-view $_.} ID}
$vh01morefconfig = $vh01moref.configmanager
$vh01netsys = $vh01morefconfig.networksystem
$vh01netsysmoref = get-views $vh01netsys
$swspec = new-Object Vmware.Vim.HostVirtualSwitchSpec
$swspec. NumPorts = 24
$swspec.policy = new-Object Vmware.Vim.HostNetworkPolicy
$swspec.policy.security = New-Object Vmware.Vim.HostNetworkSecurityPolicy
$swspec.policy.security.allowPromiscuous = $false
$swspec.policy.security.forgedTransmits = $false
$swspec.policy.security.macChanges = $false
$vh01netsysmoref. UpdateVirtualSwitch($vh01vsw0.name,$swspec)
And the error I get is:
Exception by calling 'UpdateVirtualSwitch' with '2' or argument: 'a specified perréard.
TER was not correct.
"
TO C:\ Docs\PowershellScripts\StateConfigScripts\switchsec_test.ps1:17 char: 3
7
+ $vh01netsysmoref. UpdateVirtualSwitch < < < < ($vh01vsw0.name, $swspec)
+ CategoryInfo: NotSpecified: ( [], MethodInvocationException)
+ FullyQualifiedErrorId: DotNetMethodException
If I run $vh01vsw0.name I get the string correct vSwitch spokesperson. I have a script section to set the same on trade, and it works fine. Here's the script section.
$vh01 = get-vmhost myhost.domain.com
$vh01moref = $vh01 | % {get-view $_.} ID}
$vh01morefconfig = $vh01moref.configmanager
$vh01netsys = $vh01morefconfig.networksystem
$vh01netsysmoref = get-views $vh01netsys
$pgspec = new-Object Vmware.vim.HostPortGroupSpec
$pgspec.vswitchname = "vSwitch0"
network of $pgspec.name = "Management"
$pgspec.vlanid = "0"
$pgspec.policy = New-Object Vmware.Vim.HostnetworkPolicy
$pgspec.policy.security = New-Object Vmware.Vim.HostNetworkSecurityPolicy
$pgspec.policy.security.allowPromiscuous = $false
$pgspec.policy.security.forgedTransmits = $false
$pgspec.policy.security.macChanges = $false
$vh01netsysmoref. UpdatePortgroup($pgspec.name,$pgspec)
Is this something that needs to be done when creating vSwitch and cannot be changed after? Any help is greatly apprecieated! Thanks in advance!
No, it can be done.
But since there is an existing switch, you can not 'Cancel' some properties that are already there.
Although the SDK Reference indicates that some properties are optional, when set on an existing vswitch, you must include them in the spec.
The easiest way is to copy the existing technical and only change the properties you want to change.
Something like that
$vh01=get-vmhost myhost.domain.com $vh01moref=$vh01 |% {get-view $_.Id} $vh01morefconfig=$vh01moref.configmanager $vh01netsys=$vh01morefconfig.networksystem $vh01netsysmoref=get-view $vh01netsys $vh01vsw0=$vh01netsysmoref.NetworkConfig.Vswitch | where {$_.Name -eq "vSwitch2"} $swspec= $vh01vsw0.Spec # here you copy the existing spec object $swspec.policy.security.allowPromiscuous=$false $swspec.policy.security.forgedTransmits=$false $swspec.policy.security.macChanges=$false $vh01netsysmoref.UpdateVirtualSwitch($vh01vsw0.name,$swspec)
____________
Blog: LucD notes
Twitter: lucd22
-
Retry in bulk configuration tasks open
Hello
I trusted recon about 20 k users of TFTP.
With the help of accesspolicies I need to grow near 8 k users in downstream applications.
Because of the connection pooling issues/network, if the target system fails,.
What is the way to make a new attempt to bulk of all configuration tasks failed.
All entries on this.
Concerning
VickyAll the tasks in a rejected State are listed in the table of ITO. Also on standby and waiting are here, but you can query to simply rejected. Then you can either start over in bulk
retryTasks (long [] taskInstanceKeys)
or try one at a time
retryTask (long plTaskInstanceKey
You can create a simple scheduled task to retry them.
-Kevin
-
How to configure Task Scheduler to run the program when the connection is established
Windows 7 64 bit
Dial-up Internet accessI want to use the Windows 7 Task Scheduler to run a program IMMEDIATELY AFTER a dial-up connection is made to the internet.
How can I configure the Task Scheduler in Windows 7 to do this, please?
I am familiar with the Scheduler of tasks with the command line parameters. Any help is appreciated.
Thank you
FYI: If an example is needed, Microsoft Security Essentials can be configured to update virus through this path with the argument definitions:
C:\Program Files\Microsoft Security Essentials/MpCmdRun.exe SignatureUpdate
Maybe someone can use it to show how to configure the Windows 7 Task Scheduler to update MSE virus definitions, once the connection dial-up was made?
Otherwise, for example, another program to run once established a dial-up connection would be OK, thanks
Hello
Scheduler of tasks is time driven.
For order-driven event, you need a script.
Question like that is much better treated in the TechNet IT Pro Forums.
My moderator tools cannot transfer messages on Windows forums, please re - ask you question there.
http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/threads
Jack-MVP Windows Networking. WWW.EZLAN.NET
-
Configure task tasks simultaneous/queue of customer?
At this moment I can highlight several virtual machines and perform an operation on them (for example, to migrate Dastores or Suspend / Power On), but the tasks all run them simultaneously, which really hurts performance (all LUN SAN FC thrashes for a stop and users start to complain). In extreme cases the tasks even begin to expire and fail.
Is there a setting in the Client that will force it to occur in the order of the tasks (e.g., a depth of 1 queue)? Currently I'm right click on each of the 373 MV one by one and wait for everyone in the end, who is getting old fast.
Not that I'm aware of use the vSphere Client, there is a maximum for each type of operation that is defined in the maximum Configuration of vSphere for vCenter or ESX (i).
Although the only way to create a queue is through a script approach where you can either kickoff n-tasks and wait to send more, or perform a sequential operation.
=========================================================================
William Lam
VMware vExpert 2009
Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
Introduction to the vMA (tips/tricks)
Getting started with vSphere SDK for Perl
VMware Code Central - Scripts/code samples for developers and administrators
If you find this information useful, please give points to "correct" or "useful".
-
I made a custom with Adobe Configurator 4 with several buttons settings panel.
However, if I press "Brightness/contrast" example, I Don t always wants to confirm the dialog box (name of the layer).
How to skip this step? I thought to implement somehow the entry command in the Script, but how is this possible?
Here are several photos to see what I mean:
Try this...
newBCLayer(); selLayerRGB(); setBC(); function newBCLayer() { var desc2 = new ActionDescriptor(); var ref1 = new ActionReference(); ref1.putClass( charIDToTypeID('AdjL') ); desc2.putReference( charIDToTypeID('null'), ref1 ); var desc3 = new ActionDescriptor(); var desc4 = new ActionDescriptor(); desc4.putBoolean( stringIDToTypeID('useLegacy'), false ); desc3.putObject( charIDToTypeID('Type'), charIDToTypeID('BrgC'), desc4 ); desc2.putObject( charIDToTypeID('Usng'), charIDToTypeID('AdjL'), desc3 ); try{ executeAction( charIDToTypeID('Mk '), desc2, DialogModes.NO ); }catch(e){} }; function selLayerRGB() { var desc = new ActionDescriptor(); var ref = new ActionReference(); ref.putEnumerated( charIDToTypeID('Chnl'), charIDToTypeID('Chnl'), charIDToTypeID('RGB ') ); desc.putReference( charIDToTypeID('null'), ref ); desc.putBoolean( charIDToTypeID('MkVs'), false ); try{ executeAction( charIDToTypeID('slct'), desc, DialogModes.NO ); }catch(e){} }; function setBC() { var desc9 = new ActionDescriptor(); var ref5 = new ActionReference(); ref5.putEnumerated( charIDToTypeID('AdjL'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') ); desc9.putReference( charIDToTypeID('null'), ref5 ); var desc10 = new ActionDescriptor(); desc10.putInteger( charIDToTypeID('Brgh'), 0 ); desc9.putObject( charIDToTypeID('T '), charIDToTypeID('BrgC'), desc10 ); try{ executeAction( charIDToTypeID('setd'), desc9, DialogModes.ALL ); }catch(e){} };
-
Automation of FDM integration Script in the Task Manager
Hello world
I have created an integration Script that copies the data of a table SQL to FDM and now tries to automate a daily run in the Task Manager.
To do this, it seems that I have to create a custom Script to perform the following integration Script:
I can't understand what it takes to write the custom Script to trigger the integration Script. Can someone explain or give a sample?Function LedgerTrans(strLoc, lngCatKey, dblPerKey, strWorkTableName)
Best regards
FrederikYou don't need a custom script, you can simply use batch processing to trigger the import for the POV. You must create a standard command using the GUI of batch script in the workbench (Tools > batch) then put the empty source files in the folder OpenBatch with the POV for the name of the file to trigger the import for the POV script.
-
Hello
I'm looking to automate certain functions in a web application.
Works as a toggle on a Cisco 3550 switch interfaces.
Anyone know if there are good scripts, or any examples to help me get started?
Perpaal,
Here are examples of scripts that stops at an interface and connects to the session in a directory.
File1-IP-list - contains a list of IP addresses that you want to run the script
File2 - ssh.sh - reads the IP list and run file3 which is enableint script
File3 - enableint.sh - script to stop an interface
Deliver files ssh.sh and enableint.sh as executable with chmod + x and you just run. SSH.sh
File1-IP-list
10.10.1.1
10.2.3.2
File2 - ssh.sh
#! / bin/bash
while reading ipadd
do
#echo $ipadd
export ipadd
./enableint.sh $ipadd
fact<>
File3 - enableint.sh
#! / usr/bin/wait f
the value of timeout 20
the IPaddress value [lindex $argv 0]
the value of username "username".
set password 'password '.
set the directory/home/Desktop/logs
Log_file - a $Directory/session_$ IPaddress.log
send_log "# / START-SSH-SESSION / IP: $IPaddress @ [exec date] # \r.
spawn ssh-o 'StrictHostKeyChecking no' $Username@$IPaddress
expect to "* assword:
Send "$Password."
expect to ' # '.
Send "conf t".
' expect' (config) #
Send "int g0/0".
wait "(config-if) ' # '"
Send "shut\r."
wait "(config-if) ' # '"
Send "exit".
' expect' (config) #
Send "exit".
expect to ' # '.
Send "wr mem".
expect to ' # '.
Send "exit\r".
sleep 1
send_log ' \r###/END-SSH-SESSION / IP: $IPaddress @ [exec date] # \r.
output
Siddhartha
-
Script not running task for all objects using the Get-Content cmdlet
Hello
For some reason when I run the code following the newspaper bundles are only being dumped for the first host in the hosts.txt file. I have a script that gets the bundles of paper for all hosts in a cluster and rename the cryptic file name to reflect the name of the host with good Luc. I could just use the script to get the beams to all hosts in the cluster, but there are times where I need just one or two hosts in the cluster. Can someone tell me what is the problem with the code below?
$VC = Read-Host "Enter name vCenter.
$varHost = get-Content "S:\Get-Logs\hosts.txt".##Connect to VCenter
SE connect-VIServer $VC - WarningAction SilentlyContinue
#----------------------------------------------------
{foreach ($ESX to $varHost)$destPath = 'S:\Get-Logs\Logs\$($ESX) ".
If ((New-Item-chemin $destPath-ItemType répertoire-ErrorAction SilentlyContinue) - eq $null)
{- New - path $destPath - directory - ErrorAction SilentlyContinue ItemType}Get - Log - VMHost $ESX - Bundle - DestinationPath $destPath
}
# Disconnect - VIServer
Disconnect-VIServer *-confirm: $false
The Script ##EndAlthough it would be ideal for the log files should be renamed at this point I would be happy if the script would create a folder for each host listed in the text file and place the log file in each folder.
Thank you
The variable $ESX contains only a string, not a Name property.
If you are referencing $ESX. Name will return nothing
-
a node property to return the configuration of the task a DAQmx
Tasks in this project are preconfigured in MAX, but once the operator needed to enter and change the sampling frequency, that I would like to add a routine to start to check the sampling rate of the configured tasks. I know that using a DAQmx property node can return task names and channel names, but what I could use is a property node to return the sampling frequency of the task. A knowledge of a way to do this?
If you place a property on the block schema node, connect it to your task control. Right-click on the property node, and then select the DAQmx Timing (class select DAQmx-> DAQmx Timing). Then select the sample-Rate property > clock.
-
I configured Task Scheduler to send alerts by e-mail. My problem is this, when a user is locked out of their jobs, we get the alert message, but it does not show that. Only that 'someone' has been locked. What adjustments or changes should I make to see who is the alert message for. We try to simplify "tickets" for simple lockout.
Windows Server 2008. As before it works it will send alerts by e-mail, but it does not show me who it was from.
Any help or advice is welcome.
Thank you
Hello
As you work on Windows 2008 Server, please post the question in the following link for assistance.
http://social.technet.Microsoft.com/forums/en/category/WindowsServer/It will be useful.
-
How to schedule a task to launch an application to start another application?
I want to launch an application to start another app, but I ca't know how to configure Task Scheduler.
For relaxation, I put on an event on the Source I retrieve the name of the application in the menu drop down and let Event_ID field blank. On the Action tab, I place the path and the app name triggered, as usual and complete the remaining sections as usual, but it does not work. It is not raised when I starts the main application.I used the Task Scheduler to the stars apps in a simple way, but it does not work. Can someone tell me what I'm missing and guide me, please?Hello
At one point, we provide only a particular program path to start using Task Scheduler. Create a Script to launch several programs at the same time.
To create a script, I suggest that ask you your question in the MSDN forums.
-
Hello
My 12.3 Documaker environment is:
1 linux server - database documaker
2 linux server - application site
3 windows machine where documaker studio is installed and configured.
I used to promote the elements with Studio of Documaker on the windows machine. He has been linked to Documaker database using the ODBC connection. Since a few days I tested lbyproc tool and I will "migrate" to my server linux applications. This allows me to write scripts to automate tasks. The problem is how to set up linux environment to connect to the database. I know that I need to add some new sections to fsisys.ini - and this is more or less as far as I know
You give me a few tips, links, advice, examples?
Is it possible to migrate the settings of windows ini files?
concerning
K.
A good starting point, if you have not been there already, is the documentation. Take a look at page 295, which examines the implementation of JDBC connectivity to your Linux machine. You can probably start with your your Studio environment INI files as your base (make copies of them for the Linux environment), then change for Linux (for example, railways and JDBC).
A possible configuration is to have all your settings, that are common to Windows and Linux in the FSISYS. INI, and then have specific environmental parameters in two separate FSIUSER. INI files. Which might make migration a little easier for you.
-A
-
How to create an effective script that mass deletes snapshots
our company is currently using a product that drives the operating system and software updates for our virtual machines and takes a snapshot before pushing updates in case something breaks. the problem is that the same software does not remove the pictures until next update button and you're just too long we wait with snapshots lying around. what I did to remedy this situation is I built the below script and configured it as a task.
# Add the snap-snap powercli in
Add-PSSnapin VMware.VimAutomation.Core# Connect to an instance of vCenter
$strviserver = "vCenterServer".
SE connect-VIServer $strviserver# Get all of the snapshots for each virtual machine in the vcenter, then delete them
Get - VM | Get-Snapshot - name "updates" | Remove-Snapshot - confirm: $false# Remove the snap-snap powercli in
Remove-PSSnapin VMware.VimAutomation.CoreIt works, but it is not nearly as effective as I wish it were. Essentially, the script currently removes a snapshot at a time right now. I want so he can find any snapshot on this server vcenter by the same specified name and submit the task deletion-Snapshot for each snapshot at the same time. This should cause a lot of tasks to try and tail. The effective result would be that vCenter will treat all instant destruction because it has resources to do in a given time and will address the queue there resources. If someone can tell me how to do this or something better, I would really appreciate it! Thanks in advance!
You can consider using the RunAsync switch on the cmdlet Remove-Snapshot .
In this way, that the script will continue while delete the snapshot is still running.
Note that there is obviously that a limit on how many parallel snapshot removes that may occur due to the resources available.
-
Scripts for a novice - running DPM scripts on a calendar
I am woking on a new facility with 5.1 ESXi and VCenter 5 running on the virtula machine. I would use DPM but bring the cluster to pior fully operational at the beginning of the working day. I found the reference for scripts that I downloaded.
What I can't understand is to run at a scheduled time. Most of my research seems to point to the installation and configuration of vMA in order to have the ability to import these scripts and install them on a cron job.
This seems to be a bit of work to turn the 2 scripts. My question is "is there another way to run scripts against the vCenter device without get job vMA? If so, how? »
Any help would be appreciated.
If you want to disable DMP before the start of your work day, you are able to configure tasks scheduled in vcenter natively to achieve this without resorting to additional scripts.
The task that you will need the installation is "change the cluster power settings.
Maybe you are looking for
-
For some reason, I am not able. To make a good app
CCan anyone pleas help me, I play a game called legendary and I made purchases in this game several times, but today it does not. It is said to contact Apple support. That I did and I could except to wait 48 hours...
-
get a password popup saying required - when I put one in says that it cannot be verified, what should I do?
-
HP laser jet cp1525nw color driver for macbook os xlion 10.7
MacBook Pro i5 OS X 10.7 Lion I bought this printer and the shop told me that it works with all Macs, and when I try to install on my MAC, I cannot do, because the software included it doesn't support X 10.7 Lion. What can I do? I can't "to return th
-
I have XP Pro x 64 SP2 2003 version on my old PC and I want to install iTunes. Any help?
-
New dv6t-7000 Quad Edition BSOD while loading classpnp.sys
Hi all: New edition of 7000 dv6t Quad, 8 GB drive HARD 750 GB, 32 MB "SSD", nVidia graphics, Win 7 Home Premium 64 - bit, core i7-3610QM. Does not start - gets to the Windows startup screen, then the BSOD. Windows "repair" does not BSOD. None of the