Skip to content

Commit 4ab2019

Browse files
authored
sync advice with instructions in create-weblogic-domain-pv-pvc/README.md
1 parent db1e2ca commit 4ab2019

File tree

1 file changed

+10
-4
lines changed
  • kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv

1 file changed

+10
-4
lines changed

kubernetes/samples/scripts/create-weblogic-domain/domain-home-on-pv/README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -415,9 +415,15 @@ Then you should [delete the resources for your sample domain](../../delete-domai
415415
```
416416
create-domain.sh
417417
```
418-
A correct value for weblogicDomainStoragePath will meet the following requirements
419-
* owned by the user that started the operator
420-
* exists
421-
* is a directory
418+
A correct value for weblogicDomainStoragePath will meet the following requirements:
419+
* Must be the name of a directory
420+
* the directory must be world writable.
421+
Optionally, follow these steps to tighten permissions on the named directory after you run the sample the first time.
422+
* become the root user
423+
* ls -nd $value-of-weblogicDomainStoragePath
424+
* Note the values of the third and fourth field of the output
425+
* chown $third-field:$fourth-field $value-of-weblogicDomainStoragePath
426+
* chmod 755 $value-of-weblogicDomainStoragePath
427+
* return to your normal user id
422428
3. Message: "ERROR: The create domain job will not overwrite an existing domain. The domain folder /shared/domains/domain1 already exists"
423429
You will see this message if the directory domains/domain1 exists in the directory named as the value of weblogicDomainStoragePath in create-pv-pvc-inputs.yaml. For example, if the value of weblogicDomainStoragePath is `/tmp/wls-op-4-k8s`, you would need to remove (or move) `/tmp/wls-op-4-k8s/domains/domain1`.

0 commit comments

Comments
 (0)